Skip to content

armgit / peach

Public Imported from GitHub
0

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

feat(web): 顶栏搜索的下拉栏、补全与键盘迁到 search 岛

longmeidao25b5d6b7bc82
diff --git a/frontend/e2e/design.test.ts b/frontend/e2e/design.test.ts
index cc1bfed65..299406e67 100644
--- a/frontend/e2e/design.test.ts
+++ b/frontend/e2e/design.test.ts
@@ -3192,24 +3192,39 @@ describe('设计决定', () => {
if (viewport.mobile) await page.locator('#searchBtn').click();
await page.locator('#q').fill(SUGGEST.q);
const menu = page.locator('#searchMenu');
- await menu.locator('.searchperson').first().waitFor({ state: 'visible', timeout: 5_000 });
+ await menu.locator('[data-search-option="person"]').first().waitFor({ state: 'visible', timeout: 5_000 });
const shown = await page.evaluate(() => {
const menuBox = document.querySelector('#searchMenu')!.getBoundingClientRect();
- const results = document.querySelector<HTMLElement>('#searchMenu .searchresults')!;
- const columns = [...results.querySelectorAll(':scope > .searchcol')];
- const person = document.querySelector('#searchMenu .searchperson')!;
+ const results = document.querySelector<HTMLElement>('#searchMenu [data-search-results]')!;
+ const columns = [...results.querySelectorAll(':scope > [data-search-col]')];
+ const person = document.querySelector('#searchMenu [data-search-option="person"]')!;
+ /* 命中的别名与作品数是这一行的注脚:字号小一档、字色退一档,作品数靠右。 */
+ const footnote = (selector: string) => {
+ const note = document.querySelector<HTMLElement>(`#searchMenu ${selector}`)!;
+ const row = note.closest('[data-search-option]')!;
+ const name = note.previousElementSibling!;
+ const [noteStyle, nameStyle] = [getComputedStyle(note), getComputedStyle(name)];
+ return {
+ smaller: parseFloat(noteStyle.fontSize) < parseFloat(nameStyle.fontSize),
+ quieter: noteStyle.color !== nameStyle.color,
+ trailing: Math.round(row.getBoundingClientRect().right - note.getBoundingClientRect().right),
+ };
+ };
return {
+ matched: footnote('[data-search-matched]'),
+ count: footnote('[data-search-n]'),
+ radius: getComputedStyle(person).borderRadius === getComputedStyle(document.documentElement).getPropertyValue('--control-radius').trim(),
tabs: [...document.querySelectorAll('#searchMenu [role="tab"]')].map((tab) => tab.textContent!.trim()),
tracks: getComputedStyle(results).gridTemplateColumns.split(' ').filter((track) => track !== 'none').length,
divider: getComputedStyle(results, '::before').content,
dividerHeight: parseFloat(getComputedStyle(results, '::before').height),
resultsHeight: results.getBoundingClientRect().height,
- right: columns.at(-1)!.querySelector('.searchgroup')?.getAttribute('data-kind'),
- videoGrid: getComputedStyle(document.querySelector('#searchMenu [data-kind="asset"] .searchitems')!).display,
- peeks: getComputedStyle(person.querySelector('.searchpeeks')!).display,
- peekCount: person.querySelectorAll('.searchpeek').length,
- sub: person.querySelector('.searchsub')!.textContent,
- face: person.querySelector('.searchface img')?.getAttribute('src'),
+ right: columns.at(-1)!.querySelector('[data-search-group]')?.getAttribute('data-kind'),
+ videoGrid: getComputedStyle(document.querySelector('#searchMenu [data-search-group][data-kind="asset"] [data-search-items]')!).display,
+ peeks: getComputedStyle(person.querySelector('[data-search-peeks]')!).display,
+ peekCount: person.querySelectorAll('[data-open-work]').length,
+ sub: person.querySelector('[data-search-sub]')!.textContent,
+ face: person.querySelector('[data-search-face] img')?.getAttribute('src'),
inView: menuBox.left >= 0 && menuBox.right <= innerWidth,
edges: [Math.round(menuBox.left), Math.round(innerWidth - menuBox.right)],
};
@@ -3227,6 +3242,11 @@ describe('设计决定', () => {
assert.equal(shown.peekCount, 4);
assert.equal(shown.sub, '128 个视频 · Capsule Agency');
assert.equal(shown.face, '/entity-image?kind=performer&id=90301&thumb=1');
+ for (const [name, note] of [['别名', shown.matched], ['作品数', shown.count]] as const) {
+ assert.ok(note.smaller && note.quieter, `${name}没有退成注脚:${JSON.stringify(note)}`);
+ }
+ assert.equal(shown.count.trailing, 10, '作品数没有靠右贴着行的内边距');
+ assert.ok(shown.radius, '补全行的圆角不是 --control-radius');
assert.ok(shown.inView, '下拉栏越出了视口');
// 窄屏下拉栏盖过返回键那一列,和顶栏两侧一样各留 8,不缩进到搜索框底下。
if (viewport.mobile) assert.deepEqual(shown.edges, [8, 8], '窄屏下拉栏两侧留白不是 8');
@@ -3234,7 +3254,7 @@ describe('设计决定', () => {
assert.ok(page_.scrollWidth <= page_.viewportWidth, `下拉把页面撑出了横向滚动:${page_.offenders.join(',')}`);
await menu.getByRole('tab', { name: /^女优/ }).click();
- await page.waitForFunction(() => document.querySelectorAll('#searchMenu .searchgroup[data-kind]').length === 1);
+ await page.waitForFunction(() => document.querySelectorAll('#searchMenu [data-search-group][data-kind]').length === 1);
assert.equal(await menu.isVisible(), true, '点页签把下拉栏收掉了');
assert.ok(kinds.includes('performer'), '选了一类没有按这一类去拉满');
assert.equal(await menu.getByRole('tab', { name: /^女优/ }).getAttribute('aria-selected'), 'true');
@@ -3260,13 +3280,13 @@ describe('设计决定', () => {
await settle(page);
await page.locator('#q').fill(SUGGEST.q);
const menu = page.locator('#searchMenu');
- await menu.locator('.searchperson').first().waitFor({ state: 'visible', timeout: 5_000 });
+ await menu.locator('[data-search-option="person"]').first().waitFor({ state: 'visible', timeout: 5_000 });
await menu.getByRole('tab', { name: /^视频/ }).click();
- await page.waitForFunction(() => document.querySelectorAll('#searchMenu .searchgroup[data-kind]').length === 1);
+ await page.waitForFunction(() => document.querySelectorAll('#searchMenu [data-search-group][data-kind]').length === 1);
const grid = await page.evaluate(() => {
- const items = document.querySelector('#searchMenu [data-kind="asset"] .searchitems')!;
+ const items = document.querySelector('#searchMenu [data-search-group][data-kind="asset"] [data-search-items]')!;
const box = items.getBoundingClientRect();
- const cards = [...items.querySelectorAll('.searchwork')].map((card) => card.getBoundingClientRect());
+ const cards = [...items.querySelectorAll('[data-search-option="work"]')].map((card) => card.getBoundingClientRect());
return {
rows: new Set(cards.map((card) => Math.round(card.top))).size,
widths: cards.map((card) => Math.round(card.width)),
@@ -3349,10 +3369,10 @@ describe('设计决定', () => {
await expectBody(page, '/', [page.locator('article[data-media-card][data-id]').first()]);
await settle(page);
await page.locator('#q').click();
- await page.locator('#searchMenu .searchresults[data-split]').waitFor({ state: 'visible', timeout: 5_000 });
+ await page.locator('#searchMenu [data-search-results][data-split]').waitFor({ state: 'visible', timeout: 5_000 });
const split = await page.evaluate(() => {
- const results = document.querySelector('#searchMenu .searchresults')!;
- const [left, right] = [...results.querySelectorAll(':scope > .searchcol')].map((col) => col.getBoundingClientRect());
+ const results = document.querySelector('#searchMenu [data-search-results]')!;
+ const [left, right] = [...results.querySelectorAll(':scope > [data-search-col]')].map((col) => col.getBoundingClientRect());
const box = results.getBoundingClientRect();
const line = getComputedStyle(results, '::before');
return {
diff --git a/frontend/e2e/search.test.ts b/frontend/e2e/search.test.ts
new file mode 100644
index 000000000..b35d2e4a0
--- /dev/null
+++ b/frontend/e2e/search.test.ts
@@ -0,0 +1,211 @@
+/* 顶栏搜索(`search` 岛,ADR-0031):下拉栏里有什么、键盘怎么走、提交之后去哪儿。
+ *
+ * 补全(`/api/suggest`)与搜索记录(`/api/search-history`)在这里各给一份桩,好数请求、好看写进去的
+ * 是什么;作品与详情沿用 `item-fixture.ts`。下拉栏的排版(两栏、页签、封面格)由 `design.test.ts` 量。 */
+import assert from 'node:assert/strict';
+import { after, before, describe, it } from 'node:test';
+
+import type { Browser, Page } from 'playwright-core';
+
+import { launch, VIEWPORTS } from './harness.ts';
+import { openItemPage, type ItemVisit } from './item-fixture.ts';
+
+const DESKTOP = VIEWPORTS.find((viewport) => !viewport.mobile)!;
+const MENU = '#searchMenu';
+const OPTION = `${MENU} [data-search-option]`;
+
+/** 「七海」命中一位女优和一枚标签;别的词一条都没有。 */
+const SUGGEST = {
+ q: '七海',
+ groups: [
+ { kind: 'performer', label: '女优', total: 1, items: [
+ { value: '七海ひな', n: 12, matched: '', entity_id: 90_001, has_image: false, rep: null, agency: '', works: [] },
+ ] },
+ { kind: 'tag', label: '标签', total: 1, items: [{ value: '七海の夏', n: 3, matched: '' }] },
+ ],
+};
+
+interface Search extends ItemVisit {
+ suggest: URL[];
+ /** 桩里存着的搜索记录,最近的在前。 */
+ history: string[];
+ posts: { query?: string; operation?: string }[];
+}
+
+const fold = (value: string) => value.normalize('NFKC').trim().toLocaleLowerCase();
+
+async function openSearch(browser: Browser, { limit = 10, history = [] as string[] } = {}): Promise<Search> {
+ const opened = await openItemPage(browser, '/', DESKTOP, {
+ settings: { searchHistoryLimit: limit }, ready: '#grid [data-media-card]',
+ });
+ const { page } = opened;
+ const suggest: URL[] = [];
+ const stored = [...history];
+ const posts: Search['posts'] = [];
+ await page.route(/\/api\/suggest\?/, (route) => {
+ const url = new URL(route.request().url());
+ suggest.push(url);
+ const q = url.searchParams.get('q') || '';
+ return route.fulfill({ json: q === SUGGEST.q ? SUGGEST : { q, groups: [] } });
+ });
+ await page.route(/\/api\/search-history/, (route) => {
+ const request = route.request();
+ if (request.method() === 'POST') {
+ const body = request.postDataJSON() as Search['posts'][number];
+ posts.push(body);
+ const query = body.query || '';
+ const kept = stored.filter((value) => fold(value) !== fold(query));
+ stored.splice(0, stored.length, ...(body.operation === 'remove' ? kept : [query, ...kept]));
+ return route.fulfill({ json: { ok: true } });
+ }
+ const want = Number(new URL(request.url()).searchParams.get('limit')) || 10;
+ return route.fulfill({ json: { items: stored.slice(0, want) } });
+ });
+ await page.locator(`${MENU} > .peach-react`).waitFor({ state: 'attached', timeout: 15_000 });
+ return { ...opened, suggest, history: stored, posts };
+}
+
+const values = (page: Page) => page.locator(OPTION).evaluateAll((rows) =>
+ rows.map((row) => row.getAttribute('data-search-value')));
+const active = (page: Page) => page.locator(OPTION).evaluateAll((rows) =>
+ rows.flatMap((row) => (row.hasAttribute('data-active') ? [row.getAttribute('data-search-value')] : [])));
+const query = (page: Page) => new URL(page.url()).searchParams.get('q');
+
+async function typeQuery(opened: Search, text = SUGGEST.q) {
+ const { page } = opened;
+ await page.locator('#q').click();
+ await page.keyboard.type(text);
+ await page.locator(`${OPTION}[data-search-value="七海の夏"]`).waitFor({ timeout: 5_000 });
+}
+
+describe('顶栏搜索', () => {
+ let browser: Browser;
+ before(async () => { browser = await launch(); });
+ after(async () => { await browser?.close(); });
+
+ it('连敲几个字只问一次补全;下拉栏照后端给的组次序摆', { timeout: 60_000 }, async () => {
+ const opened = await openSearch(browser);
+ try {
+ const { page, suggest } = opened;
+ await typeQuery(opened);
+ assert.deepEqual(suggest.map((url) => url.searchParams.get('q')), [SUGGEST.q], '连敲两个字发了不止一次补全');
+ assert.deepEqual(await page.locator(`${MENU} [data-search-group] > h3`).allTextContents(), ['女优', '标签']);
+ assert.deepEqual(await values(page), ['七海ひな', '七海の夏']);
+ assert.equal(query(opened.page), null, '只是敲字,不该提交');
+ } finally {
+ await opened.close();
+ }
+ });
+
+ it('上下键环绕着选;回车按选中的那一项搜,记进搜索记录,下拉栏收起', { timeout: 60_000 }, async () => {
+ const opened = await openSearch(browser);
+ try {
+ const { page, posts } = opened;
+ await typeQuery(opened);
+ assert.deepEqual(await active(page), [], '刚画出来就有选中');
+ for (const [key, want] of [['ArrowDown', '七海ひな'], ['ArrowDown', '七海の夏'], ['ArrowDown', '七海ひな'],
+ ['ArrowUp', '七海の夏']] as const) {
+ await page.keyboard.press(key);
+ assert.deepEqual(await active(page), [want], `${key} 之后选中的不对`);
+ }
+ assert.equal(await page.locator('#q').inputValue(), SUGGEST.q, '上下键不该改输入框里的字');
+ await page.keyboard.press('Enter');
+ await page.waitForFunction(() => new URLSearchParams(location.search).get('q') === '七海の夏');
+ await page.locator(MENU).waitFor({ state: 'hidden', timeout: 5_000 });
+ assert.equal(await page.locator('#q').inputValue(), '七海の夏');
+ assert.deepEqual(posts, [{ query: '七海の夏' }]);
+ assert.notEqual(await page.evaluate(() => document.activeElement?.id), 'q', '提交之后焦点还留在输入框里');
+ } finally {
+ await opened.close();
+ }
+ });
+
+ it('回车选中一位女优:打开她的资料页,不绕一趟搜索', { timeout: 60_000 }, async () => {
+ const opened = await openSearch(browser);
+ try {
+ const { page, posts } = opened;
+ await typeQuery(opened);
+ await page.keyboard.press('ArrowDown');
+ await page.keyboard.press('Enter');
+ await page.waitForFunction(() => decodeURIComponent(location.pathname) === '/performers/七海ひな');
+ assert.equal(query(page), null);
+ assert.deepEqual(posts, [{ query: '七海ひな' }], '记进搜索记录的应当是这个名字');
+ } finally {
+ await opened.close();
+ }
+ });
+
+ it('Escape 先只关下拉栏、字留着;再按一次才清空输入框', { timeout: 60_000 }, async () => {
+ const opened = await openSearch(browser);
+ try {
+ const { page } = opened;
+ await typeQuery(opened);
+ await page.keyboard.press('Escape');
+ await page.locator(MENU).waitFor({ state: 'hidden', timeout: 5_000 });
+ assert.equal(await page.locator('#q').inputValue(), SUGGEST.q, '第一下 Escape 把字也清了');
+ assert.equal(await page.evaluate(() => document.activeElement?.id), 'q', '第一下 Escape 把焦点带走了');
+ await page.keyboard.press('Escape');
+ assert.equal(await page.locator('#q').inputValue(), '', '第二下 Escape 没有清空');
+ assert.equal(query(page), null, 'Escape 不该提交');
+ } finally {
+ await opened.close();
+ }
+ });
+
+ it('组字期间的回车与方向键是给输入法的:不提交、不挪选中、不关下拉栏', { timeout: 60_000 }, async () => {
+ const opened = await openSearch(browser);
+ try {
+ const { page, posts } = opened;
+ await typeQuery(opened);
+ await page.locator('#q').evaluate((input) => {
+ input.dispatchEvent(new CompositionEvent('compositionstart', { bubbles: true, data: '' }));
+ for (const key of ['ArrowDown', 'Enter']) {
+ input.dispatchEvent(new KeyboardEvent('keydown', { key, isComposing: true, bubbles: true, cancelable: true }));
+ }
+ });
+ await page.waitForTimeout(300);
+ assert.equal(query(page), null, '组字期间的回车提交了搜索');
+ assert.deepEqual(posts, []);
+ assert.deepEqual(await active(page), [], '组字期间的方向键挪了选中');
+ assert.equal(await page.locator(MENU).isVisible(), true, '组字期间的回车把下拉栏收了');
+ await page.locator('#q').evaluate((input) => {
+ input.dispatchEvent(new CompositionEvent('compositionend', { bubbles: true, data: '' }));
+ });
+ await page.keyboard.press('Enter');
+ await page.waitForFunction(() => new URLSearchParams(location.search).get('q') === '七海');
+ assert.deepEqual(posts, [{ query: '七海' }]);
+ } finally {
+ await opened.close();
+ }
+ });
+
+ it('搜索记录照设置的条数摆;删一条只摘掉这一条,下拉栏和焦点都不走;新搜的词排到最前', { timeout: 60_000 }, async () => {
+ const opened = await openSearch(browser, { limit: 3, history: ['甲片', '乙片', '丙片', '丁片'] });
+ try {
+ const { page, posts, history } = opened;
+ const recent = () => page.locator(`${MENU} [data-search-group]`, { hasText: '搜索记录' })
+ .locator('[data-search-option]').evaluateAll((rows) => rows.map((row) => row.getAttribute('data-search-value')));
+ await page.locator('#q').click();
+ await page.locator(`${OPTION}[data-search-value="丙片"]`).waitFor({ timeout: 5_000 });
+ assert.deepEqual(await recent(), ['甲片', '乙片', '丙片'], '搜索记录没有照设置只摆三条');
+ await page.locator(`${MENU} [data-remove-history="乙片"]`).click();
+ await page.waitForFunction(() => !document.querySelector('#searchMenu [data-search-value="乙片"]'));
+ assert.deepEqual(await recent(), ['甲片', '丙片']);
+ assert.deepEqual(posts, [{ operation: 'remove', query: '乙片' }]);
+ await page.waitForTimeout(300);
+ assert.equal(await page.locator(MENU).isVisible(), true, '删一条记录把下拉栏收了');
+ assert.equal(await page.evaluate(() => document.activeElement?.id), 'q', '删一条记录把焦点抢走了');
+ await page.keyboard.type('戊片');
+ await page.keyboard.press('Enter');
+ await page.waitForFunction(() => new URLSearchParams(location.search).get('q') === '戊片');
+ assert.deepEqual(posts.at(-1), { query: '戊片' });
+ assert.deepEqual(history.slice(0, 3), ['戊片', '甲片', '丙片']);
+ await page.locator('#q').evaluate((input: HTMLInputElement) => { input.value = ''; });
+ await page.locator('#q').click();
+ await page.locator(`${OPTION}[data-search-value="戊片"]`).waitFor({ timeout: 5_000 });
+ assert.deepEqual(await recent(), ['戊片', '甲片', '丙片']);
+ } finally {
+ await opened.close();
+ }
+ });
+});
diff --git a/frontend/src/islands.ts b/frontend/src/islands.ts
index cc6e85e65..883505438 100644
--- a/frontend/src/islands.ts
+++ b/frontend/src/islands.ts
@@ -50,6 +50,7 @@ export interface IslandContracts {
'scraping': ReactBundle.ScrapingProps;
'quality-goals': ReactBundle.QualityGoalsProps;
review: ReactBundle.ReviewProps;
+ search: ReactBundle.SearchProps;
configuration: ReactBundle.ConfigurationProps;
'configuration-summary': ReactBundle.ConfigurationSummaryProps;
activity: ReactBundle.ActivityProps;
@@ -83,6 +84,7 @@ const REGISTRY: { [N in IslandName]: Island } = {
'scraping': { react: 'scraping' },
'quality-goals': { react: 'quality-goals' },
review: { react: 'review' },
+ search: { react: 'search' },
configuration: { react: 'configuration' },
'configuration-summary': { react: 'configuration-summary' },
activity: { react: 'activity' },
diff --git a/frontend/src/react/bundle.d.ts b/frontend/src/react/bundle.d.ts
index b4835de59..9cad11ee9 100644
--- a/frontend/src/react/bundle.d.ts
+++ b/frontend/src/react/bundle.d.ts
@@ -10,6 +10,7 @@ import type { JunkQueueProps } from './junk-queue/junk-queue';
import type { EntityHeroProps } from './entity-hero/entity-hero';
import type { EntityFilterProps } from './entity-filter/entity-filter';
import type { CatalogFilterProps, CatalogView } from './catalog-filter/catalog-filter';
+import type { SearchProps } from './search/search';
import type { EntityBodyProps } from './entity-body/entity-body';
import type { FollowDetailProps } from './follow-detail/follow-detail';
import type { FollowFeedProps } from './follow-feed/follow-feed';
@@ -22,6 +23,7 @@ export type { JunkQueueProps };
export type { EntityHeroProps };
export type { EntityFilterProps };
export type { CatalogFilterProps, CatalogView };
+export type { SearchProps };
export type { EntityBodyProps };
export type { FollowDetailProps };
export type { FollowFeedProps };
@@ -408,6 +410,7 @@ export interface ReactPages {
playlists: ReactPage<PlaylistsProps>;
'quality-goals': ReactPage<QualityGoalsProps>;
review: ReactPage<ReviewProps>;
+ search: ReactPage<SearchProps>;
scraping: ReactPage<ScrapingProps>;
stats: ReactPage<StatsProps>;
taste: ReactPage<TasteProps>;
diff --git a/frontend/src/react/entry.tsx b/frontend/src/react/entry.tsx
index 633df5805..74ff7885d 100644
--- a/frontend/src/react/entry.tsx
+++ b/frontend/src/react/entry.tsx
@@ -17,6 +17,7 @@ import { DuplicatesPage } from './duplicates/duplicates-page';
import { EntityBodyPage } from './entity-body/entity-body-page';
import { EntityFilterPage } from './entity-filter/entity-filter-page';
import { CatalogFilterPage } from './catalog-filter/catalog-filter-page';
+import { SearchPage } from './search/search-page';
import { EntityHeroPage } from './entity-hero/entity-hero-page';
import { prefetchFollowFeed } from './follow-feed/follow-feed';
import { FollowFeedPage } from './follow-feed/follow-feed-page';
@@ -114,6 +115,8 @@ export const pages: Bundle.ReactPages = {
review: {
prefetch: (_props, signal) => prefetchReview(signal), mount: mounter(ReviewPage),
},
+ /* 输入框是壳的,岛只接它的事件、画下拉栏里的内容;记录与推荐聚焦时才取。 */
+ search: { prefetch: async () => {}, mount: mounter(SearchPage) },
scraping: { prefetch: (_props, signal) => prefetchScraping(signal), mount: mounter(ScrapingPage) },
stats: { prefetch: (_props, signal) => prefetchStats(signal), mount: mounter(StatsPage) },
/* 首屏取的是「全部时间」那一份:分析范围是组件状态,每次进这一页都从它开始。 */
diff --git a/frontend/src/react/search/search-page.tsx b/frontend/src/react/search/search-page.tsx
new file mode 100644
index 000000000..666069f7e
--- /dev/null
+++ b/frontend/src/react/search/search-page.tsx
@@ -0,0 +1,422 @@
+/* 顶栏搜索的下拉栏与键盘(`search` 岛)。
+ *
+ * 状态放在一个随组件活着的可变仓里,输入框上的原生事件改它再重画:`#q` 是壳的节点,事件只能用
+ * `addEventListener` 接,处理器里要读的是这一刻的值,不是挂上那一刻闭包里的那份。输入法组字期间
+ * 的按键读原生事件的 `isComposing`:方向键在挑候选字、回车在定字,都不是给这个菜单的。
+ *
+ * BoardUI 注册表里没有 Combobox/Command(`https://www.boardui.com/r/registry.json`,2026-10-01),
+ * React Aria 的 ComboBox 要自己画输入框、选项是 listbox 里的 option:选项里嵌的删记录键、近作
+ * 小封面键和最上面那排页签都放不进去。所以这里按遗留层那一套逐条照做:上下环绕着选、回车提交、
+ * Escape 先关下拉再清字、空输入回车用占位里那个推荐词。 */
+import { useLayoutEffect, useReducer, useRef, type MouseEvent, type ReactNode } from 'react';
+
+import { apiGet, apiSend } from '../../api';
+import { TabCount } from '../components/board-tabs';
+import {
+ menuModel, shufflePicks, SUGGEST_DEBOUNCE, SUGGEST_EACH, SUGGEST_ONE_KIND, SUGGEST_PROFILE_KINDS, fold,
+ type MenuModel, type MenuSection, type SearchApi, type SearchOption, type SearchProps, type SuggestCard,
+ type SuggestGroup, type SuggestItem, type SuggestResponse, type SuggestTab,
+} from './search';
+
+interface Store {
+ history: string[];
+ pool: string[];
+ poolRequest: number;
+ /** 画的那一刻输入框里的词与洗好的推荐。 */
+ query: string;
+ picks: string[];
+ suggestFor: string;
+ groups: SuggestGroup[];
+ tabs: SuggestTab[];
+ suggestRequest: number;
+ timer: number;
+ kind: string;
+ active: number;
+ /** 这一次选中是键盘挪的:画完把那一行滚进视野。 */
+ reveal: boolean;
+ /** 选了一类:画完把下拉栏滚回顶上。 */
+ rewind: boolean;
+}
+
+const emptyStore = (): Store => ({
+ history: [], pool: [], poolRequest: 0, query: '', picks: [], suggestFor: '', groups: [], tabs: [],
+ suggestRequest: 0, timer: 0, kind: '', active: -1, reveal: false, rewind: false,
+});
+
+const modelOf = (s: Store): MenuModel => menuModel({
+ query: s.query, history: s.history, picks: s.picks, suggestFor: s.suggestFor, groups: s.groups, tabs: s.tabs,
+ kind: s.kind,
+});
+const hasContent = (m: MenuModel) => !!(m.tabs || m.recent || m.left.length || m.right.length);
+
+const Sprite = ({ name }: { name: string }) => (
+ <svg viewBox="0 0 24 24" aria-hidden="true"><use href={`#i-${name}`} /></svg>
+);
+
+export function SearchPage(props: SearchProps) {
+ const latest = useRef(props);
+ latest.current = props;
+ const store = useRef<Store | null>(null);
+ store.current ??= emptyStore();
+ const s = store.current;
+ const root = useRef<HTMLDivElement>(null);
+ const [, bump] = useReducer((n: number) => n + 1, 0);
+
+ /* 处理器一次建好、挂在输入框上;读的都是 `latest` 与仓里这一刻的值。 */
+ const ops = useRef<ReturnType<typeof createOps> | null>(null);
+ ops.current ??= createOps(() => latest.current, s, () => root.current?.closest<HTMLElement>('[data-search-menu]') ?? null, bump);
+ const op = ops.current;
+
+ useLayoutEffect(() => {
+ const { input } = latest.current;
+ const onInput = (event: Event) => op.input(event as InputEvent);
+ const onStart = () => latest.current.helpers.composing();
+ const onKey = (event: KeyboardEvent) => op.key(event);
+ const onFocus = () => op.focus();
+ input.addEventListener('input', onInput);
+ input.addEventListener('compositionend', onInput);
+ input.addEventListener('compositionstart', onStart);
+ input.addEventListener('keydown', onKey);
+ input.addEventListener('focus', onFocus);
+ const api: SearchApi = { close: op.close };
+ latest.current.expose(api);
+ return () => {
+ input.removeEventListener('input', onInput);
+ input.removeEventListener('compositionend', onInput);
+ input.removeEventListener('compositionstart', onStart);
+ input.removeEventListener('keydown', onKey);
+ input.removeEventListener('focus', onFocus);
+ clearTimeout(s.timer);
+ latest.current.expose(null);
+ };
+ }, [op, s]);
+
+ useLayoutEffect(() => {
+ const menu = root.current?.closest<HTMLElement>('[data-search-menu]');
+ if (s.rewind && menu) menu.scrollTop = 0;
+ s.rewind = false;
+ if (s.reveal) root.current?.querySelector('[data-search-option][data-active]')?.scrollIntoView({ block: 'nearest' });
+ s.reveal = false;
+ });
+
+ const model = modelOf(s);
+ const limit = props.historyLimit;
+ const option = (entry: SearchOption): ReactNode => (
+ <Row key={`${entry.type}:${entry.value}:${entry.index}`} entry={entry} active={entry.index === s.active}
+ helpers={props.helpers} onPick={op.pick} onPeek={op.peek} onRemove={op.remove} />
+ );
+ const section = (group: MenuSection) => (
+ <section key={group.kind ?? group.label} data-search-group="" data-kind={group.kind}>
+ <h3>{group.label}</h3>
+ {group.kind ? <div data-search-items="">{group.options.map(option)}</div> : group.options.map(option)}
+ </section>
+ );
+ const columns = (left: MenuSection[], right: MenuSection[]) => (left.length || right.length ? (
+ <div data-search-results="" data-split={left.length && right.length ? '' : undefined}>
+ {left.length ? <div data-search-col="">{left.map(section)}</div> : null}
+ {right.length ? <div data-search-col="">{right.map(section)}</div> : null}
+ </div>
+ ) : null);
+ return (
+ <div ref={root} data-search-root="" data-history-limit={limit}>
+ {model.tabs ? <Tabs tabs={model.tabs} kind={s.kind} onPick={op.pickKind} wire={props.helpers.wireScroller} /> : null}
+ {model.recent ? section(model.recent) : null}
+ {columns(model.left, model.right)}
+ </div>
+ );
+}
+
+function createOps(props: () => SearchProps, s: Store, menu: () => HTMLElement | null, bump: () => void) {
+ const input = () => props().input;
+ const focused = () => document.activeElement === input();
+ const readHistory = () => s.history.slice(0, props().historyLimit);
+ const writeHistory = (list: string[]) => { s.history = list.slice(0, props().historyLimit) };
+
+ const loadHistory = async () => {
+ const limit = props().historyLimit;
+ if (!limit) { s.history = []; return }
+ try {
+ const data = await apiGet<{ items?: unknown }>(`/api/search-history?limit=${limit}`);
+ s.history = Array.isArray(data.items) ? data.items.map(String) : [];
+ } catch {
+ // 记录读不到就用手上这份:搜索本身不受影响。
+ }
+ };
+ /* 搜索本身是只读能力;账本暂时只读时,历史记录降级为本次页面内存,写失败不妨碍搜索。 */
+ const rememberSearch = (query: string) => {
+ if (!query || !props().historyLimit) return;
+ writeHistory([query, ...readHistory().filter((value) => fold(value) !== fold(query))]);
+ void apiSend('/api/search-history', { query }).catch(() => null);
+ };
+ const loadPool = async () => {
+ const request = ++s.poolRequest;
+ s.pool = [];
+ const field = input();
+ field.dataset.suggestion = '';
+ field.placeholder = '搜索馆藏';
+ try {
+ const names = await props().helpers.pool();
+ if (request !== s.poolRequest) return;
+ s.pool = names;
+ const pick = names[Math.floor(Math.random() * names.length)] || '';
+ field.dataset.suggestion = pick;
+ field.placeholder = pick || '搜索馆藏';
+ } catch {
+ // 推荐不可用时仍可直接输入搜索。
+ }
+ };
+ /* 分组顺序和每组的名字都由 `/api/suggest` 给出,这里照抄。慢的旧响应不许盖掉新的:连敲两个字时
+ 先发的那次完全可能后回来。 */
+ const loadSuggestions = async (query: string, kind = '') => {
+ const request = ++s.suggestRequest;
+ try {
+ const data = await apiGet<SuggestResponse>(`/api/suggest?q=${encodeURIComponent(query)}`
+ + (kind ? `&kind=${kind}&limit=${SUGGEST_ONE_KIND}` : `&limit=${SUGGEST_EACH}`));
+ if (request !== s.suggestRequest) return;
+ s.suggestFor = data.q || '';
+ s.groups = data.groups || [];
+ if (!kind) s.tabs = s.groups.map(({ kind: k, label, total }) => ({ kind: k, label, total }));
+ } catch {
+ if (request === s.suggestRequest) { s.suggestFor = query; s.groups = [] }
+ }
+ };
+
+ const isOpen = () => { const el = menu(); return !!el && !el.hidden };
+ const close = () => {
+ const el = menu();
+ if (el) props().helpers.dismiss(el);
+ s.active = -1;
+ bump();
+ };
+ /** 按此刻的输入与手上的数据画一遍:有东西就掀开,没有就收起。推荐每画一次洗一次。 */
+ const paint = () => {
+ s.query = input().value.trim();
+ s.picks = s.query ? [] : shufflePicks(s.pool, readHistory());
+ s.active = -1;
+ const el = menu();
+ if (el) {
+ if (hasContent(modelOf(s))) props().helpers.present(el);
+ else props().helpers.dismiss(el);
+ }
+ bump();
+ };
+ /* 每一下输入都排一次补全,但只发一次请求。先按手头已有的内容重画一遍,下拉栏不会在等请求的这段
+ 里空着。回调回来时焦点可能已经不在输入框上:失焦那条 140ms 的兜底先把下拉栏收了,晚到的回调
+ 再掀开,这一刻没有焦点,也就不会再有第二次失焦来收场,所以先问焦点还在不在。 */
+ const refresh = () => {
+ s.active = -1;
+ // 换了词就回到「全部」:上一个词选中的那一类,这个词下可能一条都没有。
+ s.kind = '';
+ clearTimeout(s.timer);
+ const query = input().value.trim();
+ if (!query) { s.suggestFor = ''; s.groups = [] }
+ if (isOpen()) paint();
+ if (!query) return;
+ s.timer = window.setTimeout(() => void loadSuggestions(query).then(() => { if (focused()) paint() }), SUGGEST_DEBOUNCE);
+ };
+ const pickKind = (kind: string) => {
+ const query = input().value.trim();
+ if (!query || kind === s.kind) return;
+ s.kind = kind;
+ clearTimeout(s.timer);
+ paint();
+ s.rewind = true;
+ void loadSuggestions(query, kind).then(() => { if (focused() && s.kind === kind) paint() });
+ };
+ const options = () => (isOpen() ? modelOf(s).options : []);
+ const move = (step: number) => {
+ const list = options();
+ if (!list.length) return false;
+ s.active = (s.active + step + list.length) % list.length;
+ s.reveal = true;
+ bump();
+ return true;
+ };
+ const runSearch = (useSuggestion: boolean, committed: boolean) => {
+ const field = input();
+ let query = field.value.trim();
+ if (useSuggestion && !query) { query = field.dataset.suggestion || ''; field.value = query }
+ if (committed) rememberSearch(query);
+ props().actions.search(query);
+ };
+ /* 人、公司和系列点开就是资料页,不绕一趟搜索:按名字搜出来的是一屏作品,而用户点的是「这个人」。
+ 记进搜索记录的是这个名字,下次聚焦还找得回来。 */
+ const openEntity = (kind: string, name: string) => {
+ input().blur();
+ rememberSearch(name);
+ props().actions.openEntity(kind, name);
+ };
+ /** 选中一行,点它和回车落在同一处。作品开详情,有资料页的开资料页,其余按这个词搜。 */
+ const choose = (entry: SearchOption) => {
+ if (entry.type === 'suggest' && entry.kind === 'asset' && entry.item.id != null) {
+ input().blur();
+ props().actions.openItem(entry.item.id);
+ return;
+ }
+ if (entry.type === 'suggest' && SUGGEST_PROFILE_KINDS.has(entry.kind)) { openEntity(entry.kind, entry.value); return }
+ input().value = entry.value;
+ runSearch(false, true);
+ };
+ const pick = (entry: SearchOption) => { close(); choose(entry) };
+ const peek = (card: SuggestCard) => { close(); input().blur(); props().actions.openItem(card.id) };
+ const remove = async (value: string) => {
+ await apiSend('/api/search-history', { operation: 'remove', query: value }).catch(() => null);
+ writeHistory(readHistory().filter((row) => fold(row) !== fold(value)));
+ // 行没了,键盘选中的下标就指不回同一项,归零重来。推荐不重洗:删一条记录却换了一批推荐,看着像列表自己跳了。
+ s.active = -1;
+ bump();
+ };
+
+ const key = (event: KeyboardEvent) => {
+ if (event.isComposing) return;
+ const field = input();
+ if (event.key === 'Escape') {
+ if (isOpen()) { close(); event.preventDefault(); return }
+ if (field.value) {
+ props().helpers.clearField(field);
+ s.active = -1;
+ event.preventDefault();
+ refresh();
+ return;
+ }
+ }
+ if (event.key === 'ArrowDown' || event.key === 'ArrowUp') {
+ if (move(event.key === 'ArrowDown' ? 1 : -1)) event.preventDefault();
+ return;
+ }
+ if (event.key !== 'Enter') return;
+ event.preventDefault();
+ const picked = options()[s.active];
+ close();
+ // 选中某一项时用它原样搜索;没选中才回退到「空输入按 Enter 用推荐词」。
+ if (picked) {
+ choose(picked);
+ if (picked.type !== 'suggest' || picked.kind !== 'asset') field.blur();
+ return;
+ }
+ runSearch(true, true);
+ field.blur();
+ };
+ const onInput = (event: InputEvent) => {
+ if (event.isComposing) return;
+ props().helpers.typed(input());
+ refresh();
+ };
+ const focus = () => {
+ void Promise.all([loadHistory(), loadPool()]).then(() => {
+ if (!focused()) return;
+ // 带着 `?q=` 进来再点回输入框时,框里已经有词,补全该跟着这个词给。
+ paint();
+ refresh();
+ });
+ };
+ return { input: onInput, key, focus, close, pick, peek, remove, pickKind };
+}
+
+function Tabs({ tabs, kind, onPick, wire }: {
+ tabs: SuggestTab[]; kind: string; onPick(kind: string): void; wire(row: Element | null): void;
+}) {
+ const row = useRef<HTMLDivElement>(null);
+ // 窄屏页签排不下时右缘渐隐,看得出还能往右拨。
+ useLayoutEffect(() => { wire(row.current) }, [wire, tabs]);
+ const tab = (k: string, label: string, total?: number) => (
+ <button key={k || 'all'} type="button" role="tab" data-suggest-kind={k} aria-selected={kind === k}
+ // 按下不抢焦点:抢走会触发 `#q` 的失焦,140ms 后整个下拉栏收掉,页签等于白点。
+ onMouseDown={(event) => event.preventDefault()} onClick={() => onPick(k)}>
+ {label}{total ? <TabCount value={total} /> : null}
+ </button>
+ );
+ return (
+ <div ref={row} data-search-tabs="" role="tablist" aria-label="按种类看补全">
+ {tab('', '全部')}
+ {tabs.map((t) => tab(t.kind, t.label, t.total))}
+ </div>
+ );
+}
+
+const keep = (event: MouseEvent) => event.preventDefault();
+
+function Row({ entry, active, helpers, onPick, onPeek, onRemove }: {
+ entry: SearchOption; active: boolean; helpers: SearchProps['helpers'];
+ onPick(entry: SearchOption): void; onPeek(card: SuggestCard): void; onRemove(value: string): Promise<void>;
+}) {
+ const shared = {
+ 'data-search-value': entry.value, 'data-active': active ? '' : undefined,
+ onClick: (event: MouseEvent) => {
+ if ((event.target as Element).closest('[data-remove-history]')) return;
+ onPick(entry);
+ },
+ };
+ if (entry.type !== 'suggest') {
+ return (
+ <div data-search-option="" {...shared}>
+ <Sprite name={entry.type === 'history' ? 'history' : 'sparkles'} />
+ <span>{entry.value}</span>
+ {entry.type === 'history' ? (
+ /* 按下就 preventDefault,不让删除键把焦点从输入框抢走:抢走会触发 `#q` 的失焦,那个处理器
+ 140ms 后收起整个下拉栏,于是「删一条记录」实际等于「关掉整个下拉栏」。 */
+ <button type="button" data-remove-history={entry.value} aria-label={`删除历史 ${entry.value}`}
+ onMouseDown={keep} onClick={(event) => { event.stopPropagation(); void onRemove(entry.value) }}>
+ <Sprite name="x" />
+ </button>
+ ) : null}
+ </div>
+ );
+ }
+ const { item, kind } = entry;
+ const opens = SUGGEST_PROFILE_KINDS.has(kind) ? kind : undefined;
+ if (kind === 'asset') {
+ /* 作品点开是详情,不是一个搜索词:整句标题填回搜索框,下一次搜索会因为其中任何一个字符对不上
+ 而落空。 */
+ const byline = [item.who, item.code ? item.title : ''].filter(Boolean).join(' · ');
+ return (
+ <div data-search-option="work" data-open-item={item.id} {...shared}>
+ <Cover card={item.card} helpers={helpers} />
+ <span data-search-meta=""><span data-search-name="">{item.value}</span><span data-search-sub="">{byline}</span></span>
+ </div>
+ );
+ }
+ const matched = item.matched ? <span data-search-matched="">{item.matched}</span> : null;
+ if (kind === 'performer' || kind === 'creator') {
+ // 一行里摆得下几部近作就摆几部;窄下拉整排收起,数据照给。
+ const works = item.works ?? [];
+ const sub = [`${(item.n ?? 0).toLocaleString()} 个视频`, item.agency].filter(Boolean).join(' · ');
+ return (
+ <div data-search-option="person" data-open-entity={opens} {...shared}>
+ <Face item={item} kind={kind} helpers={helpers} />
+ <span data-search-meta="">
+ <span data-search-name=""><span>{item.value}</span>{matched}</span>
+ <span data-search-sub="">{sub}</span>
+ </span>
+ {works.length ? (
+ <span data-search-peeks="">
+ {works.map((card) => (
+ <button key={card.id} type="button" data-open-work={card.id} aria-label={`打开 ${card.code || item.value}`}
+ onMouseDown={keep} onClick={(event) => { event.stopPropagation(); onPeek(card) }}>
+ <Cover card={card} helpers={helpers} />
+ </button>
+ ))}
+ </span>
+ ) : null}
+ </div>
+ );
+ }
+ return (
+ <div data-search-option="" data-open-entity={opens} {...shared}>
+ {kind === 'studio' || kind === 'agency' ? <Face item={item} kind={kind} helpers={helpers} /> : null}
+ <span>{item.value}</span>
+ {matched}
+ {item.n ? <span data-search-n="">{item.n.toLocaleString()}</span> : null}
+ </div>
+ );
+}
+
+/** 小图和卡片同一套取景:卡片那一格(`.pic`)连同里面那张图都归遗留层,这里只定它有多宽。 */
+function Cover({ card, helpers }: { card: SuggestCard | null | undefined; helpers: SearchProps['helpers'] }) {
+ return <span data-search-pic="" dangerouslySetInnerHTML={{ __html: helpers.coverHtml(card) }} />;
+}
+
+/** 门面一律圆片:人是实体图 → 代表作头像,厂牌是标识,事务所是官网站点圆标;都取不到就是首字母。 */
+function Face({ item, kind, helpers }: { item: SuggestItem; kind: string; helpers: SearchProps['helpers'] }) {
+ return <span data-search-face="" data-kind={kind} dangerouslySetInnerHTML={{ __html: helpers.faceHtml(item, kind) }} />;
+}
diff --git a/frontend/src/react/search/search.css b/frontend/src/react/search/search.css
new file mode 100644
index 000000000..521634408
--- /dev/null
+++ b/frontend/src/react/search/search.css
@@ -0,0 +1,210 @@
+/* 顶栏搜索下拉栏里的内容(`search` 岛)。
+ *
+ * 下拉栏那块面(位置、滚动、边框、阴影与开合动效)和它的容器查询名 `searchmenu` 归宿主
+ * `#searchMenu`,输入框和它外面那一圈归顶栏,都在 `02-topbar.css`:窄屏展开、残影与失焦收起
+ * 都还是壳在做。这里只管栏里的行、组与页签,选择器一律走 `data-*`。 */
+
+/* 行高取顶栏那一格给的定值 20px:组标题、页签与各行都按它排,不跟字号走。 */
+.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 {
+ margin: 6px 10px;
+ color: var(--muted);
+ font-size: var(--fs-xs);
+ font-weight: 700;
+ letter-spacing: .14em;
+}
+
+.peach-react [data-search-option] {
+ width: 100%;
+ height: 38px;
+ border: 0;
+ border-radius: var(--control-radius);
+ background: transparent;
+ color: var(--ink);
+ display: flex;
+ align-items: center;
+ gap: 11px;
+ padding: 0 10px;
+ text-align: left;
+ cursor: pointer;
+}
+.peach-react [data-search-option]:is(:hover, [data-active]) { background: var(--hover); }
+.peach-react [data-search-option] svg { width: 18px; height: 18px; stroke: var(--muted); fill: none; flex: none; }
+.peach-react [data-search-option] span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
+.peach-react [data-remove-history] {
+ margin-left: auto;
+ border: 0;
+ background: none;
+ color: var(--muted);
+ padding: 7px;
+ cursor: pointer;
+}
+/* 命中的别名跟在统称后面,作品数靠右。两个都是这一行的注脚,不与名字争分量。宽度不够时别名先让位
+ * (收缩权重比统称高):系列的规范名本身就是一整句日文标题、别名是它的整句英文译名,平摊的话一行里
+ * 两段都收在省略号里,谁也读不出来。 */
+.peach-react [data-search-option] [data-search-matched] {
+ flex: 0 8 auto;
+ min-width: 0;
+ color: var(--muted);
+ font-size: var(--fs-xs);
+}
+.peach-react [data-search-option] [data-search-n] {
+ margin-left: auto;
+ flex: none;
+ color: var(--muted);
+ font-size: var(--fs-xs);
+ font-variant-numeric: tabular-nums;
+}
+
+/* 两栏与否看下拉栏自己有多宽(宿主上的 `searchmenu`),不看窗口:宽屏里搜索框随侧栏开合变宽变窄,
+ * 窄屏它盖过返回键铺成一整条。一栏里摆不摆近作、视频排成格还是排成行,看的是那一栏自己的宽度。 */
+.peach-react [data-search-col] { container: searchcol / inline-size; min-width: 0; }
+
+/* 页签照复核分类那一排药丸:选中只有填充,未选中悬停只提字色;数用 Board 的计数徽标。 */
+.peach-react [data-search-tabs] {
+ display: flex;
+ gap: 4px;
+ padding: 2px 2px 8px;
+ margin-bottom: 4px;
+ border-bottom: 1px solid var(--line-soft);
+ overflow-x: auto;
+ scrollbar-width: none;
+ overscroll-behavior-x: contain;
+}
+.peach-react [data-search-tabs]::-webkit-scrollbar { display: none; }
+.peach-react [data-search-tabs] > button {
+ flex: none;
+ display: inline-flex;
+ align-items: center;
+ height: 30px;
+ padding: 0 10px;
+ border: 0;
+ border-radius: var(--control-radius);
+ background: none;
+ color: var(--color-text-secondary);
+ font-size: var(--fs-sm);
+ white-space: nowrap;
+ cursor: pointer;
+}
+.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); }
+
+/* 门面一律圆片,和顶栏头像、厂牌药丸同一个形状;人是 40,公司是 28。 */
+.peach-react [data-search-face] {
+ position: relative;
+ flex: none;
+ width: 28px;
+ height: 28px;
+ border-radius: 50%;
+ overflow: hidden;
+ background: var(--hover);
+}
+.peach-react [data-search-option="person"] [data-search-face] { width: 40px; height: 40px; }
+.peach-react [data-search-face] img {
+ position: absolute;
+ inset: 0;
+ width: 100%;
+ height: 100%;
+ object-fit: cover;
+ display: block;
+}
+/* 首字母是壳(`avatarInner`)给的第一枚 span,门面图叠在它上面。 */
+.peach-react [data-search-face] > span:first-child {
+ position: absolute;
+ inset: 0;
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ color: var(--muted);
+ font-size: var(--fs-sm);
+}
+.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: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
+.peach-react [data-search-name] { display: flex; align-items: baseline; gap: 8px; min-width: 0; }
+.peach-react [data-search-sub] { color: var(--muted); font-size: var(--fs-xs); }
+
+/* 小封面和卡片同一个 3:4 容器(壳给的 `.pic`,比例从这里继承),取景换算读的就是这个比例。
+ * 宽 36 刚好排下不加字距的「无预览」:封面那一格里只有它是 span,图都是 <img>。 */
+.peach-react [data-search-pic] { --card-ratio: .75; display: block; flex: none; border-radius: var(--badge-radius); }
+.peach-react [data-search-pic] > span > span { letter-spacing: 0; }
+.peach-react [data-search-option="work"] > [data-search-pic] { width: 36px; }
+/* 行里的 span 一律截断裁切,这一排要让出焦点环。 */
+.peach-react [data-search-option] [data-search-peeks] {
+ display: none;
+ flex: none;
+ gap: 6px;
+ margin-left: auto;
+ overflow: visible;
+}
+.peach-react [data-open-work] {
+ width: 36px;
+ padding: 0;
+ border: 0;
+ border-radius: var(--badge-radius);
+ background: none;
+ cursor: pointer;
+}
+.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 (min-width: 420px) {
+ .peach-react [data-search-option] [data-search-peeks] { display: flex; }
+}
+/* 一栏够宽时视频排成封面格,番号在下、署名再下一行;窄了就是一行一部,封面缩成一枚小图。列宽按栏宽
+ * 均分:补全每组给五条、单看一类给二十条,所以五百到一千二的栏宽里正好一行五张、把栏铺满;更窄时
+ * 每格不小于 96,更宽时每格封顶两百出头,多出来的宽度另开一列。 */
+@container searchcol (min-width: 400px) {
+ .peach-react [data-search-group][data-kind="asset"] [data-search-items] {
+ display: grid;
+ grid-template-columns: repeat(auto-fill, minmax(clamp(96px, calc(20% - 4px), 200px), 1fr));
+ gap: 4px;
+ }
+ .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 (min-width: 720px) {
+ .peach-react [data-search-results][data-split] {
+ position: relative;
+ display: grid;
+ grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
+ column-gap: 16px;
+ align-items: start;
+ }
+ .peach-react [data-search-results][data-split]::before {
+ content: "";
+ position: absolute;
+ top: 0;
+ bottom: 0;
+ left: calc(50% - .5px);
+ width: 1px;
+ background: var(--line-soft);
+ pointer-events: none;
+ }
+ .peach-react [data-search-results][data-split] > [data-search-col] + [data-search-col] {
+ position: sticky;
+ top: 0;
+ border-top: 0;
+ margin-top: 0;
+ padding-top: 0;
+ }
+}
diff --git a/frontend/src/react/search/search.ts b/frontend/src/react/search/search.ts
new file mode 100644
index 000000000..097ef0459
--- /dev/null
+++ b/frontend/src/react/search/search.ts
@@ -0,0 +1,187 @@
+/* 顶栏搜索(`search` 岛,ADR-0031 第 11b 步):数据形状与菜单模型。
+ *
+ * 输入框 `#q` 是壳的静态节点,岛不画它,只在上面接事件:它在 React 包到之前就得能敲字,壳里的
+ * 路由、窄屏开合与清空时的残影(`clearSearchField`)也都直接读写它。下拉栏 `#searchMenu` 的内容、
+ * 搜索记录、推荐词、按字补全、键盘选中与提交都归岛;提交之后跳页回壳(`actions.search`),同
+ * 打开作品、打开资料页一样走壳的路由函数。
+ *
+ * 下拉栏的开合动效是全站菜单那一副(遗留层 `presentMenu`/`dismissMenu`,由 `helpers` 递进来):
+ * `hidden` 始终是「看不见了」,壳的全局 Escape 与外点收起照旧读它。 */
+
+/** 补全里的一张小封面:作品本身,或人名那一行右边的近作。 */
+export interface SuggestCard {
+ id: number;
+ code?: string | null;
+ [key: string]: unknown;
+}
+
+export interface SuggestItem {
+ value: string;
+ /** 命中的是别名时,那个别名;跟在统称后面当注脚。 */
+ matched?: string | null;
+ n?: number;
+ /** 作品那一类:点开是详情,不是一个搜索词。 */
+ id?: number;
+ who?: string | null;
+ code?: string | null;
+ title?: string | null;
+ card?: SuggestCard | null;
+ /** 人那一类:一行里摆得下几部近作就摆几部。 */
+ works?: SuggestCard[];
+ agency?: string | null;
+ [key: string]: unknown;
+}
+
+export interface SuggestGroup {
+ kind: string;
+ label: string;
+ total?: number;
+ items: SuggestItem[];
+}
+
+export interface SuggestTab {
+ kind: string;
+ label: string;
+ total?: number;
+}
+
+export interface SuggestResponse {
+ q?: string;
+ groups?: SuggestGroup[];
+}
+
+/** 跳页与打开:都回壳,走它的路由函数。 */
+export interface SearchActions {
+ /** 按这个词搜:壳关掉详情、写 `?q=` 并重取目录。 */
+ search(query: string): void;
+ openItem(id: number): void;
+ openEntity(kind: string, name: string): void;
+}
+
+/** 仍由遗留层给的几样。 */
+export interface SearchHelpers {
+ /** 空输入时的推荐词池:与当前目录同一组筛选,只留真搜得出东西的词(`catalogSuggestions`)。 */
+ pool(): Promise<string[]>;
+ /** 小封面那一格(卡片的 `.pic`)连同里面那张图(`coverImage` 与 JAV 默认封面那套取景);两样都没有是「无预览」。 */
+ coverHtml(card: SuggestCard | null | undefined): string;
+ /** 人和公司的圆片里那两层:首字母与门面图(`avatarInner`,兜底链与取景都在遗留层)。 */
+ faceHtml(item: SuggestItem, kind: string): string;
+ present(menu: HTMLElement): void;
+ dismiss(menu: HTMLElement): void;
+ /** 窄屏页签排不下时右缘渐隐(`wireHorizontalScroller`)。 */
+ wireScroller(row: Element | null): void;
+ /** 输入框的字变了:离开搜索结果时那段残影记的是哪句话,由壳记(`rememberSearchValue`)。 */
+ typed(input: HTMLInputElement): void;
+ /** 开始组字:正在散开的残影当场收掉。 */
+ composing(): void;
+ /** 有字时按 Escape:清空并留一段残影(`clearSearchField`)。 */
+ clearField(input: HTMLInputElement): void;
+}
+
+/** 壳手里的命令式入口,挂上时由 `expose` 交出去,卸载时交回 null。 */
+export interface SearchApi {
+ /** 收起下拉栏、清掉键盘选中。全局 Escape、外点与失焦都走这里。 */
+ close(): void;
+}
+
+export interface SearchProps {
+ /** 顶栏那个静态的 `#q`。 */
+ input: HTMLInputElement;
+ /** 搜索记录留几条(设置页那一项);0 就是不记也不显示。 */
+ historyLimit: number;
+ actions: SearchActions;
+ helpers: SearchHelpers;
+ expose(api: SearchApi | null): void;
+}
+
+/** 敲一下就查一次的补全:150ms 内继续敲就换掉上一次的排期,只发一次请求。 */
+export const SUGGEST_DEBOUNCE = 150;
+/** 「全部」每类给前几条,点一个页签再按这一类一次拉满。 */
+export const SUGGEST_EACH = 5;
+export const SUGGEST_ONE_KIND = 20;
+/** 有脸的那几类点开的是资料页;标签没有资料页,点它照旧是按这个词搜。 */
+export const SUGGEST_PROFILE_KINDS = new Set(['performer', 'creator', 'studio', 'agency', 'series']);
+/** 下拉栏按宽度分两栏:左栏是身份和词,右栏是作品封面格。 */
+export const SUGGEST_RIGHT_KINDS = new Set(['asset']);
+/** 空输入时推荐几条。 */
+export const PICKS = 5;
+
+/** 名字比较一律折叠全半角与大小写,同遗留层 `foldName`。 */
+export const fold = (value: unknown): string => String(value ?? '').normalize('NFKC').trim().toLocaleLowerCase();
+
+/** 下拉栏里能被键盘选中的一行。`index` 是它在整栏里的次序,上下键按它走。 */
+export type SearchOption =
+ | { index: number; type: 'history' | 'pick'; value: string }
+ | { index: number; type: 'suggest'; value: string; kind: string; item: SuggestItem };
+
+export interface MenuSection {
+ kind?: string;
+ label: string;
+ options: SearchOption[];
+}
+
+export interface MenuModel {
+ /** 命中不止一类时的页签;只有一类的话「全部」和那一类是同一屏。 */
+ tabs: SuggestTab[] | null;
+ /** 有输入且没选页签时,列在最上面的搜索记录。 */
+ recent: MenuSection | null;
+ /** 两栏:左栏身份和词,右栏作品。空输入时是记录与推荐两组短词。 */
+ left: MenuSection[];
+ right: MenuSection[];
+ options: SearchOption[];
+}
+
+export interface MenuInput {
+ query: string;
+ history: readonly string[];
+ /** 画的那一刻洗好的推荐(`shufflePicks`)。 */
+ picks: readonly string[];
+ /** 补全是这个词的才算数;慢回来的上一个词不画。 */
+ suggestFor: string;
+ groups: readonly SuggestGroup[];
+ tabs: readonly SuggestTab[];
+ kind: string;
+}
+
+/** 从一刻的状态算出下拉栏里有什么,以及键盘上下时的次序。页签管整栏,所以排在最上面;选了一类
+ * 时搜索记录让位。 */
+export function menuModel({ query, history, picks, suggestFor, groups, tabs, kind }: MenuInput): MenuModel {
+ let index = 0;
+ const options: SearchOption[] = [];
+ const add = <T extends Omit<SearchOption, 'index'>>(option: T): SearchOption => {
+ const next = { ...option, index: index++ } as SearchOption;
+ options.push(next);
+ return next;
+ };
+ // 有输入时历史跟着筛:这一刻用户在找一个词,不是在回顾自己搜过什么。
+ const matching = history.filter((value) => !query || fold(value).includes(fold(query)));
+ if (!query) {
+ const recent = matching.length ? { label: '搜索记录', options: matching.map((value) => add({ type: 'history', value })) } : null;
+ const suggested = picks.length ? { label: '推荐', options: picks.map((value) => add({ type: 'pick', value })) } : null;
+ return { tabs: null, recent: null, left: recent ? [recent] : [], right: suggested ? [suggested] : [], options };
+ }
+ const fresh = suggestFor === query;
+ const recent = !kind && matching.length
+ ? { label: '搜索记录', options: matching.map((value) => add({ type: 'history', value })) } : null;
+ // 选了一类就只画这一类;拉满那一类的请求还在路上时,先用「全部」里的那几条顶着。
+ const shown = (fresh ? groups : []).filter((group) => !kind || group.kind === kind);
+ const section = (group: SuggestGroup): MenuSection => ({
+ kind: group.kind, label: group.label,
+ options: group.items.map((item) => add({ type: 'suggest', value: item.value, kind: group.kind, item })),
+ });
+ const left = shown.filter((group) => !SUGGEST_RIGHT_KINDS.has(group.kind)).map(section);
+ const right = shown.filter((group) => SUGGEST_RIGHT_KINDS.has(group.kind)).map(section);
+ return { tabs: fresh && tabs.length > 1 ? [...tabs] : null, recent, left, right, options };
+}
+
+/** 空输入时从词池里洗出几条推荐,搜过的不再推。每画一次下拉栏洗一次;删一条记录不算重画,
+ * 所以这一批在画的那一刻定下,删掉的那条记录即便也在词池里,也不会顶进推荐。 */
+export function shufflePicks(pool: readonly string[], history: readonly string[],
+ random: () => number = Math.random): string[] {
+ const out = [...pool];
+ for (let i = out.length - 1; i > 0; i -= 1) {
+ const j = Math.floor(random() * (i + 1));
+ [out[i], out[j]] = [out[j]!, out[i]!];
+ }
+ return out.filter((value) => !history.some((h) => fold(h) === fold(value))).slice(0, PICKS);
+}
diff --git a/frontend/src/react/styles.css b/frontend/src/react/styles.css
index 4699eff8a..f098c8e74 100644
--- a/frontend/src/react/styles.css
+++ b/frontend/src/react/styles.css
@@ -21,6 +21,7 @@
@import "./entity-hero/entity-hero.css";
@import "./entity-filter/entity-filter.css";
@import "./catalog-filter/catalog-filter.css";
+@import "./search/search.css";
@import "./entity-body/entity-body.css";
@import "./follow-feed/follow-feed.css";
@import "./follow-detail/follow-detail.css";
diff --git a/frontend/test/islands.test.ts b/frontend/test/islands.test.ts
index ecd23e537..0da2efd03 100644
--- a/frontend/test/islands.test.ts
+++ b/frontend/test/islands.test.ts
@@ -42,7 +42,7 @@ describe('island 注册表', () => {
expect(islandNames()).toEqual([
'catalog-filter', 'catalog-grid', 'data-cleanup', 'duplicates', 'entity-body', 'entity-filter', 'entity-hero', 'follow-feed', 'follow-manage', 'index', 'junk-queue',
'library-processing', 'playlists',
- 'scraping', 'quality-goals', 'review', 'configuration', 'configuration-summary', 'activity', 'stats', 'taste']);
+ 'scraping', 'quality-goals', 'review', 'search', 'configuration', 'configuration-summary', 'activity', 'stats', 'taste']);
});
it('未注册的名字立刻失败,不是静默什么都不画', async () => {
diff --git a/frontend/test/react/search.test.tsx b/frontend/test/react/search.test.tsx
new file mode 100644
index 000000000..386c1e552
--- /dev/null
+++ b/frontend/test/react/search.test.tsx
@@ -0,0 +1,192 @@
+/* 顶栏搜索(`search` 岛):下拉栏里摆什么(`menuModel`/`shufflePicks`),以及几条只在时序上才看得见
+ * 的行为——占位推荐词、空输入回车、作品项开详情、慢回来的旧补全、失焦之后才回来的补全。键盘上下、
+ * 组字、Escape 与删记录在真浏览器里验,见 `e2e/search.test.ts`。 */
+import { act } from 'react';
+import { describe, expect, it, vi, type Mock } from 'vitest';
+
+import { SearchPage } from '../../src/react/search/search-page';
+import {
+ PICKS, SUGGEST_DEBOUNCE, menuModel, shufflePicks, type SearchApi, type SearchProps, type SuggestResponse,
+} from '../../src/react/search/search';
+
+import { mount, pending, settle } from './render';
+
+const performer = { kind: 'performer', label: '女优', total: 1, items: [{ value: '七海ひな', n: 12 }] };
+const tag = { kind: 'tag', label: '标签', total: 1, items: [{ value: '七海の夏', n: 3 }] };
+const asset = { kind: 'asset', label: '视频', total: 1, items: [{ value: 'ABW-101', id: 7, code: 'ABW-101', who: '七海ひな' }] };
+
+describe('下拉栏里摆什么', () => {
+ const base = { history: [], picks: [], suggestFor: '', groups: [], tabs: [], kind: '' };
+
+ it('有输入时搜索记录跟着这个词筛,全半角与大小写折叠后再比', () => {
+ const model = menuModel({ ...base, query: 'studio', history: ['STUDIO A', '七海ひな'] });
+ expect(model.recent?.options.map((o) => o.value)).toEqual(['STUDIO A']);
+ });
+
+ it('补全只认这个词自己的那一份;选了一类时搜索记录让位', () => {
+ const groups = [performer, tag];
+ const tabs = groups.map(({ kind, label, total }) => ({ kind, label, total }));
+ const stale = menuModel({ ...base, query: '七海', history: ['七海'], suggestFor: '七', groups, tabs });
+ expect([stale.left, stale.right, stale.tabs]).toEqual([[], [], null]);
+
+ const fresh = menuModel({ ...base, query: '七海', history: ['七海'], suggestFor: '七海', groups, tabs });
+ expect(fresh.tabs?.map((t) => t.kind)).toEqual(['performer', 'tag']);
+ expect(fresh.options.map((o) => o.value)).toEqual(['七海', '七海ひな', '七海の夏']);
+
+ const one = menuModel({ ...base, query: '七海', history: ['七海'], suggestFor: '七海', groups, tabs, kind: 'tag' });
+ expect(one.recent).toBeNull();
+ expect(one.options.map((o) => o.value)).toEqual(['七海の夏']);
+ });
+
+ it('作品一类单独排在右栏;只命中一类时没有页签', () => {
+ const model = menuModel({ ...base, query: 'ABW', suggestFor: 'ABW', groups: [asset], tabs: [asset] });
+ expect([model.left.length, model.right[0]?.kind, model.tabs]).toEqual([0, 'asset', null]);
+ });
+
+ it('推荐不再推搜过的词,一次最多几条', () => {
+ const pool = ['剧情', '单体作品', '高画质', '中出', '巨乳', '美少女', '独占'];
+ const picks = shufflePicks(pool, ['高画质'], () => 0.5);
+ expect(picks).toHaveLength(PICKS);
+ expect(picks).not.toContain('高画质');
+ });
+});
+
+interface Stage {
+ input: HTMLInputElement;
+ menu: HTMLElement;
+ actions: { [K in keyof SearchProps['actions']]: Mock<SearchProps['actions'][K]> };
+ posts: unknown[];
+ api: SearchApi | null;
+ key(key: string): Promise<void>;
+ typeInto(value: string): Promise<void>;
+}
+
+/** 壳那一侧:一个静态输入框、一块带 `data-search-menu` 的面,岛挂在面里。 */
+async function stage({ pool = ['剧情'], suggest = async (q: string): Promise<SuggestResponse> => ({ q, groups: [] }) } = {}):
+ Promise<Stage> {
+ const posts: unknown[] = [];
+ vi.stubGlobal('fetch', vi.fn(async (url: string, init?: RequestInit) => {
+ const path = new URL(url, 'http://peach.test');
+ let body: unknown = { ok: true };
+ if (path.pathname === '/api/search-history' && init?.method === 'POST') posts.push(JSON.parse(String(init.body)));
+ else if (path.pathname === '/api/search-history') body = { items: [] };
+ else if (path.pathname === '/api/suggest') body = await suggest(path.searchParams.get('q') || '');
+ return { ok: true, status: 200, json: async () => body };
+ }));
+ const input = document.createElement('input');
+ const menu = document.createElement('div');
+ menu.dataset.searchMenu = '';
+ menu.hidden = true;
+ document.body.append(input, menu);
+ const actions: Stage['actions'] = {
+ search: vi.fn<SearchProps['actions']['search']>(),
+ openItem: vi.fn<SearchProps['actions']['openItem']>(),
+ openEntity: vi.fn<SearchProps['actions']['openEntity']>(),
+ };
+ const out: Stage = {
+ input, menu, actions, posts, api: null,
+ key: (key) => act(async () => {
+ input.dispatchEvent(new KeyboardEvent('keydown', { key, bubbles: true, cancelable: true }));
+ }),
+ typeInto: (value) => act(async () => {
+ input.value = value;
+ input.dispatchEvent(new Event('input', { bubbles: true }));
+ }),
+ };
+ const helpers: SearchProps['helpers'] = {
+ pool: async () => pool, coverHtml: () => '', faceHtml: () => '',
+ present: (el) => { el.hidden = false }, dismiss: (el) => { el.hidden = true },
+ wireScroller: () => {}, typed: () => {}, composing: () => {}, clearField: (el) => { el.value = '' },
+ };
+ const host = await mount(<SearchPage input={input} historyLimit={10} actions={actions} helpers={helpers}
+ expose={(api) => { out.api = api }} />);
+ menu.append(host);
+ return out;
+}
+
+const debounce = () => act(async () => { vi.advanceTimersByTime(SUGGEST_DEBOUNCE) });
+
+describe('输入框上的时序', () => {
+ it('聚焦时占位换成一个真搜得出东西的词;空输入回车就搜它,并记进搜索记录', async () => {
+ const s = await stage({ pool: ['温泉旅行'] });
+ await act(async () => s.input.focus());
+ await settle();
+ expect([s.input.placeholder, s.input.dataset.suggestion]).toEqual(['温泉旅行', '温泉旅行']);
+ expect(s.menu.hidden).toBe(false);
+ await s.key('Enter');
+ await settle();
+ expect(s.actions.search).toHaveBeenCalledWith('温泉旅行');
+ expect(s.input.value).toBe('温泉旅行');
+ expect(s.posts).toEqual([{ query: '温泉旅行' }]);
+ expect(s.menu.hidden).toBe(true);
+ });
+
+ it('选中一部作品回车是打开它,不拿整句标题去搜', async () => {
+ vi.useFakeTimers();
+ const s = await stage({ suggest: async (q) => ({ q, groups: [asset] }) });
+ await act(async () => s.input.focus());
+ await settle();
+ await s.typeInto('ABW');
+ await debounce();
+ await settle();
+ await s.key('ArrowDown');
+ await s.key('Enter');
+ expect(s.actions.openItem).toHaveBeenCalledWith(7);
+ expect([s.actions.search, s.actions.openEntity].map((fn) => fn.mock.calls.length)).toEqual([0, 0]);
+ expect(s.input.value).toBe('ABW');
+ });
+
+ it('连敲两个字时先发的那次后回来,不盖掉后一次', async () => {
+ vi.useFakeTimers();
+ const answers = new Map<string, ReturnType<typeof pending<SuggestResponse>>>();
+ const s = await stage({ suggest: (q) => { const p = pending<SuggestResponse>(); answers.set(q, p); return p.answer } });
+ await act(async () => s.input.focus());
+ await settle();
+ await s.typeInto('七');
+ await debounce();
+ await s.typeInto('七海');
+ await debounce();
+ await answers.get('七海')!.release({ q: '七海', groups: [performer, tag] });
+ await settle();
+ await answers.get('七')!.release({ q: '七', groups: [tag] });
+ await settle();
+ const values = [...s.menu.querySelectorAll('[data-search-option]')].map((row) => row.getAttribute('data-search-value'));
+ expect(values).toEqual(['七海ひな', '七海の夏']);
+ });
+
+ it('组字期间的输入不问补全,组完才问:拿半截拼音去查,查的是一个不存在的词', async () => {
+ vi.useFakeTimers();
+ const asked: string[] = [];
+ const s = await stage({ suggest: async (q) => { asked.push(q); return { q, groups: [] } } });
+ await act(async () => s.input.focus());
+ await settle();
+ await act(async () => {
+ s.input.value = 'zhon';
+ s.input.dispatchEvent(new InputEvent('input', { bubbles: true, isComposing: true }));
+ });
+ await debounce();
+ await settle();
+ expect(asked).toEqual([]);
+ await act(async () => {
+ s.input.value = '中';
+ s.input.dispatchEvent(new CompositionEvent('compositionend', { bubbles: true, data: '中' }));
+ });
+ await debounce();
+ await settle();
+ expect(asked).toEqual(['中']);
+ });
+
+ it('补全回来时焦点已经走了,下拉栏不再掀开', async () => {
+ vi.useFakeTimers();
+ const answer = pending<SuggestResponse>();
+ const s = await stage({ suggest: () => answer.answer });
+ await act(async () => s.input.focus());
+ await settle();
+ await s.typeInto('七海');
+ await debounce();
+ await act(async () => { s.input.blur(); s.api?.close() });
+ await answer.release({ q: '七海', groups: [performer] });
+ await settle();
+ expect(s.menu.hidden).toBe(true);
+ });
+});
diff --git a/tests/test_source_assertion_ratchet.py b/tests/test_source_assertion_ratchet.py
index 6b0f7a2b6..bc55f8a2c 100644
--- a/tests/test_source_assertion_ratchet.py
+++ b/tests/test_source_assertion_ratchet.py
@@ -53,7 +53,7 @@ BASELINE: dict[str, int] = {
"test_web_e2e.py": 2,
"test_web_js.py": 1,
"test_web_settings.py": 8,
- "test_web_ui.py": 2861,
+ "test_web_ui.py": 2813,
"test_windows_update.py": 3,
}
diff --git a/tests/test_web_ui.py b/tests/test_web_ui.py
index d7b15bcd2..ba80b126f 100644
--- a/tests/test_web_ui.py
+++ b/tests/test_web_ui.py
@@ -1487,7 +1487,6 @@ class WebUiSourceTests(unittest.TestCase):
(".ib{", "var(--control-radius)"),
(".geist-button{", "var(--control-radius)"),
(".searchmenu{", "var(--floating-radius)"),
- (".searchoption{", "var(--control-radius)"),
(".geist-modal{", "var(--floating-radius)"),
(".pickrow{", "var(--control-radius)"),
(".settingscard{", "var(--floating-radius)"),
@@ -1693,22 +1692,6 @@ class WebUiSourceTests(unittest.TestCase):
self.assertIn('<Input aria-label="来源链接、名字或 id"', add)
self.assertPageLacks(".isearch")
- def test_filtering_waits_for_the_chinese_ime_to_finish_composing(self):
- """选字过程中不查询:拿半截拼音去筛选,筛的是「zhon」这种不存在的词。
-
- `input` 在组字过程中照样发,事件上的 `isComposing` 是唯一可靠的判据;
- 组完由 `compositionend` 接手。索引页的过滤框在 React 里,同一条判据由
- `frontend/test/react/index-page.test.tsx` 验收。
- """
- self.assertPageContains("const handleSearchInput=e=>{\n if(e.isComposing)return;")
- self.assertPageContains("$('#q').oninput=handleSearchInput;")
- self.assertPageContains("$('#q').addEventListener('compositionend',handleSearchInput);")
- # 顶部搜索的键盘处理在最前面让位给输入法。作品详情的标签选择器在 React 里,
- # 同一条判据由 `frontend/test/react/item-detail.test.tsx` 验收。
- self.assertPageLacks("$('#q').oninput=()=>{searchActive=-1;")
- self.assertEqual(self.app_js.count("if(e.isComposing)return;"), 2,
- "两处:顶部搜索的输入与键盘")
-
def test_route_titles_and_settings_dialog_manage_focus(self):
# 标题跟着路由表走:每一屏的标签写在自己那条记录上,不再有第二份
# 「路径 → 标题」映射跟路由分支各自演化。
@@ -2332,15 +2315,6 @@ class WebUiSourceTests(unittest.TestCase):
"""窄屏下搜索框绝对定位后脱离了流,动作按钮会挤在品牌名右侧、右半条留空。"""
self.assertPageContains("#searchBtn{margin-left:auto}")
- def test_deleting_one_search_record_keeps_the_menu_open(self):
- """删除按钮不能抢焦点,也不能整段重建下拉栏。
-
- 抢焦点会触发 `#q` 的 blur,那个 handler 140ms 后无条件关掉下拉栏;
- 整段重建则会把推荐词重新洗牌,删一条历史却换了一批推荐。
- """
- self.assertPageContains("b.onmousedown=e=>e.preventDefault();")
- self.assertPageContains("if(group&&!group.querySelector('[data-search-value]'))group.remove();")
-
def test_search_menu_closes_without_relying_on_the_input_keeping_focus(self):
"""下拉栏的收起不能只挂在输入框失焦上。
@@ -2348,18 +2322,12 @@ class WebUiSourceTests(unittest.TestCase):
点走,失焦那条 140ms 的兜底先把它收了,晚到的 then 再把它掀开——这一刻焦点
已经不在输入框上,第二次失焦永远不会来,下拉栏就此钉在页面上。所以回调先
确认焦点还在,另外补一条不问焦点的出口:`.search` 之外的按压一律收起。
- 捕获期是必须的,被点的元素可能吃掉事件或当场把自己摘掉。
+ 捕获期是必须的,被点的元素可能吃掉事件或当场把自己摘掉。回调里的焦点守卫
+ 归 `search` 岛,由 `frontend/test/react/search.test.tsx` 验收;这条出口在壳里。
"""
- self.assertCode(".then(()=>{if(document.activeElement!==$('#q'))return;")
- # 补全那条隔着 150ms 才回来,同一个守卫在那里也必须成立。
- self.assertCode(
- "if(document.activeElement===$('#q'))renderSearchMenu()}),SUGGEST_DEBOUNCE)")
self.assertPageContains("document.addEventListener('pointerdown',event=>{\n"
" if(!event.target.closest('.search'))"
"hideSearchMenu();\n},true);")
- self.assertPageContains("const hadValue=!!$('#q').value,hadMenu=!$('#searchMenu').hidden;")
- self.assertPageContains("if(hadMenu){hideSearchMenu();searchActive=-1;e.preventDefault();return}")
- self.assertPageLacks("]).then(renderSearchMenu)});")
def test_card_aspect_ratio_actually_reaches_the_element(self):
"""算出来的卡片比例必须写进 DOM。
@@ -3174,21 +3142,6 @@ class WebUiSourceTests(unittest.TestCase):
self.assertPageContains(
"Number.isFinite(total)?Math.max(0,Math.min(total,target)):Math.max(0,target)")
- def test_search_menu_is_navigable_by_keyboard(self):
- self.assertPageContains("function moveSearchActive(step)")
- self.assertCode("if(e.key==='ArrowDown'||e.key==='ArrowUp'){\n if(moveSearchActive(")
- self.assertPageContains("options[searchActive].scrollIntoView({block:'nearest'})")
- self.assertPageContains(".searchoption:hover,.searchoption.active{background:var(--hover)}")
-
- def test_search_active_index_resets_when_the_list_is_rebuilt(self):
- # 列表重建后旧索引会指向不存在的行;输入和重新渲染都必须归零。
- self.assertPageContains("if(menu.innerHTML)presentMenu(menu);else hideSearchMenu();searchActive=-1;")
- self.assertPageContains("const refreshSearchMenu=()=>{searchActive=-1;")
-
- def test_enter_uses_the_highlighted_option_before_the_suggestion(self):
- self.assertPageContains("const picked=searchOptions()[searchActive]")
- self.assertPageContains("runSearch(!picked,true)")
-
def test_immerse_mode_names_the_whole_cast(self):
self.assertPageContains("const cast=full.performers||[]")
self.assertPageContains("cast.slice(0,3).join('、')")
@@ -4470,12 +4423,8 @@ class WebUiSourceTests(unittest.TestCase):
self.assertPageContains("querySelectorAll('[data-junk-batch]')")
def test_search_suggestions_come_from_real_data_in_bulk(self):
- """推荐取当前馆藏,并核对实际搜索命中。"""
- self.assertPageContains("async function loadSearchPool()")
- self.assertPageContains("await catalogSuggestions(state,api)")
- self.assertPageContains("searchPoolCache=[]")
- self.assertPageContains("Promise.all([loadSearchHistory(),loadSearchPool()])")
- self.assertPageContains("[...searchPool()]")
+ """推荐取当前馆藏,并核对实际搜索命中。`search` 岛每次聚焦都向壳要一次词池。"""
+ self.assertPageContains("pool:()=>catalogSuggestions(state,api),")
def test_insight_surfaces_use_one_readable_measure(self):
"""统计和口味共享 Vercel 式阅读列;浏览型首页仍保持全宽。"""
@@ -5517,9 +5466,8 @@ class WebUiSourceTests(unittest.TestCase):
self.assertCode("const anchor=toggle.getBoundingClientRect(),width=menu.offsetWidth;")
self.assertCode("event.stopPropagation();setOpen(!open)")
# wireAnchoredMenu 之外自己开合的面板也从同一个口进出;作品详情的标签选择器在岛里调
- # 同一对 presentMenu/dismissMenu。
- self.assertPageContains("function hideSearchMenu(){dismissMenu($('#searchMenu'))}")
- self.assertPageContains("if(menu.innerHTML)presentMenu(menu);else hideSearchMenu();")
+ # 同一对 presentMenu/dismissMenu,顶栏搜索的 `search` 岛由壳递进这一对。
+ self.assertPageContains("present:menu=>presentMenu(menu),\n dismiss:menu=>dismissMenu(menu),")
self.assertPageContains("const closeAddMenu=()=>{if(!addMenu)return;dismissMenu(addMenu);")
self.assertPageContains("if(opening)presentMenu(addMenu);else dismissMenu(addMenu);")
self.assertPageLacks("$('#searchMenu').hidden=true")
@@ -6365,13 +6313,8 @@ class WebUiSourceTests(unittest.TestCase):
self.assertPageLacks("{k:'ads',label:'垃圾复核'}")
def test_search_placeholder_is_an_actionable_recommendation(self):
+ # 占位换成词池里的一个词、空输入回车就搜它:`frontend/test/react/search.test.tsx`。
self.assertPageLacks("const SEARCH_HINTS=")
- self.assertPageContains("await catalogSuggestions(state,api)")
- self.assertPageContains("$('#q').dataset.suggestion=searchSuggestion")
- # 契约是「没有选中下拉项时,Enter 用当前推荐词」。下拉加了键盘导航后,
- # 这个条件由 `!picked` 表达:没有高亮项时它就是 true,与旧的字面 true 等价。
- self.assertPageContains("const picked=searchOptions()[searchActive]")
- self.assertPageContains("runSearch(!picked,true)")
self.assertPageLacks("试试:")
self.assertPageLacks("ABW 番号")
@@ -6700,38 +6643,6 @@ class WebUiSourceTests(unittest.TestCase):
".settinggroup :is(.settingrow,.glowsetting)+.sidebarsetting"
"{border-top:1px solid var(--line-soft)}")
- def test_search_menu_has_local_history_and_recommendations(self):
- self.assertPageContains("/api/search-history")
- self.assertPageContains("搜索记录")
- self.assertPageContains("recommendations.map")
- self.assertPageContains("rememberSearch(query)")
- self.assertPageContains("body:JSON.stringify({query})}).catch(()=>null)")
- self.assertPageContains(".top:has(.search.open){overflow:visible}")
- self.assertPageLacks("setTimeout(runSearch,320)")
- self.assertPageContains("runSearch(!picked,true)")
-
- def test_search_menu_completes_from_the_ledger_as_you_type(self):
- """敲字的同时给出馆藏里的身份与作品,不是聚焦时那一批固定推荐。"""
- self.assertPageContains("/api/suggest?q=")
- self.assertCode("const SUGGEST_DEBOUNCE=150;")
- # 慢的旧响应不许盖掉新的:连敲两个字时先发的那次完全可能后回来。
- self.assertCode("const request=++suggestRequest;")
- self.assertCode("if(request!==suggestRequest)return;")
- # 分组顺序和名字都由后端给,页面不另排一遍。
- self.assertCode("esc(group.label)")
- self.assertPageLacks("const SUGGEST_GROUPS=[")
- # 有输入时历史跟着筛,这一刻用户在找词而不是回顾搜过什么。
- self.assertCode("foldName(x).includes(foldName(query))")
-
- def test_a_completed_work_opens_instead_of_running_a_search(self):
- """整句标题填回搜索框,下一次搜索会因为任何一个字符对不上而落空。"""
- self.assertPageContains("data-open-item")
- self.assertCode("if(x.dataset.openItem){$('#q').blur();openItem(+x.dataset.openItem);return}")
- # 键盘选中的那一项走同一条路,回车不绕一趟搜索。
- self.assertCode(
- "if(picked&&picked.dataset.openItem){$('#q').blur();"
- "openItem(+picked.dataset.openItem);return}")
-
def test_the_search_menu_scrolls_inside_itself(self):
"""七组补全装不进一屏,滚到底不把身后的列表一起翻走。"""
self.assertCode("max-height:min(60vh,520px);overflow:auto;overscroll-behavior:contain;")
@@ -6739,15 +6650,6 @@ class WebUiSourceTests(unittest.TestCase):
".searchmenu{position:absolute;left:-40px;right:0;top:calc(100% + 8px);max-height:70vh;"
"overflow:auto;overscroll-behavior:contain}")
- def test_a_suggestion_keeps_its_alias_and_count_subordinate(self):
- """命中的别名和作品数都是这一行的注脚,不与统称争分量。"""
- self.assertCode(
- ".searchoption .matched{flex:0 8 auto;min-width:0;"
- "color:var(--muted);font-size:var(--fs-xs)}")
- self.assertCode(
- ".searchoption .n{margin-left:auto;flex:none;color:var(--muted);"
- "font-size:var(--fs-xs);font-variant-numeric:tabular-nums}")
-
def test_detail_has_stats_ambient_and_better_version_goal(self):
self.assertPageContains("--video-glow")
# 「寻找更好版本」键与它的写入、撤销:`frontend/test/react/item-detail.test.tsx`。
@@ -6952,9 +6854,9 @@ class WebUiSourceTests(unittest.TestCase):
".feednewcard .meta .s>.feednewperformers",
".meta .t", ".meta .who", ".mixcopy b,.mixcopy span",
# 小窗信息栏、播放器右键菜单、统计面板与队列的尾部省略在 `stage.css` / `player.css`,
- # 标题、来源和标签都是语义文本,不在这份遗留样式表里。
+ # 标题、来源和标签都是语义文本,不在这份遗留样式表里。顶栏搜索下拉栏里的行
+ # 归 `search.css`,截断的是词、人名和番号,同样是语义文本。
".pickrowtext b",
- ".searchoption span",
".sidebarorderlabel>b",
".tastesummary>small",
".gselectfield>span",
@@ -9513,7 +9415,8 @@ class MotionRecipeTests(unittest.TestCase):
"""
self.assertPageContains("export function dissolveValue(input,host=input&&input.parentElement,")
self.assertPageContains("if(!next&&searchValueSnapshot.text)clearSearchField(searchValueSnapshot);")
- self.assertPageContains("$('#q').addEventListener('compositionstart',()=>{cancelSearchDissolve();")
+ # 开始组字那一下由 `search` 岛在 `#q` 上接住,回调进壳收掉残影。
+ self.assertPageContains("composing:()=>{cancelSearchDissolve();")
self.assertPageContains("$('#q').addEventListener('beforeinput'")
self.assertPageContains(".search input.dissolving::placeholder{opacity:0}")
self.assertPageContains("if(!host.querySelector(':scope > .cleardissolve'))input.classList.remove('dissolving')")
diff --git a/web/app.js b/web/app.js
index f06bf643c..aa5d11707 100644
--- a/web/app.js
+++ b/web/app.js
@@ -100,8 +100,6 @@ let entityPhotos=null,entityMediaView=emptyMediaView(),entityPhotoWall=null,enti
不是这类页面的常态。`entityRosterKind` 是名册里每一格是什么:艺人或厂牌。 */
let entityRosterView='people',entityRoster=[],entityRosterKind='performer';
let sidebarDragKey=null;
-/* 搜索下拉里被键盘选中的那一项。列表每次重建都要归零,否则索引会指向已经不存在的行。 */
-let searchActive=-1;
/* ────────────────────────────────────────────────────────────────────────── */
/* ── 路由表 ───────────────────────────────────────────────────────────────────
@@ -5414,262 +5412,65 @@ function junkQueueProps(){
canLoadMore:()=>$('#stats').hidden&&$('#index').hidden,
};
}
-let searchPoolCache=[];
-let searchPoolRequest=0;
-function searchPool(){return searchPoolCache}
-async function loadSearchPool(){
- const request=++searchPoolRequest;
- searchPoolCache=[];
- $('#q').dataset.suggestion='';$('#q').placeholder='搜索馆藏';
- try{
- const names=await catalogSuggestions(state,api);
- if(request!==searchPoolRequest)return searchPool();
- searchPoolCache=names;
- const searchSuggestion=names[Math.floor(Math.random()*names.length)]||'';
- $('#q').dataset.suggestion=searchSuggestion;$('#q').placeholder=searchSuggestion||'搜索馆藏';
- }catch(e){/* 推荐不可用时仍可直接输入搜索。 */}
- return searchPool();
-}
-$('#q').dataset.suggestion='';$('#q').placeholder='搜索馆藏';
-let searchHistory=[];
-function readSearchHistory(){return searchHistory.slice(0,appSettings.searchHistoryLimit)}
-const loadSearchHistory=()=>!appSettings.searchHistoryLimit?Promise.resolve([]):api('/api/search-history?limit='+appSettings.searchHistoryLimit).then(d=>{searchHistory=Array.isArray(d.items)?d.items:[];return searchHistory}).catch(()=>searchHistory);
-function writeSearchHistory(list){searchHistory=list.slice(0,appSettings.searchHistoryLimit);return searchHistory}
+/* ── 顶栏搜索 ──
+ 输入框 `#q` 是顶栏的静态节点;下拉栏里的记录、推荐、补全、键盘选中与提交归 `search` 岛,
+ 提交与打开都回这里走路由。残影(`clearSearchField`)、窄屏开合、失焦与外点收起也还在壳里,
+ 收起一律经岛交出来的 `close()`。 */
+let searchControl=null;
function applySearchHistoryLimit(limit){
- appSettings.searchHistoryLimit=boundedPreference(limit,0,50,10);saveSettings();writeSearchHistory(readSearchHistory());
+ appSettings.searchHistoryLimit=boundedPreference(limit,0,50,10);saveSettings();
+ updateIsland($('#searchMenu'),{historyLimit:appSettings.searchHistoryLimit});
}
function postSearchHistoryLimit(){
return api('/api/settings',{method:'POST',body:JSON.stringify({searchHistoryLimit:appSettings.searchHistoryLimit})}).catch(()=>{});
}
-// 搜索本身是只读能力;账本暂时只读时,历史记录降级为本次页面内存,不能让一个
-// 非关键 POST 变成未处理异常或妨碍搜索结果。
-const rememberSearch=async query=>{if(!query||!appSettings.searchHistoryLimit)return;
- writeSearchHistory([query,...readSearchHistory().filter(x=>foldName(x)!==foldName(query))]);
- await api('/api/search-history',{method:'POST',body:JSON.stringify({query})}).catch(()=>null)};
-function hideSearchMenu(){dismissMenu($('#searchMenu'))}
-/* 敲一下就查一次的补全。分组顺序和每组的名字都由 `/api/suggest` 给出,这里照抄:
- 两侧各排一次的话,改了一侧就会出现「后端认为最该先看的组显示在第三位」。 */
-const SUGGEST_DEBOUNCE=150;
-/* 「全部」每类给前几条,点一个页签再按这一类一次拉满。页签上的数是这段输入在那一类
- 里一共命中多少,由「全部」那一次带回来,切页签不重算。 */
-const SUGGEST_EACH=5,SUGGEST_ONE_KIND=20;
-let suggestGroups=[],suggestFor='',suggestRequest=0,suggestTimer=0,suggestKind='',suggestTabs=[];
-async function loadSuggestions(query,kind=''){
- const request=++suggestRequest;
- try{
- const data=await api('/api/suggest?q='+encodeURIComponent(query)+
- (kind?`&kind=${kind}&limit=${SUGGEST_ONE_KIND}`:`&limit=${SUGGEST_EACH}`));
- /* 慢的旧响应不许盖掉新的。连敲两个字时先发的那次完全可能后回来,盖回去
- 就是下拉里挂着上一个字的补全,而输入框里已经是下一个字了。 */
- if(request!==suggestRequest)return;
- suggestFor=data.q||'';suggestGroups=data.groups||[];
- if(!kind)suggestTabs=suggestGroups.map(({kind,label,total})=>({kind,label,total}));
- }catch(e){if(request===suggestRequest){suggestFor=query;suggestGroups=[]}}
-}
-/* 有脸的那几类点开的是资料页,标签没有资料页,点它照旧是按这个词搜。 */
-const SUGGEST_PROFILE_KINDS=new Set(['performer','creator','studio','agency','series']);
-/* 下拉栏按宽度分两栏:左栏是身份和词,右栏是作品封面格。两栏各自仍按后端给的先后排,
- 窄到一栏时两栏首尾相接,就是后端的原顺序——作品垫底。 */
-const SUGGEST_RIGHT_KINDS=new Set(['asset']);
+function hideSearchMenu(){searchControl?.close()}
/* 小图和卡片同一套取景:正封按 `--card-ratio` 从封套里切出来,番号作品跟随
「JAV 默认封面」设置。两样都没有的画一块「无预览」,格子不塌。 */
-function searchCover(card){
+function searchCoverImage(card){
const kind=card?javImageKind({...card,is_jav:!!card.code},appSettings.javImage):'';
- const image=kind==='cover'?coverImage(card,'big')
+ return kind==='cover'?coverImage(card,'big')
:kind?`<img class="poster still" src="/poster?id=${card.id}&c=4" alt="" loading="lazy" data-drop="self">`
:'<span class="nopic">无预览</span>';
- return `<span class="pic">${image}</span>`;
-}
-/* 人和公司的门面走索引页同一条兜底链:人是实体图 → 代表作头像,厂牌是标识,
- 事务所是官网站点圆标;都取不到就是首字母。 */
-function searchFace(item,kind){
- const ref={id:item.entity_id,has_image:item.has_image,avatar_focus:item.avatar_focus};
- return `<span class="searchface" data-kind="${kind}">`+
- avatarInner(item.value,ref,item.rep||null,kind,item.mark||null,item.has_logo?item.value:'',
- 'icon',undefined,true)+'</span>';
-}
-function suggestionRow(item,kind){
- const matched=item.matched?`<span class="matched">${esc(item.matched)}</span>`:'';
- if(kind==='asset'){
- /* 作品点开是详情,不是一个搜索词:整句标题填回搜索框,下一次搜索会因为其中任何
- 一个字符对不上而落空。 */
- const byline=[item.who,item.code?item.title:''].filter(Boolean).map(esc).join(' · ');
- return `<div class="searchoption searchwork" data-search-value="${esc(item.value)}" data-open-item="${item.id}">`+
- `${searchCover(item.card)}<span class="searchmeta"><span class="searchname">${esc(item.value)}</span>`+
- `<span class="searchsub">${byline}</span></span></div>`;
- }
- const open=SUGGEST_PROFILE_KINDS.has(kind)?` data-open-entity="${kind}"`:'';
- if(kind==='performer'||kind==='creator'){
- // 一行里摆得下几部近作就摆几部;窄下拉整排收起,数据照给,缓存键不跟着宽度分叉。
- const works=(item.works||[]).map(card=>
- `<button type="button" class="searchpeek" data-open-work="${card.id}" aria-label="打开 ${esc(card.code||item.value)}">${searchCover(card)}</button>`).join('');
- const sub=[`${item.n.toLocaleString()} 个视频`,item.agency].filter(Boolean).map(esc).join(' · ');
- return `<div class="searchoption searchperson" data-search-value="${esc(item.value)}"${open}>`+
- `${searchFace(item,kind)}<span class="searchmeta"><span class="searchname"><span>${esc(item.value)}</span>${matched}</span>`+
- `<span class="searchsub">${sub}</span></span>${works?`<span class="searchpeeks">${works}</span>`:''}</div>`;
- }
- const face=kind==='studio'||kind==='agency'?searchFace(item,kind):'';
- return `<div class="searchoption" data-search-value="${esc(item.value)}"${open}>${face}<span>${esc(item.value)}</span>`+
- `${matched}${item.n?`<span class="n">${item.n.toLocaleString()}</span>`:''}</div>`;
-}
-function renderSearchMenu(){const menu=$('#searchMenu'),query=$('#q').value.trim();
- // 有输入时历史跟着筛:这一刻用户在找一个词,不是在回顾自己搜过什么。
- const history=readSearchHistory().filter(x=>!query||foldName(x).includes(foldName(query)));
- const recommendations=query?[]:[...searchPool()].sort(()=>Math.random()-.5).filter(x=>!history.some(h=>foldName(h)===foldName(x))).slice(0,5);
- const row=(value,type)=>`<div class="searchoption" data-search-value="${esc(value)}">${icon(type==='history'?'history':'sparkles')}<span>${esc(value)}</span>${type==='history'?`<button class="removehistory" data-remove-history="${esc(value)}" aria-label="删除历史 ${esc(value)}">${icon('x')}</button>`:''}</div>`;
- const fresh=!!query&&suggestFor===query;
- // 选了一类就只画这一类;拉满那一类的请求还在路上时,先用「全部」里的那几条顶着。
- const groups=(fresh?suggestGroups:[]).filter(group=>!suggestKind||group.kind===suggestKind);
- const section=group=>`<section class="searchgroup" data-kind="${group.kind}"><h3>${esc(group.label)}</h3>`+
- `<div class="searchitems">${group.items.map(item=>suggestionRow(item,group.kind)).join('')}</div></section>`;
- const left=groups.filter(group=>!SUGGEST_RIGHT_KINDS.has(group.kind)).map(section).join('');
- const right=groups.filter(group=>SUGGEST_RIGHT_KINDS.has(group.kind)).map(section).join('');
- /* 页签只在命中不止一类时出现:只有一类的话「全部」和那一类是同一屏。 */
- const tab=(kind,label,total)=>`<button type="button" role="tab" data-suggest-kind="${kind}" aria-selected="${suggestKind===kind}">`+
- `${esc(label)}${total?`<span class="board-tab-count">${total.toLocaleString()}</span>`:''}</button>`;
- const tabs=fresh&&suggestTabs.length>1?`<div class="searchtabs" role="tablist" aria-label="按种类看补全">`+
- tab('','全部',0)+suggestTabs.map(t=>tab(t.kind,t.label,t.total)).join('')+'</div>':'';
- const columns=(a,b)=>a||b?`<div class="searchresults"${a&&b?' data-split':''}>`+
- (a?`<div class="searchcol">${a}</div>`:'')+(b?`<div class="searchcol">${b}</div>`:'')+'</div>':'';
- const recent=history.length?`<section class="searchgroup"><h3>搜索记录</h3>${history.map(x=>row(x,'history')).join('')}</section>`:'';
- const picks=recommendations.length?`<section class="searchgroup"><h3>推荐</h3>${recommendations.map(x=>row(x,'recommend')).join('')}</section>`:'';
- /* 页签管的是整个下拉栏,所以排在最上面;选了一类时搜索记录让位,那一屏只有这一类。
- 空输入时是记录和推荐两组短词,宽下拉并排放,不必竖着排出一长条。 */
- menu.innerHTML=query?tabs+(suggestKind?'':recent)+columns(left,right):columns(recent,picks);
- if(menu.innerHTML)presentMenu(menu);else hideSearchMenu();searchActive=-1;
- menu.querySelectorAll('[data-suggest-kind]').forEach(b=>{
- // 按下不抢焦点:抢走会触发 `#q` 的 blur,140ms 后整个下拉栏收掉,页签等于白点。
- b.onmousedown=e=>e.preventDefault();
- b.onclick=()=>pickSuggestKind(b.dataset.suggestKind);
- });
- // 窄屏页签排不下时右缘渐隐,看得出还能往右拨。
- wireHorizontalScroller(menu.querySelector('.searchtabs'));
- menu.querySelectorAll('[data-open-work]').forEach(b=>{
- b.onmousedown=e=>e.preventDefault();
- b.onclick=e=>{e.stopPropagation();hideSearchMenu();$('#q').blur();openItem(+b.dataset.openWork)};
- });
- menu.querySelectorAll('[data-search-value]').forEach(x=>x.onclick=e=>{if(e.target.closest('[data-remove-history]'))return;
- hideSearchMenu();
- if(x.dataset.openItem){$('#q').blur();openItem(+x.dataset.openItem);return}
- if(x.dataset.openEntity){openSuggestedEntity(x);return}
- $('#q').value=x.dataset.searchValue;runSearch(false,true)});
- menu.querySelectorAll('[data-remove-history]').forEach(b=>{
- /* 按下就 preventDefault,不让删除按钮把焦点从输入框抢走。抢走会触发 `#q` 的
- blur,那个 handler 140ms 后无条件 `hidden=true`,于是「删一条记录」实际等于
- 「关掉整个下拉栏」。 */
- b.onmousedown=e=>e.preventDefault();
- b.onclick=async e=>{
- e.stopPropagation();
- const value=b.dataset.removeHistory;
- await api('/api/search-history',{method:'POST',body:JSON.stringify({operation:'remove',query:value})}).catch(()=>null);
- writeSearchHistory(readSearchHistory().filter(x=>foldName(x)!==foldName(value)));
- /* 只摘掉这一行,不整段重建:`renderSearchMenu` 每次都会把推荐词重新洗牌,
- 删一条历史却换了一批推荐,看着像列表自己跳了。 */
- const row=b.closest('[data-search-value]'),group=row&&row.closest('.searchgroup');
- if(row)row.remove();
- if(group&&!group.querySelector('[data-search-value]'))group.remove();
- // 行没了,键盘选中的下标就指不回同一项,归零重来。
- searchActive=-1;
- menu.querySelectorAll('[data-search-value]').forEach(x=>x.classList.remove('active'));
- };
- })}
-function runSearch(useSuggestion=false,committed=false){let query=$('#q').value.trim();
- if(useSuggestion&&!query){query=$('#q').dataset.suggestion||'';$('#q').value=query}
- rememberSearchValue();
- if(committed)rememberSearch(query);
- disposeStage(false);
- state.q=query;route(state.q?'/?q='+encodeURIComponent(state.q):'/',true);loadCatalog()}
-/* 人、公司和系列点开就是资料页,不绕一趟搜索:按名字搜出来的是一屏作品,而用户点的
- 是「这个人」。记进搜索记录的是这个名字,下次聚焦还找得回来。 */
-function openSuggestedEntity(option){
- const name=option.dataset.searchValue;
- $('#q').blur();
- rememberSearch(name);
- openEntity(option.dataset.openEntity,name);
-}
-function pickSuggestKind(kind){
- const query=$('#q').value.trim();
- if(!query||kind===suggestKind)return;
- suggestKind=kind;
- clearTimeout(suggestTimer);
- renderSearchMenu();
- $('#searchMenu').scrollTop=0;
- loadSuggestions(query,kind).then(()=>{
- if(document.activeElement===$('#q')&&suggestKind===kind)renderSearchMenu()});
-}
-const searchOptions=()=>{const menu=$('#searchMenu');
- return menu.hidden?[]:[...menu.querySelectorAll('[data-search-value]')]};
-function moveSearchActive(step){
- const options=searchOptions();if(!options.length)return false;
- searchActive=(searchActive+step+options.length)%options.length;
- options.forEach((option,index)=>option.classList.toggle('active',index===searchActive));
- options[searchActive].scrollIntoView({block:'nearest'});
- return true;
}
-/* 每一下输入都排一次补全,但只发一次请求:150ms 内继续敲就换掉上一次的排期。
- 先按手头已有的内容重绘一遍,下拉栏不会在等请求的这段里空着。 */
-const refreshSearchMenu=()=>{searchActive=-1;
- // 换了词就回到「全部」:上一个词选中的那一类,这个词下可能一条都没有。
- suggestKind='';
- clearTimeout(suggestTimer);
- const query=$('#q').value.trim();
- if(!query){suggestFor='';suggestGroups=[]}
- if(!$('#searchMenu').hidden)renderSearchMenu();
- if(!query)return;
- suggestTimer=setTimeout(()=>loadSuggestions(query).then(()=>{
- /* 回调回来时焦点可能已经不在输入框上:失焦那条 140ms 的兜底先把下拉栏收了,
- 晚到的 then 再把它掀开,而这一刻没有焦点,也就再不会有第二次失焦来收场。 */
- if(document.activeElement===$('#q'))renderSearchMenu()}),SUGGEST_DEBOUNCE)};
-const handleSearchInput=e=>{
- if(e.isComposing)return;
- const input=$('#q'),next=input.value;
- if(!next&&searchValueSnapshot.text)clearSearchField(searchValueSnapshot);
- else{
- if(next){cancelSearchDissolve();cancelSearchDissolve=()=>{}}
- rememberSearchValue(input);
- }
- refreshSearchMenu();
+const searchActions={
+ search:query=>{
+ rememberSearchValue();disposeStage(false);
+ state.q=query;route(state.q?'/?q='+encodeURIComponent(state.q):'/',true);loadCatalog();
+ },
+ openItem:id=>openItem(id),
+ openEntity:(kind,name)=>openEntity(kind,name),
+};
+const searchHelpers={
+ pool:()=>catalogSuggestions(state,api),
+ /* `.pic` 是卡片封面那一格(比例、底色、圆角与模糊垫底都认它),和里面那张图一起由壳给。 */
+ coverHtml:card=>`<span class="pic">${searchCoverImage(card)}</span>`,
+ /* 人和公司的门面走索引页同一条兜底链:人是实体图 → 代表作头像,厂牌是标识,
+ 事务所是官网站点圆标;都取不到就是首字母。 */
+ faceHtml:(item,kind)=>avatarInner(item.value,{id:item.entity_id,has_image:item.has_image,avatar_focus:item.avatar_focus},
+ item.rep||null,kind,item.mark||null,item.has_logo?item.value:'','icon',undefined,true),
+ present:menu=>presentMenu(menu),
+ dismiss:menu=>dismissMenu(menu),
+ wireScroller:row=>wireHorizontalScroller(row),
+ /* 字变了:清空时照着上一刻的字留一段残影,敲进新字就收掉正在散的那段。 */
+ typed:input=>{
+ const next=input.value;
+ if(!next&&searchValueSnapshot.text)clearSearchField(searchValueSnapshot);
+ else{
+ if(next){cancelSearchDissolve();cancelSearchDissolve=()=>{}}
+ rememberSearchValue(input);
+ }
+ },
+ composing:()=>{cancelSearchDissolve();cancelSearchDissolve=()=>{}},
+ clearField:input=>clearSearchField({text:input.value,scrollLeft:input.scrollLeft||searchValueSnapshot.scrollLeft}),
};
-$('#q').oninput=handleSearchInput;
-$('#q').addEventListener('compositionend',handleSearchInput);
-$('#q').addEventListener('compositionstart',()=>{cancelSearchDissolve();cancelSearchDissolve=()=>{}});
+mountIsland('search',$('#searchMenu'),{
+ input:$('#q'),historyLimit:appSettings.searchHistoryLimit,actions:searchActions,helpers:searchHelpers,
+ expose:control=>{searchControl=control},
+});
$('#q').addEventListener('beforeinput',e=>{if(!e.isComposing)rememberSearchValue(e.currentTarget)});
$('#q').addEventListener('scroll',e=>{if(e.currentTarget.value)rememberSearchValue(e.currentTarget)});
$('#q').addEventListener('pointerdown',e=>{if(e.currentTarget.value)rememberSearchValue(e.currentTarget)});
-$('#q').onkeydown=e=>{
- /* 组字过程中的方向键在挑候选字、回车在定字,都不是给这个菜单的。 */
- if(e.isComposing)return;
- if(e.key==='Escape'){
- const hadValue=!!$('#q').value,hadMenu=!$('#searchMenu').hidden;
- if(hadMenu){hideSearchMenu();searchActive=-1;e.preventDefault();return}
- if(hadValue){clearSearchField({text:$('#q').value,scrollLeft:$('#q').scrollLeft||searchValueSnapshot.scrollLeft});
- searchActive=-1;e.preventDefault();refreshSearchMenu();return}
- }
- if(e.key==='ArrowDown'||e.key==='ArrowUp'){
- if(moveSearchActive(e.key==='ArrowDown'?1:-1))e.preventDefault();
- return;
- }
- if(e.key!=='Enter')return;
- e.preventDefault();
- const picked=searchOptions()[searchActive];
- searchActive=-1;
- hideSearchMenu();
- // 选中的是一部作品时回车就开它,和点它一样,不绕一趟搜索。
- if(picked&&picked.dataset.openItem){$('#q').blur();openItem(+picked.dataset.openItem);return}
- if(picked&&picked.dataset.openEntity){openSuggestedEntity(picked);return}
- if(picked){$('#q').value=picked.dataset.searchValue;rememberSearchValue()}
- // 选中某一项时用它原样搜索;没选中才回退到「空输入按 Enter 用推荐词」。
- runSearch(!picked,true);
- $('#q').blur();
-};
-/* 两个请求回来时,焦点可能已经不在输入框上了:用户敲完就点走,失焦那条 140ms
- 的兜底先把下拉栏收了,晚到的 then 再把它掀开——而这一刻没有焦点,也就再不会
- 有第二次失焦来收场。点哪儿都关不掉的下拉栏就是这么来的。所以回调先确认焦点
- 还在自己身上。 */
-$('#q').addEventListener('focus',()=>{Promise.all([loadSearchHistory(),loadSearchPool()])
- .then(()=>{if(document.activeElement!==$('#q'))return;
- // 带着 `?q=` 进来再点回输入框时,框里已经有词,补全该跟着这个词给。
- renderSearchMenu();refreshSearchMenu()})});
/* ── 就地展开播放 ── */
/* 四种队列的入口(Mix、分卷、版本、播放列表)。队列的条目、停在哪一条、卷标都归详情岛
diff --git a/web/css/02-topbar.css b/web/css/02-topbar.css
index 05bc34f1c..417888c62 100644
--- a/web/css/02-topbar.css
+++ b/web/css/02-topbar.css
@@ -28,70 +28,10 @@
border:1px solid var(--border-10);border-radius:var(--floating-radius);
background:color-mix(in srgb,var(--surface) 96%,var(--ground));
box-shadow:0 22px 56px -20px #000b;backdrop-filter:saturate(1.5) blur(26px)}
-.searchmenu[hidden]{display:none}.searchgroup+ .searchgroup{border-top:1px solid var(--line-soft);margin-top:7px;padding-top:7px}
-.searchgroup h3{margin:6px 10px;color:var(--muted);font-size:var(--fs-xs);letter-spacing:.14em}
-.searchoption{width:100%;height:38px;border:0;border-radius:var(--control-radius);background:transparent;color:var(--ink);
- display:flex;align-items:center;gap:11px;padding:0 10px;text-align:left;cursor:pointer}
-.searchoption:hover,.searchoption.active{background:var(--hover)}.searchoption svg{width:18px;height:18px;stroke:var(--muted);fill:none;flex:none}
-.searchoption span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.searchoption .removehistory{margin-left:auto;border:0;background:none;color:var(--muted);padding:7px;cursor:pointer}
-/* 命中的别名跟在统称后面,作品数靠右。两个都是这一行的注脚,不与名字争分量。
- 宽度不够时别名先让位(收缩权重比统称高):系列的规范名本身就是一整句日文标题、
- 别名是它的整句英文译名,平摊的话一行里两段都收在省略号里,谁也读不出来。 */
-.searchoption .matched{flex:0 8 auto;min-width:0;color:var(--muted);font-size:var(--fs-xs)}
-.searchoption .n{margin-left:auto;flex:none;color:var(--muted);font-size:var(--fs-xs);font-variant-numeric:tabular-nums}
-/* 两栏与否看下拉栏自己有多宽,不看窗口:宽屏里搜索框随侧栏开合变宽变窄,窄屏它盖过
- 返回键铺成一整条。一栏里摆不摆近作、视频排成格还是排成行,看的是那一栏自己的宽度。 */
+.searchmenu[hidden]{display:none}
+/* 栏里的行、组与页签归 `search` 岛(`frontend/src/react/search/search.css`)。两栏与否看下拉栏自己
+ 有多宽,不看窗口,所以容器查询名挂在这块面上。 */
.searchmenu{container:searchmenu/inline-size}
-.searchcol{container:searchcol/inline-size;min-width:0}
-/* 页签照复核分类那一排药丸:选中只有填充,未选中悬停只提字色;数用 Board 的计数徽标。 */
-.searchtabs{display:flex;gap:4px;padding:2px 2px 8px;margin-bottom:4px;border-bottom:1px solid var(--line-soft);
- overflow-x:auto;scrollbar-width:none;overscroll-behavior-x:contain}
-.searchtabs::-webkit-scrollbar{display:none}
-.searchtabs button{flex:none;display:inline-flex;align-items:center;height:30px;padding:0 10px;border:0;
- border-radius:var(--control-radius);background:none;color:var(--color-text-secondary);font-size:var(--fs-sm);
- white-space:nowrap;cursor:pointer}
-.searchtabs button:hover{color:var(--ink)}
-.searchtabs button[aria-selected="true"]{background:var(--picked);color:var(--ink)}
-.searchgroup+ .searchresults,.searchcol+ .searchcol{border-top:1px solid var(--line-soft);margin-top:7px;padding-top:7px}
-/* 门面一律圆片,和顶栏头像、厂牌药丸同一个形状;人是 40,公司是 28。 */
-.searchface{position:relative;flex:none;width:28px;height:28px;border-radius:50%;overflow:hidden;background:var(--hover)}
-.searchperson .searchface{width:40px;height:40px}
-.searchface img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block}
-.searchface .ini{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;
- color:var(--muted);font-size:var(--fs-sm)}
-.searchoption:is(.searchperson,.searchwork){height:auto;min-height:52px;padding-block:6px}
-.searchmeta{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
-.searchname{display:flex;align-items:baseline;gap:8px;min-width:0}
-.searchsub{color:var(--muted);font-size:var(--fs-xs)}
-/* 小封面和卡片同一个 3:4 容器,取景换算读的就是这个比例。宽 36 刚好排下不加字距的「无预览」。 */
-.searchmenu .pic{--card-ratio:.75;flex:none}
-.searchmenu .pic .nopic{letter-spacing:0}
-.searchwork>.pic{width:36px}
-/* 行里的 span 一律截断裁切,这一排要让出焦点环。 */
-.searchoption .searchpeeks{display:none;flex:none;gap:6px;margin-left:auto;overflow:visible}
-.searchpeek{width:36px;padding:0;border:0;border-radius:var(--badge-radius);background:none;cursor:pointer}
-.searchpeek .pic{width:100%}
-.searchpeek:hover .pic{outline:1px solid var(--border-15);outline-offset:-1px}
-.searchpeek:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}
-@container searchcol (min-width:420px){.searchoption .searchpeeks{display:flex}}
-/* 一栏够宽时视频排成封面格,番号在下、署名再下一行;窄了就是一行一部,封面缩成一枚小图。
- 列宽按栏宽均分:补全每组给五条、单看一类给二十条,所以五百到一千二的栏宽里正好一行五张、
- 把栏铺满;更窄时每格不小于 96,更宽时每格封顶两百出头,多出来的宽度另开一列。 */
-@container searchcol (min-width:400px){
- .searchgroup[data-kind="asset"] .searchitems{display:grid;
- grid-template-columns:repeat(auto-fill,minmax(clamp(96px,calc(20% - 4px),200px),1fr));gap:4px}
- .searchoption.searchwork{flex-direction:column;align-items:stretch;gap:6px;padding:6px}
- .searchwork>.pic{width:100%}
-}
-/* 右栏钉在顶上:左栏人名一长串往下翻时,视频那一格不跟着滚走。钉住要求右栏不拉伸,它自己
- 只有内容那么高,所以两栏的分隔线画在两栏之间的缝上,从顶到底,不论哪一栏更长。 */
-@container searchmenu (min-width:720px){
- .searchresults[data-split]{position:relative;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);
- column-gap:16px;align-items:start}
- .searchresults[data-split]::before{content:"";position:absolute;top:0;bottom:0;left:calc(50% - .5px);width:1px;
- background:var(--line-soft);pointer-events:none}
- .searchresults[data-split]>.searchcol+ .searchcol{position:sticky;top:0;border-top:0;margin-top:0;padding-top:0}
-}
.readout{display:flex;gap:20px;flex:none;align-items:center}
.readout div{display:flex;flex-direction:column;line-height:1.3;align-items:flex-start}
.readout b{font-size:var(--fs-lg);font-weight:600;font-variant-numeric:tabular-nums}
diff --git a/web/dist/peach-react.css b/web/dist/peach-react.css
index 6a19bfbe2..510f704a6 100644
--- a/web/dist/peach-react.css
+++ b/web/dist/peach-react.css
@@ -1,3 +1,3 @@
/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */
-@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0;--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-divide-y-reverse:0;--tw-border-style:solid;--tw-gradient-position:initial;--tw-gradient-from:#0000;--tw-gradient-via:#0000;--tw-gradient-to:#0000;--tw-gradient-stops:initial;--tw-gradient-via-stops:initial;--tw-gradient-from-position:0%;--tw-gradient-via-position:50%;--tw-gradient-to-position:100%;--tw-leading:initial;--tw-font-weight:initial;--tw-tracking:initial;--tw-ordinal:initial;--tw-slashed-zero:initial;--tw-numeric-figure:initial;--tw-numeric-spacing:initial;--tw-numeric-fraction:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-outline-style:solid;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial;--tw-backdrop-blur:initial;--tw-backdrop-brightness:initial;--tw-backdrop-contrast:initial;--tw-backdrop-grayscale:initial;--tw-backdrop-hue-rotate:initial;--tw-backdrop-invert:initial;--tw-backdrop-opacity:initial;--tw-backdrop-saturate:initial;--tw-backdrop-sepia:initial;--tw-duration:initial;--tw-ease:initial;--tw-content:"";--tw-scale-x:1;--tw-scale-y:1;--tw-scale-z:1}}}@layer theme{:root,:host{--font-sans:var(--font-inter), ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-mono:var(--font-mono-source), ui-monospace, "SFMono-Regular", Menlo, Consolas, "Liberation Mono", monospace;--color-red-100:oklch(93.6% .032 17.717);--color-red-200:oklch(88.5% .062 18.334);--color-red-300:oklch(80.8% .114 19.571);--color-red-400:oklch(70.4% .191 22.216);--color-red-500:oklch(63.7% .237 25.331);--color-red-600:oklch(57.7% .245 27.325);--color-red-700:oklch(50.5% .213 27.518);--color-red-900:oklch(39.6% .141 25.723);--color-red-950:oklch(25.8% .092 26.042);--color-yellow-200:oklch(94.5% .129 101.54);--color-yellow-400:oklch(85.2% .199 91.936);--color-yellow-500:oklch(79.5% .184 86.047);--color-yellow-800:oklch(47.6% .114 61.907);--color-yellow-950:oklch(28.6% .066 53.813);--color-lime-100:oklch(96.7% .067 122.328);--color-lime-200:oklch(93.8% .127 124.321);--color-lime-300:oklch(89.7% .196 126.665);--color-lime-400:oklch(84.1% .238 128.85);--color-lime-500:oklch(76.8% .233 130.85);--color-lime-600:oklch(64.8% .2 131.684);--color-lime-700:oklch(53.2% .157 131.589);--color-lime-800:oklch(45.3% .124 130.933);--color-lime-950:oklch(27.4% .072 132.109);--color-green-100:oklch(96.2% .044 156.743);--color-green-800:oklch(44.8% .119 151.328);--color-emerald-100:oklch(95% .052 163.051);--color-emerald-300:oklch(84.5% .143 164.978);--color-emerald-400:oklch(76.5% .177 163.223);--color-emerald-500:oklch(69.6% .17 162.48);--color-emerald-700:oklch(50.8% .118 165.612);--color-emerald-800:oklch(43.2% .095 166.913);--color-emerald-950:oklch(26.2% .051 172.552);--color-teal-400:oklch(77.7% .152 181.912);--color-teal-500:oklch(70.4% .14 182.503);--color-cyan-200:oklch(91.7% .08 205.041);--color-cyan-400:oklch(78.9% .154 211.53);--color-cyan-800:oklch(45% .085 224.283);--color-cyan-950:oklch(30.2% .056 229.695);--color-sky-400:oklch(74.6% .16 232.661);--color-sky-500:oklch(68.5% .169 237.323);--color-blue-50:oklch(97% .014 254.604);--color-blue-100:oklch(93.2% .032 255.585);--color-blue-200:oklch(88.2% .059 254.128);--color-blue-300:oklch(80.9% .105 251.813);--color-blue-400:#3392ff;--color-blue-500:oklch(62.3% .214 259.815);--color-blue-600:oklch(54.6% .245 262.881);--color-blue-700:oklch(48.8% .243 264.376);--color-blue-800:oklch(42.4% .199 265.638);--color-blue-900:oklch(37.9% .146 265.522);--color-blue-950:oklch(28.2% .091 267.935);--color-indigo-100:oklch(93% .034 272.788);--color-indigo-400:oklch(67.3% .182 276.935);--color-indigo-500:oklch(58.5% .233 277.117);--color-indigo-800:oklch(39.8% .195 277.366);--color-purple-50:oklch(97.7% .014 308.299);--color-purple-100:oklch(94.6% .033 307.174);--color-purple-300:oklch(82.7% .119 306.383);--color-purple-400:oklch(71.4% .203 305.504);--color-purple-500:oklch(62.7% .265 303.9);--color-purple-600:oklch(55.8% .288 302.321);--color-purple-700:oklch(49.6% .265 301.924);--color-purple-800:oklch(43.8% .218 303.724);--color-purple-900:oklch(38.1% .176 304.987);--color-purple-950:oklch(29.1% .149 302.717);--color-pink-100:oklch(94.8% .028 342.258);--color-pink-300:oklch(82.3% .12 346.018);--color-pink-400:oklch(71.8% .202 349.761);--color-pink-500:oklch(65.6% .241 354.308);--color-pink-700:oklch(52.5% .223 3.958);--color-pink-950:oklch(28.4% .109 3.907);--color-rose-100:oklch(94.1% .03 12.58);--color-rose-200:oklch(89.2% .058 10.001);--color-rose-300:oklch(81% .117 11.638);--color-rose-500:oklch(64.5% .246 16.439);--color-rose-600:oklch(58.6% .253 17.585);--color-rose-800:oklch(45.5% .188 13.697);--color-rose-950:oklch(27.1% .105 12.094);--color-zinc-800:oklch(27.4% .006 286.033);--color-neutral-50:oklch(98.5% 0 none);--color-neutral-100:#f7f7f7;--color-neutral-200:#ebebeb;--color-neutral-300:oklch(87% 0 none);--color-neutral-400:oklch(70.8% 0 none);--color-neutral-500:oklch(55.6% 0 none);--color-neutral-600:oklch(43.9% 0 none);--color-neutral-700:oklch(37.1% 0 none);--color-neutral-800:oklch(26.9% 0 none);--color-neutral-900:oklch(20.5% 0 none);--color-neutral-950:oklch(14.5% 0 none);--color-black:#000;--color-white:#fff;--spacing:.25rem;--text-xs:.75rem;--text-xs--line-height:calc(1 / .75);--text-sm:.875rem;--text-sm--line-height:calc(1.25 / .875);--font-weight-normal:400;--font-weight-medium:500;--font-weight-semibold:600;--font-weight-bold:700;--leading-tight:1.25;--radius-xs:.125rem;--radius-sm:.25rem;--radius-md:.375rem;--radius-lg:.5rem;--radius-xl:.75rem;--radius-2xl:1rem;--shadow-sm:var(--elevation-sm);--drop-shadow-sm:0 1px 2px #00000026;--ease-out:cubic-bezier(0, 0, .2, 1);--ease-in-out:cubic-bezier(.4, 0, .2, 1);--animate-spin:spin 1s linear infinite;--blur-sm:8px;--aspect-video:16 / 9;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4, 0, .2, 1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono);--color-neutral-925:#121212;--color-accent-50:var(--color-blue-50);--color-accent-100:var(--color-blue-100);--color-accent-200:var(--color-blue-200);--color-accent-300:var(--color-blue-300);--color-accent-400:var(--color-blue-400);--color-accent-500:var(--color-blue-500);--color-accent-600:var(--color-blue-600);--color-accent-700:var(--color-blue-700);--color-accent-800:var(--color-blue-800);--color-accent-900:var(--color-blue-900);--color-accent-950:var(--color-blue-950);--radius-2lg:10px;--radius-2-5xl:20px;--shadow-checkbox-selected:inset 0 2px 0 0 #ffffff40, inset 0 0 0 1px var(--color-accent-500);--shadow-card:var(--elevation-card);--color-foreground-full:var(--color-foreground-full);--color-foreground-icon-primary:var(--color-foreground-icon-primary);--color-foreground-icon-hover:var(--color-foreground-icon-hover);--color-foreground-icon-secondary:var(--color-foreground-icon-secondary);--color-foreground-icon-tertiary:var(--color-foreground-icon-tertiary);--color-foreground-icon-quaternary:var(--color-foreground-icon-quaternary);--color-foreground-icon-error:var(--color-foreground-icon-error);--color-foreground-icon-disabled:var(--color-foreground-icon-disabled);--color-foreground-disabled:var(--color-foreground-disabled);--color-foreground-disabled-danger:var(--color-foreground-disabled-danger);--color-input-disabled-foreground:var(--color-input-disabled-foreground);--color-icon-button-disabled-foreground:var(--color-icon-button-disabled-foreground);--color-button-primary-disabled-foreground:var(--color-button-primary-disabled-foreground);--color-text-primary:var(--color-text-primary);--color-text-secondary:var(--color-text-secondary);--color-text-tertiary:var(--color-text-tertiary);--color-text-disabled:var(--color-text-disabled);--color-text-disabled-danger:var(--color-text-disabled-danger);--color-text-placeholder:var(--color-text-placeholder);--color-text-error-primary:var(--color-text-error-primary);--color-input-disabled-text:var(--color-input-disabled-text);--color-text-white:var(--color-text-white);--color-background-full:var(--color-background-full);--color-background-primary-default:var(--color-background-primary-default);--color-background-inner-default:var(--color-background-inner-default);--color-background-primary-hover:var(--color-background-primary-hover);--color-background-primary-active:var(--color-background-primary-active);--color-background-primary-disabled:var(--color-background-primary-disabled);--color-input-disabled-background:var(--color-input-disabled-background);--color-background-secondary-default:var(--color-background-secondary-default);--color-background-secondary-hover:var(--color-background-secondary-hover);--color-background-tertiary-default:var(--color-background-tertiary-default);--color-background-tertiary-hover:var(--color-background-tertiary-hover);--color-background-tertiary-error:var(--color-background-tertiary-error);--color-background-recent-hire-role:var(--color-background-recent-hire-role);--color-avatar-neutral-background:var(--color-avatar-neutral-background);--color-background-quaternary-default:var(--color-background-quaternary-default);--color-background-quaternary-hover:var(--color-background-quaternary-hover);--color-background-quaternary-error:var(--color-background-quaternary-error);--color-file-upload-icon-background:var(--color-file-upload-icon-background);--color-file-upload-icon-foreground:var(--color-file-upload-icon-foreground);--color-file-upload-icon-foreground-hover:var(--color-file-upload-icon-foreground-hover);--color-border-button-default:var(--color-border-button-default);--color-border-button-hover:var(--color-border-button-hover);--color-border-button-active:var(--color-border-button-active);--color-border-button-white:var(--color-border-button-white);--color-border-error-default:var(--color-border-error-default);--color-border-checkbox-default:var(--color-border-checkbox-default);--color-border-checkbox-hover:var(--color-border-checkbox-hover);--color-border-checkbox-active:var(--color-border-checkbox-active);--color-border-checkbox-white:var(--color-border-checkbox-white);--color-border-component-detail-container:var(--color-border-component-detail-container);--color-border-ai-profile-card:var(--color-border-ai-profile-card);--color-border-table:var(--color-border-table);--color-border-button-group:var(--color-border-button-group);--color-border-sidebar-profile-hover:var(--color-border-sidebar-profile-hover);--color-separator-border:var(--color-separator-border);--color-separator-border-strong:var(--color-separator-border-strong);--color-border-focus-ring:var(--color-border-focus-ring);--color-state-success-text:var(--color-state-success-text);--color-state-success-base:var(--color-state-success-base);--color-control-indicator-background:var(--color-control-indicator-background);--color-control-indicator-background-subtle:var(--color-control-indicator-background-subtle);--color-switch-off-chip-start:var(--color-switch-off-chip-start);--color-switch-off-chip-end:var(--color-switch-off-chip-end);--color-switch-on-chip-start:var(--color-switch-on-chip-start);--color-switch-on-chip-end:var(--color-switch-on-chip-end);--color-stat-card-icon-background:var(--color-stat-card-icon-background);--color-segmented-control-background:var(--color-segmented-control-background);--color-segmented-control-selected-background:var(--color-segmented-control-selected-background);--color-theme-toggle-sidebar-background:var(--color-theme-toggle-sidebar-background);--color-theme-toggle-sidebar-selected-background:var(--color-theme-toggle-sidebar-selected-background);--color-ai-chat-composer-add-background:var(--color-ai-chat-composer-add-background);--color-ai-chat-composer-add-hover-background:var(--color-ai-chat-composer-add-hover-background);--color-composer-panel-tab-background:var(--color-composer-panel-tab-background);--color-composer-panel-add-background:var(--color-composer-panel-add-background);--color-composer-panel-add-hover-background:var(--color-composer-panel-add-hover-background);--color-composer-panel-tile-border:var(--color-composer-panel-tile-border);--color-composer-panel-rail-background:var(--color-composer-panel-rail-background);--color-questionnaire-key-background:var(--color-questionnaire-key-background);--color-questionnaire-key-hover-background:var(--color-questionnaire-key-hover-background);--color-agent-progress-ring:var(--color-agent-progress-ring);--color-button-ghost-background:var(--color-button-ghost-background);--color-button-ghost-hover:var(--color-button-ghost-hover);--color-button-ghost-active:var(--color-button-ghost-active);--color-button-ghost-disabled:var(--color-button-ghost-disabled);--color-button-ghost-foreground:var(--color-button-ghost-foreground);--color-button-ghost-disabled-foreground:var(--color-button-ghost-disabled-foreground);--color-dropdown-item-hover-background:var(--color-dropdown-item-hover-background);--color-kbd-background:var(--color-kbd-background);--color-kbd-foreground:var(--color-kbd-foreground);--color-docs-file-chip-background:var(--color-docs-file-chip-background);--color-docs-file-chip-border:var(--color-docs-file-chip-border);--color-docs-file-chip-foreground:var(--color-docs-file-chip-foreground);--color-docs-command-accent:var(--color-docs-command-accent);--color-docs-code-background:var(--color-docs-code-background);--color-docs-install-rail:var(--color-docs-install-rail);--color-badge-neutral-background:var(--color-badge-neutral-background);--color-team-menu-count-background:var(--color-team-menu-count-background);--color-team-menu-count-foreground:var(--color-team-menu-count-foreground);--color-badge-new-background:var(--color-badge-new-background);--color-badge-new-text:var(--color-badge-new-text);--color-tab-count-selected-background:var(--color-tab-count-selected-background);--color-pill-tab-blue-selected-background:var(--color-pill-tab-blue-selected-background);--color-pill-tab-blue-hover-background:var(--color-pill-tab-blue-hover-background);--color-notification-information-background:var(--color-notification-information-background);--color-notification-information-foreground:var(--color-notification-information-foreground);--color-notification-success-background:var(--color-notification-success-background);--color-notification-success-foreground:var(--color-notification-success-foreground);--color-notification-error-background:var(--color-notification-error-background);--color-notification-error-foreground:var(--color-notification-error-foreground);--color-notification-center-background:var(--color-notification-center-background);--color-status-lime-background:var(--color-status-lime-background);--color-status-lime-text:var(--color-status-lime-text);--color-status-yellow-background:var(--color-status-yellow-background);--color-status-yellow-text:var(--color-status-yellow-text);--color-status-rose-background:var(--color-status-rose-background);--color-status-rose-text:var(--color-status-rose-text);--color-status-cyan-background:var(--color-status-cyan-background);--color-status-cyan-text:var(--color-status-cyan-text);--color-status-blue-background:var(--color-status-blue-background);--color-status-blue-text:var(--color-status-blue-text);--color-status-purple-background:var(--color-status-purple-background);--color-status-purple-text:var(--color-status-purple-text);--color-status-dot-green-halo:var(--color-status-dot-green-halo);--color-status-dot-yellow-halo:var(--color-status-dot-yellow-halo);--color-status-dot-indigo-halo:var(--color-status-dot-indigo-halo);--color-date-range-background:var(--color-date-range-background);--color-date-range-edge-background:var(--color-date-range-edge-background);--color-calendar-event-blue-background:var(--color-calendar-event-blue-background);--color-calendar-event-blue-title:var(--color-calendar-event-blue-title);--color-calendar-event-blue-time:var(--color-calendar-event-blue-time);--color-calendar-event-pink-background:var(--color-calendar-event-pink-background);--color-calendar-event-pink-title:var(--color-calendar-event-pink-title);--color-calendar-event-pink-time:var(--color-calendar-event-pink-time);--color-calendar-event-purple-background:var(--color-calendar-event-purple-background);--color-calendar-event-purple-title:var(--color-calendar-event-purple-title);--color-calendar-event-purple-time:var(--color-calendar-event-purple-time);--color-calendar-event-lime-background:var(--color-calendar-event-lime-background);--color-calendar-event-lime-title:var(--color-calendar-event-lime-title);--color-calendar-event-lime-time:var(--color-calendar-event-lime-time);--color-calendar-event-emerald-background:var(--color-calendar-event-emerald-background);--color-calendar-event-emerald-title:var(--color-calendar-event-emerald-title);--color-calendar-event-emerald-time:var(--color-calendar-event-emerald-time);--color-text-error-placeholder:var(--color-text-error-placeholder);--color-chart-track:var(--color-chart-track);--color-chart-cursor:var(--color-chart-cursor);--color-chart-neutral:var(--color-chart-neutral);--color-chart-1:var(--color-chart-1);--color-chart-1-active:var(--color-chart-1-active);--color-chart-2:var(--color-chart-2);--color-chart-2-active:var(--color-chart-2-active);--color-chart-3:var(--color-chart-3);--color-chart-3-active:var(--color-chart-3-active);--color-chart-4:var(--color-chart-4);--color-chart-4-active:var(--color-chart-4-active);--color-chart-5:var(--color-chart-5);--color-chart-5-active:var(--color-chart-5-active);--color-chart-6:var(--color-chart-6);--color-chart-6-active:var(--color-chart-6-active);--color-chart-7:var(--color-chart-7);--color-chart-7-active:var(--color-chart-7-active);--color-chart-8:var(--color-chart-8);--color-chart-8-active:var(--color-chart-8-active);--color-chart-9:var(--color-chart-9);--color-chart-9-active:var(--color-chart-9-active);--color-chart-agents-bar:var(--color-chart-agents-bar);--color-chart-agents-bar-active:var(--color-chart-agents-bar-active);--button-transition-ms:.15s;--input-transition-ms:.15s;--text-display-4-medium:2rem;--text-display-4-medium--line-height:2.75rem;--text-display-4-medium--letter-spacing:0;--text-display-4-medium--font-weight:500;--text-title-1-regular:1.5rem;--text-title-1-regular--line-height:2.125rem;--text-title-1-regular--letter-spacing:0;--text-title-1-regular--font-weight:400;--text-title-1-medium:1.5rem;--text-title-1-medium--line-height:2.125rem;--text-title-1-medium--letter-spacing:0;--text-title-1-medium--font-weight:500;--text-title-1-semibold:1.5rem;--text-title-1-semibold--line-height:2.125rem;--text-title-1-semibold--letter-spacing:0;--text-title-1-semibold--font-weight:600;--text-title-2-regular:1.25rem;--text-title-2-regular--line-height:1.625rem;--text-title-2-regular--letter-spacing:0;--text-title-2-regular--font-weight:400;--text-title-2-medium:1.25rem;--text-title-2-medium--line-height:1.625rem;--text-title-2-medium--letter-spacing:0;--text-title-2-medium--font-weight:500;--text-title-2-semibold:1.25rem;--text-title-2-semibold--line-height:1.625rem;--text-title-2-semibold--letter-spacing:0;--text-title-2-semibold--font-weight:600;--text-title-3-medium:1.125rem;--text-title-3-medium--line-height:1.625rem;--text-title-3-medium--letter-spacing:0;--text-title-3-medium--font-weight:500;--text-title-3-semibold:1.125rem;--text-title-3-semibold--line-height:1.625rem;--text-title-3-semibold--letter-spacing:0;--text-title-3-semibold--font-weight:600;--text-headline-medium:1rem;--text-headline-medium--line-height:1.375rem;--text-headline-medium--letter-spacing:0;--text-headline-medium--font-weight:500;--text-body-regular:.875rem;--text-body-regular--line-height:1.25rem;--text-body-regular--letter-spacing:0;--text-body-regular--font-weight:400;--text-body-medium:.875rem;--text-body-medium--line-height:1.25rem;--text-body-medium--letter-spacing:0;--text-body-medium--font-weight:500;--text-body-semibold:.875rem;--text-body-semibold--line-height:1.25rem;--text-body-semibold--letter-spacing:0;--text-body-semibold--font-weight:600;--text-body-bold:.875rem;--text-body-bold--line-height:1.25rem;--text-body-bold--letter-spacing:0;--text-body-bold--font-weight:700;--text-body-2-regular:.8125rem;--text-body-2-regular--line-height:1.125rem;--text-body-2-regular--letter-spacing:0;--text-body-2-regular--font-weight:400;--text-body-2-medium:.8125rem;--text-body-2-medium--line-height:1.125rem;--text-body-2-medium--letter-spacing:0;--text-body-2-medium--font-weight:500;--text-caption-1-regular:.75rem;--text-caption-1-regular--line-height:1rem;--text-caption-1-regular--letter-spacing:.15px;--text-caption-1-regular--font-weight:400;--text-caption-1-medium:.75rem;--text-caption-1-medium--line-height:1rem;--text-caption-1-medium--letter-spacing:.15px;--text-caption-1-medium--font-weight:500;--text-caption-1-semibold:.75rem;--text-caption-1-semibold--line-height:1rem;--text-caption-1-semibold--letter-spacing:.15px;--text-caption-1-semibold--font-weight:600;--container-board:var(--board-content,1120px);--container-card-cover:150px;--aspect-card-cover:16 / 10;--container-avatar-picker:720px;--aspect-avatar-choice:3 / 4;--spacing-crop-frame:50vh;--spacing-crop-preview:96px;--container-cover-crop:880px;--spacing-topbar:var(--topH,64px);--z-index-dialog:var(--layer-dialog,1000);--container-review-tabs:184px;--container-review-card:340px;--container-review-cover:132px;--container-review-cover-narrow:110px;--container-review-asset:92px;--spacing-review-card:440px;--spacing-review-card-tall:560px;--spacing-review-image:220px;--radius-surface:14px;--radius-floating:20px;--radius-glass-key:7px;--color-scrim:#0009}@supports (color:color-mix(in lab, red, red)){:root,:host{--color-scrim:color-mix(in srgb, var(--color-black) 60%, transparent)}}:root,:host{--container-duplicate-cover:112px;--container-duplicate-cover-narrow:88px;--container-index-person:150px;--container-index-company:180px;--container-index-tag:200px;--spacing-empty-glyph:54px;--container-empty-copy:340px;--leading-empty-copy:1.55;--container-form-modal:540px;--tracking-caps:.12em}}.\@container{container-type:inline-size}.bg-button-danger{isolation:isolate;background-image:var(--gradient-button-danger-default);position:relative}.bg-button-danger:before{content:"";z-index:-1;pointer-events:none;border-radius:inherit;background-image:var(--gradient-button-danger-hover);opacity:0;transition:opacity var(--button-transition-ms) ease;position:absolute;inset:0}.bg-button-danger:hover:not(:disabled):not([aria-disabled=true]):before{opacity:1}.bg-button-danger:active:not(:disabled):not([aria-disabled=true]){background-image:var(--gradient-button-danger-active)}.bg-button-danger:active:not(:disabled):not([aria-disabled=true]):before{opacity:0}.bg-button-danger:disabled,.bg-button-danger[aria-disabled=true]{background-image:var(--gradient-button-danger-disabled)}.bg-button-danger:disabled:before,.bg-button-danger[aria-disabled=true]:before{display:none}.bg-button-primary{isolation:isolate;background-image:var(--gradient-button-primary-default);position:relative}.bg-button-primary:before{content:"";z-index:-1;pointer-events:none;border-radius:inherit;background-image:var(--gradient-button-primary-hover);opacity:0;transition:opacity var(--button-transition-ms) ease;position:absolute;inset:0}.bg-button-primary:hover:not(:disabled):not([aria-disabled=true]):before{opacity:1}.bg-button-primary:active:not(:disabled):not([aria-disabled=true]){background-image:var(--gradient-button-primary-active)}.bg-button-primary:active:not(:disabled):not([aria-disabled=true]):before{opacity:0}.bg-button-primary:disabled,.bg-button-primary[aria-disabled=true]{background-image:var(--gradient-button-primary-disabled)}.bg-button-primary:disabled:before,.bg-button-primary[aria-disabled=true]:before{display:none}.pointer-events-none{pointer-events:none}.collapse{visibility:collapse}.invisible{visibility:hidden}.visible{visibility:visible}.skeleton-sheen{overflow:hidden}.skeleton-sheen:after{content:"";border-radius:inherit;background:linear-gradient(to right, var(--hover), var(--skeleton-sheen) 50%, var(--hover));background-size:50% 100%;animation:1.5s ease-in-out infinite reverse peach-skeleton-sweep;position:absolute;inset:0 -200% 0 0}@media (prefers-reduced-motion:reduce){.skeleton-sheen:after{animation:none}}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.static{position:static}.sticky{position:sticky}.inset-0{inset:0}.inset-x-0{inset-inline:0}.inset-y-0{inset-block:0}.top-\(--crop-b\){top:var(--crop-b)}.top-\(--crop-t\){top:var(--crop-t)}.top-\(--tile-top\){top:var(--tile-top)}.top-0{top:0}.top-0\.5{top:calc(var(--spacing) * .5)}.top-1{top:var(--spacing)}.top-2{top:calc(var(--spacing) * 2)}.top-4{top:calc(var(--spacing) * 4)}.top-\[3px\]{top:3px}.top-topbar{top:var(--spacing-topbar)}.-right-1\.5{right:calc(var(--spacing) * -1.5)}.-right-\[5\.5px\]{right:-5.5px}.right-0{right:0}.right-1{right:var(--spacing)}.right-1\.5{right:calc(var(--spacing) * 1.5)}.right-2\.25{right:calc(var(--spacing) * 2.25)}.right-4{right:calc(var(--spacing) * 4)}.-bottom-1\.5{bottom:calc(var(--spacing) * -1.5)}.-bottom-3{bottom:calc(var(--spacing) * -3)}.bottom-0{bottom:0}.bottom-1{bottom:var(--spacing)}.bottom-2{bottom:calc(var(--spacing) * 2)}.bottom-2\.25{bottom:calc(var(--spacing) * 2.25)}.-left-\[5\.5px\]{left:-5.5px}.left-\(--crop-l\){left:var(--crop-l)}.left-\(--crop-r\){left:var(--crop-r)}.left-\(--tile-left\){left:var(--tile-left)}.left-0{left:0}.left-0\.5{left:calc(var(--spacing) * .5)}.left-1{left:var(--spacing)}.left-1\.5{left:calc(var(--spacing) * 1.5)}.left-\[3px\]{left:3px}.isolate{isolation:isolate}.-z-10{z-index:calc(10 * -1)}.z-1{z-index:1}.z-6{z-index:6}.z-10{z-index:10}.z-20{z-index:20}.z-50{z-index:50}.z-dialog{z-index:var(--z-index-dialog)}.col-start-2{grid-column-start:2}.-col-end-1{grid-column-end:calc(1 * -1)}.row-span-2{grid-row:span 2/span 2}.container{width:100%}@media (width>=560px){.container{max-width:560px}}@media (width>=600px){.container{max-width:600px}}@media (width>=601px){.container{max-width:601px}}@media (width>=761px){.container{max-width:761px}}@media (width>=900px){.container{max-width:900px}}@media (width>=901px){.container{max-width:901px}}@media (width>=1000px){.container{max-width:1000px}}@media (width>=1120px){.container{max-width:1120px}}@media (width>=40rem){.container{max-width:40rem}}@media (width>=48rem){.container{max-width:48rem}}@media (width>=64rem){.container{max-width:64rem}}@media (width>=80rem){.container{max-width:80rem}}@media (width>=96rem){.container{max-width:96rem}}.m-0{margin:0}.m-0\!{margin:0!important}.-mx-4{margin-inline:calc(var(--spacing) * -4)}.-mx-5{margin-inline:calc(var(--spacing) * -5)}.-mx-6{margin-inline:calc(var(--spacing) * -6)}.mx-4{margin-inline:calc(var(--spacing) * 4)}.mx-auto{margin-inline:auto}.my-0\.5{margin-block:calc(var(--spacing) * .5)}.-mt-2{margin-top:calc(var(--spacing) * -2)}.mt-0\.5{margin-top:calc(var(--spacing) * .5)}.mt-1{margin-top:var(--spacing)}.mt-1\.5{margin-top:calc(var(--spacing) * 1.5)}.mt-2{margin-top:calc(var(--spacing) * 2)}.mt-3{margin-top:calc(var(--spacing) * 3)}.mt-4{margin-top:calc(var(--spacing) * 4)}.mt-5{margin-top:calc(var(--spacing) * 5)}.mt-auto{margin-top:auto}.mr-1{margin-right:var(--spacing)}.mr-1\.5{margin-right:calc(var(--spacing) * 1.5)}.mr-auto{margin-right:auto}.-mb-4{margin-bottom:calc(var(--spacing) * -4)}.-mb-5{margin-bottom:calc(var(--spacing) * -5)}.mb-1{margin-bottom:var(--spacing)}.mb-2{margin-bottom:calc(var(--spacing) * 2)}.mb-3{margin-bottom:calc(var(--spacing) * 3)}.mb-4{margin-bottom:calc(var(--spacing) * 4)}.mb-5{margin-bottom:calc(var(--spacing) * 5)}.mb-5\.5{margin-bottom:calc(var(--spacing) * 5.5)}.mb-6{margin-bottom:calc(var(--spacing) * 6)}.-ml-3{margin-left:calc(var(--spacing) * -3)}.ml-1{margin-left:var(--spacing)}.ml-1\.5{margin-left:calc(var(--spacing) * 1.5)}.ml-auto{margin-left:auto}.fieldset-split{grid-template-columns:minmax(0,1fr) auto;align-items:center;display:grid}@media not all and (width>=1001px){.fieldset-split{grid-template-columns:minmax(0,1fr)}}.duplicate-row{grid-template-columns:var(--container-duplicate-cover) minmax(0, 1fr) 84px 84px 84px;display:grid}@media not all and (width>=901px){.duplicate-row{grid-template-columns:var(--container-duplicate-cover-narrow) minmax(0, 1fr) auto auto}}.index-grid-company{grid-template-columns:repeat(auto-fill, minmax(var(--container-index-company), 1fr));display:grid}@media not all and (width>=761px){.index-grid-company{grid-template-columns:repeat(auto-fill, minmax(var(--container-index-person), 1fr))}}.card-grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,360px),1fr));display:grid}.card-grid-cover{grid-template-columns:repeat(auto-fill,minmax(min(100%,280px),1fr));display:grid}.index-grid-person{grid-template-columns:repeat(auto-fill, minmax(var(--container-index-person), 1fr));display:grid}.index-tag-list{grid-template-columns:repeat(auto-fill, minmax(var(--container-index-tag), 1fr));display:grid}.link-stat-grid{grid-template-columns:repeat(auto-fit,minmax(150px,1fr));display:grid}.review-asset-grid{grid-template-columns:repeat(auto-fill, minmax(var(--container-review-asset), 1fr));display:grid}.review-grid{grid-template-columns:repeat(auto-fill, minmax(min(100%, var(--container-review-card)), 1fr));display:grid}.block{display:block}.contents{display:contents}.flex{display:flex}.hidden{display:none}.inline{display:inline}.inline-block{display:inline-block}.inline-flex{display:inline-flex}.inline-grid{display:inline-grid}.table{display:table}.aspect-3\/4{aspect-ratio:3/4}.aspect-16\/10{aspect-ratio:16/10}.aspect-auto{aspect-ratio:auto}.aspect-avatar-choice{aspect-ratio:var(--aspect-avatar-choice)}.aspect-card-cover{aspect-ratio:var(--aspect-card-cover)}.aspect-square{aspect-ratio:1}.aspect-video{aspect-ratio:var(--aspect-video)}.size-1{width:var(--spacing);height:var(--spacing)}.size-1\.5{width:calc(var(--spacing) * 1.5);height:calc(var(--spacing) * 1.5)}.size-1\.75{width:calc(var(--spacing) * 1.75);height:calc(var(--spacing) * 1.75)}.size-2{width:calc(var(--spacing) * 2);height:calc(var(--spacing) * 2)}.size-2\.5{width:calc(var(--spacing) * 2.5);height:calc(var(--spacing) * 2.5)}.size-3{width:calc(var(--spacing) * 3);height:calc(var(--spacing) * 3)}.size-3\.5{width:calc(var(--spacing) * 3.5);height:calc(var(--spacing) * 3.5)}.size-3\.75{width:calc(var(--spacing) * 3.75);height:calc(var(--spacing) * 3.75)}.size-4{width:calc(var(--spacing) * 4);height:calc(var(--spacing) * 4)}.size-4\.5{width:calc(var(--spacing) * 4.5);height:calc(var(--spacing) * 4.5)}.size-5{width:calc(var(--spacing) * 5);height:calc(var(--spacing) * 5)}.size-6{width:calc(var(--spacing) * 6);height:calc(var(--spacing) * 6)}.size-7{width:calc(var(--spacing) * 7);height:calc(var(--spacing) * 7)}.size-7\.5{width:calc(var(--spacing) * 7.5);height:calc(var(--spacing) * 7.5)}.size-8{width:calc(var(--spacing) * 8);height:calc(var(--spacing) * 8)}.size-9{width:calc(var(--spacing) * 9);height:calc(var(--spacing) * 9)}.size-9\.5{width:calc(var(--spacing) * 9.5);height:calc(var(--spacing) * 9.5)}.size-11{width:calc(var(--spacing) * 11);height:calc(var(--spacing) * 11)}.size-14{width:calc(var(--spacing) * 14);height:calc(var(--spacing) * 14)}.size-17\.5{width:calc(var(--spacing) * 17.5);height:calc(var(--spacing) * 17.5)}.size-\[5px\]{width:5px;height:5px}.size-\[7\.5px\]{width:7.5px;height:7.5px}.size-\[10px\]{width:10px;height:10px}.size-\[18px\]{width:18px;height:18px}.size-crop-preview{width:var(--spacing-crop-preview);height:var(--spacing-crop-preview)}.size-empty-glyph{width:var(--spacing-empty-glyph);height:var(--spacing-empty-glyph)}.size-full{width:100%;height:100%}.h-\(--crop-h\){height:var(--crop-h)}.h-\(--crop-t\){height:var(--crop-t)}.h-\(--tile-height\){height:var(--tile-height)}.h-0{height:0}.h-0\.5{height:calc(var(--spacing) * .5)}.h-1{height:var(--spacing)}.h-1\.5{height:calc(var(--spacing) * 1.5)}.h-2{height:calc(var(--spacing) * 2)}.h-2\.5{height:calc(var(--spacing) * 2.5)}.h-3{height:calc(var(--spacing) * 3)}.h-3\.5{height:calc(var(--spacing) * 3.5)}.h-4{height:calc(var(--spacing) * 4)}.h-6{height:calc(var(--spacing) * 6)}.h-7{height:calc(var(--spacing) * 7)}.h-7\.5{height:calc(var(--spacing) * 7.5)}.h-8{height:calc(var(--spacing) * 8)}.h-9{height:calc(var(--spacing) * 9)}.h-10{height:calc(var(--spacing) * 10)}.h-12{height:calc(var(--spacing) * 12)}.h-56{height:calc(var(--spacing) * 56)}.h-64{height:calc(var(--spacing) * 64)}.h-70{height:calc(var(--spacing) * 70)}.h-75{height:calc(var(--spacing) * 75)}.h-\[2px\]{height:2px}.h-auto{height:auto}.h-full{height:100%}.h-max{height:max-content}.h-review-card{height:var(--spacing-review-card)}.h-review-card-tall{height:var(--spacing-review-card-tall)}.h-review-image{height:var(--spacing-review-image)}.max-h-22{max-height:calc(var(--spacing) * 22)}.max-h-96{max-height:calc(var(--spacing) * 96)}.max-h-130{max-height:calc(var(--spacing) * 130)}.max-h-\[240px\]{max-height:240px}.max-h-crop-frame{max-height:var(--spacing-crop-frame)}.max-h-full{max-height:100%}.min-h-0{min-height:0}.min-h-4{min-height:calc(var(--spacing) * 4)}.min-h-6{min-height:calc(var(--spacing) * 6)}.min-h-7{min-height:calc(var(--spacing) * 7)}.min-h-9\.5{min-height:calc(var(--spacing) * 9.5)}.min-h-10{min-height:calc(var(--spacing) * 10)}.min-h-11{min-height:calc(var(--spacing) * 11)}.min-h-11\.5{min-height:calc(var(--spacing) * 11.5)}.min-h-12{min-height:calc(var(--spacing) * 12)}.min-h-14{min-height:calc(var(--spacing) * 14)}.min-h-16{min-height:calc(var(--spacing) * 16)}.min-h-24{min-height:calc(var(--spacing) * 24)}.min-h-30{min-height:calc(var(--spacing) * 30)}.min-h-32{min-height:calc(var(--spacing) * 32)}.min-h-33{min-height:calc(var(--spacing) * 33)}.min-h-40{min-height:calc(var(--spacing) * 40)}.min-h-48{min-height:calc(var(--spacing) * 48)}.min-h-52{min-height:calc(var(--spacing) * 52)}.min-h-60{min-height:calc(var(--spacing) * 60)}.min-h-64{min-height:calc(var(--spacing) * 64)}.min-h-80{min-height:calc(var(--spacing) * 80)}.min-h-\[52px\]{min-height:52px}.w-\(--crop-l\){width:var(--crop-l)}.w-\(--crop-w\){width:var(--crop-w)}.w-\(--tile-width\){width:var(--tile-width)}.w-\(--trigger-width\){width:var(--trigger-width)}.w-0{width:0}.w-1{width:var(--spacing)}.w-1\.5{width:calc(var(--spacing) * 1.5)}.w-2{width:calc(var(--spacing) * 2)}.w-2\.5{width:calc(var(--spacing) * 2.5)}.w-2\/3{width:66.6667%}.w-3{width:calc(var(--spacing) * 3)}.w-6{width:calc(var(--spacing) * 6)}.w-7{width:calc(var(--spacing) * 7)}.w-14{width:calc(var(--spacing) * 14)}.w-24{width:calc(var(--spacing) * 24)}.w-37\.5{width:calc(var(--spacing) * 37.5)}.w-48{width:calc(var(--spacing) * 48)}.w-52{width:calc(var(--spacing) * 52)}.w-56{width:calc(var(--spacing) * 56)}.w-64{width:calc(var(--spacing) * 64)}.w-72{width:calc(var(--spacing) * 72)}.w-\[2px\]{width:2px}.w-\[42px\]{width:42px}.w-\[202px\]{width:202px}.w-\[266px\]{width:266px}.w-auto{width:auto}.w-card-cover{width:var(--container-card-cover)}.w-fit{width:fit-content}.w-full{width:100%}.w-max{width:max-content}.w-review-cover-narrow{width:var(--container-review-cover-narrow)}.max-w-80{max-width:calc(var(--spacing) * 80)}.max-w-90{max-width:calc(var(--spacing) * 90)}.max-w-190{max-width:calc(var(--spacing) * 190)}.max-w-\[calc\(100vw-32px\)\]{max-width:calc(100vw - 32px)}.max-w-avatar-picker{max-width:var(--container-avatar-picker)}.max-w-board{max-width:var(--container-board)}.max-w-cover-crop{max-width:var(--container-cover-crop)}.max-w-empty-copy{max-width:var(--container-empty-copy)}.max-w-form-modal{max-width:var(--container-form-modal)}.max-w-full{max-width:100%}.max-w-none{max-width:none}.max-w-prose{max-width:65ch}.min-w-0{min-width:0}.min-w-7\.5{min-width:calc(var(--spacing) * 7.5)}.min-w-25{min-width:calc(var(--spacing) * 25)}.min-w-31{min-width:calc(var(--spacing) * 31)}.min-w-32{min-width:calc(var(--spacing) * 32)}.min-w-35{min-width:calc(var(--spacing) * 35)}.min-w-40{min-width:calc(var(--spacing) * 40)}.min-w-50{min-width:calc(var(--spacing) * 50)}.min-w-64{min-width:calc(var(--spacing) * 64)}.min-w-80{min-width:calc(var(--spacing) * 80)}.min-w-160{min-width:calc(var(--spacing) * 160)}.flex-1{flex:1}.flex-none{flex:none}.shrink{flex-shrink:1}.shrink-0{flex-shrink:0}.grow{flex-grow:1}.basis-40{flex-basis:calc(var(--spacing) * 40)}.basis-50{flex-basis:calc(var(--spacing) * 50)}.basis-64{flex-basis:calc(var(--spacing) * 64)}.basis-full{flex-basis:100%}.-translate-x-1\/2{--tw-translate-x:calc(calc(1 / 2 * 100%) * -1);translate:var(--tw-translate-x) var(--tw-translate-y)}.-translate-x-full{--tw-translate-x:-100%;translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-x-0{--tw-translate-x:0px;translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-x-3{--tw-translate-x:calc(var(--spacing) * 3);translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-x-6{--tw-translate-x:calc(var(--spacing) * 6);translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-x-\[18px\]{--tw-translate-x:18px;translate:var(--tw-translate-x) var(--tw-translate-y)}.-translate-y-1\/2{--tw-translate-y:calc(calc(1 / 2 * 100%) * -1);translate:var(--tw-translate-x) var(--tw-translate-y)}.-translate-y-full{--tw-translate-y:-100%;translate:var(--tw-translate-x) var(--tw-translate-y)}.-rotate-90{rotate:-90deg}.rotate-90{rotate:90deg}.rotate-180{rotate:180deg}.button-press-motion{transition:background-color var(--button-transition-ms) ease, border-color var(--button-transition-ms) ease, box-shadow var(--button-transition-ms) ease, color var(--button-transition-ms) ease, transform .42s cubic-bezier(.4, 0, .2, 1)}.button-press-motion:active:not(:disabled):not([aria-disabled=true]){transition-duration:.15s,.15s,.15s,.15s,.22s;transform:scale(.98)}.button-press-motion:disabled,.button-press-motion[aria-disabled=true]{transform:none}@media (prefers-reduced-motion:reduce){.button-press-motion{transition:none;transform:none}}.transform{transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}.dot-wave-0{animation:1.2s ease-in-out infinite peach-dot-wave}.dot-wave-1{animation:1.2s ease-in-out .15s infinite peach-dot-wave}.dot-wave-2{animation:1.2s ease-in-out .3s infinite peach-dot-wave}.animate-spin{animation:var(--animate-spin)}.cursor-default{cursor:default}.cursor-ew-resize{cursor:ew-resize}.cursor-grab{cursor:grab}.cursor-move{cursor:move}.cursor-not-allowed{cursor:not-allowed}.cursor-nwse-resize{cursor:nwse-resize}.cursor-pointer{cursor:pointer}.touch-none{touch-action:none}.resize{resize:both}.scroll-mt-20{scroll-margin-top:calc(var(--spacing) * 20)}.list-disc{list-style-type:disc}.list-none{list-style-type:none}.columns-2{columns:2}.auto-cols-fr{grid-auto-columns:minmax(0,1fr)}.grid-flow-col{grid-auto-flow:column}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.grid-cols-5{grid-template-columns:repeat(5,minmax(0,1fr))}.grid-cols-7{grid-template-columns:repeat(7,minmax(0,1fr))}.flex-col{flex-direction:column}.flex-nowrap{flex-wrap:nowrap}.flex-wrap{flex-wrap:wrap}.place-items-center{place-items:center}.content-start{align-content:flex-start}.items-baseline{align-items:baseline}.items-center{align-items:center}.items-end{align-items:flex-end}.items-start{align-items:flex-start}.items-stretch{align-items:stretch}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.justify-end{justify-content:flex-end}.justify-start{justify-content:flex-start}.gap-0\.5{gap:calc(var(--spacing) * .5)}.gap-1{gap:var(--spacing)}.gap-1\.5{gap:calc(var(--spacing) * 1.5)}.gap-1\.75{gap:calc(var(--spacing) * 1.75)}.gap-2{gap:calc(var(--spacing) * 2)}.gap-2\.5{gap:calc(var(--spacing) * 2.5)}.gap-2\.25{gap:calc(var(--spacing) * 2.25)}.gap-3{gap:calc(var(--spacing) * 3)}.gap-4{gap:calc(var(--spacing) * 4)}.gap-4\.5{gap:calc(var(--spacing) * 4.5)}.gap-5{gap:calc(var(--spacing) * 5)}.gap-6{gap:calc(var(--spacing) * 6)}.gap-8{gap:calc(var(--spacing) * 8)}.gap-\[2px\]{gap:2px}.gap-\[5px\]{gap:5px}.gap-x-2{column-gap:calc(var(--spacing) * 2)}.gap-x-2\.5{column-gap:calc(var(--spacing) * 2.5)}.gap-x-4{column-gap:calc(var(--spacing) * 4)}.gap-x-6{column-gap:calc(var(--spacing) * 6)}.gap-x-7{column-gap:calc(var(--spacing) * 7)}.gap-x-8{column-gap:calc(var(--spacing) * 8)}.gap-y-0\.5{row-gap:calc(var(--spacing) * .5)}.gap-y-1{row-gap:var(--spacing)}.gap-y-2{row-gap:calc(var(--spacing) * 2)}.gap-y-3{row-gap:calc(var(--spacing) * 3)}.gap-y-6{row-gap:calc(var(--spacing) * 6)}:where(.divide-y>:not(:last-child)){--tw-divide-y-reverse:0;border-bottom-style:var(--tw-border-style);border-top-style:var(--tw-border-style);border-top-width:calc(1px * var(--tw-divide-y-reverse));border-bottom-width:calc(1px * calc(1 - var(--tw-divide-y-reverse)))}.self-center{align-self:center}.self-start{align-self:flex-start}.self-stretch{align-self:stretch}.truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-visible{overflow:visible}.overflow-x-auto{overflow-x:auto}.overflow-y-auto{overflow-y:auto}.overscroll-contain{overscroll-behavior:contain}.overscroll-x-contain{overscroll-behavior-x:contain}.rounded{border-radius:.25rem}.rounded-2-5xl{border-radius:var(--radius-2-5xl)}.rounded-2lg{border-radius:var(--radius-2lg)}.rounded-2xl{border-radius:var(--radius-2xl)}.rounded-\[0\.5px\]{border-radius:.5px}.rounded-\[0\.75px\]{border-radius:.75px}.rounded-\[1\.5px\]{border-radius:1.5px}.rounded-\[1px\]{border-radius:1px}.rounded-\[2px\]{border-radius:2px}.rounded-\[3px\]{border-radius:3px}.rounded-\[4\.5px\]{border-radius:4.5px}.rounded-floating{border-radius:var(--radius-floating)}.rounded-full{border-radius:2147483647px}.rounded-glass-key{border-radius:var(--radius-glass-key)}.rounded-lg{border-radius:var(--radius-lg)}.rounded-md{border-radius:var(--radius-md)}.rounded-sm{border-radius:var(--radius-sm)}.rounded-surface{border-radius:var(--radius-surface)}.rounded-xl{border-radius:var(--radius-xl)}.rounded-xs{border-radius:var(--radius-xs)}.rounded-l-md{border-top-left-radius:var(--radius-md);border-bottom-left-radius:var(--radius-md)}.rounded-r-md{border-top-right-radius:var(--radius-md);border-bottom-right-radius:var(--radius-md)}.rounded-b-2xl{border-bottom-right-radius:var(--radius-2xl);border-bottom-left-radius:var(--radius-2xl)}.rounded-b-surface{border-bottom-right-radius:var(--radius-surface);border-bottom-left-radius:var(--radius-surface)}.border{border-style:var(--tw-border-style);border-width:1px}.border-0{border-style:var(--tw-border-style);border-width:0}.border-\[0\.5px\]{border-style:var(--tw-border-style);border-width:.5px}.border-\[0\.25px\]{border-style:var(--tw-border-style);border-width:.25px}.border-\[0\.375px\]{border-style:var(--tw-border-style);border-width:.375px}.border-\[1\.5px\]{border-style:var(--tw-border-style);border-width:1.5px}.border-y{border-block-style:var(--tw-border-style);border-block-width:1px}.border-t{border-top-style:var(--tw-border-style);border-top-width:1px}.border-b{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.border-b-2{border-bottom-style:var(--tw-border-style);border-bottom-width:2px}.border-dashed{--tw-border-style:dashed;border-style:dashed}.border-solid{--tw-border-style:solid;border-style:solid}.border-\(--glass-low\){border-color:var(--glass-low)}.border-accent-600{border-color:var(--color-accent-600)}.border-border{border-color:var(--color-separator-border)}.border-border-button-default,.border-border-button-default\/50{border-color:var(--color-border-button-default)}@supports (color:color-mix(in lab, red, red)){.border-border-button-default\/50{border-color:color-mix(in oklab, var(--color-border-button-default) 50%, transparent)}}.border-border-checkbox-default{border-color:var(--color-border-checkbox-default)}.border-border-checkbox-hover{border-color:var(--color-border-checkbox-hover)}.border-border-error-default{border-color:var(--color-border-error-default)}.border-border\/50{border-color:var(--color-separator-border)}@supports (color:color-mix(in lab, red, red)){.border-border\/50{border-color:color-mix(in oklab, var(--color-separator-border) 50%, transparent)}}.border-current,.border-current\/15{border-color:currentColor}@supports (color:color-mix(in lab, red, red)){.border-current\/15{border-color:color-mix(in oklab, currentcolor 15%, transparent)}}.border-current\/20{border-color:currentColor}@supports (color:color-mix(in lab, red, red)){.border-current\/20{border-color:color-mix(in oklab, currentcolor 20%, transparent)}}.border-current\/35{border-color:currentColor}@supports (color:color-mix(in lab, red, red)){.border-current\/35{border-color:color-mix(in oklab, currentcolor 35%, transparent)}}.border-separator-border{border-color:var(--color-separator-border)}.border-text-primary\/15{border-color:var(--color-text-primary)}@supports (color:color-mix(in lab, red, red)){.border-text-primary\/15{border-color:color-mix(in oklab, var(--color-text-primary) 15%, transparent)}}.border-transparent{border-color:#0000}.bg-\(--keep\)\/22{background-color:var(--keep)}@supports (color:color-mix(in lab, red, red)){.bg-\(--keep\)\/22{background-color:color-mix(in oklab, var(--keep) 22%, transparent)}}.bg-background{background-color:var(--color-background-primary-default)}.bg-background-full{background-color:var(--color-background-full)}.bg-background-primary-default{background-color:var(--color-background-primary-default)}.bg-background-primary-hover{background-color:var(--color-background-primary-hover)}.bg-background-secondary-default{background-color:var(--color-background-secondary-default)}.bg-background-tertiary-default{background-color:var(--color-background-tertiary-default)}.bg-background-tertiary-error{background-color:var(--color-background-tertiary-error)}.bg-background\/70{background-color:var(--color-background-primary-default)}@supports (color:color-mix(in lab, red, red)){.bg-background\/70{background-color:color-mix(in oklab, var(--color-background-primary-default) 70%, transparent)}}.bg-border-focus-ring{background-color:var(--color-border-focus-ring)}.bg-button-ghost-background{background-color:var(--color-button-ghost-background)}.bg-card-footer{background-color:var(--card-footer,transparent)}.bg-chart-1{background-color:var(--color-chart-1)}.bg-chart-2{background-color:var(--color-chart-2)}.bg-chart-3{background-color:var(--color-chart-3)}.bg-chart-4{background-color:var(--color-chart-4)}.bg-chart-5,.bg-chart-5\/10{background-color:var(--color-chart-5)}@supports (color:color-mix(in lab, red, red)){.bg-chart-5\/10{background-color:color-mix(in oklab, var(--color-chart-5) 10%, transparent)}}.bg-chart-6,.bg-chart-6\/10{background-color:var(--color-chart-6)}@supports (color:color-mix(in lab, red, red)){.bg-chart-6\/10{background-color:color-mix(in oklab, var(--color-chart-6) 10%, transparent)}}.bg-chart-7\/10{background-color:var(--color-chart-7)}@supports (color:color-mix(in lab, red, red)){.bg-chart-7\/10{background-color:color-mix(in oklab, var(--color-chart-7) 10%, transparent)}}.bg-chart-8\/10{background-color:var(--color-chart-8)}@supports (color:color-mix(in lab, red, red)){.bg-chart-8\/10{background-color:color-mix(in oklab, var(--color-chart-8) 10%, transparent)}}.bg-current{background-color:currentColor}.bg-dropdown-item-hover-background{background-color:var(--color-dropdown-item-hover-background)}.bg-foreground{background-color:var(--color-text-primary)}.bg-input-disabled-background{background-color:var(--color-input-disabled-background)}.bg-muted-foreground{background-color:var(--color-text-secondary)}.bg-notification-information-background{background-color:var(--color-notification-information-background)}.bg-notification-success-background{background-color:var(--color-notification-success-background)}.bg-scrim{background-color:var(--color-scrim)}.bg-status-blue-background{background-color:var(--color-status-blue-background)}.bg-status-cyan-background{background-color:var(--color-status-cyan-background)}.bg-status-lime-background{background-color:var(--color-status-lime-background)}.bg-status-lime-text{background-color:var(--color-status-lime-text)}.bg-status-purple-background{background-color:var(--color-status-purple-background)}.bg-status-rose-background{background-color:var(--color-status-rose-background)}.bg-status-yellow-background{background-color:var(--color-status-yellow-background)}.bg-status-yellow-text{background-color:var(--color-status-yellow-text)}.bg-text-primary\/10{background-color:var(--color-text-primary)}@supports (color:color-mix(in lab, red, red)){.bg-text-primary\/10{background-color:color-mix(in oklab, var(--color-text-primary) 10%, transparent)}}.bg-text-tertiary{background-color:var(--color-text-tertiary)}.bg-text-white{background-color:var(--color-text-white)}.bg-transparent{background-color:#0000}.bg-transparent\!{background-color:#0000!important}.bg-linear-to-b{--tw-gradient-position:to bottom}@supports (background-image:linear-gradient(in lab, red, red)){.bg-linear-to-b{--tw-gradient-position:to bottom in oklab}}.bg-linear-to-b{background-image:linear-gradient(var(--tw-gradient-stops))}.bg-linear-to-t{--tw-gradient-position:to top}@supports (background-image:linear-gradient(in lab, red, red)){.bg-linear-to-t{--tw-gradient-position:to top in oklab}}.bg-linear-to-t{background-image:linear-gradient(var(--tw-gradient-stops))}.bg-\(image\:--crop-preview\){background-image:var(--crop-preview)}.from-accent-400{--tw-gradient-from:var(--color-accent-400);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.from-accent-500{--tw-gradient-from:var(--color-accent-500);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.from-control-indicator-background{--tw-gradient-from:var(--color-control-indicator-background);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.from-switch-off-chip-start{--tw-gradient-from:var(--color-switch-off-chip-start);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.from-switch-on-chip-start{--tw-gradient-from:var(--color-switch-on-chip-start);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.from-\[43\.837\%\]{--tw-gradient-from-position:43.837%}.to-accent-500{--tw-gradient-to:var(--color-accent-500);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.to-accent-600{--tw-gradient-to:var(--color-accent-600);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.to-control-indicator-background-subtle{--tw-gradient-to:var(--color-control-indicator-background-subtle);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.to-switch-off-chip-end{--tw-gradient-to:var(--color-switch-off-chip-end);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.to-switch-on-chip-end{--tw-gradient-to:var(--color-switch-on-chip-end);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.bg-\(length\:--crop-preview-size\){background-size:var(--crop-preview-size)}.bg-\(position\:--crop-preview-at\){background-position:var(--crop-preview-at)}.bg-no-repeat{background-repeat:no-repeat}.fill-background-secondary-default{fill:var(--color-background-secondary-default)}.fill-background-tertiary-default{fill:var(--color-background-tertiary-default)}.fill-border-focus-ring{fill:var(--color-border-focus-ring)}.fill-chart-1{fill:var(--color-chart-1)}.fill-chart-2{fill:var(--color-chart-2)}.fill-chart-3{fill:var(--color-chart-3)}.fill-chart-4{fill:var(--color-chart-4)}.fill-chart-5{fill:var(--color-chart-5)}.fill-chart-6{fill:var(--color-chart-6)}.fill-chart-track{fill:var(--color-chart-track)}.fill-current{fill:currentColor}.fill-text-secondary{fill:var(--color-text-secondary)}.stroke-chart-1{stroke:var(--color-chart-1)}.stroke-chart-2{stroke:var(--color-chart-2)}.stroke-chart-3{stroke:var(--color-chart-3)}.stroke-chart-4{stroke:var(--color-chart-4)}.stroke-chart-5{stroke:var(--color-chart-5)}.stroke-chart-6{stroke:var(--color-chart-6)}.stroke-current{stroke:currentColor}.stroke-2{stroke-width:2px}.object-contain{object-fit:contain}.object-cover{object-fit:cover}.p-0{padding:0}.p-1{padding:var(--spacing)}.p-2{padding:calc(var(--spacing) * 2)}.p-2\.5{padding:calc(var(--spacing) * 2.5)}.p-3{padding:calc(var(--spacing) * 3)}.p-4{padding:calc(var(--spacing) * 4)}.p-5{padding:calc(var(--spacing) * 5)}.p-6{padding:calc(var(--spacing) * 6)}.p-\[1\.5px\]{padding:1.5px}.px-0\.5{padding-inline:calc(var(--spacing) * .5)}.px-1{padding-inline:var(--spacing)}.px-1\.5{padding-inline:calc(var(--spacing) * 1.5)}.px-2{padding-inline:calc(var(--spacing) * 2)}.px-2\.5{padding-inline:calc(var(--spacing) * 2.5)}.px-2\.25{padding-inline:calc(var(--spacing) * 2.25)}.px-3{padding-inline:calc(var(--spacing) * 3)}.px-4{padding-inline:calc(var(--spacing) * 4)}.px-5{padding-inline:calc(var(--spacing) * 5)}.px-6{padding-inline:calc(var(--spacing) * 6)}.px-\[7px\]{padding-inline:7px}.py-0\.5{padding-block:calc(var(--spacing) * .5)}.py-1{padding-block:var(--spacing)}.py-1\.5{padding-block:calc(var(--spacing) * 1.5)}.py-1\.25{padding-block:calc(var(--spacing) * 1.25)}.py-2{padding-block:calc(var(--spacing) * 2)}.py-2\.5{padding-block:calc(var(--spacing) * 2.5)}.py-3{padding-block:calc(var(--spacing) * 3)}.py-3\.5{padding-block:calc(var(--spacing) * 3.5)}.py-4{padding-block:calc(var(--spacing) * 4)}.py-5{padding-block:calc(var(--spacing) * 5)}.py-12{padding-block:calc(var(--spacing) * 12)}.py-px{padding-block:1px}.pt-0\.5{padding-top:calc(var(--spacing) * .5)}.pt-1{padding-top:var(--spacing)}.pt-1\.5{padding-top:calc(var(--spacing) * 1.5)}.pt-2{padding-top:calc(var(--spacing) * 2)}.pt-2\.5{padding-top:calc(var(--spacing) * 2.5)}.pt-3{padding-top:calc(var(--spacing) * 3)}.pt-3\.5{padding-top:calc(var(--spacing) * 3.5)}.pt-4{padding-top:calc(var(--spacing) * 4)}.pt-5{padding-top:calc(var(--spacing) * 5)}.pt-px{padding-top:1px}.pr-1\.5{padding-right:calc(var(--spacing) * 1.5)}.pr-2{padding-right:calc(var(--spacing) * 2)}.pr-2\.5{padding-right:calc(var(--spacing) * 2.5)}.pr-3{padding-right:calc(var(--spacing) * 3)}.pb-1{padding-bottom:var(--spacing)}.pb-3{padding-bottom:calc(var(--spacing) * 3)}.pb-4{padding-bottom:calc(var(--spacing) * 4)}.pb-5{padding-bottom:calc(var(--spacing) * 5)}.pb-10{padding-bottom:calc(var(--spacing) * 10)}.pb-10\.5{padding-bottom:calc(var(--spacing) * 10.5)}.pl-1{padding-left:var(--spacing)}.pl-3{padding-left:calc(var(--spacing) * 3)}.pl-5{padding-left:calc(var(--spacing) * 5)}.text-center{text-align:center}.text-left{text-align:left}.text-right{text-align:right}.align-middle{vertical-align:middle}.font-mono{font-family:var(--font-mono)}.font-sans{font-family:var(--font-sans)}.text-body-2-medium{font-size:var(--text-body-2-medium);line-height:var(--tw-leading,var(--text-body-2-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-body-2-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-2-medium--font-weight))}.text-body-2-regular{font-size:var(--text-body-2-regular);line-height:var(--tw-leading,var(--text-body-2-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-body-2-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-2-regular--font-weight))}.text-body-bold{font-size:var(--text-body-bold);line-height:var(--tw-leading,var(--text-body-bold--line-height));letter-spacing:var(--tw-tracking,var(--text-body-bold--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-bold--font-weight))}.text-body-medium{font-size:var(--text-body-medium);line-height:var(--tw-leading,var(--text-body-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-body-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-medium--font-weight))}.text-body-regular{font-size:var(--text-body-regular);line-height:var(--tw-leading,var(--text-body-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-body-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-regular--font-weight))}.text-body-semibold{font-size:var(--text-body-semibold);line-height:var(--tw-leading,var(--text-body-semibold--line-height));letter-spacing:var(--tw-tracking,var(--text-body-semibold--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-semibold--font-weight))}.text-caption-1-medium{font-size:var(--text-caption-1-medium);line-height:var(--tw-leading,var(--text-caption-1-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-caption-1-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-caption-1-medium--font-weight))}.text-caption-1-regular{font-size:var(--text-caption-1-regular);line-height:var(--tw-leading,var(--text-caption-1-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-caption-1-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-caption-1-regular--font-weight))}.text-caption-1-semibold{font-size:var(--text-caption-1-semibold);line-height:var(--tw-leading,var(--text-caption-1-semibold--line-height));letter-spacing:var(--tw-tracking,var(--text-caption-1-semibold--letter-spacing));font-weight:var(--tw-font-weight,var(--text-caption-1-semibold--font-weight))}.text-display-4-medium{font-size:var(--text-display-4-medium);line-height:var(--tw-leading,var(--text-display-4-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-display-4-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-display-4-medium--font-weight))}.text-display-4-medium\!{font-size:var(--text-display-4-medium)!important;line-height:var(--tw-leading,var(--text-display-4-medium--line-height))!important;letter-spacing:var(--tw-tracking,var(--text-display-4-medium--letter-spacing))!important;font-weight:var(--tw-font-weight,var(--text-display-4-medium--font-weight))!important}.text-headline-medium{font-size:var(--text-headline-medium);line-height:var(--tw-leading,var(--text-headline-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-headline-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-headline-medium--font-weight))}.text-title-1-medium{font-size:var(--text-title-1-medium);line-height:var(--tw-leading,var(--text-title-1-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-title-1-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-1-medium--font-weight))}.text-title-1-regular{font-size:var(--text-title-1-regular);line-height:var(--tw-leading,var(--text-title-1-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-title-1-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-1-regular--font-weight))}.text-title-1-semibold{font-size:var(--text-title-1-semibold);line-height:var(--tw-leading,var(--text-title-1-semibold--line-height));letter-spacing:var(--tw-tracking,var(--text-title-1-semibold--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-1-semibold--font-weight))}.text-title-2-medium{font-size:var(--text-title-2-medium);line-height:var(--tw-leading,var(--text-title-2-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-title-2-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-2-medium--font-weight))}.text-title-2-medium\!{font-size:var(--text-title-2-medium)!important;line-height:var(--tw-leading,var(--text-title-2-medium--line-height))!important;letter-spacing:var(--tw-tracking,var(--text-title-2-medium--letter-spacing))!important;font-weight:var(--tw-font-weight,var(--text-title-2-medium--font-weight))!important}.text-title-2-regular{font-size:var(--text-title-2-regular);line-height:var(--tw-leading,var(--text-title-2-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-title-2-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-2-regular--font-weight))}.text-title-2-semibold{font-size:var(--text-title-2-semibold);line-height:var(--tw-leading,var(--text-title-2-semibold--line-height));letter-spacing:var(--tw-tracking,var(--text-title-2-semibold--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-2-semibold--font-weight))}.text-title-3-medium{font-size:var(--text-title-3-medium);line-height:var(--tw-leading,var(--text-title-3-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-title-3-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-3-medium--font-weight))}.text-title-3-semibold{font-size:var(--text-title-3-semibold);line-height:var(--tw-leading,var(--text-title-3-semibold--line-height));letter-spacing:var(--tw-tracking,var(--text-title-3-semibold--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-3-semibold--font-weight))}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.text-\[8px\]{font-size:8px}.leading-4\.5{--tw-leading:calc(var(--spacing) * 4.5);line-height:calc(var(--spacing) * 4.5)}.leading-5{--tw-leading:calc(var(--spacing) * 5);line-height:calc(var(--spacing) * 5)}.leading-empty-copy{--tw-leading:var(--leading-empty-copy);line-height:var(--leading-empty-copy)}.leading-none{--tw-leading:1;line-height:1}.leading-tight{--tw-leading:var(--leading-tight);line-height:var(--leading-tight)}.font-bold{--tw-font-weight:var(--font-weight-bold);font-weight:var(--font-weight-bold)}.font-medium{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.font-normal{--tw-font-weight:var(--font-weight-normal);font-weight:var(--font-weight-normal)}.font-semibold{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.tracking-caps{--tw-tracking:var(--tracking-caps);letter-spacing:var(--tracking-caps)}.break-words{overflow-wrap:break-word}.break-all{word-break:break-all}.whitespace-normal{white-space:normal}.whitespace-nowrap{white-space:nowrap}.whitespace-pre{white-space:pre}.text-\(--glass-text\)\/60{color:var(--glass-text)}@supports (color:color-mix(in lab, red, red)){.text-\(--glass-text\)\/60{color:color-mix(in oklab, var(--glass-text) 60%, transparent)}}.text-\(--glass-text\)\/62{color:var(--glass-text)}@supports (color:color-mix(in lab, red, red)){.text-\(--glass-text\)\/62{color:color-mix(in oklab, var(--glass-text) 62%, transparent)}}.text-\(--keep\){color:var(--keep)}.text-accent-600{color:var(--color-accent-600)}.text-background{color:var(--color-background-primary-default)}.text-background-tertiary-default{color:var(--color-background-tertiary-default)}.text-border,.text-border\/60{color:var(--color-separator-border)}@supports (color:color-mix(in lab, red, red)){.text-border\/60{color:color-mix(in oklab, var(--color-separator-border) 60%, transparent)}}.text-button-ghost-foreground{color:var(--color-button-ghost-foreground)}.text-chart-5{color:var(--color-chart-5)}.text-chart-6{color:var(--color-chart-6)}.text-chart-7{color:var(--color-chart-7)}.text-chart-8{color:var(--color-chart-8)}.text-foreground{color:var(--color-text-primary)}.text-foreground-full{color:var(--color-foreground-full)}.text-foreground-icon-error{color:var(--color-foreground-icon-error)}.text-foreground-icon-primary{color:var(--color-foreground-icon-primary)}.text-foreground-icon-quaternary{color:var(--color-foreground-icon-quaternary)}.text-foreground-icon-secondary{color:var(--color-foreground-icon-secondary)}.text-foreground-icon-tertiary{color:var(--color-foreground-icon-tertiary)}.text-inherit{color:inherit}.text-input-disabled-foreground{color:var(--color-input-disabled-foreground)}.text-muted-foreground{color:var(--color-text-secondary)}.text-notification-information-foreground{color:var(--color-notification-information-foreground)}.text-notification-success-foreground{color:var(--color-notification-success-foreground)}.text-status-blue-text{color:var(--color-status-blue-text)}.text-status-cyan-text{color:var(--color-status-cyan-text)}.text-status-lime-text{color:var(--color-status-lime-text)}.text-status-purple-text{color:var(--color-status-purple-text)}.text-status-rose-text{color:var(--color-status-rose-text)}.text-status-yellow-text{color:var(--color-status-yellow-text)}.text-text-disabled{color:var(--color-text-disabled)}.text-text-error-primary{color:var(--color-text-error-primary)}.text-text-primary{color:var(--color-text-primary)}.text-text-secondary{color:var(--color-text-secondary)}.text-text-tertiary{color:var(--color-text-tertiary)}.text-text-white{color:var(--color-text-white)}.uppercase{text-transform:uppercase}.not-italic{font-style:normal}.ordinal{--tw-ordinal:ordinal;font-variant-numeric:var(--tw-ordinal,) var(--tw-slashed-zero,) var(--tw-numeric-figure,) var(--tw-numeric-spacing,) var(--tw-numeric-fraction,)}.tabular-nums{--tw-numeric-spacing:tabular-nums;font-variant-numeric:var(--tw-ordinal,) var(--tw-slashed-zero,) var(--tw-numeric-figure,) var(--tw-numeric-spacing,) var(--tw-numeric-fraction,)}.underline{text-decoration-line:underline}.underline-offset-2{text-underline-offset:2px}.underline-offset-3{text-underline-offset:3px}.underline-offset-4{text-underline-offset:4px}.reveal-content{opacity:0;filter:blur(2px);transition:opacity var(--motion-reveal), filter var(--motion-reveal)}.reveal-content[data-revealed]{opacity:1;filter:none}.reveal-skeleton{transition:opacity var(--motion-reveal), filter var(--motion-reveal)}.reveal-skeleton[data-revealed]{opacity:0;filter:blur(2px)}.opacity-0{opacity:0}.opacity-15{opacity:.15}.opacity-25{opacity:.25}.opacity-30{opacity:.3}.opacity-50{opacity:.5}.opacity-60{opacity:.6}.opacity-100{opacity:1}.shadow{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a), 0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[0_2px_2px_0_rgb\(0_0_0\/0\.03\)\]{--tw-shadow:0 2px 2px 0 var(--tw-shadow-color,#00000008);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[0_3px_3px_0_rgb\(0_0_0\/0\.03\)\,0_0\.75px_0_0_rgb\(0_0_0\/0\.05\)\]{--tw-shadow:0 3px 3px 0 var(--tw-shadow-color,#00000008), 0 .75px 0 0 var(--tw-shadow-color,#0000000d);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[0_3px_3px_0_rgb\(0_0_0\/0\.03\)\]{--tw-shadow:0 3px 3px 0 var(--tw-shadow-color,#00000008);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[0_4px_4px_0_rgb\(0_0_0\/0\.03\)\]{--tw-shadow:0 4px 4px 0 var(--tw-shadow-color,#00000008);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[inset_0_1\.5px_0_0_rgb\(255_255_255\/0\.25\)\,inset_0_0_0_0\.75px_var\(--color-accent-500\)\]{--tw-shadow:inset 0 1.5px 0 0 var(--tw-shadow-color,#ffffff40), inset 0 0 0 .75px var(--tw-shadow-color,var(--color-accent-500));box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[inset_0_1px_0_0_rgb\(255_255_255\/0\.25\)\,inset_0_0_0_0\.5px_var\(--color-accent-500\)\]{--tw-shadow:inset 0 1px 0 0 var(--tw-shadow-color,#ffffff40), inset 0 0 0 .5px var(--tw-shadow-color,var(--color-accent-500));box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-card{--tw-shadow:var(--elevation-card);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-checkbox-selected{--tw-shadow:inset 0 2px 0 0 var(--tw-shadow-color,#ffffff40), inset 0 0 0 1px var(--tw-shadow-color,var(--color-accent-500));box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-dropdown{--tw-shadow:var(--elevation-dropdown);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-xl{--tw-shadow:var(--elevation-xl);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-xs{--tw-shadow:var(--elevation-xs);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow\/xs{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a), 0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.ring-2{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.ring-background-full{--tw-ring-color:var(--color-background-full)}.ring-border-button-active{--tw-ring-color:var(--color-border-button-active)}.ring-border-button-hover{--tw-ring-color:var(--color-border-button-hover)}.ring-border-focus-ring{--tw-ring-color:var(--color-border-focus-ring)}.ring-transparent{--tw-ring-color:transparent}.ring-offset-2{--tw-ring-offset-width:2px;--tw-ring-offset-shadow:var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.blur{--tw-blur:blur(8px);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.drop-shadow-sm{--tw-drop-shadow-size:drop-shadow(0 1px 2px var(--tw-drop-shadow-color,#00000026));--tw-drop-shadow:drop-shadow(var(--drop-shadow-sm));filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.filter{filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.backdrop-blur-\[2px\]{--tw-backdrop-blur:blur(2px);-webkit-backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,)}.backdrop-blur-sm{--tw-backdrop-blur:blur(var(--blur-sm));-webkit-backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[background-color\,border-color\,box-shadow\,color\]{transition-property:background-color,border-color,box-shadow,color;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[background-color\,border-color\,box-shadow\,padding\,font-size\]{transition-property:background-color,border-color,box-shadow,padding,font-size;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[background-color\,border-color\,box-shadow\]{transition-property:background-color,border-color,box-shadow;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[background-color\,box-shadow\,color\]{transition-property:background-color,box-shadow,color;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[padding\,font-size\]{transition-property:padding,font-size;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-opacity{transition-property:opacity;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-transform{transition-property:transform,translate,scale,rotate;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.duration-150{--tw-duration:.15s;transition-duration:.15s}.duration-200{--tw-duration:.2s;transition-duration:.2s}.duration-\[var\(--input-transition-ms\)\]{--tw-duration:var(--input-transition-ms);transition-duration:var(--input-transition-ms)}.ease-in-out{--tw-ease:var(--ease-in-out);transition-timing-function:var(--ease-in-out)}.ease-out{--tw-ease:var(--ease-out);transition-timing-function:var(--ease-out)}.outline-none{--tw-outline-style:none;outline-style:none}.select-none{-webkit-user-select:none;user-select:none}.ring-inset{--tw-ring-inset:inset}@media (hover:hover){.group-hover\:border-border-checkbox-hover:is(:where(.group):hover *){border-color:var(--color-border-checkbox-hover)}.group-hover\:bg-background-primary-hover:is(:where(.group):hover *){background-color:var(--color-background-primary-hover)}.group-hover\:bg-foreground:is(:where(.group):hover *){background-color:var(--color-text-primary)}.group-hover\:opacity-100:is(:where(.group):hover *){opacity:1}}.group-data-selected\:border-border-focus-ring:is(:where(.group)[data-selected] *){border-color:var(--color-border-focus-ring)}.group-data-selected\:bg-accent-600:is(:where(.group)[data-selected] *){background-color:var(--color-accent-600)}.group-data-selected\:bg-background-primary-hover:is(:where(.group)[data-selected] *){background-color:var(--color-background-primary-hover)}.group-data-selected\:opacity-100:is(:where(.group)[data-selected] *){opacity:1}.placeholder\:text-text-tertiary::placeholder{color:var(--color-text-tertiary)}.after\:absolute:after{content:var(--tw-content);position:absolute}.after\:inset-y-0:after{content:var(--tw-content);inset-block:0}.after\:-left-4:after{content:var(--tw-content);left:calc(var(--spacing) * -4)}.after\:w-11:after{content:var(--tw-content);width:calc(var(--spacing) * 11)}.after\:content-\[\'\'\]:after{--tw-content:"";content:var(--tw-content)}.first\:border-t-0:first-child{border-top-style:var(--tw-border-style);border-top-width:0}.first\:pt-1:first-child{padding-top:var(--spacing)}.last\:border-b-0:last-child{border-bottom-style:var(--tw-border-style);border-bottom-width:0}.last\:pb-1:last-child{padding-bottom:var(--spacing)}.empty\:hidden:empty{display:none}@media (hover:hover){.hover\:border-solid:hover{--tw-border-style:solid;border-style:solid}.hover\:border-\(--glass-rim\):hover{border-color:var(--glass-rim)}.hover\:border-border-button-hover:hover{border-color:var(--color-border-button-hover)}.hover\:bg-\(--glass-pick-fill\):hover{background-color:var(--glass-pick-fill)}.hover\:bg-background-primary-hover:hover,.hover\:bg-background-primary-hover\/60:hover{background-color:var(--color-background-primary-hover)}@supports (color:color-mix(in lab, red, red)){.hover\:bg-background-primary-hover\/60:hover{background-color:color-mix(in oklab, var(--color-background-primary-hover) 60%, transparent)}}.hover\:bg-button-ghost-hover:hover{background-color:var(--color-button-ghost-hover)}.hover\:bg-dropdown-item-hover-background:hover{background-color:var(--color-dropdown-item-hover-background)}.hover\:text-\(--glass-text\):hover{color:var(--glass-text)}.hover\:text-foreground-icon-primary:hover{color:var(--color-foreground-icon-primary)}.hover\:text-text-primary:hover{color:var(--color-text-primary)}.hover\:text-text-secondary:hover{color:var(--color-text-secondary)}.hover\:underline:hover{text-decoration-line:underline}.not-data-selected\:hover\:bg-card-hover:not([data-selected]):hover{background-color:var(--card-hover,transparent)}}.focus\:placeholder\:text-text-primary:focus::placeholder{color:var(--color-text-primary)}.focus-visible\:bg-dropdown-item-hover-background:focus-visible{background-color:var(--color-dropdown-item-hover-background)}.focus-visible\:stroke-border-focus-ring:focus-visible{stroke:var(--color-border-focus-ring)}.focus-visible\:opacity-100:focus-visible{opacity:1}.focus-visible\:ring-2:focus-visible{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.focus-visible\:ring-4:focus-visible{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(4px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.focus-visible\:ring-border-focus-ring:focus-visible{--tw-ring-color:var(--color-border-focus-ring)}.focus-visible\:ring-offset-2:focus-visible{--tw-ring-offset-width:2px;--tw-ring-offset-shadow:var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)}.focus-visible\:ring-offset-3:focus-visible{--tw-ring-offset-width:3px;--tw-ring-offset-shadow:var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)}.focus-visible\:outline-2:focus-visible{outline-style:var(--tw-outline-style);outline-width:2px}.focus-visible\:-outline-offset-3:focus-visible{outline-offset:calc(3px * -1)}.focus-visible\:outline-border-focus-ring:focus-visible{outline-color:var(--color-border-focus-ring)}.focus-visible\:ring-inset:focus-visible{--tw-ring-inset:inset}.active\:cursor-grabbing:active{cursor:grabbing}.active\:border-border-button-active:active{border-color:var(--color-border-button-active)}.active\:bg-background-primary-active:active{background-color:var(--color-background-primary-active)}.active\:bg-button-ghost-active:active{background-color:var(--color-button-ghost-active)}.active\:text-accent-800:active{color:var(--color-accent-800)}.active\:text-text-primary:active{color:var(--color-text-primary)}.disabled\:cursor-default:disabled{cursor:default}.disabled\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\:border-border-button-default:disabled{border-color:var(--color-border-button-default)}.disabled\:bg-background-primary-disabled:disabled{background-color:var(--color-background-primary-disabled)}.disabled\:bg-button-ghost-disabled:disabled{background-color:var(--color-button-ghost-disabled)}.disabled\:text-button-ghost-disabled-foreground:disabled{color:var(--color-button-ghost-disabled-foreground)}.disabled\:text-button-primary-disabled-foreground:disabled{color:var(--color-button-primary-disabled-foreground)}.disabled\:text-foreground-disabled-danger:disabled{color:var(--color-foreground-disabled-danger)}.disabled\:text-icon-button-disabled-foreground:disabled{color:var(--color-icon-button-disabled-foreground)}.disabled\:text-input-disabled-text:disabled{color:var(--color-input-disabled-text)}.disabled\:text-text-tertiary:disabled{color:var(--color-text-tertiary)}.disabled\:no-underline:disabled{text-decoration-line:none}.disabled\:opacity-60:disabled{opacity:.6}.disabled\:shadow-none:disabled{--tw-shadow:0 0 #0000;box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.disabled\:placeholder\:text-input-disabled-text:disabled::placeholder{color:var(--color-input-disabled-text)}.aria-busy\:cursor-wait[aria-busy=true]{cursor:wait}.aria-busy\:opacity-55[aria-busy=true]{opacity:.55}.aria-checked\:bg-background-tertiary-default[aria-checked=true]{background-color:var(--color-background-tertiary-default)}.aria-checked\:text-text-primary[aria-checked=true]{color:var(--color-text-primary)}.aria-disabled\:cursor-not-allowed[aria-disabled=true]{cursor:not-allowed}.aria-disabled\:cursor-progress[aria-disabled=true]{cursor:progress}.aria-disabled\:border-border-button-default[aria-disabled=true]{border-color:var(--color-border-button-default)}.aria-disabled\:bg-background-primary-disabled[aria-disabled=true]{background-color:var(--color-background-primary-disabled)}.aria-disabled\:bg-button-ghost-disabled[aria-disabled=true]{background-color:var(--color-button-ghost-disabled)}.aria-disabled\:text-button-ghost-disabled-foreground[aria-disabled=true]{color:var(--color-button-ghost-disabled-foreground)}.aria-disabled\:text-button-primary-disabled-foreground[aria-disabled=true]{color:var(--color-button-primary-disabled-foreground)}.aria-disabled\:text-foreground-disabled-danger[aria-disabled=true]{color:var(--color-foreground-disabled-danger)}.aria-disabled\:text-text-tertiary[aria-disabled=true]{color:var(--color-text-tertiary)}.aria-disabled\:no-underline[aria-disabled=true]{text-decoration-line:none}.aria-disabled\:opacity-60[aria-disabled=true]{opacity:.6}.aria-disabled\:shadow-none[aria-disabled=true]{--tw-shadow:0 0 #0000;box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.aria-expanded\:bg-background-primary-hover[aria-expanded=true]{background-color:var(--color-background-primary-hover)}.aria-expanded\:text-foreground-icon-primary[aria-expanded=true]{color:var(--color-foreground-icon-primary)}.aria-invalid\:placeholder\:text-text-error-placeholder[aria-invalid=true]::placeholder{color:var(--color-text-error-placeholder)}.aria-pressed\:bg-chart-1\/10[aria-pressed=true]{background-color:var(--color-chart-1)}@supports (color:color-mix(in lab, red, red)){.aria-pressed\:bg-chart-1\/10[aria-pressed=true]{background-color:color-mix(in oklab, var(--color-chart-1) 10%, transparent)}}.aria-pressed\:bg-chart-2\/10[aria-pressed=true]{background-color:var(--color-chart-2)}@supports (color:color-mix(in lab, red, red)){.aria-pressed\:bg-chart-2\/10[aria-pressed=true]{background-color:color-mix(in oklab, var(--color-chart-2) 10%, transparent)}}.aria-pressed\:bg-chart-3\/10[aria-pressed=true]{background-color:var(--color-chart-3)}@supports (color:color-mix(in lab, red, red)){.aria-pressed\:bg-chart-3\/10[aria-pressed=true]{background-color:color-mix(in oklab, var(--color-chart-3) 10%, transparent)}}.aria-pressed\:bg-chart-4\/10[aria-pressed=true]{background-color:var(--color-chart-4)}@supports (color:color-mix(in lab, red, red)){.aria-pressed\:bg-chart-4\/10[aria-pressed=true]{background-color:color-mix(in oklab, var(--color-chart-4) 10%, transparent)}}.aria-pressed\:bg-chart-5\/10[aria-pressed=true]{background-color:var(--color-chart-5)}@supports (color:color-mix(in lab, red, red)){.aria-pressed\:bg-chart-5\/10[aria-pressed=true]{background-color:color-mix(in oklab, var(--color-chart-5) 10%, transparent)}}.aria-pressed\:bg-chart-6\/10[aria-pressed=true]{background-color:var(--color-chart-6)}@supports (color:color-mix(in lab, red, red)){.aria-pressed\:bg-chart-6\/10[aria-pressed=true]{background-color:color-mix(in oklab, var(--color-chart-6) 10%, transparent)}}.aria-pressed\:ring-1[aria-pressed=true]{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.aria-pressed\:ring-chart-1[aria-pressed=true]{--tw-ring-color:var(--color-chart-1)}.aria-pressed\:ring-chart-2[aria-pressed=true]{--tw-ring-color:var(--color-chart-2)}.aria-pressed\:ring-chart-3[aria-pressed=true]{--tw-ring-color:var(--color-chart-3)}.aria-pressed\:ring-chart-4[aria-pressed=true]{--tw-ring-color:var(--color-chart-4)}.aria-pressed\:ring-chart-5[aria-pressed=true]{--tw-ring-color:var(--color-chart-5)}.aria-pressed\:ring-chart-6[aria-pressed=true]{--tw-ring-color:var(--color-chart-6)}.aria-pressed\:ring-inset[aria-pressed=true]{--tw-ring-inset:inset}.aria-selected\:border-border-focus-ring[aria-selected=true]{border-color:var(--color-border-focus-ring)}.aria-selected\:bg-background-primary-default[aria-selected=true]{background-color:var(--color-background-primary-default)}.aria-selected\:bg-background-tertiary-default[aria-selected=true]{background-color:var(--color-background-tertiary-default)}.aria-selected\:font-medium[aria-selected=true]{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.aria-selected\:text-border-focus-ring[aria-selected=true]{color:var(--color-border-focus-ring)}.aria-selected\:text-text-primary[aria-selected=true]{color:var(--color-text-primary)}.aria-selected\:shadow-card[aria-selected=true]{--tw-shadow:var(--elevation-card);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.data-disabled\:cursor-not-allowed[data-disabled]{cursor:not-allowed}.data-focus-visible\:ring-2[data-focus-visible]{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.data-focus-visible\:ring-border-focus-ring[data-focus-visible]{--tw-ring-color:var(--color-border-focus-ring)}.data-selected\:border-border-button-active[data-selected]{border-color:var(--color-border-button-active)}.data-selected\:bg-background-primary-default[data-selected]{background-color:var(--color-background-primary-default)}.data-selected\:bg-dropdown-item-hover-background[data-selected]{background-color:var(--color-dropdown-item-hover-background)}.data-selected\:text-\(--glass-text\)[data-selected]{color:var(--glass-text)}.data-selected\:text-text-primary[data-selected]{color:var(--color-text-primary)}.data-selected\:shadow-card[data-selected]{--tw-shadow:var(--elevation-card);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.data-selected\:shadow-none[data-selected]{--tw-shadow:0 0 #0000;box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.data-selected\:after\:pointer-events-none[data-selected]:after{content:var(--tw-content);pointer-events:none}.data-selected\:after\:absolute[data-selected]:after{content:var(--tw-content);position:absolute}.data-selected\:after\:inset-0[data-selected]:after{content:var(--tw-content);inset:0}.data-selected\:after\:z-1[data-selected]:after{content:var(--tw-content);z-index:1}.data-selected\:after\:rounded-\[inherit\][data-selected]:after{content:var(--tw-content);border-radius:inherit}.data-selected\:after\:border-2[data-selected]:after{content:var(--tw-content);border-style:var(--tw-border-style);border-width:2px}.data-selected\:after\:border-border-focus-ring[data-selected]:after{content:var(--tw-content);border-color:var(--color-border-focus-ring)}.data-\[entering\]\:scale-95[data-entering]{--tw-scale-x:95%;--tw-scale-y:95%;--tw-scale-z:95%;scale:var(--tw-scale-x) var(--tw-scale-y)}.data-\[entering\]\:opacity-0[data-entering]{opacity:0}.data-\[entering\]\:blur-\[2px\][data-entering]{--tw-blur:blur(2px);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.data-\[exiting\]\:scale-95[data-exiting]{--tw-scale-x:95%;--tw-scale-y:95%;--tw-scale-z:95%;scale:var(--tw-scale-x) var(--tw-scale-y)}.data-\[exiting\]\:opacity-0[data-exiting]{opacity:0}.data-\[exiting\]\:blur-\[2px\][data-exiting]{--tw-blur:blur(2px);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.data-\[placement\=bottom\]\:origin-top-left[data-placement=bottom]{transform-origin:0 0}.data-\[placement\=left\]\:origin-right[data-placement=left]{transform-origin:100%}.data-\[placement\=right\]\:origin-left[data-placement=right]{transform-origin:0}.data-\[placement\=top\]\:origin-bottom-left[data-placement=top]{transform-origin:0 100%}@media not all and (width>=1120px){.max-plain-stat-pair\:grid-flow-row{grid-auto-flow:row}.max-plain-stat-pair\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}}@media not all and (width>=1001px){.max-\[1001px\]\:justify-start{justify-content:flex-start}.max-\[1001px\]\:pt-0{padding-top:0}}@media not all and (width>=901px){.max-duplicate-narrow\:col-span-full{grid-column:1/-1}.max-duplicate-narrow\:col-start-2{grid-column-start:2}.max-duplicate-narrow\:-col-end-1{grid-column-end:calc(1 * -1)}}@media not all and (width>=761px){.max-board-narrow\:order-1{order:1}.max-board-narrow\:order-2{order:2}.max-board-narrow\:order-3{order:3}.max-board-narrow\:block{display:block}.max-cleanup-tight\:min-h-0{min-height:0}.max-board-narrow\:max-w-none{max-width:none}.max-board-narrow\:min-w-0{min-width:0}.max-board-narrow\:basis-40{flex-basis:calc(var(--spacing) * 40)}.max-board-narrow\:flex-col{flex-direction:column}.max-board-narrow\:items-stretch{align-items:stretch}.max-board-narrow\:gap-0{gap:0}.max-cleanup-tight\:gap-3{gap:calc(var(--spacing) * 3)}.max-cleanup-tight\:p-4\.5{padding:calc(var(--spacing) * 4.5)}.max-board-narrow\:px-2\.25{padding-inline:calc(var(--spacing) * 2.25)}.max-cleanup-tight\:px-4\.5{padding-inline:calc(var(--spacing) * 4.5)}.max-board-narrow\:text-body-2-regular{font-size:var(--text-body-2-regular);line-height:var(--tw-leading,var(--text-body-2-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-body-2-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-2-regular--font-weight))}.max-board-narrow\:text-title-1-medium{font-size:var(--text-title-1-medium);line-height:var(--tw-leading,var(--text-title-1-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-title-1-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-1-medium--font-weight))}}@media not all and (width>=601px){.max-compact\:ml-0{margin-left:0}.max-compact\:w-full{width:100%}.max-compact\:flex-col{flex-direction:column}.max-compact\:items-start{align-items:flex-start}.max-compact\:gap-3{gap:calc(var(--spacing) * 3)}.max-compact\:p-4{padding:calc(var(--spacing) * 4)}}@media not all and (width>=560px){.max-plain-stat-single\:grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}}@media not all and (width>=40rem){.max-sm\:-mx-4{margin-inline:calc(var(--spacing) * -4)}.max-sm\:size-6{width:calc(var(--spacing) * 6);height:calc(var(--spacing) * 6)}.max-sm\:h-65{height:calc(var(--spacing) * 65)}.max-sm\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.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\:p-4{padding:calc(var(--spacing) * 4)}.max-sm\:px-3{padding-inline:calc(var(--spacing) * 3)}.max-sm\:px-4{padding-inline:calc(var(--spacing) * 4)}.max-sm\:py-2{padding-block:calc(var(--spacing) * 2)}.max-sm\:pb-3{padding-bottom:calc(var(--spacing) * 3)}}@media (width>=600px){.review-tight\:w-review-cover{width:var(--container-review-cover)}}@media (width>=900px){.review-split\:sticky{position:sticky}.review-split\:top-topbar{top:var(--spacing-topbar)}.review-split\:w-review-tabs{width:var(--container-review-tabs)}.review-split\:shrink-0{flex-shrink:0}.review-split\:flex-col{flex-direction:column}.review-split\:flex-row-reverse{flex-direction:row-reverse}.review-split\:items-start{align-items:flex-start}.review-split\:items-stretch{align-items:stretch}.review-split\:gap-6{gap:calc(var(--spacing) * 6)}}@media (width>=40rem){.sm\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.sm\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.sm\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.sm\:gap-4{gap:calc(var(--spacing) * 4)}}@media (width>=48rem){.md\:w-64{width:calc(var(--spacing) * 64)}.md\:w-72{width:calc(var(--spacing) * 72)}.md\:w-80{width:calc(var(--spacing) * 80)}.md\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.md\:flex-row{flex-direction:row}.md\:gap-6{gap:calc(var(--spacing) * 6)}.md\:pr-6{padding-right:calc(var(--spacing) * 6)}.md\:pb-0{padding-bottom:0}}@media (width>=64rem){.lg\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.lg\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}}@media (width>=80rem){.xl\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.xl\:grid-cols-6{grid-template-columns:repeat(6,minmax(0,1fr))}}@container (width>=28rem){.\@md\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}}@container (width>=32rem){.\@lg\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}}.dark\:bg-background-primary-default:where(.dark,.dark *){background-color:var(--color-background-primary-default)}.dark\:bg-background-secondary-default:where(.dark,.dark *){background-color:var(--color-background-secondary-default)}.dark\:text-border:where(.dark,.dark *),.dark\:text-border\/50:where(.dark,.dark *){color:var(--color-separator-border)}@supports (color:color-mix(in lab, red, red)){.dark\:text-border\/50:where(.dark,.dark *){color:color-mix(in oklab, var(--color-separator-border) 50%, transparent)}}@media (hover:hover){.dark\:hover\:bg-background-primary-hover:where(.dark,.dark *):hover{background-color:var(--color-background-primary-hover)}}.dark\:aria-selected\:bg-background-primary-hover:where(.dark,.dark *)[aria-selected=true],.dark\:data-selected\:bg-background-primary-hover:where(.dark,.dark *)[data-selected]{background-color:var(--color-background-primary-hover)}.\[\&_\.recharts-cartesian-axis-tick_text\]\:fill-muted-foreground .recharts-cartesian-axis-tick text{fill:var(--color-text-secondary)}.\[\&_\.recharts-cartesian-grid_line\[stroke\=\'\#ccc\'\]\]\:stroke-border\/50 .recharts-cartesian-grid line[stroke=\#ccc]{stroke:var(--color-separator-border)}@supports (color:color-mix(in lab, red, red)){.\[\&_\.recharts-cartesian-grid_line\[stroke\=\'\#ccc\'\]\]\:stroke-border\/50 .recharts-cartesian-grid line[stroke=\#ccc]{stroke:color-mix(in oklab, var(--color-separator-border) 50%, transparent)}}.\[\&_\.recharts-curve\.recharts-tooltip-cursor\]\:stroke-border .recharts-curve.recharts-tooltip-cursor{stroke:var(--color-separator-border)}.\[\&_\.recharts-dot\[stroke\=\'\#fff\'\]\]\:stroke-transparent .recharts-dot[stroke=\#fff]{stroke:#0000}.\[\&_\.recharts-layer\]\:outline-hidden .recharts-layer{--tw-outline-style:none;outline-style:none}@media (forced-colors:active){.\[\&_\.recharts-layer\]\:outline-hidden .recharts-layer{outline-offset:2px;outline:2px solid #0000}}.\[\&_\.recharts-polar-grid_\[stroke\=\'\#ccc\'\]\]\:stroke-border .recharts-polar-grid [stroke=\#ccc]{stroke:var(--color-separator-border)}.\[\&_\.recharts-radial-bar-background-sector\]\:fill-muted .recharts-radial-bar-background-sector,.\[\&_\.recharts-rectangle\.recharts-tooltip-cursor\]\:fill-muted .recharts-rectangle.recharts-tooltip-cursor{fill:var(--color-chart-track)}.\[\&_\.recharts-reference-line_\[stroke\=\'\#ccc\'\]\]\:stroke-border .recharts-reference-line [stroke=\#ccc]{stroke:var(--color-separator-border)}.\[\&_\.recharts-sector\]\:outline-hidden .recharts-sector{--tw-outline-style:none;outline-style:none}@media (forced-colors:active){.\[\&_\.recharts-sector\]\:outline-hidden .recharts-sector{outline-offset:2px;outline:2px solid #0000}}.\[\&_\.recharts-sector\[stroke\=\'\#fff\'\]\]\:stroke-transparent .recharts-sector[stroke=\#fff]{stroke:#0000}.\[\&_\.recharts-surface\]\:outline-hidden .recharts-surface{--tw-outline-style:none;outline-style:none}@media (forced-colors:active){.\[\&_\.recharts-surface\]\:outline-hidden .recharts-surface{outline-offset:2px;outline:2px solid #0000}}.\[\&_img\]\:absolute img{position:absolute}.\[\&_img\]\:inset-0 img{inset:0}.\[\&_img\]\:block img{display:block}.\[\&_img\]\:size-full img{width:100%;height:100%}.\[\&_img\]\:max-h-none img{max-height:none}.\[\&_img\]\:max-w-none img{max-width:none}.\[\&_img\]\:object-cover img{object-fit:cover}.\[\&_img\]\:object-\(--face\) img{object-position:var(--face)}.\[\&\>svg\]\:h-2\.5>svg{height:calc(var(--spacing) * 2.5)}.\[\&\>svg\]\:h-3>svg{height:calc(var(--spacing) * 3)}.\[\&\>svg\]\:w-2\.5>svg{width:calc(var(--spacing) * 2.5)}.\[\&\>svg\]\:w-3>svg{width:calc(var(--spacing) * 3)}.\[\&\>svg\]\:text-muted-foreground>svg{color:var(--color-text-secondary)}@scope(.peach-react){*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring:where(:not(iframe)){outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::placeholder{color:color-mix(in oklab, currentcolor 50%, transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}:root{--color-foreground-full:var(--color-white);--color-foreground-icon-primary:var(--color-neutral-950);--color-foreground-icon-hover:var(--color-black);--color-foreground-icon-secondary:var(--color-neutral-500);--color-foreground-icon-tertiary:var(--color-neutral-400);--color-foreground-icon-quaternary:var(--color-neutral-300);--color-foreground-icon-error:var(--color-red-600);--color-foreground-icon-disabled:var(--color-neutral-300);--color-foreground-disabled:var(--color-neutral-400);--color-foreground-disabled-danger:var(--color-red-300);--color-input-disabled-foreground:var(--color-neutral-300);--color-icon-button-disabled-foreground:var(--color-neutral-300);--color-button-primary-disabled-foreground:var(--color-neutral-400);--color-text-primary:var(--color-neutral-950);--color-text-secondary:var(--color-neutral-500);--color-text-tertiary:var(--color-neutral-400);--color-text-disabled:var(--color-neutral-300);--color-text-disabled-danger:var(--color-red-300);--color-text-placeholder:var(--color-neutral-400);--color-text-error-primary:var(--color-red-500);--color-input-disabled-text:var(--color-neutral-300);--color-text-white:var(--color-white);--color-background-full:var(--color-white);--color-background-primary-default:var(--color-white);--color-background-inner-default:var(--color-white);--color-background-primary-hover:var(--color-neutral-100);--color-background-primary-active:var(--color-neutral-200);--color-background-primary-disabled:var(--color-neutral-100);--color-input-disabled-background:var(--color-neutral-100);--color-background-secondary-default:var(--color-neutral-100);--color-background-secondary-hover:var(--color-neutral-200);--color-background-tertiary-default:var(--color-neutral-200);--color-background-tertiary-hover:var(--color-neutral-300);--color-background-tertiary-error:var(--color-red-100);--color-background-recent-hire-role:var(--color-neutral-100);--color-avatar-neutral-background:var(--color-neutral-300);--color-background-quaternary-default:var(--color-neutral-300);--color-background-quaternary-hover:var(--color-neutral-400);--color-background-quaternary-error:var(--color-red-200);--color-file-upload-icon-background:var(--color-neutral-300);--color-file-upload-icon-foreground:var(--color-neutral-400);--color-file-upload-icon-foreground-hover:var(--color-neutral-500);--color-border-button-default:var(--color-neutral-200);--color-border-button-hover:var(--color-neutral-300);--color-border-button-active:var(--color-neutral-400);--color-border-button-white:var(--color-white);--color-border-error-default:var(--color-red-500);--color-border-checkbox-default:var(--color-neutral-300);--color-border-checkbox-hover:var(--color-neutral-400);--color-border-checkbox-active:var(--color-neutral-400);--color-border-checkbox-white:var(--color-white);--color-border-component-detail-container:var(--color-neutral-200);--color-border-ai-profile-card:var(--color-neutral-200);--color-border-table:var(--color-neutral-200);--color-border-button-group:var(--color-neutral-200);--color-border-sidebar-profile-hover:var(--color-neutral-300);--color-separator-border:var(--color-neutral-200);--color-separator-border-strong:var(--color-neutral-200);--color-border-focus-ring:var(--color-accent-500);--color-state-success-text:var(--color-lime-800);--color-state-success-base:var(--color-lime-200);--color-control-indicator-background:var(--color-white);--color-control-indicator-background-subtle:var(--color-neutral-100);--color-switch-off-chip-start:var(--color-white);--color-switch-off-chip-end:var(--color-neutral-100);--color-switch-on-chip-start:#2673fe}@supports (color:color-mix(in lab, red, red)){:root{--color-switch-on-chip-start:color-mix(in oklab, var(--color-accent-500) 63%, var(--color-accent-600))}}:root{--color-switch-on-chip-end:#144be9}@supports (color:color-mix(in lab, red, red)){:root{--color-switch-on-chip-end:color-mix(in oklab, var(--color-accent-600) 16%, var(--color-accent-700))}}:root{--color-stat-card-icon-background:var(--color-white);--color-segmented-control-background:var(--color-neutral-100);--color-segmented-control-selected-background:var(--color-white);--color-theme-toggle-sidebar-background:var(--color-neutral-200);--color-theme-toggle-sidebar-selected-background:var(--color-white);--color-ai-chat-composer-add-background:var(--color-neutral-100);--color-ai-chat-composer-add-hover-background:var(--color-neutral-200);--color-composer-panel-tab-background:var(--color-neutral-200);--color-composer-panel-add-background:var(--color-neutral-200);--color-composer-panel-add-hover-background:var(--color-neutral-300);--color-composer-panel-tile-border:var(--color-neutral-200);--color-composer-panel-rail-background:var(--color-neutral-100);--color-questionnaire-key-background:var(--color-neutral-100);--color-questionnaire-key-hover-background:var(--color-neutral-200);--color-agent-progress-ring:var(--color-neutral-700);--color-button-ghost-background:var(--color-accent-100);--color-button-ghost-hover:var(--color-accent-200);--color-button-ghost-active:var(--color-accent-300);--color-button-ghost-disabled:var(--color-accent-50);--color-button-ghost-foreground:var(--color-accent-700);--color-button-ghost-disabled-foreground:var(--color-accent-300);--color-dropdown-item-hover-background:var(--color-neutral-100);--color-kbd-background:var(--color-neutral-300);--color-kbd-foreground:var(--color-neutral-500);--color-docs-file-chip-background:var(--color-purple-50);--color-docs-file-chip-border:var(--color-purple-100);--color-docs-file-chip-foreground:var(--color-purple-500);--color-docs-command-accent:var(--color-purple-400);--color-docs-code-background:var(--color-background-primary-default);--color-docs-install-rail:var(--color-border-button-default);--color-badge-neutral-background:var(--color-neutral-200);--color-team-menu-count-background:var(--color-neutral-200);--color-team-menu-count-foreground:var(--color-neutral-500);--color-badge-new-background:var(--color-accent-100);--color-badge-new-text:var(--color-accent-600);--color-tab-count-selected-background:var(--color-accent-100);--color-pill-tab-blue-selected-background:var(--color-accent-50);--color-pill-tab-blue-hover-background:var(--color-neutral-100);--color-notification-information-background:var(--color-blue-100);--color-notification-information-foreground:var(--color-blue-600);--color-notification-success-background:var(--color-lime-100);--color-notification-success-foreground:var(--color-lime-600);--color-notification-error-background:var(--color-rose-100);--color-notification-error-foreground:var(--color-rose-600);--color-notification-center-background:var(--color-white);--color-status-lime-background:var(--color-lime-200);--color-status-lime-text:var(--color-lime-800);--color-status-yellow-background:var(--color-yellow-200);--color-status-yellow-text:var(--color-yellow-800);--color-status-rose-background:var(--color-rose-200);--color-status-rose-text:var(--color-rose-800);--color-status-cyan-background:var(--color-cyan-200);--color-status-cyan-text:var(--color-cyan-800);--color-status-blue-background:var(--color-blue-200);--color-status-blue-text:var(--color-blue-800);--color-status-purple-background:var(--color-purple-100);--color-status-purple-text:var(--color-purple-600);--color-status-dot-green-halo:var(--color-green-100);--color-status-dot-yellow-halo:var(--color-yellow-200);--color-status-dot-indigo-halo:var(--color-indigo-100);--color-date-range-background:var(--color-accent-100);--color-date-range-edge-background:var(--color-accent-300);--color-calendar-event-blue-background:var(--color-blue-100);--color-calendar-event-blue-title:var(--color-blue-700);--color-calendar-event-blue-time:var(--color-blue-700);--color-calendar-event-pink-background:var(--color-pink-100);--color-calendar-event-pink-title:var(--color-pink-700);--color-calendar-event-pink-time:var(--color-pink-700);--color-calendar-event-purple-background:var(--color-purple-100);--color-calendar-event-purple-title:var(--color-purple-700);--color-calendar-event-purple-time:var(--color-purple-700);--color-calendar-event-lime-background:var(--color-lime-100);--color-calendar-event-lime-title:var(--color-lime-800);--color-calendar-event-lime-time:var(--color-lime-700);--color-calendar-event-emerald-background:var(--color-emerald-100);--color-calendar-event-emerald-title:var(--color-emerald-800);--color-calendar-event-emerald-time:var(--color-emerald-700);--color-text-error-placeholder:var(--color-red-400);--color-chart-track:var(--color-neutral-200);--color-chart-cursor:var(--color-neutral-300);--color-chart-neutral:var(--color-neutral-300);--color-chart-1:var(--color-teal-400);--color-chart-1-active:var(--color-teal-500);--color-chart-2:var(--color-lime-400);--color-chart-2-active:var(--color-lime-500);--color-chart-3:var(--color-pink-400);--color-chart-3-active:var(--color-pink-500);--color-chart-4:var(--color-sky-400);--color-chart-4-active:var(--color-sky-500);--color-chart-5:var(--color-purple-400);--color-chart-5-active:var(--color-purple-500);--color-chart-6:var(--color-blue-400);--color-chart-6-active:var(--color-blue-500);--color-chart-7:var(--color-emerald-400);--color-chart-7-active:var(--color-emerald-500);--color-chart-8:var(--color-yellow-400);--color-chart-8-active:var(--color-yellow-500);--color-chart-9:var(--color-indigo-400);--color-chart-9-active:var(--color-indigo-500);--color-chart-agents-bar:var(--color-purple-300);--color-chart-agents-bar-active:var(--color-purple-400);--gradient-button-primary-default:linear-gradient(180deg, var(--color-accent-500) 0%, var(--color-accent-600) 100%);--gradient-button-primary-hover:linear-gradient(180deg, var(--color-accent-400) 0%, var(--color-accent-500) 100%);--gradient-button-primary-active:linear-gradient(180deg, var(--color-accent-600) 0%, var(--color-accent-700) 100%);--gradient-button-primary-disabled:linear-gradient(180deg, var(--color-neutral-200) 0%, var(--color-neutral-300) 100%);--gradient-button-danger-default:linear-gradient(180deg, var(--color-red-500) 0%, var(--color-red-600) 100%);--gradient-button-danger-hover:linear-gradient(180deg, var(--color-red-400) 0%, var(--color-red-500) 100%);--gradient-button-danger-active:linear-gradient(180deg, var(--color-red-600) 0%, var(--color-red-700) 100%);--gradient-button-danger-disabled:linear-gradient(180deg, var(--color-red-100) 0%, var(--color-red-200) 100%)}.dark{--color-foreground-full:var(--color-neutral-700);--color-foreground-icon-primary:var(--color-neutral-50);--color-foreground-icon-hover:var(--color-white);--color-foreground-icon-error:var(--color-red-400);--color-foreground-icon-tertiary:var(--color-neutral-600);--color-foreground-icon-quaternary:var(--color-neutral-700);--color-foreground-icon-disabled:var(--color-neutral-800);--color-foreground-disabled:var(--color-neutral-700);--color-foreground-disabled-danger:var(--color-red-400);--color-input-disabled-foreground:var(--color-neutral-600);--color-icon-button-disabled-foreground:var(--color-neutral-500);--color-button-primary-disabled-foreground:var(--color-neutral-500);--color-text-primary:var(--color-neutral-50);--color-text-tertiary:var(--color-neutral-600);--color-text-disabled:var(--color-neutral-800);--color-text-error-primary:var(--color-red-400);--color-input-disabled-text:#73737366}@supports (color:color-mix(in lab, red, red)){.dark{--color-input-disabled-text:color-mix(in srgb, var(--color-neutral-500) 40%, transparent)}}.dark{--color-background-full:var(--color-neutral-925);--color-background-primary-default:var(--color-neutral-800);--color-background-inner-default:#26262699}@supports (color:color-mix(in lab, red, red)){.dark{--color-background-inner-default:color-mix(in srgb, var(--color-neutral-800) 60%, transparent)}}.dark{--color-background-primary-hover:#40404099}@supports (color:color-mix(in lab, red, red)){.dark{--color-background-primary-hover:color-mix(in srgb, var(--color-neutral-700) 60%, transparent)}}.dark{--color-background-primary-active:var(--color-neutral-800);--color-background-primary-disabled:var(--color-neutral-800);--color-input-disabled-background:#2626264d}@supports (color:color-mix(in lab, red, red)){.dark{--color-input-disabled-background:color-mix(in srgb, var(--color-neutral-800) 30%, transparent)}}.dark{--color-switch-off-chip-start:var(--color-background-tertiary-default);--color-switch-off-chip-end:var(--color-background-tertiary-default);--color-background-secondary-default:var(--color-neutral-900);--color-background-secondary-hover:var(--color-neutral-800);--color-background-tertiary-default:var(--color-neutral-800);--color-background-tertiary-hover:var(--color-neutral-700);--color-background-tertiary-error:#46080999}@supports (color:color-mix(in lab, red, red)){.dark{--color-background-tertiary-error:color-mix(in srgb, var(--color-red-950) 60%, transparent)}}.dark{--color-background-quaternary-default:var(--color-neutral-700);--color-background-quaternary-hover:var(--color-neutral-600);--color-background-recent-hire-role:#17171799}@supports (color:color-mix(in lab, red, red)){.dark{--color-background-recent-hire-role:color-mix(in srgb, var(--color-neutral-900) 60%, transparent)}}.dark{--color-avatar-neutral-background:var(--color-background-primary-default);--color-file-upload-icon-background:var(--color-neutral-600);--color-file-upload-icon-foreground:var(--color-neutral-400);--color-file-upload-icon-foreground-hover:var(--color-neutral-300);--color-stat-card-icon-background:var(--color-neutral-800);--color-segmented-control-background:var(--color-neutral-925);--color-segmented-control-selected-background:var(--color-neutral-800);--color-theme-toggle-sidebar-background:var(--color-neutral-800);--color-theme-toggle-sidebar-selected-background:var(--color-neutral-700);--color-ai-chat-composer-add-background:var(--color-neutral-700);--color-ai-chat-composer-add-hover-background:var(--color-neutral-600);--color-composer-panel-tab-background:#40404080}@supports (color:color-mix(in lab, red, red)){.dark{--color-composer-panel-tab-background:color-mix(in srgb, var(--color-neutral-700) 50%, transparent)}}.dark{--color-composer-panel-add-background:var(--color-neutral-700);--color-composer-panel-add-hover-background:var(--color-neutral-600);--color-composer-panel-tile-border:#ffffff24}@supports (color:color-mix(in lab, red, red)){.dark{--color-composer-panel-tile-border:color-mix(in srgb, var(--color-white) 14%, transparent)}}.dark{--color-composer-panel-rail-background:#17171780}@supports (color:color-mix(in lab, red, red)){.dark{--color-composer-panel-rail-background:color-mix(in srgb, var(--color-neutral-900) 50%, transparent)}}.dark{--color-questionnaire-key-background:var(--color-neutral-700);--color-questionnaire-key-hover-background:var(--color-neutral-600);--color-agent-progress-ring:#ffffff80}@supports (color:color-mix(in lab, red, red)){.dark{--color-agent-progress-ring:color-mix(in srgb, var(--color-white) 50%, transparent)}}.dark{--color-button-ghost-background:var(--color-accent-900);--color-button-ghost-hover:var(--color-accent-800);--color-button-ghost-active:var(--color-accent-700);--color-button-ghost-disabled:var(--color-neutral-800);--color-button-ghost-foreground:var(--color-accent-300);--color-button-ghost-disabled-foreground:var(--color-neutral-600);--color-dropdown-item-hover-background:#40404099}@supports (color:color-mix(in lab, red, red)){.dark{--color-dropdown-item-hover-background:color-mix(in srgb, var(--color-neutral-700) 60%, transparent)}}.dark{--color-kbd-background:var(--color-neutral-700);--color-kbd-foreground:var(--color-neutral-400);--color-docs-file-chip-background:#3c036680}@supports (color:color-mix(in lab, red, red)){.dark{--color-docs-file-chip-background:color-mix(in srgb, var(--color-purple-950) 50%, transparent)}}.dark{--color-docs-file-chip-border:var(--color-purple-800);--color-docs-file-chip-foreground:var(--color-purple-400);--color-docs-code-background:var(--color-background-full);--color-docs-install-rail:#26262699}@supports (color:color-mix(in lab, red, red)){.dark{--color-docs-install-rail:color-mix(in srgb, var(--color-neutral-800) 60%, transparent)}}.dark{--shadow-2xs:0 1px #00000029;--shadow-xs:0 1px 2px 0 #0000002e;--shadow-sm:0 1px 2px 0 #0000001f, 0 1px 3px 0 #00000029;--shadow-md:0 2px 4px -1px #0000001f, 0 4px 6px -1px #0000002e;--shadow-lg:0 4px 6px -2px #0000001a, 0 10px 15px -3px #0000002e;--shadow-xl:0 10px 10px -5px #00000014, 0 20px 25px -5px #0003;--shadow-card:0 1px 1px 0 #00000024;--shadow-dropdown:0 1px 1px 0 #00000024, 0 4px 4px 0 #0000001a;--shadow-sidebar:0 1px 0 0 #0000001a, 0 1px 12px 0 #00000029, 0 0 1px 0 #0000006b;--shadow-waitlist:0 0 6px 0 #0000001f, 0 0 64px 0 #00000038, 0 0 1px 0 #0000006b, 0 1px 12px 0 #00000024, 0 1px 0 0 #00000014;--color-badge-neutral-background:var(--color-neutral-800);--color-team-menu-count-background:var(--color-neutral-700);--color-team-menu-count-foreground:var(--color-neutral-400);--color-badge-new-background:var(--color-accent-950);--color-badge-new-text:var(--color-accent-400);--color-tab-count-selected-background:#193cb899}@supports (color:color-mix(in lab, red, red)){.dark{--color-tab-count-selected-background:color-mix(in srgb, var(--color-accent-800) 60%, transparent)}}.dark{--color-notification-information-background:#193cb880}@supports (color:color-mix(in lab, red, red)){.dark{--color-notification-information-background:color-mix(in srgb, var(--color-blue-800) 50%, transparent)}}.dark{--color-notification-information-foreground:var(--color-blue-300);--color-notification-success-background:#3d630080}@supports (color:color-mix(in lab, red, red)){.dark{--color-notification-success-background:color-mix(in srgb, var(--color-lime-800) 50%, transparent)}}.dark{--color-notification-success-foreground:var(--color-lime-300);--color-notification-error-background:#a3003780}@supports (color:color-mix(in lab, red, red)){.dark{--color-notification-error-background:color-mix(in srgb, var(--color-rose-800) 50%, transparent)}}.dark{--color-notification-error-foreground:var(--color-rose-300);--color-notification-center-background:var(--color-neutral-900);--color-border-button-default:var(--color-neutral-700);--color-border-button-hover:var(--color-neutral-500);--color-border-button-active:var(--color-neutral-600);--color-border-button-white:var(--color-zinc-800);--color-border-error-default:var(--color-red-400);--color-border-checkbox-default:var(--color-neutral-700);--color-border-checkbox-hover:var(--color-neutral-500);--color-border-checkbox-active:var(--color-neutral-500);--color-border-component-detail-container:var(--color-neutral-800);--color-border-ai-profile-card:var(--color-neutral-800);--color-border-table:var(--color-neutral-800);--color-border-button-group:#52525299}@supports (color:color-mix(in lab, red, red)){.dark{--color-border-button-group:color-mix(in srgb, var(--color-neutral-600) 60%, transparent)}}.dark{--color-border-sidebar-profile-hover:var(--color-neutral-600);--color-separator-border:var(--color-neutral-800);--color-separator-border-strong:#40404099}@supports (color:color-mix(in lab, red, red)){.dark{--color-separator-border-strong:color-mix(in srgb, var(--color-neutral-700) 60%, transparent)}}.dark{--color-status-lime-background:#192e0399}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-lime-background:color-mix(in srgb, var(--color-lime-950) 60%, transparent)}}.dark{--color-status-lime-text:var(--color-lime-500);--color-status-yellow-background:#43200499}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-yellow-background:color-mix(in srgb, var(--color-yellow-950) 60%, transparent)}}.dark{--color-status-yellow-text:var(--color-yellow-500);--color-status-rose-background:#4d021899}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-rose-background:color-mix(in srgb, var(--color-rose-950) 60%, transparent)}}.dark{--color-status-rose-text:var(--color-rose-500);--color-status-cyan-background:#05334599}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-cyan-background:color-mix(in srgb, var(--color-cyan-950) 60%, transparent)}}.dark{--color-status-cyan-text:var(--color-cyan-400);--color-status-blue-background:#16245699}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-blue-background:color-mix(in srgb, var(--color-blue-950) 60%, transparent)}}.dark{--color-status-blue-text:var(--color-blue-300);--color-status-purple-background:#59168b80}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-purple-background:color-mix(in srgb, var(--color-purple-900) 50%, transparent)}}.dark{--color-status-purple-text:var(--color-purple-300);--color-status-dot-green-halo:#01663066}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-dot-green-halo:color-mix(in srgb, var(--color-green-800) 40%, transparent)}}.dark{--color-status-dot-yellow-halo:#874b0066}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-dot-yellow-halo:color-mix(in srgb, var(--color-yellow-800) 40%, transparent)}}.dark{--color-status-dot-indigo-halo:#372aac66}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-dot-indigo-halo:color-mix(in srgb, var(--color-indigo-800) 40%, transparent)}}.dark{--color-date-range-background:var(--color-accent-950);--color-date-range-edge-background:var(--color-accent-800);--color-pill-tab-blue-selected-background:#16245699}@supports (color:color-mix(in lab, red, red)){.dark{--color-pill-tab-blue-selected-background:color-mix(in srgb, var(--color-accent-950) 60%, transparent)}}.dark{--color-pill-tab-blue-hover-background:var(--color-neutral-800);--color-calendar-event-blue-background:var(--color-blue-950);--color-calendar-event-blue-title:var(--color-blue-300);--color-calendar-event-blue-time:var(--color-blue-300);--color-calendar-event-pink-background:var(--color-pink-950);--color-calendar-event-pink-title:var(--color-pink-300);--color-calendar-event-pink-time:var(--color-pink-300);--color-calendar-event-purple-background:var(--color-purple-950);--color-calendar-event-purple-title:var(--color-purple-300);--color-calendar-event-purple-time:var(--color-purple-300);--color-calendar-event-lime-background:var(--color-lime-950);--color-calendar-event-lime-title:var(--color-lime-300);--color-calendar-event-lime-time:var(--color-lime-300);--color-calendar-event-emerald-background:var(--color-emerald-950);--color-calendar-event-emerald-title:var(--color-emerald-300);--color-calendar-event-emerald-time:var(--color-emerald-300);--gradient-button-primary-disabled:linear-gradient(180deg, var(--color-neutral-700) 0%, var(--color-neutral-800) 100%);--gradient-button-danger-disabled:linear-gradient(180deg, var(--color-red-900) 0%, var(--color-red-950) 100%);--color-chart-track:var(--color-neutral-800);--color-chart-cursor:var(--color-neutral-700);--color-chart-neutral:var(--color-neutral-800);--color-chart-agents-bar:var(--color-purple-500);--color-chart-agents-bar-active:var(--color-purple-600)}.dark[data-accent]{--color-badge-new-background:#16245680}@supports (color:color-mix(in lab, red, red)){.dark[data-accent]{--color-badge-new-background:color-mix(in srgb, var(--color-accent-950) 50%, transparent)}}.peach-react [data-media-sections]{flex-direction:column;gap:16px;min-width:0;display:flex}.peach-react [data-media-grid]{grid-template-columns:repeat(auto-fill, minmax(var(--tile), 1fr));gap:24px 16px;display:grid}.peach-react [data-media-grid]>[data-media-card]:not([data-variant=resource],[data-variant=junk]){align-self:start}body[data-surface=\/trash] .peach-react [data-media-grid]>[data-media-card]{align-self:stretch}.peach-react [data-media-next-row]{gap:11px;display:flex}body[data-surface=\/trash] .peach-react [data-media-grid]{grid-template-columns:repeat(auto-fill,minmax(min(100%,280px),1fr));gap:20px}.peach-react [data-media-card]{font:var(--board-body);border-radius:var(--surface-radius);cursor:pointer;transform-origin:50%;background:0 0;flex-direction:column;gap:8px;min-width:0;transition:transform .18s,filter .18s,background-color .15s,box-shadow .15s;display:flex;position:relative;overflow:visible}.peach-react [data-media-card][data-variant=short]{flex:none;width:214px}.peach-react [data-media-card][data-variant=next]{flex:none;width:216px}body[data-density=dense] .peach-react [data-media-card][data-variant=short]{width:107px}.peach-react [data-media-card]:not([data-variant=resource],[data-variant=junk]):is(:hover,:focus-within){background:var(--hover);box-shadow:0 0 0 8px var(--hover)}.peach-react [data-media-card]:not([data-variant=resource],[data-variant=junk]):hover [data-media-pic]{filter:saturate(.9)brightness(.94)}.peach-react [data-select-mode] [data-media-card]{cursor:default}.peach-react [data-select-mode] :is([data-media-open],[data-media-preview],[data-media-later],[data-media-seek]),.peach-react [data-select-mode] :is([data-media-later],[data-media-seek]) button{pointer-events:none!important}@media (hover:hover) and (pointer:fine){.peach-react [data-media-card][data-longhover]{z-index:8;filter:brightness(1.04);transform:translateY(-7px)scale(1.065)}}body[data-surface=\/trash] .peach-react [data-media-card]{border:1px solid var(--line-soft);background:var(--color-background-primary-default);gap:0;overflow:hidden}body[data-surface=\/trash] .peach-react [data-media-card] [data-media-pic]{border-radius: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 [data-media-pic]{aspect-ratio:var(--card-ratio,16 / 9);border-radius:var(--surface-radius);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-pic]:has(>[data-media-art=cover]){background:0 0}.peach-react [data-media-stack] [data-media-pic]:has(>[data-media-art=cover]){background:var(--page)}.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:inherit;pointer-events:none;position:absolute;inset:0}.peach-react [data-media-art]{display:block;position:absolute;inset:0}.peach-react [data-media-nopic]{color:var(--muted);font-size:var(--fs-xs);letter-spacing:.12em;text-transform:uppercase}.peach-react [data-media-pic]>:is(video,img){object-fit:contain;background:#000;width:100%;height:100%;display:block;position:absolute;inset:0}.peach-react [data-media-pic]>video{opacity:0;transition:opacity .2s}.peach-react [data-media-pic]>video[data-playing]{opacity:1}.peach-react [data-media-stack]{isolation:isolate;border-radius:var(--surface-radius);position:relative}.peach-react [data-media-stack]:before,.peach-react [data-media-stack]:after{content:"";z-index:0;border:1px solid var(--border-15);border-radius:inherit;background:var(--surface);position:absolute}@supports (color:color-mix(in lab, red, red)){.peach-react [data-media-stack]:before,.peach-react [data-media-stack]:after{background:color-mix(in srgb, var(--surface) 84%, var(--video-glow,#15202a))}}.peach-react [data-media-stack]:before{opacity:.54;inset:0 12px 8px;transform:translateY(-7px)}.peach-react [data-media-stack]:after{opacity:.78;inset:0 6px 4px;transform:translateY(-4px)}.peach-react [data-media-stack] [data-media-pic]{z-index:1}.peach-react [data-media-badge]{z-index:2;background:var(--glass-fill);min-height:24px;box-shadow:inset 0 1px 0 var(--glass-rim), var(--glass-shadow);-webkit-backdrop-filter:blur(16px)saturate(145%);backdrop-filter:blur(16px)saturate(145%);color:var(--color-text-secondary);font:var(--board-caption);white-space:nowrap;border-radius:10px;justify-content:center;align-items:center;gap:4px;padding:4px;transition:opacity .15s;display:flex;position:absolute;top:6px;left:6px}.peach-react [data-media-badge]>span{background:0 0;width:20px;height:20px;padding:0}.peach-react [data-media-duration]{z-index:2;border-radius:var(--badge-radius);color:#f2eadf;font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:var(--fs-xs);font-variant-numeric:tabular-nums;background:#000000b3;padding:2px 6px;transition:opacity .15s;position:absolute;bottom:6px;right:6px}@media (hover:hover) and (pointer:fine){.peach-react [data-media-card]:hover :is([data-media-badge],[data-media-duration]){opacity:0}}@media (prefers-reduced-transparency:reduce),(prefers-contrast:more){.peach-react [data-media-badge]{background:var(--ground);-webkit-backdrop-filter:none}}.peach-react [data-media-group]{z-index:6;border-radius:var(--control-radius);color:#fff;min-height:27px;font-size:var(--fs-xs);-webkit-backdrop-filter:blur(10px);background:#0c0808b8;padding:5px 9px;font-weight:600;position:absolute;top:9px;right:9px}.peach-react [data-media-scrub]{z-index:2;background:#00000073;height:3px;position:absolute;bottom:0;left:0;right:0}.peach-react [data-media-scrub]>i{width:var(--media-fill);background:var(--loupe);height:100%;display:block}.peach-react [data-media-progress]{z-index:5;background:#ffffff4d;height:4px;position:absolute;bottom:0;left:0;right:0}.peach-react [data-media-progress]>i{width:var(--media-fill);background:var(--tungsten);height:100%;display:block}.peach-react [data-media-check]{z-index:8;color:#ffffffb8;-webkit-backdrop-filter:saturate(1.8)blur(12px);background:#00000057;border:1px solid #ffffff47;border-radius:50%;place-items:center;width:26px;height:26px;display:none;position:absolute;top:10px;right:10px}.peach-react :is([data-select-mode] [data-media-check],[data-media-card][data-selected] [data-media-check]){display:grid}.peach-react [data-media-card][data-selected] [data-media-check]{border-color:var(--on-media);background:var(--on-media);color:var(--on-media-ink);box-shadow:0 3px 12px #0008}.peach-react [data-media-trash-mark]{z-index:7;border-radius:var(--badge-radius);color:#ffb14a;height:28px;font-size:var(--fs-xs);-webkit-backdrop-filter:saturate(1.8)blur(12px);background:#00000094;border:1px solid #ffb14a66;align-items:center;gap:5px;padding:0 9px;font-weight:600;display:none;position:absolute;bottom:10px;left:10px}.peach-react [data-pending-delete] [data-media-trash-mark]{display:flex}.peach-react [data-pending-delete] :is([data-media-art]>img,[data-media-pic]>:is(video,img)){filter:grayscale(.9)brightness(.54);opacity:.68}.peach-react [data-pending-delete] [data-media-pic]:before{filter:blur(26px)grayscale(.9)brightness(.27);opacity:.68}.peach-react [data-pending-delete] [data-media-meta]{opacity:.58}.peach-react [data-pending-delete]:hover [data-media-meta]{opacity:.76}.peach-react [data-media-card] :is([data-media-check],[data-media-trash-mark],[data-media-later],[data-media-seek],[data-media-glyph],[data-media-kind-glyph],[data-media-resource-action]) svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round}.peach-react [data-media-check] svg{width:16px;height:16px}.peach-react [data-media-trash-mark] svg{width:14px;height:14px}.peach-react [data-media-preview]{z-index:4;color:#fff;cursor:pointer;opacity:0;pointer-events:none;-webkit-backdrop-filter:saturate(180%)blur(12px);background:#0000003d;border:0;border-radius:50%;place-items:center;width:36px;height:36px;padding:0;transition:transform .15s,opacity .15s;display:grid;position:absolute;top:12px;right:12px}.peach-react [data-previewing] [data-media-preview]{opacity:1;pointer-events:auto}.peach-react [data-longhover] [data-media-preview]{opacity:0;pointer-events:none}.peach-react [data-media-preview]:hover{transform:scale(1.2)}.peach-react [data-media-preview]>svg:first-child{width:36px;height:36px;position:absolute;inset:0;transform:rotate(-90deg)}.peach-react [data-media-preview] circle{fill:none;stroke-width:2px}.peach-react [data-media-preview] circle:first-child{stroke:#ffffff2e}.peach-react [data-media-preview] circle:last-child{stroke:#fff;stroke-linecap:round;stroke-dasharray:106.814;stroke-dashoffset:106.814px}.peach-react [data-previewing] [data-media-preview] circle:last-child{animation:preview-arc var(--hover-delay) linear forwards}.peach-react [data-longhover] [data-media-preview] circle:last-child{animation:none}@keyframes preview-arc{to{stroke-dashoffset:0}}.peach-react [data-media-ring-play]{fill:none;stroke:#fff;stroke-width:2px;width:14px;height:14px;margin-left:1px;position:relative}.peach-react :is([data-media-later],[data-media-seek]){z-index:4;opacity:0;pointer-events:none;align-items:center;gap:14px;transition:opacity .15s;display:flex;position:absolute}.peach-react [data-media-seek]{inset:50% auto auto 50%;transform:translate(-50%,-50%)}.peach-react [data-media-later]{bottom:12px;right:12px}.peach-react :is([data-longhover] [data-media-seek],[data-media-card]:hover [data-media-later]){opacity:1}.peach-react :is([data-media-later],[data-media-seek]) button{color:#fff;cursor:pointer;pointer-events:none;-webkit-backdrop-filter:saturate(180%)blur(12px);background:#0000003d;border:1px solid #ffffff1f;border-radius:50%;justify-content:center;align-items:center;width:58px;height:58px;transition:transform .15s,background .15s;display:flex;position:relative}.peach-react :is([data-longhover] [data-media-seek],[data-media-card]:hover [data-media-later]) button{pointer-events:auto}.peach-react :is([data-media-later],[data-media-seek]) button:hover{background:#00000057;transform:scale(1.12)}.peach-react [data-media-seek] svg{width:34px;height:34px}.peach-react [data-media-later] button{width:36px;height:36px;padding:0}.peach-react [data-media-later] svg{width:21px;height:21px}.peach-react [data-media-later] button[aria-pressed=true]{background:var(--ink);color:var(--ground)}.peach-react [data-media-meta]{gap:10px;min-width:0;display:flex}.peach-react [data-media-avatar]{background:var(--sunk);width:38px;height:38px;color:inherit;cursor:pointer;border:0;border-radius:50%;flex:none;margin-top:2px;padding:0;position:relative;overflow:hidden}.peach-react button[data-media-avatar]:hover{box-shadow:0 0 0 2px var(--ink-2)}.peach-react [data-media-avatar]>img{object-fit:cover;width:100%;max-width:none;height:100%;max-height:none;display:block;position:absolute;inset:0}.peach-react [data-media-avatar]>span:first-child{color:var(--muted);font-family:Bahnschrift,Microsoft YaHei UI,Microsoft YaHei,PingFang SC,sans-serif;font-size:var(--fs-sm);justify-content:center;align-items:center;display:flex;position:absolute;inset:0}.peach-react [data-media-avatars]{--lift-motion:calc(var(--spring-press-ms) * 1ms) var(--spring-press);flex:none;max-width:calc(100% - 48px);margin:-4px -2px -2px;padding:6px 2px 2px 5px;display:flex}.peach-react [data-media-avatars]:has(:is(:hover,:focus-visible)){--lift-motion:var(--board-motion)}.peach-react [data-media-avatars]>[data-media-avatar]{box-shadow:0 0 0 2px var(--ground);transform:translate(var(--lift-x,0), var(--lift-y,0)) scale(var(--lift-scale,1));transition:transform var(--lift-motion,var(--board-motion));margin-top:0}.peach-react [data-media-avatars]>*+*{margin-left:-22px}.peach-react [data-media-avatars]>:first-child{z-index:5}.peach-react [data-media-avatars]>:nth-child(2){z-index:4}.peach-react [data-media-avatars]>:nth-child(3){z-index:3}.peach-react [data-media-avatars]>:nth-child(4){z-index:2}.peach-react [data-media-avatars]>:nth-child(5){z-index:1}.peach-react [data-media-avatars]>:is(:hover,:focus-visible){z-index:6;box-shadow:0 0 0 2px var(--ink-2);--lift-y:-4px;--lift-scale:1.05}.peach-react [data-media-avatars]>:is(:hover,:focus-visible)+*{--lift-y:-1.8px;--lift-x:10px}.peach-react [data-media-avatars]>:is(:hover,:focus-visible)+*+*{--lift-y:-.81px;--lift-x:20px}.peach-react [data-media-avatars]>:is(:hover,:focus-visible)+*+*+*{--lift-x:30px}.peach-react [data-media-avatars]>:is(:hover,:focus-visible)+*+*+*+*{--lift-x:40px}.peach-react [data-variant=next] [data-media-avatars]>:nth-child(n+3){display:none}.peach-react [data-media-text]{flex-direction:column;flex:1;gap:3px;min-width:0;display:flex}.peach-react [data-media-title]{width:100%;min-height:2.7em;max-height:2.7em;color:inherit;font-size:var(--fs-md);text-align:left;word-break:break-all;cursor:pointer;-webkit-line-clamp:2;background:0 0;border:0;-webkit-box-orient:vertical;padding:0;line-height:1.35;display:-webkit-box;overflow:hidden}.peach-react span[data-media-title]{cursor:default}.peach-react [data-media-byline]{color:var(--muted);font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:var(--fs-xs);font-variant-numeric:tabular-nums;flex-wrap:wrap;align-items:center;gap:8px;display:flex}.peach-react [data-media-who]{min-width:0;max-width:100%;color:var(--ink-2);text-overflow:ellipsis;white-space:nowrap;vertical-align:bottom;background:0 0;border:0;padding:0;display:inline-block;overflow:hidden}.peach-react button[data-media-who]{cursor:pointer}.peach-react span[data-media-who]{cursor:default}.peach-react [data-media-who-more]{color:var(--muted)}.peach-react [data-media-flags]{gap:3px;margin-left:auto;display:flex}.peach-react [data-media-flags]>i{width:6px;height:6px;display:block}.peach-react [data-flag=dislike]{background:var(--drop)}.peach-react [data-flag=seen]{background:var(--muted)}.peach-react [data-flag=dispose]{background:var(--meter)}.peach-react [data-flag=later]{background:var(--ink)}.peach-react [data-variant=next] [data-media-why]{color:var(--loupe)}.peach-react [data-variant=next] [data-media-byline]{flex-wrap:nowrap;overflow:hidden}.peach-react [data-variant=next] [data-media-who]{flex:0 auto;max-width:55%}.peach-react [data-variant=next] [data-media-who-more]{white-space:nowrap;flex:none}.peach-react [data-variant=next] [data-media-why]{text-overflow:ellipsis;white-space:nowrap;flex:1 1 0;min-width:0;overflow:hidden}.peach-react [data-variant=next] :is([data-media-size],[data-media-watch-count]){display:none}.peach-react [data-media-tags]{height:calc(var(--fs-xs) * 1.45 + var(--tag-pad-y) * 2 + 2px + 8px);pointer-events:none;flex-wrap:wrap;align-content:flex-start;gap:5px;min-width:0;margin:-4px;padding:4px;display:flex;overflow:hidden}.peach-react [data-media-tags]>*{pointer-events:auto}.peach-react [data-media-tag]{max-width:100%;padding:var(--tag-pad-y) var(--tag-pad-x);border:1px solid var(--line);border-radius:var(--tag-radius);background:var(--tag-fill);color:var(--ink-2);font-size:var(--fs-xs);text-overflow:ellipsis;white-space:nowrap;cursor:pointer;line-height:1.45;overflow:hidden}.peach-react [data-media-tag]:hover{background:var(--hover);color:var(--ink)}.peach-react [data-media-tag]:disabled{cursor:not-allowed}@media (width<=760px){.peach-react [data-media-tags]>:nth-child(n+3){display:none}}body[data-density=dense] .peach-react [data-media-grid]>[data-media-card]{padding-top:7px}body[data-density=dense] .peach-react [data-media-card] [data-media-meta]{--card-meta-block:calc(2.7em + 36px)}body[data-density=dense] .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] .peach-react [data-media-card] [data-media-text]>:not([data-media-tags]){pointer-events:auto}body[data-density=dense] .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] .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] .peach-react [data-media-card] [data-media-who]{flex:0 auto}body[data-density=dense] .peach-react [data-media-card] :is([data-media-who-more],[data-media-size]){white-space:nowrap;flex:none}body[data-density=dense] .peach-react [data-media-card] :is([data-media-why],[data-media-watch-count]){display:none}body[data-density=dense] .peach-react [data-media-card] [data-media-tags]{flex-wrap:nowrap;align-items:flex-start;height:38px;overflow:hidden}body[data-density=dense] .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-cover]:has(>[data-media-art=cover]){background:var(--page)}.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]{min-width:0;position:relative}.peach-react [data-junk-filters]{scrollbar-width:none;border-radius:var(--surface-radius);background:var(--color-background-primary-default);min-width:0;color:var(--ink-2);font-size:var(--fs-xs);align-items:center;gap:8px;padding:12px;display:flex;overflow-x:auto}.peach-react [data-junk-filters]::-webkit-scrollbar{display:none}html:not(.dark) .peach-react [data-junk-filters]{background:var(--color-background-secondary-default)}.peach-react [data-junk-filters] a{box-sizing:border-box;border-radius:var(--control-radius);height:32px;color:var(--muted);font-size:var(--fs-sm);white-space:nowrap;cursor:pointer;flex:none;align-items:center;gap:6px;padding:0 12px;font-weight:400;text-decoration:none;display:inline-flex}.peach-react [data-junk-filters] a:hover{color:var(--ink)}.peach-react [data-junk-filters] a[aria-current=page]{background:var(--picked);color:var(--ink)}.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(--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-junk-divider]{background:var(--line-soft);flex:none;width:1px;height:20px;margin:0 6px}.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] a{height:44px}.peach-react [data-junk-actions] button{min-height:44px}.peach-react [data-junk-actions] button[data-junk-action=dispose]{padding-inline:7px}}.peach-react [data-entity-card]{background:var(--ground);min-width:0;max-width:100%;color:var(--ink);font:var(--board-body);letter-spacing:0;border-radius:18px;flex-direction:column;margin:0 0 22px;display:flex;overflow:hidden}.peach-react [data-entity-card] :is(a,button,[tabindex]):focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-entity-profile]{--portrait-size:120px;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:20px;min-width:0;padding:20px;display:grid}.peach-react [data-entity-profile]:has(>[data-entity-identity]>[data-entity-links]):has(>[data-entity-identity]>[data-entry-marks]){--portrait-size:160px}#index[data-hero-wide] .peach-react [data-entity-profile]:has(>[data-entity-facts]){grid-template-columns:auto minmax(0,1fr) minmax(280px,360px)}.peach-react [data-entity-portrait-wrap]{align-self:stretch;align-items:center;width:max-content;max-width:100%;display:flex;position:relative}.peach-react [data-entity-portrait-wrap]>[data-avatar-picker]{top:calc((100% - var(--portrait-size)) / 2);height:var(--portrait-size);pointer-events:none;position:absolute;left:0;right:0}.peach-react [data-entity-portrait-wrap]>[data-avatar-picker]>*{pointer-events:auto}.peach-react [data-entity-portrait]{width:auto;max-width:100%;height:var(--portrait-size);aspect-ratio:1;background:var(--overlay-5);color:var(--muted);font-size:var(--fs-4xl);border-radius:50%;place-items:center;display:grid;position:relative;overflow:hidden}.peach-react [data-entity-portrait=square]{border-radius:var(--floating-radius)}.peach-react [data-entity-portrait]>span{grid-area:1/1}.peach-react [data-entity-portrait]:has(img)>span{display:none}.peach-react [data-entity-portrait] img{z-index:1;object-fit:cover;width:100%;max-width:none;height:100%;max-height:none;display:block;position:absolute;inset:0}.peach-react [data-entity-portrait]:is([data-fit-native=mark],[data-native-small=true]) img{width:var(--markw,100%);height:var(--markh,100%);object-fit:contain;max-width:100%;max-height:100%;margin:auto}.peach-react [data-entity-identity]{min-width:0;max-width:100%}.peach-react [data-entity-title]{align-items:center;gap:8px;min-width:0;margin:0 0 9px;display:flex}.peach-react [data-entity-title] h2{letter-spacing:0;overflow-wrap:anywhere;margin:0;font-size:24px;font-weight:500;line-height:32px}.peach-react [data-namepick-toggle]{border:1px solid var(--border-10);border-radius:var(--control-radius);background:var(--overlay-5);width:32px;height:32px;color:var(--muted);cursor:pointer;flex:none;place-items:center;padding:0;display:grid}.peach-react [data-namepick-toggle][data-hovered]{background:var(--hover);color:var(--ink)}.peach-react [data-namepick-toggle] svg,.peach-react [data-namepick-menu] svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:16px;height:16px}.peach-react [data-entity-alias]{color:var(--muted);overflow-wrap:anywhere;margin-bottom:0;font-size:14px;line-height:20px}.peach-react [data-entity-alias] b{color:var(--ink);font-weight:inherit}.peach-react [data-entity-alias=meta]{flex-wrap:wrap;align-items:center;gap:4px 18px;display:flex}.peach-react [data-meta-item]{align-items:center;gap:6px;min-width:0;display:inline-flex}.peach-react [data-meta-item=names]{flex-wrap:wrap}.peach-react [data-meta-item]>svg,.peach-react [data-entity-facts] dt svg{width:16px;height:16px;color:var(--muted);fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none}.peach-react [data-alias-names]>span+span:before,.peach-react [data-hero-pop] dd>span+span:before{color:var(--muted);content:"·";margin:0 6px}.peach-react [data-entity-alias] a{color:var(--tungsten);cursor:pointer;text-decoration:none}.peach-react [data-entity-alias] a:hover{color:var(--ink)}.peach-react [data-hero-more]{border:1px solid var(--line);border-radius:var(--pill-radius);height:22px;color:var(--ink);font:inherit;font-size:var(--fs-xs);cursor:pointer;background:0 0;margin-left:4px;padding:0 8px}.peach-react [data-hero-more]:is(:hover,[aria-expanded=true]){background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-hero-more]:is(:hover,[aria-expanded=true]){background:color-mix(in srgb, var(--ink) 8%, var(--ground))}}.peach-react [data-hero-more=fact]{margin-left:0}.peach-react [data-hero-pop]{z-index:var(--layer-popover);box-sizing:border-box;overscroll-behavior:contain;border:1px solid var(--line);background:var(--surface);width:max-content;max-width:min(440px,100vw - 16px);max-height:calc(100dvh - 16px);box-shadow:var(--elevation-dropdown);color:var(--ink);font-size:var(--fs-sm);text-align:left;transform-origin:0 0;border-radius:16px;gap:8px;margin:0;padding:12px 14px;line-height:1.5;animation:.15s ease-out backwards board-menu-in;display:grid;position:fixed;inset:auto;overflow:hidden auto}.peach-react [data-hero-pop]:not(:popover-open){display:none}.peach-react [data-hero-pop-head]{margin:0;font-weight:500}.peach-react [data-hero-pop] dl{grid-template-columns:auto minmax(0,1fr);gap:6px 14px;margin:0;display:grid}.peach-react [data-hero-pop] dt{color:var(--muted);white-space:nowrap}.peach-react [data-hero-pop] dd{overflow-wrap:anywhere;min-width:0;margin:0}.peach-react [data-hero-pop] dd[data-wide]{grid-column:1/-1}.peach-react [data-hero-pop] small{color:var(--muted);font-size:inherit;margin-left:4px}.peach-react [data-entity-facts]{border-left:1px solid var(--line-soft);min-width:0;font-size:var(--fs-sm);text-align:left;grid-template-columns:auto minmax(0,1fr);align-content:center;place-self:stretch stretch;gap:10px 16px;margin:0;padding:2px 0 2px 24px;line-height:22px;display:grid}#index:not([data-hero-wide]) .peach-react [data-entity-facts]{border-top:1px solid var(--line-soft);border-left:0;grid-column:1/-1;padding:14px 0 0}.peach-react [data-entity-facts] dt{color:var(--muted);white-space:nowrap;align-self:start;align-items:center;gap:6px;display:flex}.peach-react [data-entity-facts] dd{min-width:0;color:var(--ink);margin:0}.peach-react [data-entity-facts] :is([data-fact-tone=num],dd[data-fact=num]){font-variant-numeric:tabular-nums}.peach-react [data-entity-facts] [data-fact-tone=sub]{color:var(--muted)}.peach-react [data-entity-facts] dd[data-fact=clip]{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.peach-react :is(dd[data-fact=tags],[data-fact-tags]){flex-wrap:wrap;gap:6px;display:flex}.peach-react [data-fact-tag]{padding:0 var(--tag-pad-x);border:1px solid var(--line);border-radius:var(--tag-radius);background:var(--tag-fill);color:var(--ink-2);font-size:var(--fs-xs);white-space:nowrap;line-height:20px}.peach-react [data-entity-links]{flex-wrap:wrap;gap:8px;max-width:100%;margin-top:14px;display:flex}.peach-react [data-entity-card] [data-entity-links]>:is(a,span)[data-link]{box-sizing:border-box;border:1px solid var(--line);min-width:0;max-width:100%;height:36px;min-height:0;box-shadow:none;color:var(--ink);background:0 0;border-radius:10px;align-items:center;gap:8px;padding:0 12px 0 8px;font-size:13px;font-weight:400;text-decoration:none;display:inline-flex;overflow:hidden}.peach-react [data-entity-card] [data-entity-links]>a[data-link]:hover{border-color:var(--line);background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-entity-card] [data-entity-links]>a[data-link]:hover{background:color-mix(in srgb, var(--ink) 8%, var(--ground))}}.peach-react [data-entity-card] [data-entity-links]>a[data-link]:hover{text-decoration:none}.peach-react [data-entity-card] [data-entity-links]>:is([data-link=private],[data-link=gone]){color:var(--muted);border-style:dashed}.peach-react [data-entity-card] [data-entity-links]>:is([data-link=icon],[data-link=gone]){justify-content:center;gap:0;width:36px;padding:0}.peach-react [data-entity-card] [data-entity-links]>[data-link=url]{letter-spacing:.02em}.peach-react [data-link-label]{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.peach-react [data-link-icon]{border-radius:var(--badge-radius);background:0 0;flex:none;place-items:center;width:20px;height:20px;display:grid;position:relative;overflow:hidden}.peach-react [data-link-icon] svg{fill:none;stroke:currentColor;stroke-width:2px;width:16px;height:16px}.peach-react [data-link-icon] img{background:var(--sunk);object-fit:cover;width:100%;max-width:none;height:100%;position:absolute;inset:0}.peach-react [data-link-icon=brand] svg{stroke:none;filter:none;width:100%;height:100%}.peach-react [data-entry-marks]{flex-wrap:wrap;align-items:center;gap:32px;max-width:100%;margin-top:14px;display:flex}.peach-react [data-entity-card] [data-entry-marks]>a[data-entry-mark]{border-radius:var(--control-radius);min-width:0;min-height:20px;box-shadow:none;color:var(--ink);background:0 0;border:0;align-items:center;gap:6px;margin:-4px -8px;padding:4px 8px;font-weight:500;text-decoration:none;display:inline-flex}.peach-react [data-entity-card] [data-entry-marks]>a[data-entry-mark]:hover{background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-entity-card] [data-entry-marks]>a[data-entry-mark]:hover{background:color-mix(in srgb, var(--ink) 8%, var(--ground))}}.peach-react [data-entity-card] [data-entry-marks]>a[data-entry-mark]:hover{text-decoration:none}.peach-react [data-entry-mark] svg{width:auto;height:22px}.peach-react [data-entry-ordinal]{color:var(--muted);font-size:var(--fs-sm)}.peach-react [data-missav-mark]{font-family:Halant,Georgia,Times New Roman,serif;font-size:var(--fs-xl);letter-spacing:.01em;white-space:nowrap;font-weight:500;line-height:22px}.peach-react [data-missav-mark]>span:last-child{color:#fe628e}@keyframes entryfeed-breathe{0%,to{color:var(--ink)}50%{color:var(--feed-mark)}}.peach-react [data-entry-feed]{border-radius:var(--control-radius);color:var(--ink);cursor:pointer;align-items:center;margin:-4px;padding:4px;display:inline-flex;position:relative}.peach-react [data-entry-feed]:hover{background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-entry-feed]:hover{background:color-mix(in srgb, var(--ink) 8%, var(--ground))}}.peach-react [data-entry-feed]:has(:checked){color:var(--feed-mark)}.peach-react [data-entry-feed]:has(:focus-visible){outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-entry-feed]:has([aria-busy=true]){opacity:.6;cursor:progress}.peach-react [data-entry-feed]>svg{fill:none;stroke:currentColor;stroke-width:2px;width:22px;height:22px}.peach-react [data-entry-feed]:not(:has(:checked)){animation:2.4s ease-in-out infinite entryfeed-breathe}.peach-react [data-entry-feed]:not(:has(:checked)):is(:hover,:has(:focus-visible)){color:var(--feed-mark);animation:none}.peach-react [data-entity-feed]{clip-path:inset(50%);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.peach-react [data-entry-feed-tip]{z-index:var(--layer-tooltip);border-radius:var(--surface-radius);background:var(--ink);width:max-content;max-width:250px;color:var(--ground);font-size:var(--fs-sm);white-space:normal;pointer-events:none;border:0;margin:0;padding:6px 8px;font-weight:400;line-height:1.3;position:fixed;inset:auto;overflow:visible}.peach-react [data-entity-foot]{border-top:1px solid var(--line-soft);background:var(--board-card-foot);align-items:center;gap:16px;min-width:0;padding:12px 20px;display:flex}.peach-react [data-related-people]{scrollbar-width:none;overscroll-behavior-inline:contain;flex:1;align-items:center;gap:4px;min-width:0;margin-top:-3px;padding-top:3px;display:flex;overflow-x:auto}.peach-react [data-related-people]::-webkit-scrollbar{display:none}.peach-react [data-related-people]>button{width:76px;max-width:none;height:auto;color:var(--muted);font:var(--board-body-medium);text-align:center;white-space:nowrap;cursor:pointer;transition:transform var(--lift-motion,var(--board-motion)), scale calc(var(--spring-press-ms) * 1ms) var(--spring-press), background-color .2s ease-out, color .2s ease-out;background:0 0;border:0;border-radius:12px;flex-direction:column;flex:none;align-items:center;gap:6px;padding:6px 4px;display:flex}.peach-react [data-related-people]>button:hover{background:var(--hover);color:var(--ink)}.peach-react [data-related-people]>button:active{transition:scale 60ms ease-out;scale:.96}.peach-react [data-hero-ring]{background:var(--ink);border-radius:50%;flex:none;width:48px;height:48px;margin:0;display:block;position:relative;overflow:hidden}@supports (color:color-mix(in lab, red, red)){.peach-react [data-hero-ring]{background:color-mix(in srgb, var(--ink) 10%, var(--surface))}}.peach-react [data-hero-ring]{color:var(--muted);font:600 18px/24px var(--board-font)}.peach-react [data-hero-ring]>span{color:inherit;font:inherit;justify-content:center;align-items:center;display:flex;position:absolute;inset:0}.peach-react [data-hero-ring]>img{object-fit:cover;width:100%;max-width:none;height:100%;max-height:none;display:block;position:absolute;inset:0}.peach-react [data-hero-costar-name]{max-width:100%;color:inherit;font:var(--board-caption);text-align:center;text-overflow:ellipsis;display:block;overflow:hidden}.peach-react [data-namepick-menu]{width:min(260px,100vw - 16px);font:var(--board-body);letter-spacing:0}.peach-react [data-namepick-list],.peach-react [data-namepick-list]>section{outline:none;gap:2px;display:grid}.peach-react [data-namepick-menu] [role^=menuitem]{box-sizing:border-box;width:100%;min-height:36px;color:var(--muted);text-align:left;overflow-wrap:anywhere;cursor:pointer;background:0 0;border-radius:10px;outline:none;justify-content:flex-start;align-items:center;gap:8px;padding:8px;display:flex}.peach-react [data-namepick-menu] [role^=menuitem]:is([data-hovered],[data-focus-visible]){background:var(--hover);color:var(--ink)}.peach-react [data-namepick-menu] [role=menuitemradio] svg{visibility:hidden}.peach-react [data-namepick-menu] [aria-checked=true]{background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-namepick-menu] [aria-checked=true]{background:color-mix(in srgb, var(--ink) 10%, var(--surface))}}.peach-react [data-namepick-menu] [aria-checked=true]{color:var(--ink)}.peach-react [data-namepick-menu] [aria-checked=true] svg{visibility:visible}.peach-react [data-namepick-rule]{border:0;border-top:1px solid var(--border-10);height:0;margin:4px 1px}@media (width<=760px){.peach-react [data-entity-profile]{text-align:center;grid-template-columns:minmax(0,1fr);justify-items:center;gap:12px;padding:16px}.peach-react [data-entity-portrait-wrap]{--portrait-size:96px}.peach-react [data-entity-portrait]{width:96px}.peach-react [data-entity-identity]{width:100%}.peach-react [data-entity-foot]{padding:10px 16px}.peach-react [data-entity-title]{justify-content:center}.peach-react [data-namepick-toggle]{position:relative}.peach-react [data-namepick-toggle]:after{content:"";width:44px;height:44px;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.peach-react [data-namepick-menu] [role^=menuitem]{min-height:44px}.peach-react [data-entity-alias]{margin-bottom:10px}.peach-react :is([data-entity-alias=meta],[data-meta-item=names]){justify-content:center}.peach-react [data-entity-links]{scrollbar-width:none;overscroll-behavior-inline:contain;margin-top:9px;margin-bottom:-4px;flex-wrap:nowrap;justify-content:safe center;max-width:none;margin-inline:-16px;padding-block:4px;padding-inline:16px;scroll-padding-inline:16px;overflow:auto hidden}.peach-react [data-entity-links]::-webkit-scrollbar{display:none}.peach-react [data-entity-card] [data-entity-links]>*{flex:none}.peach-react [data-entry-marks]{justify-content:center}}.peach-react :is([data-entity-filter-glass],[data-catalog-frame]){z-index:60;font:var(--board-body);letter-spacing:normal}.peach-react :is([data-entity-filter-glass],[data-catalog-frame],[data-entity-combo]) :is(button,[role=radio]):focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-entity-press]{transition:scale calc(var(--spring-press-ms) * 1ms) var(--spring-press)}.peach-react [data-entity-press]:active{transition:scale 60ms ease-out;scale:.96}.peach-react [data-entity-sep]{background:var(--field-ring-hover);flex:none;width:1px;height:19px;margin:0 3px}.peach-react [data-entity-media]{flex:none;align-items:center;gap:2px;display:inline-flex}.peach-react [data-media-view]{z-index:1;width:30px;height:30px;color:var(--glass-text);border-radius:50%;flex:0 0 30px;place-items:center;display:grid;position:relative}@supports (color:color-mix(in lab, red, red)){.peach-react [data-media-view]{color:color-mix(in srgb, var(--glass-text) 60%, transparent)}}.peach-react [data-media-view]{cursor:pointer}.peach-react [data-media-view]:hover,.peach-react [data-media-view][aria-pressed=true]{color:var(--glass-text)}.peach-react [data-media-view] svg{fill:none;stroke:currentColor;stroke-width:2px;width:20px;height:20px;display:block}.peach-react [data-media-view][data-media-icon=image] svg{fill:currentColor;stroke:none}.peach-react [data-entity-scroll]{flex:1;align-items:center;gap:6px;min-width:0;display:flex;position:relative}.peach-react [data-entity-states]{flex:none;align-items:center;gap:6px;display:flex}.peach-react [data-entity-state]{z-index:1;height:30px;color:var(--glass-text);border-radius:999px;flex:none;justify-content:center;align-items:center;padding:0 10px;display:inline-flex;position:relative}@supports (color:color-mix(in lab, red, red)){.peach-react [data-entity-state]{color:color-mix(in srgb, var(--glass-text) 60%, transparent)}}.peach-react [data-entity-state]{white-space:nowrap;cursor:pointer;font-size:13px;line-height:20px}.peach-react [data-entity-state]:hover,.peach-react [data-entity-state][aria-pressed=true]{color:var(--glass-text)}.peach-react [data-entity-tags]{overscroll-behavior-inline:contain;scrollbar-width:none;flex-wrap:nowrap;flex:1;align-items:center;gap:6px;min-width:0;display:flex;overflow:auto hidden}.peach-react [data-entity-tags]::-webkit-scrollbar{display:none}.peach-react [data-entity-tag]{color:var(--glass-text);border-style:solid;gap:0}.peach-react [data-entity-tag][aria-pressed=false]:hover{border-color:var(--field-ring);color:var(--ink)}.peach-react [data-entity-tag][aria-pressed=true]{background:linear-gradient(180deg, var(--glass-sheen), transparent 62%), var(--glass-pick-fill);-webkit-backdrop-filter:var(--glass-pick);backdrop-filter:var(--glass-pick);box-shadow:inset 0 0 0 1px var(--glass-rim), var(--glass-pick-shadow);border-color:#0000}.peach-react [data-entity-tag] [data-count-badge]{color:var(--glass-text);margin-left:6px}@supports (color:color-mix(in lab, red, red)){.peach-react [data-entity-tag] [data-count-badge]{color:color-mix(in srgb, var(--glass-text) 55%, transparent)}}.peach-react [data-entity-tag] [data-count-badge]{font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:11px}.peach-react [data-entity-tag]:is(:hover,[aria-pressed=true]) [data-count-badge]{color:var(--glass-text)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-entity-tag]:is(:hover,[aria-pressed=true]) [data-count-badge]{color:color-mix(in srgb, var(--glass-text) 80%, transparent)}}@media (width<=760px){.peach-react [data-entity-scroll]{overscroll-behavior-inline:contain;scrollbar-width:none;overflow:auto hidden}.peach-react [data-entity-scroll]::-webkit-scrollbar{display:none}.peach-react [data-entity-scroll]>[data-entity-tags]{flex:none;min-width:auto;overflow:visible}}.peach-react [data-entity-readout]{color:var(--ink-2);letter-spacing:normal;white-space:nowrap;flex:none;margin:0;font-size:12px;font-weight:400;line-height:20px}.peach-react [data-entity-sorts]{scrollbar-width:none;margin-left:auto;flex-wrap:nowrap;align-items:center;gap:4px;min-width:0;margin-block:-14px;padding:14px 2px;display:flex;overflow-x:auto}.peach-react [data-entity-sorts]::-webkit-scrollbar{display:none}.peach-react [data-entity-sort]{height:30px;min-height:30px;color:var(--glass-text);border-radius:7px;flex:none;align-items:center;padding:0 8px;display:inline-flex}@supports (color:color-mix(in lab, red, red)){.peach-react [data-entity-sort]{color:color-mix(in srgb, var(--glass-text) 62%, transparent)}}.peach-react [data-entity-sort]{white-space:nowrap;cursor:pointer;font-size:12px;line-height:20px}.peach-react [data-entity-sort]:hover{color:var(--glass-text)}.peach-react [data-entity-sort][aria-pressed=true]{color:var(--glass-text);font-weight:500}.peach-react [data-entity-sort] svg{flex:none;width:14px;height:14px;margin-left:5px}.peach-react [data-entity-batch]{background:var(--board-blue);width:36px;height:30px;min-height:30px;box-shadow:var(--elevation-xs);color:#fff;cursor:pointer;border-radius:7px;flex:none;place-items:center;font-size:12px;font-weight:600;display:inline-grid}.peach-react [data-entity-batch]:hover{background:var(--board-blue-hover);color:#fff}.peach-react [data-entity-batch] svg{fill:none;stroke:currentColor;stroke-width:2px;width:16px;height:16px}.peach-react [data-entity-batch][aria-busy=true]{cursor:wait}.peach-react [data-filter-row=bottom][aria-busy=true] [data-entity-batch] svg{--strand-dash:100;--strand-cycle:2.2s}.peach-react [data-entity-layout]{flex:none;gap:2px;margin:0 6px}.peach-react [data-entity-layout] svg{width:16px;height:16px}.peach-react [data-entity-layout] [data-glass-segment][data-selected]{-webkit-backdrop-filter:var(--glass-pick);backdrop-filter:var(--glass-pick)}@media (pointer:coarse){.peach-react :is([data-entity-sort],[data-entity-batch]){height:36px}}.peach-react [data-photo-back]{border:1px solid var(--glass-low);border-radius:var(--control-radius);height:30px;color:var(--glass-text);white-space:nowrap;cursor:pointer;flex:none;align-items:center;gap:4px;padding:0 10px 0 6px;font-size:12px;display:flex}.peach-react [data-photo-back]:hover{background:var(--overlay-5)}.peach-react [data-photo-back] svg{fill:none;stroke:currentColor;stroke-width:2px;width:15px;height:15px}.peach-react [data-entity-srctools]{display:contents}.peach-react [data-entity-srctools]>*{flex:none;margin:0}.peach-react [data-entity-srctools] [aria-live]{flex:none}@media (width<=760px){.peach-react :is([data-entity-filter-glass],[data-catalog-frame])>[data-filter-row=bottom]{overscroll-behavior-inline:contain;scrollbar-width:none;touch-action:pan-x pan-y;flex-wrap:nowrap;gap:10px;overflow:auto hidden}.peach-react :is([data-entity-filter-glass],[data-catalog-frame])>[data-filter-row=bottom]::-webkit-scrollbar{display:none}.peach-react [data-entity-sorts]{flex:none;width:max-content;max-width:none;overflow:visible}.peach-react :is([data-entity-filter-glass],[data-catalog-frame])[data-filter-free]{top:var(--filter-free-top)}}.peach-react [data-entity-combo]{height:auto;font:var(--board-body);interpolate-size:allow-keywords;flex-wrap:wrap;align-items:center;gap:6px;margin:0 0 10px;transition:height .22s cubic-bezier(0,0,.2,1),margin-bottom .22s cubic-bezier(0,0,.2,1);display:flex;overflow:hidden}.peach-react [data-entity-combo]:empty{height:0;margin-bottom:0}@media (prefers-reduced-motion:reduce){.peach-react [data-entity-combo]{transition:none}}.peach-react [data-combo-chip]{border:1px solid var(--line);border-radius:var(--tag-radius);background:var(--picked);min-height:30px;color:var(--ink-2);font-size:var(--fs-md);align-items:center;padding:0 0 0 11px;line-height:20px;display:inline-flex;overflow:hidden}.peach-react [data-combo-chip] button{width:28px;height:28px;color:var(--muted);font-size:var(--fs-xs);cursor:pointer;place-items:center;margin-left:5px;font-weight:400;display:grid}.peach-react [data-combo-chip] button:hover{background:var(--drop)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-combo-chip] button:hover{background:color-mix(in srgb, var(--drop) 12%, transparent)}}.peach-react [data-combo-chip] button:hover{color:var(--drop)}.peach-react [data-combo-clear]{min-height:28px;color:var(--muted);font-size:var(--fs-xs);cursor:pointer;align-items:center;padding:0 6px;display:inline-flex}.peach-react [data-catalog-tiers]{z-index:1;font:var(--board-body);letter-spacing:normal;padding:10px 0 8px;position:relative}.peach-react [data-catalog-tier]{scrollbar-width:none;align-items:center;gap:4px;margin-top:-3px;padding:0 16px 6px;display:flex;overflow-x:auto}.peach-react [data-catalog-tier]::-webkit-scrollbar{display:none}.peach-react [data-catalog-tier]:last-child{padding-bottom:4px}@media (width>=761px){.peach-react [data-catalog-tier]{margin-left:calc(-1 * var(--railW));padding-left:calc(var(--railW) + 16px)}}.peach-react :is([data-tier-performer],[data-tier-studio]){color:var(--color-text-secondary);font:var(--board-body-medium);white-space:nowrap;cursor:pointer;transition:transform var(--lift-motion,var(--board-motion)), scale calc(var(--spring-press-ms) * 1ms) var(--spring-press), background-color .2s ease-out, color .2s ease-out;background:0 0;border-radius:12px;flex:none}.peach-react :is([data-tier-performer],[data-tier-studio]):hover{background:var(--color-background-primary-hover);color:var(--color-text-primary)}.peach-react :is([data-tier-performer],[data-tier-studio]):active{transition:scale 60ms ease-out;scale:.96}.peach-react :is([data-tier-performer],[data-tier-studio]):focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-tier-performer]{text-align:center;flex-direction:column;align-items:center;gap:6px;width:76px;padding:6px 4px;display:flex}.peach-react [data-tier-studio]{text-align:left;align-items:center;gap:8px;height:40px;padding:6px 12px 6px 6px;display:inline-flex}.peach-react :is([data-tier-ring],[data-tier-mark]){background:var(--color-text-primary);border-radius:50%;flex:none;position:relative;overflow:hidden}@supports (color:color-mix(in lab, red, red)){.peach-react :is([data-tier-ring],[data-tier-mark]){background:color-mix(in srgb, var(--color-text-primary) 10%, var(--color-background-primary-default))}}.peach-react :is([data-tier-ring],[data-tier-mark]){color:var(--color-text-secondary)}.peach-react [data-tier-ring]{width:48px;height:48px;font:600 18px/24px var(--board-font);display:block}.peach-react [data-tier-ring]>[data-tier-initial]{justify-content:center;align-items:center;display:flex;position:absolute;inset:0}.peach-react :is([data-tier-ring],[data-tier-mark])>img{object-fit:cover;width:100%;height:100%;display:block;position:absolute;inset:0}.peach-react [data-tier-name]{max-width:100%;font:var(--board-caption);text-align:center;text-overflow:ellipsis;display:block;overflow:hidden}.peach-react [data-tier-mark]{width:28px;height:28px;font:600 12px/16px var(--board-font);justify-content:center;align-items:center;display:flex}.peach-react [data-catalog-scroll]{flex:1;align-items:center;gap:7px;min-width:0;display:flex;position:relative}.peach-react [data-catalog-views]{flex:none;align-items:center;gap:7px;display:flex}.peach-react [data-catalog-view]{z-index:1;height:30px;color:var(--glass-text);border-radius:8px;flex:none;justify-content:center;align-items:center;padding:0 10px;display:inline-flex;position:relative}@supports (color:color-mix(in lab, red, red)){.peach-react [data-catalog-view]{color:color-mix(in srgb, var(--glass-text) 60%, transparent)}}.peach-react [data-catalog-view]{white-space:nowrap;cursor:pointer;font-size:13px;line-height:20px;text-decoration:none}.peach-react [data-catalog-view]:is(:hover,[aria-pressed=true]){color:var(--glass-text)}.peach-react [data-catalog-view]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-catalog-tags]{overscroll-behavior-inline:contain;scrollbar-width:none;flex:1;align-items:center;gap:7px;min-width:0;display:flex;overflow:auto hidden}.peach-react [data-catalog-tags]::-webkit-scrollbar{display:none}@media (width<=760px){.peach-react [data-catalog-scroll]{overscroll-behavior-inline:contain;scrollbar-width:none;overflow:auto hidden}.peach-react [data-catalog-scroll]::-webkit-scrollbar{display:none}.peach-react [data-catalog-scroll]>[data-catalog-tags]{flex:none;min-width:auto;overflow:visible}}.peach-react [data-catalog-tag]{border-radius:var(--tag-radius);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(--field-ring);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)}}.peach-react [data-catalog-frame]>[data-filter-row=bottom]{color:var(--ink-2);font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:12px;line-height:20px}.peach-react [data-catalog-readout]{white-space:nowrap;flex:none}.peach-react [data-catalog-placeholder]{pointer-events:none}.peach-react [data-catalog-tier]:has([data-catalog-placeholder]){overflow:hidden}.peach-react [data-catalog-placeholder=performer]{width:76px;font:var(--board-caption);flex-direction:column;flex:none;align-items:center;gap:6px;padding:6px 4px;display:flex}.peach-react [data-catalog-placeholder=performer]>:first-child{background:var(--hover);border-radius:50%;width:48px;height:48px}.peach-react [data-catalog-placeholder=performer]>:last-child{border-radius:var(--badge-radius);background:var(--hover);width:60%}.peach-react [data-catalog-placeholder=studio]{flex:none;align-items:center;gap:8px;height:40px;padding:6px 12px 6px 6px;display:inline-flex}.peach-react [data-catalog-placeholder=studio]>:first-child{background:var(--hover);border-radius:50%;width:28px;height:28px}.peach-react [data-catalog-placeholder=studio]>:last-child{border-radius:var(--badge-radius);background:var(--hover);width:48px}.peach-react [data-catalog-placeholder=tag]{flex:none;gap:7px;display:flex}.peach-react [data-catalog-placeholder=tag]>span{border-radius:var(--tag-radius);background:var(--hover);flex:none;width:72px;height:30px}.peach-react [data-loading] [data-catalog-placeholder]>span{position:relative;overflow:hidden}.peach-react [data-loading] [data-catalog-placeholder]>span:after{content:"";border-radius:inherit;background:linear-gradient(to right, var(--hover), var(--skeleton-sheen) 50%, var(--hover));background-size:50% 100%;animation:1.5s ease-in-out infinite reverse peach-skeleton-sweep;position:absolute;inset:0 -200% 0 0}@media (prefers-reduced-motion:reduce){.peach-react [data-loading] [data-catalog-placeholder]>span:after{animation:none}}.peach-react [data-refreshing] :is([data-catalog-tag],[data-tier-ring],[data-tier-name],[data-tier-studio]){visibility:hidden;background:var(--hover);border-color:#0000;position:relative;overflow:hidden}.peach-react [data-refreshing] [data-tier-name]{border-radius:var(--control-radius);width:52px;margin:0 auto}.peach-react [data-refreshing] :is([data-catalog-tag],[data-tier-ring],[data-tier-name],[data-tier-studio]):after{content:"";visibility:visible;border-radius:inherit;background:linear-gradient(to right, var(--hover), var(--skeleton-sheen) 50%, var(--hover));background-size:50% 100%;animation:1.5s ease-in-out infinite reverse peach-skeleton-sweep;position:absolute;inset:0 -200% 0 0}.peach-react [data-refreshing] [data-tier-ring][class~=imgdone]:after{opacity:1;filter:none;visibility:visible}@media (prefers-reduced-motion:reduce){.peach-react [data-refreshing] :is([data-catalog-tag],[data-tier-ring],[data-tier-name],[data-tier-studio]):after{animation:none}}.peach-react [data-photo-wall]{--photo-columns:5;grid-template-columns:repeat(var(--photo-columns), minmax(0, 1fr));gap:10px;display:grid}.peach-react [data-photo-wall][data-size=big]{--photo-columns:3}@media (width<=1400px){.peach-react [data-photo-wall]{--photo-columns:4}.peach-react [data-photo-wall][data-size=big]{--photo-columns:2}}@media (width<=1000px){.peach-react [data-photo-wall]{--photo-columns:3}.peach-react [data-photo-wall][data-size=big]{--photo-columns:1}}@media (width<=640px){.peach-react [data-photo-wall]{--photo-columns:2;gap:8px}.peach-react [data-photo-wall][data-size=big]{--photo-columns:1}}.peach-react [data-photo-wall][data-layout=masonry]{column-count:var(--photo-columns);column-gap:10px;display:block}.peach-react [data-photo-cell]{aspect-ratio:1;border-radius:var(--surface-radius);background:var(--sunk);cursor:zoom-in;border:0;width:100%;margin:0;padding:0;line-height:0;display:block;overflow:hidden}.peach-react [data-photo-cell] img{object-fit:cover;background:var(--sunk);color:#0000;width:100%;height:100%;display:block}.peach-react [data-photo-cell]:hover img{filter:brightness(1.06)}.peach-react [data-photo-cell]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-photo-wall][data-layout=masonry]>[data-photo-cell]{aspect-ratio:auto;break-inside:avoid;margin:0 0 14px}.peach-react [data-photo-wall][data-layout=masonry]>[data-photo-cell] img{aspect-ratio:auto 1;height:auto}.peach-react [data-photo-wall][data-layout=masonry]>[data-photo-cell]:not(:has(img)){aspect-ratio:3/2}.peach-react [data-photo-group]{min-width:0;color:var(--muted);font-size:var(--fs-sm);align-items:baseline;gap:10px;margin:28px 2px 10px;line-height:20px;display:flex}.peach-react [data-photo-group]>b{color:var(--ink);font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:var(--fs-md);font-variant-numeric:tabular-nums;flex:none}.peach-react [data-photo-group-title]{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.peach-react [data-photo-group-meta]{flex:none;margin-left:auto}.peach-react [data-follow-feed]{font:var(--board-body);padding:4px 0 42px}.peach-react [data-follow-head]{justify-content:space-between;align-items:center;gap:14px;margin-bottom:20px;display:flex}.peach-react [data-follow-title]{font:var(--board-title);font-size:var(--fs-2xl);letter-spacing:0;margin:0}@media (width<=760px){.peach-react [data-follow-title]{font:var(--board-figure);font-size:var(--fs-xl)}}.peach-react [data-follow-head-actions]{flex:none;align-items:center;gap:8px;display:inline-flex}.peach-react button:is([data-follow-manage],[data-follow-older]):has(>svg){gap:0;padding-left:12px}.peach-react button:is([data-follow-manage],[data-follow-older])>svg{width:14px;height:14px}.peach-react :is([data-follow-authors],[data-follow-works]){overscroll-behavior-inline:contain;scrollbar-width:none;align-items:center;gap:4px;display:flex;overflow-x:auto}.peach-react :is([data-follow-authors],[data-follow-works])::-webkit-scrollbar{display:none}.peach-react [data-follow-authors]{margin:0 0 2px;padding:3px 0 10px}.peach-react [data-follow-works]{margin:0 0 2px;padding:0 0 10px}@media (width<=640px){.peach-react [data-follow-authors]{margin-right:-12px}}.peach-react :is(button[data-follow-author],button[data-follow-work]){color:var(--color-text-secondary);font:var(--board-body-medium);white-space:nowrap;cursor:pointer;transition:transform var(--lift-motion,var(--board-motion)), scale calc(var(--spring-press-ms) * 1ms) var(--spring-press), background-color .2s ease-out, color .2s ease-out;background:0 0;border:0;flex:none}.peach-react :is(button[data-follow-author],button[data-follow-work]):active{transition:scale 60ms ease-out;scale:.96}.peach-react :is(button[data-follow-author],button[data-follow-work]):hover{background:var(--color-background-primary-hover);color:var(--color-text-primary)}.peach-react :is(button[data-follow-author],button[data-follow-work])[aria-pressed=true]{background:var(--color-background-tertiary-default);color:var(--color-text-primary)}.peach-react :is(button[data-follow-author],button[data-follow-work]):focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react button[data-follow-author]{text-align:center;border-radius:12px;flex-direction:column;align-items:center;gap:6px;width:76px;padding:6px 4px;display:flex}.peach-react button[data-follow-work]{text-align:left;border-radius:12px;align-items:center;gap:8px;height:40px;padding:6px 12px 6px 6px;display:inline-flex}.peach-react :is([data-follow-ring],[data-follow-mark]){background:var(--color-text-primary);border-radius:50%;flex:none;justify-content:center;align-items:center;margin:0;display:flex;position:relative;overflow:hidden}@supports (color:color-mix(in lab, red, red)){.peach-react :is([data-follow-ring],[data-follow-mark]){background:color-mix(in srgb, var(--color-text-primary) 10%, var(--color-background-primary-default))}}.peach-react :is([data-follow-ring],[data-follow-mark]){color:var(--color-text-secondary)}.peach-react [data-follow-ring]{width:48px;height:48px;font:600 18px/24px var(--board-font)}.peach-react [data-follow-mark]{width:28px;height:28px;font:600 12px/16px var(--board-font)}.peach-react [data-follow-ring]>img,.peach-react [data-follow-mark]>img{object-fit:cover;width:100%;max-width:none;height:100%;display:block;position:absolute;inset:0}.peach-react [data-follow-mark]>img{object-position:50% 25%}.peach-react [data-follow-ring]>span{width:100%;height:100%;font:inherit;color:inherit;justify-content:center;align-items:center;display:flex}.peach-react [data-follow-name]{max-width:100%;color:inherit;font:var(--board-caption);text-align:center;text-overflow:ellipsis;display:block;overflow:hidden}.peach-react [data-follow-filter-glass]{z-index:60;font:var(--board-body);letter-spacing:normal}.peach-react [data-follow-filter-glass] :is(button,[role=radio]):focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-follow-filter-glass]>[data-filter-row=bottom]{overscroll-behavior-inline:contain;scrollbar-width:none;overflow-x:auto}.peach-react [data-follow-filter-glass]>[data-filter-row=bottom]::-webkit-scrollbar{display:none}@media (width<=760px){.peach-react [data-follow-filter-glass] [data-entity-sorts]{padding-left:0}}.peach-react [data-follow-filter-glass] :is([data-entity-scroll],[data-entity-states],[data-entity-tags]){gap:7px}.peach-react button[data-follow-provider]{border:1px dashed var(--glass-low);border-radius:var(--tag-radius);cursor:pointer;background:0 0;flex:none;justify-content:center;align-items:center;width:34px;height:30px;padding:0;display:inline-flex}.peach-react button[data-follow-provider]:hover{border-style:solid;border-color:var(--field-ring)}.peach-react button[data-follow-provider][aria-pressed=true]{border-style:solid;border-color:var(--field-ring);background:var(--picked)}.peach-react [data-follow-provider]>img{border-radius:var(--badge-radius);object-fit:contain;width:18px;height:18px;margin:0}.peach-react [data-follow-filter-glass] [data-follow-tag]{--tag-color:#55a7ff;color:var(--glass-text);gap:6px}.peach-react [data-follow-filter-glass] [data-follow-tag][data-tag-cat=r34-artist]{--tag-color:#e36c6c}.peach-react [data-follow-filter-glass] [data-follow-tag][data-tag-cat=r34-character]{--tag-color:#68c76f}.peach-react [data-follow-filter-glass] [data-follow-tag][data-tag-cat=r34-copyright]{--tag-color:#d675d6}.peach-react [data-follow-filter-glass] [data-follow-tag][data-tag-cat=r34-metadata]{--tag-color:#f5a24a}.peach-react [data-follow-filter-glass] [data-follow-tag]:hover{border-color:var(--field-ring)}.peach-react [data-follow-filter-glass] [data-follow-tag][aria-pressed=true]{border-style:solid;border-color:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-filter-glass] [data-follow-tag][aria-pressed=true]{border-color:color-mix(in srgb, var(--tag-color) 72%, transparent)}}.peach-react [data-follow-filter-glass] [data-follow-tag][aria-pressed=true]{background:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-filter-glass] [data-follow-tag][aria-pressed=true]{background:color-mix(in srgb, var(--tag-color) 22%, transparent)}}.peach-react [data-follow-filter-glass] [data-follow-tag][aria-pressed=true]{color:var(--glass-text,var(--ink))}.peach-react [data-follow-filter-glass] [data-follow-tag] [data-count-badge]{color:var(--glass-text)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-filter-glass] [data-follow-tag] [data-count-badge]{color:color-mix(in srgb, var(--glass-text) 55%, transparent)}}.peach-react [data-follow-filter-glass] [data-follow-tag] [data-count-badge]{font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:11px}.peach-react button[data-follow-images-only]{width:30px;height:30px;color:var(--glass-text);background:0 0;border:0;border-radius:7px;flex:none;place-items:center;padding:0;display:grid;position:relative}@supports (color:color-mix(in lab, red, red)){.peach-react button[data-follow-images-only]{color:color-mix(in srgb, var(--glass-text) 60%, transparent)}}.peach-react button[data-follow-images-only]{cursor:pointer}.peach-react button[data-follow-images-only]:is(:hover,[aria-pressed=true]){color:var(--glass-text)}.peach-react button[data-follow-images-only]>[data-view-glide]{inset:0}.peach-react button[data-follow-images-only] svg{z-index:1;fill:none;stroke:currentColor;stroke-width:2px;width:16px;height:16px;position:relative}.peach-react [data-follow-readout]{font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace}.peach-react [data-follow-broken]>[role=alert]{margin:10px 0 14px}.peach-react [data-follow-broken] [data-follow-manage]{color:var(--tungsten);font:inherit;cursor:pointer;background:0 0;border:0;padding:0}.peach-react [data-follow-pagination]{border-top:1px solid var(--line-soft);flex-wrap:wrap;align-items:center;gap:14px 24px;margin-top:18px;padding-top:14px;display:flex;overflow-x:auto}.peach-react [data-follow-page-action]{align-items:center;gap:12px;display:inline-flex}.peach-react [data-follow-pagination] [data-entity-more]{gap:4px;min-width:0;margin:0}.peach-react :is([data-follow-older],[data-follow-recheck])>span{gap:4px}.peach-react button[data-follow-older][aria-busy]{border-color:var(--line);background:var(--ground);color:var(--muted);box-shadow:none}.peach-react [data-follow-backfill]{color:var(--muted);font:var(--board-compact)}.peach-react [data-follow-list]{grid-template-columns:repeat(auto-fill, minmax(var(--tile), 1fr));gap:24px 16px;display:grid}.peach-react [data-follow-list]>[data-media-card]{align-self:start}.peach-react [data-follow-list]>[data-follow-empty]{grid-column:1/-1}.peach-react [data-follow-wall]{--photo-columns:5;grid-template-columns:repeat(var(--photo-columns), minmax(0, 1fr));align-items:start;gap:14px 10px}.peach-react [data-follow-wall][data-size=big]{--photo-columns:3}@media (width<=1400px){.peach-react [data-follow-wall]{--photo-columns:4}.peach-react [data-follow-wall][data-size=big]{--photo-columns:2}}@media (width<=1000px){.peach-react [data-follow-wall]{--photo-columns:3}.peach-react [data-follow-wall][data-size=big]{--photo-columns:1}}@media (width<=640px){.peach-react [data-follow-wall]{--photo-columns:2;gap:12px 8px}.peach-react [data-follow-wall][data-size=big]{--photo-columns:1}}.peach-react [data-follow-wall][data-layout=masonry]{column-count:var(--photo-columns);column-gap:10px;display:block}.peach-react [data-follow-wall][data-layout=masonry]>[data-follow-empty]{column-span:all}.peach-react [data-follow-wall][data-layout=masonry]>[data-media-card]{break-inside:avoid;margin:0 0 14px}.peach-react [data-follow-wall][data-images-only=true] [data-follow-item] :is([data-media-meta],[data-media-badge],[data-follow-collection],[data-follow-state]){display:none}.peach-react [data-follow-wall] [data-media-card] :is([data-media-pic],[data-media-meta]){content-visibility:visible}.peach-react [data-follow-wall] [data-media-card] [data-media-meta]{pointer-events:auto;contain-intrinsic-block-size:none;margin:0;padding:0}.peach-react [data-follow-item] [data-media-meta]{--card-meta-byline:max(1lh, 21px);--card-meta-badges:0px}.peach-react [data-follow-item] [data-media-meta]:has(>[data-media-text]>[data-follow-badges]){--card-meta-badges:calc(1lh + 6px + 3px)}.peach-react [data-follow-list]:not([data-follow-wall]) [data-follow-item] [data-media-meta]{contain-intrinsic-block-size:auto calc(var(--card-meta-block) + var(--card-meta-badges))}.peach-react [data-follow-item][data-status=ignored]{opacity:.62}.peach-react [data-follow-visual]{isolation:isolate;border-radius:var(--surface-radius);position:relative}.peach-react [data-follow-visual]>[data-media-pic]{z-index:1}.peach-react [data-follow-open]{z-index:1;border-radius:inherit;cursor:pointer;background:0 0;border:0;padding:0;position:absolute;inset:0}.peach-react [data-follow-open]:focus-visible{outline:2px solid var(--tungsten);outline-offset:-2px}.peach-react [data-select-mode] :is([data-follow-open],[data-follow-actions],[data-follow-collection]){pointer-events:none!important}.peach-react [data-follow-nothumb]{color:var(--muted);font-size:var(--fs-xs);place-items:center;display:grid;position:absolute;inset:0}.peach-react :is([data-media-badge],[data-follow-nothumb])>img{border-radius:var(--badge-radius);object-fit:contain;width:18px;height:18px;margin:0}.peach-react [data-follow-image] [data-media-pic]{aspect-ratio:4/3;background:var(--sunk);min-height:0}.peach-react [data-follow-image] [data-media-pic]>img,.peach-react [data-follow-image] :is([data-mix-faces],[data-mix-face] img){background:var(--sunk)}.peach-react [data-follow-wall][data-layout=masonry] [data-follow-image] [data-media-pic]{aspect-ratio:1}.peach-react [data-follow-wall][data-layout=masonry] [data-follow-image] [data-media-pic]:has(>img[width][height]){aspect-ratio:auto}.peach-react [data-follow-wall][data-layout=masonry] [data-follow-image] [data-media-pic]>img[width][height]{aspect-ratio:auto 1;height:auto;position:static}.peach-react [data-follow-corner]{z-index:7;pointer-events:none;flex-direction:column;align-items:flex-end;gap:6px;display:flex;position:absolute;top:10px;right:10px}.peach-react [data-follow-collection]{border-radius:var(--control-radius);color:#fff;min-height:28px;font:inherit;cursor:pointer;pointer-events:auto;-webkit-backdrop-filter:blur(10px);background:#0c0808b8;border:0;align-items:center;gap:6px;padding:4px 9px;display:flex}.peach-react [data-follow-collection] svg{fill:none;stroke:currentColor;stroke-width:2px;width:15px;height:15px}.peach-react [data-follow-actions]{opacity:0;pointer-events:none;align-items:center;gap:6px;transition:opacity .15s;display:flex}.peach-react [data-follow-actions] button{color:#fff;cursor:pointer;-webkit-backdrop-filter:blur(10px);background:#0000007a;border:1px solid #ffffff29;border-radius:50%;place-items:center;width:36px;height:36px;padding:0;display:grid}.peach-react [data-follow-actions] button svg{fill:none;stroke:currentColor;stroke-width:2px;width:18px;height:18px}.peach-react [data-follow-actions] button:hover:not(:disabled){background:#ffffff2e;transform:scale(1.08)}.peach-react [data-follow-actions] button:disabled{opacity:.42;cursor:not-allowed}.peach-react [data-follow-actions] button[aria-busy]{cursor:wait;opacity:.72}@media (hover:hover) and (pointer:fine){.peach-react [data-follow-item]:hover [data-follow-actions]{opacity:1;pointer-events:auto}}@media (hover:none),(pointer:coarse){.peach-react [data-follow-item] [data-follow-actions]{opacity:1;pointer-events:auto}}.peach-react [data-follow-avatar]{cursor:default;background:var(--overlay-5);border:1px solid var(--line-soft);place-items:center;display:grid}.peach-react [data-follow-avatar]>img{border-radius:50%}.peach-react [data-follow-avatar]>span:first-child{width:100%;height:100%;color:var(--muted);font-family:var(--board-font);font-size:var(--fs-sm);place-items:center;display:grid}.peach-react [data-follow-byline]{min-width:0;min-height:21px;color:var(--muted);flex-wrap:nowrap;align-items:center;gap:6px;display:flex;overflow:hidden}.peach-react [data-follow-byline]>[data-follow-author]{min-width:0;color:inherit;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.peach-react [data-follow-byline]>time{font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:var(--fs-xs);font-variant-numeric:tabular-nums;white-space:nowrap;flex:none}.peach-react [data-follow-credit]{color:var(--muted);font-size:var(--fs-xs);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.peach-react [data-follow-badges]{flex-wrap:nowrap;gap:5px;min-width:0;display:flex;overflow:hidden}.peach-react [data-follow-item] [data-media-tag]{--tag-color:#55a7ff;border-color:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-item] [data-media-tag]{border-color:color-mix(in srgb, var(--tag-color) 42%, transparent)}}.peach-react [data-follow-item] [data-media-tag]{background:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-item] [data-media-tag]{background:color-mix(in srgb, var(--tag-color) 10%, transparent)}}.peach-react [data-follow-item] [data-media-tag]{cursor:default}.peach-react [data-follow-item] [data-media-tag][data-tag-cat=r34-artist]{--tag-color:#e36c6c}.peach-react [data-follow-item] [data-media-tag][data-tag-cat=r34-character]{--tag-color:#68c76f}.peach-react [data-follow-item] [data-media-tag][data-tag-cat=r34-copyright]{--tag-color:#d675d6}.peach-react [data-follow-item] [data-media-tag][data-tag-cat=r34-metadata]{--tag-color:#f5a24a}.peach-react [data-follow-issue]{color:var(--drop);font-size:var(--fs-sm);margin:18px 0 8px;line-height:1.7;display:block}.peach-react [data-follow-state]{color:var(--drop);font-size:var(--fs-xs);flex:100%}.peach-react [data-follow-detail] [data-follow-detail-media]{--follow-image-arrow-inset:16px}.peach-react [data-follow-detail] [data-follow-detail-media=image]{background:var(--video-glow,#15202a)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-detail] [data-follow-detail-media=image]{background:color-mix(in srgb, var(--video-glow,#15202a) 12%, var(--surface) 88%)}}.peach-react [data-follow-detail] [data-follow-detail-poster]{z-index:1;object-fit:contain;background:0 0;width:auto;max-width:100%;height:auto;max-height:76vh;display:block;position:relative}.peach-react [data-follow-detail] [data-follow-detail-poster][data-zoomable]{cursor:zoom-in}.peach-react [data-follow-detail] [data-framed] [data-follow-detail-poster]{width:100%;aspect-ratio:var(--follow-frame-ratio)}.peach-react [data-follow-detail] [data-follow-detail-placeholder]{aspect-ratio:16/9;color:var(--muted);place-items:center;gap:10px;display:grid}.peach-react [data-follow-detail] [data-follow-detail-placeholder] img{width:34px;height:34px;margin:0}.peach-react [data-follow-detail] [data-follow-image-arrow]{box-sizing:border-box;z-index:4;cursor:pointer;color:#fff;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#0009;border:0;border-radius:50%;place-items:center;width:48px;height:48px;padding:0;display:grid;position:absolute;top:50%;transform:translateY(-50%)}.peach-react [data-follow-detail] [data-follow-image-arrow]:hover{background:#000000c7}.peach-react [data-follow-detail] [data-follow-image-arrow]:focus-visible{outline:2px solid var(--tungsten);outline-offset:3px}.peach-react [data-follow-detail] [data-follow-image-arrow] svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:24px;height:24px;display:block}.peach-react [data-follow-detail] [data-follow-image-arrow=prev]{left:var(--follow-image-arrow-inset)}.peach-react [data-follow-detail] [data-follow-image-arrow=next]{right:var(--follow-image-arrow-inset)}.peach-react [data-follow-detail] [data-follow-image-dots]{z-index:4;border-radius:var(--pill-radius);background:#00000080;justify-content:center;align-items:center;gap:8px;max-width:calc(100% - 120px);padding:8px 11px;display:flex;position:absolute;bottom:18px;left:50%;overflow:hidden;transform:translate(-50%)}.peach-react [data-follow-detail] [data-follow-image-dots] button{cursor:pointer;background:#ffffff6b;border:0;border-radius:50%;flex:none;width:8px;height:8px;padding:0}.peach-react [data-follow-detail] [data-follow-image-dots] button[aria-current=true]{border-radius:var(--pill-radius);background:#fff;width:20px}.peach-react [data-follow-detail] [data-follow-queue-meta]{align-items:center;gap:6px;display:flex}.peach-react [data-follow-detail] [data-follow-queue-meta]>[data-follow-queue-source]{display:contents}.peach-react [data-follow-detail] [data-follow-queue-meta] img{flex:none;margin:0}.peach-react [data-follow-detail] [data-follow-queue-meta] time{white-space:nowrap;flex:none}.peach-react [data-follow-detail] [data-follow-variant]{border-radius:var(--badge-radius);text-overflow:ellipsis;vertical-align:-2px;background:var(--overlay-5);min-width:0;max-width:120px;color:var(--muted);font-size:var(--fs-xs);flex:0 auto;margin:0;padding:1px 7px;font-style:normal;display:inline-block;overflow:hidden}.peach-react [data-follow-detail] [data-follow-variant=wip]{color:var(--meter)}.peach-react [data-follow-detail] [data-follow-variant=alt]{color:var(--ink-2)}.peach-react [data-follow-detail] [data-follow-nothumb]{width:100%;height:100%;color:var(--muted);font-size:var(--fs-xs);place-items:center;display:grid}.peach-react [data-follow-detail] [data-follow-nothumb] svg{stroke:currentColor;fill:none;stroke-width:2px;width:22px;height:22px}.peach-react [data-follow-detail] [data-follow-detail-title]{align-items:flex-start;gap:5px;margin-bottom:8px;display:flex}.peach-react [data-follow-detail] [data-follow-detail-title]>[data-follow-detail-name]{width:auto;max-width:calc(100% - 35px);margin:0}.peach-react [data-follow-detail] [data-follow-origin]{flex:none;width:30px;height:30px;margin:0}.peach-react [data-follow-detail] [data-follow-detail-identity]{align-items:center;gap:10px;margin:2px 0 12px;display:flex}.peach-react [data-follow-detail] [data-follow-detail-identity] b,.peach-react [data-follow-detail] [data-follow-detail-identity] span{display:block}.peach-react [data-follow-detail] [data-follow-detail-identity]>div>span{color:var(--muted);font-size:var(--fs-xs);margin-top:3px}.peach-react [data-follow-detail] [data-follow-source-avatar]{cursor:default;background:var(--overlay-5);border:1px solid var(--line-soft);flex:none;place-items:center;display:grid}.peach-react [data-follow-detail] [data-follow-source-avatar]:hover{box-shadow:none}.peach-react [data-follow-detail] [data-follow-source-avatar]>*{object-fit:cover;border-radius:50%;outline:0;width:100%;height:100%;position:absolute;inset:0}.peach-react [data-follow-detail] [data-follow-source-avatar]>span{font-size:var(--fs-sm);color:var(--muted);place-items:center;display:grid}.peach-react [data-follow-detail] [data-follow-badges]{flex-wrap:nowrap;gap:5px;min-width:0;display:flex;overflow:hidden}.peach-react [data-follow-detail] [data-follow-detail-summary]{color:var(--ink-2);white-space:pre-line;margin:0 0 16px;line-height:1.6}.peach-react [data-follow-detail] [data-follow-media-issue]{font-size:var(--fs-sm);color:var(--drop);margin:18px 0 8px;line-height:1.7}.peach-react [data-follow-detail] [data-follow-media-issue][hidden]{display:none}.peach-react [data-follow-detail] [data-follow-resources]{flex-wrap:wrap;gap:8px;margin:0 0 16px;display:flex}.peach-react [data-follow-detail] [data-follow-resources] a{height:34px}.peach-react [data-follow-detail] [data-follow-detail-actions] button:disabled{opacity:.45;cursor:not-allowed}.peach-react [data-follow-detail] [data-follow-download]{box-sizing:border-box;background:var(--surface);width:36px;min-width:36px;height:36px;color:var(--ink-2);border:0;border-radius:8px;flex:0 0 36px;place-items:center;padding:0;display:grid}.peach-react [data-follow-detail] [data-follow-download]:hover{background:var(--hover);color:var(--ink)}.peach-react [data-follow-detail] [data-follow-download] svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:18px;height:18px;margin:0;display:block}@media (width<=760px){.peach-react [data-follow-detail] [data-follow-detail-actions]{width:max-content;max-width:100%}.peach-react [data-follow-detail] [data-follow-detail-actions] :is(button,[data-follow-download]){flex:none}}.peach-react [data-follow-detail] [data-follow-hidden-media]{align-items:center;gap:10px;margin-top:14px;display:flex}.peach-react [data-follow-detail] [data-follow-hidden-label]{color:var(--muted);white-space:nowrap}.peach-react [data-follow-detail] [data-follow-hidden-thumbs]{flex-wrap:wrap;gap:6px;display:flex}.peach-react [data-follow-detail] [data-follow-hidden-thumbs] button{border:1px solid var(--border-15);border-radius:var(--control-radius);cursor:pointer;background:0 0;width:40px;height:40px;padding:0;position:relative;overflow:hidden}.peach-react [data-follow-detail] [data-follow-hidden-thumbs] button:hover{border-color:var(--ink-3)}.peach-react [data-follow-detail] [data-follow-hidden-thumbs] img{object-fit:cover;opacity:.55;width:100%;height:100%;display:block}.peach-react [data-follow-detail] [data-follow-hidden-thumbs] i{background:var(--hover);width:16px;height:16px;color:var(--ink-2);border-radius:50%;justify-content:center;align-items:center;display:flex;position:absolute;bottom:2px;right:2px}.peach-react [data-follow-detail] [data-follow-hidden-thumbs] svg{stroke:currentColor;fill:none;width:11px;height:11px}.peach-react [data-follow-detail] [data-follow-state]{font-size:var(--fs-xs);color:var(--drop);flex:none}.peach-react [data-follow-detail] [data-follow-detail-tags]{margin:16px 0 0}.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]{text-overflow:clip;white-space:normal;text-align:left;max-width:none;color:var(--ink-2);border-color:var(--tag-color);font-family:inherit;overflow:visible}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]{border-color:color-mix(in srgb, var(--tag-color) 42%, transparent)}}.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]{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]:hover{border-color:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]:hover{border-color:color-mix(in srgb, var(--tag-color) 68%, transparent)}}.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]:hover{background:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]:hover{background:color-mix(in srgb, var(--tag-color) 18%, transparent)}}.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]:hover{color:var(--ink)}@media (width<=640px){.peach-react [data-follow-detail] [data-follow-detail-media]{--follow-image-arrow-inset:10px}.peach-react [data-follow-detail] [data-follow-image-arrow]{width:44px;height:44px}.peach-react [data-follow-detail] [data-follow-image-dots]{bottom:12px}}.peach-react [data-item-detail] [data-item-gate]{box-sizing:border-box;aspect-ratio:auto;border-radius:inherit;background:var(--sunk);border:1px dashed var(--meter);cursor:pointer;flex-direction:column;justify-content:center;align-items:center;gap:10px;width:100%;height:100%;display:flex}:where(.peach-react [data-item-detail] [data-item-gate]) b{font-size:var(--fs-md)}:where(.peach-react [data-item-detail] [data-item-gate]) span{font-size:var(--fs-xs);color:var(--muted)}.peach-react [data-item-detail] [data-item-gate=offline]{cursor:default;background:var(--ground);min-height:220px;color:var(--ink);border-style:solid;gap:7px;padding:24px}.peach-react [data-item-detail] [data-item-gate=offline] b{letter-spacing:.08em}.peach-react [data-item-detail] [data-item-gate=offline] span{text-align:center;max-width:34ch;color:var(--ink-2);line-height:1.6}.peach-react [data-item-detail] [data-item-gate=offline] button{cursor:pointer;margin-top:4px}.peach-react [data-item-detail] [data-queue-head]{color:var(--ink);align-items:center;gap:5px;margin-top:0;display:flex}.peach-react [data-item-detail] [data-queue-head] b{flex:1;min-width:0}.peach-react [data-item-detail] [data-queue-edition]{flex:none;font-style:normal}.peach-react [data-item-detail] [data-queue-edit]{z-index:3;border-radius:var(--control-radius);color:#fff;background:#0000009e;grid-auto-flow:column;align-items:center;gap:2px;padding:3px;display:grid;position:absolute;top:5px;right:5px}.peach-react [data-item-detail] [data-queue-grip]{width:20px;color:var(--muted);cursor:grab;place-items:center;display:grid}.peach-react [data-item-detail] [data-queue-grip] svg{stroke:currentColor;fill:none;width:16px;height:16px}.peach-react [data-item-detail] [data-queue-edit] button{border-radius:var(--control-radius);color:#fff;cursor:pointer;background:0 0;border:0;place-items:center;width:26px;height:26px;padding:0;display:grid}.peach-react [data-item-detail] [data-queue-edit] button:hover{background:var(--hover)}.peach-react [data-item-detail] [data-queue-edit] svg{stroke:currentColor;fill:none;width:15px;height:15px}.peach-react [data-item-detail] [data-item-title]{margin-bottom:10px;display:block}.peach-react [data-item-detail] [data-item-title] [class~=srcbig]{vertical-align:middle;place-items:center;width:17px;height:28px;margin:0 8px 0 0;display:inline-grid}.peach-react [data-item-detail] [data-item-title] [data-title-line]{min-width:0;margin:0;line-height:1.75}.peach-react [data-item-detail] [data-detail-title]{-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.peach-react [data-item-detail] [data-detail-title][data-expanded]{-webkit-line-clamp:unset;line-clamp:unset;display:block}.peach-react [data-item-detail] [data-detail-title][data-foldable]{cursor:pointer}.peach-react [data-item-detail] [data-title-tools]{flex-wrap:nowrap;align-items:center;gap:6px;margin:6px 0 0;display:flex}.peach-react [data-item-detail] [data-title-tools]:not(:has(button:not([hidden]))){display:none}.peach-react [data-item-detail] [data-title-tools] button{border:1px solid var(--line);background:var(--surface);width:26px;height:26px;color:var(--muted);cursor:pointer;border-radius:8px;flex:none;place-items:center;padding:0;line-height:1;display:inline-grid}.peach-react [data-item-detail] [data-title-tools] button[hidden]{display:none}.peach-react [data-item-detail] [data-title-tools] [data-cover-crop-host]{display:contents}.peach-react [data-item-detail] [data-title-tools] button svg{stroke:currentColor;fill:none;stroke-width:2px;width:15px;height:15px}.peach-react [data-item-detail] [data-title-tools] button>svg{flex-shrink:0;place-self:center;margin:0;display:block}.peach-react [data-item-detail] [data-title-tools] button:hover{background:var(--hover);color:var(--ink)}.peach-react [data-item-detail] [data-title-tools] button:disabled{background:var(--sunk);border-color:var(--line-soft);color:var(--muted);cursor:not-allowed}.peach-react [data-item-detail] [data-title-state]{min-width:0;font-size:var(--fs-xs);color:var(--muted);flex:100%;margin:-4px 0 10px;display:block}.peach-react [data-item-detail] [data-title-state]:empty{display:none}.peach-react [data-item-detail] [data-item-rating]{align-items:center;gap:8px;margin:-6px 0 10px;display:flex}.peach-react [data-item-detail] [data-rating-stars]{align-items:center;gap:2px;margin-left:-4px;display:inline-flex}.peach-react [data-item-detail] [data-rate]{border-radius:var(--control-radius);width:26px;height:26px;color:var(--rating);cursor:pointer;background:0 0;border:0;place-items:center;padding:0;display:grid}.peach-react [data-item-detail] [data-rate] svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:19px;height:19px}.peach-react [data-item-detail] [data-rate][data-on=true] svg{fill:currentColor}.peach-react [data-item-detail] [data-rating-stars]:hover [data-rate] svg{fill:none}.peach-react [data-item-detail] [data-rating-stars]:hover [data-rate]:hover svg,.peach-react [data-item-detail] [data-rating-stars]:hover [data-rate]:has(~[data-rate]:hover) svg{fill:currentColor}.peach-react [data-item-detail] [data-rate]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-item-detail] [data-rating-value]{color:var(--muted);font-size:var(--fs-xs);font-variant-numeric:tabular-nums}.peach-react [data-item-detail] [data-spec-item]{align-items:center;gap:5px;display:inline-flex}.peach-react [data-item-detail] [data-spec-item] svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:15px;height:15px}.peach-react [data-item-detail] [data-open-region]{font:inherit;color:inherit;cursor:pointer;background:0 0;border:0;padding:0}.peach-react [data-item-detail] [data-open-region]:hover{color:var(--ink)}.peach-react [data-item-detail] [data-item-identity]{flex-direction:column;gap:14px;margin:0 0 18px;display:flex}.peach-react [data-item-detail] [data-identity-primary]{flex-wrap:wrap;align-items:flex-start;gap:14px 26px;display:flex}.peach-react [data-item-detail] [data-identity-primary]>[data-id-group]{width:max-content;max-width:100%}.peach-react [data-item-detail] [data-id-group]{--id-cell:62px;--id-face:46px;min-width:0}.peach-react [data-item-detail] [data-id-group=performer]{--id-cell:58px}.peach-react [data-item-detail] [data-id-label]{font-size:var(--fs-xs);color:var(--muted);letter-spacing:.04em;margin:0 0 7px;font-weight:400}.peach-react [data-item-detail] [data-id-row]{flex-wrap:wrap;align-items:flex-start;gap:10px 12px;display:flex}.peach-react [data-item-detail] [data-id-group=performer] [data-id-row]{gap:10px}.peach-react [data-item-detail] [data-id-cell]{width:var(--id-cell,62px);color:inherit;cursor:default;background:0 0;border:0;flex-direction:column;align-items:flex-start;gap:5px;padding:0;display:flex}.peach-react [data-item-detail] [data-id-cell]:is([data-entity-kind],[data-open-unowned]){color:var(--tungsten);cursor:pointer;text-decoration:none}.peach-react [data-item-detail] [data-id-cell]:is([data-entity-kind],[data-open-unowned]):hover{color:var(--ink)}.peach-react [data-item-detail] [data-id-cell][hidden]{display:none}.peach-react [data-item-detail] [data-id-face]{width:var(--id-face,46px);height:var(--id-face,46px);background:var(--sunk);color:var(--muted);font-size:var(--fs-md);border-radius:50%;place-items:center;display:grid;position:relative;overflow:hidden}.peach-react [data-item-detail] [data-id-face]:not(:has(img)){background:var(--color-text-primary)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-item-detail] [data-id-face]:not(:has(img)){background:color-mix(in srgb, var(--color-text-primary) 10%, var(--color-background-primary-default))}}.peach-react [data-item-detail] [data-id-face]:not(:has(img)){color:var(--color-text-secondary)}.peach-react [data-item-detail] [data-id-cell=studio] [data-id-face]{border-radius:var(--surface-radius);color:#555;background:#fff}.peach-react [data-item-detail] [data-id-face] img{object-fit:cover;width:100%;height:100%;display:block;position:absolute;inset:0}.peach-react [data-item-detail] [data-id-face] svg{stroke:currentColor;fill:none;stroke-width:2px;width:18px;height:18px}.peach-react [data-item-detail] [data-id-name]{font-size:var(--fs-xs);text-align:left;text-overflow:ellipsis;white-space:nowrap;width:100%;color:var(--ink-2);line-height:1.5;overflow:hidden}.peach-react [data-item-detail] [data-id-cell]:is([data-entity-kind],[data-open-unowned]):hover [data-id-face]{box-shadow:0 0 0 2px var(--ink-2)}.peach-react [data-item-detail] [data-id-cell]:is([data-entity-kind],[data-open-unowned]):hover [data-id-name]{color:var(--ink)}.peach-react [data-item-detail] [data-cast-more]{border:1px dashed var(--overlay-10);border-radius:var(--floating-radius);height:46px;color:var(--ink-2);font-size:var(--fs-xs);cursor:pointer;background:0 0;align-self:center;padding:0 12px}.peach-react [data-item-detail] [data-cast-more]:hover{background:var(--hover)}.peach-react [data-item-detail] [data-series-rows]{gap:7px;display:grid}.peach-react [data-item-detail] [data-series-link]{width:100%;color:var(--ink-2);font-size:var(--fs-sm);text-align:left;white-space:normal;overflow-wrap:anywhere;cursor:default;background:0 0;border:0;align-items:flex-start;gap:7px;padding:0;line-height:1.4;text-decoration:none;display:flex}.peach-react [data-item-detail] [data-series-link] svg{stroke:currentColor;fill:none;stroke-width:2px;flex:none;width:16px;height:16px;margin-top:1px}.peach-react [data-item-detail] button[data-series-link]{cursor:pointer}.peach-react [data-item-detail] button[data-series-link]:hover{color:var(--tungsten)}.peach-react [data-item-detail] [data-detail-tag]{border:1px solid var(--line);border-radius:var(--tag-radius);background:var(--tag-fill);align-items:center;min-height:30px;display:inline-flex;overflow:hidden}.peach-react [data-item-detail] [data-detail-tag] button{color:var(--ink-2);cursor:pointer;background:0 0;border:0;height:28px}.peach-react [data-item-detail] [data-detail-tag] [data-tag]{padding:3px 8px}.peach-react [data-item-detail] [data-detail-tag] [data-remove-tag]{width:28px;color:var(--muted);place-items:center;padding:0;display:grid}.peach-react [data-item-detail] [data-detail-tag] [data-tag]:hover{background:var(--hover);color:var(--ink)}.peach-react [data-item-detail] [data-detail-tag] [data-remove-tag]:hover{color:var(--drop);background:var(--drop)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-item-detail] [data-detail-tag] [data-remove-tag]:hover{background:color-mix(in srgb, var(--drop) 12%, transparent)}}.peach-react [data-item-detail] [data-detail-tag] svg,.peach-react [data-item-detail] [data-tag-plus] svg{stroke:currentColor;fill:none;stroke-width:2px;width:15px;height:15px}.peach-react [data-item-detail] [data-tag-plus]{border:1px dashed var(--line);width:30px;height:30px;color:var(--muted);cursor:pointer;background:0 0;border-radius:50%;place-items:center;display:grid}.peach-react [data-item-detail] [data-tag-plus]:hover{background:var(--hover);color:var(--ink)}.peach-react [data-item-detail] [data-tag-picker]{z-index:120;border:1px solid var(--ink);max-height:min(480px,70vh);position:absolute;top:calc(100% + 8px);left:12px;right:12px;overflow:hidden}@supports (color:color-mix(in lab, red, red)){.peach-react [data-item-detail] [data-tag-picker]{border:1px solid color-mix(in srgb, var(--ink) 15%, transparent)}}.peach-react [data-item-detail] [data-tag-picker]{border-radius:var(--floating-radius);background:var(--frost-panel);-webkit-backdrop-filter:saturate(1.8)blur(20px);box-shadow:0 24px 70px -24px #000}.peach-react [data-item-detail] [data-tag-picker][hidden]{display:none}.peach-react [data-item-detail] [data-tag-picker]:not([hidden]){transform-origin:0 0;animation:.15s ease-out backwards board-menu-in}.peach-react [data-item-detail] [data-tag-picker][class~=leaving]{animation:.15s ease-out forwards board-menu-out}.peach-react [data-item-detail] [data-tag-search]{border-bottom:1px solid var(--ink);align-items:center;gap:10px;height:54px;padding:0 14px;display:flex}@supports (color:color-mix(in lab, red, red)){.peach-react [data-item-detail] [data-tag-search]{border-bottom:1px solid color-mix(in srgb, var(--ink) 10%, transparent)}}.peach-react [data-item-detail] [data-tag-search] svg{stroke:currentColor;fill:none;stroke-width:2px;width:20px;height:20px;color:var(--muted)}.peach-react [data-item-detail] [data-tag-search] input{min-width:0;padding:revert;font-size:var(--fs-lg);background:0 0;border:0;outline:0;flex:1}.peach-react [data-item-detail] [data-tag-search] input::placeholder{color:revert}.peach-react [data-item-detail] [data-tag-body]{max-height:calc(min(480px,70vh) - 54px);padding:12px;overflow:auto}.peach-react [data-item-detail] [data-tag-section]+[data-tag-section]{border-top:1px solid var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-item-detail] [data-tag-section]+[data-tag-section]{border-top:1px solid color-mix(in srgb, var(--ink) 9%, transparent)}}.peach-react [data-item-detail] [data-tag-section]+[data-tag-section]{margin-top:12px;padding-top:12px}.peach-react [data-item-detail] [data-tag-section] h4{color:var(--muted);font-size:var(--fs-xs);letter-spacing:.12em;margin:0 0 8px;font-weight:600}.peach-react [data-item-detail] [data-tag-grid]{grid-template-columns:repeat(2,minmax(0,1fr));gap:3px 12px;display:grid}.peach-react [data-item-detail] [data-pick]{border-radius:var(--control-radius);min-width:0;height:34px;color:var(--ink-2);text-align:left;cursor:pointer;background:0 0;border:0;align-items:center;gap:8px;padding:0 9px;display:flex}.peach-react [data-item-detail] [data-pick]:is(:hover,[data-active],[aria-pressed=true]){background:var(--hover);color:var(--ink)}.peach-react [data-item-detail] [data-pick-name]{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.peach-react [data-item-detail] [data-pick-count]{color:var(--muted);font-size:var(--fs-xs);margin-left:auto}.peach-react [data-item-detail] [data-pick] svg{flex:none;width:14px;height:14px}@media (width<=760px){.peach-react [data-item-detail] [data-tag-picker]{position:fixed;inset:auto 12px 12px}.peach-react [data-item-detail] [data-tag-grid]{grid-template-columns:1fr}}.peach-react [data-item-detail] [data-item-trace]{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:8px 0 16px;padding:0;display:grid}.peach-react [data-item-detail] [data-trace-metric]{background:var(--surface);border-radius:12px;min-width:0;padding:14px 12px}.peach-react [data-item-detail] [data-trace-label]{color:var(--muted);font-variant-numeric:tabular-nums;justify-content:space-between;gap:8px;margin:0 0 12px;font-size:13px;line-height:18px;display:flex}.peach-react [data-item-detail] [data-trace-label]>span:last-child{color:var(--ink);font-variant-numeric:tabular-nums}.peach-react [data-item-detail] [data-trace-bar]{background:var(--line);border:0;border-radius:4px;height:4px;position:relative}.peach-react [data-item-detail] [data-trace-bar] u{background:var(--loupe);position:absolute;inset:0 auto 0 0}@supports (color:color-mix(in lab, red, red)){.peach-react [data-item-detail] [data-trace-bar] u{background:color-mix(in srgb, var(--loupe) 26%, transparent)}}.peach-react [data-item-detail] [data-trace-bar] u{text-decoration:none}.peach-react [data-item-detail] [data-trace-bar] b{background:var(--tungsten);border-radius:var(--pill-radius);width:2px;position:absolute;top:-3px;bottom:-3px;left:0}.peach-react [data-item-detail] [data-trace-bar] [data-trace-real]{background:var(--keep)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-item-detail] [data-trace-bar] [data-trace-real]{background:color-mix(in srgb, var(--keep) 40%, transparent)}}.peach-react [data-item-detail] [data-fb=like]:hover{color:var(--ink);background:var(--hover)}.peach-react [data-item-detail] [data-fb=like][aria-pressed=true]{color:var(--ink);background:var(--picked)}.peach-react [data-item-detail] [data-fb=playlist]:hover{color:var(--ink);background:var(--hover)}.peach-react [data-item-detail] [data-fb=reason]:is(:hover,[aria-expanded=true],[data-has-reason=true]){color:#ff669d;background:#ff669d1f}.peach-react [data-item-detail] [data-fb=dispose]{margin-left:auto}.peach-react [data-item-detail] [data-fb=dispose]:is(:hover,[aria-pressed=true]){color:var(--meter);background:var(--meter)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-item-detail] [data-fb=dispose]:is(:hover,[aria-pressed=true]){background:color-mix(in srgb, var(--meter) 12%, transparent)}}.peach-react [data-item-detail] [data-fb=quality]:is(:hover,[aria-pressed=true]){color:#b78cff;background:#b78cff21}.peach-react [data-item-detail] [data-item-preference]{background:0 0;border:0;margin:0 0 14px;padding:0}.peach-react [data-item-detail] [data-item-preference][hidden]{display:none}.peach-react [data-item-detail] [data-item-preference] textarea{resize:vertical;width:100%;min-height:62px;color:var(--ink);background:var(--ground);border:1px solid var(--line);border-radius:var(--control-radius);line-height:1.5;font-size:var(--fs-md);padding:8px 9px;transition:border-color .12s,box-shadow .12s;display:block}.peach-react [data-item-detail] [data-item-preference] textarea:hover{border-color:var(--field-ring-hover)}.peach-react [data-item-detail] [data-item-preference] textarea:focus{box-shadow:inset 0 0 0 2px var(--color-border-button-active);outline:0}.peach-react [data-item-detail] [data-preference-foot]{justify-content:flex-end;align-items:center;gap:8px;margin-top:7px;display:flex}.peach-react [data-item-detail] [data-preference-foot]>span{color:var(--muted);font-size:var(--fs-xs);margin-right:auto}.peach-react [data-item-detail] [data-preference-foot]>span:empty{display:none}.peach-react [data-item-detail] [data-save-preference]{min-width:58px;padding-inline:12px}.peach-react [data-item-detail] [data-kind=o]{border:1px solid var(--line);background:var(--surface);width:100%;min-height:40px;color:var(--ink);cursor:pointer;border-radius:10px;justify-content:center;align-items:center;gap:8px;margin-bottom:10px;padding:8px 12px;font-size:14px;font-weight:500;line-height:20px;transition:background-color .14s;display:flex;box-shadow:inset 0 1px #ffffff0a}.peach-react [data-item-detail] [data-kind=o] svg{fill:currentColor;color:#ff669d;width:20px;height:20px}.peach-react [data-item-detail] [data-kind=o] b{background:var(--picked);border-radius:5px;padding:1px 6px;font-size:12px;font-weight:500;line-height:18px}.peach-react [data-item-detail] [data-kind=o]:hover{background:var(--hover)}.peach-react [data-item-related]{border-top:1px solid var(--line-soft);background:var(--detail-surface);padding:11px 15px 12px}.peach-react [data-item-related] h3{font-size:var(--fs-xs);letter-spacing:.1em;color:var(--muted);text-transform:uppercase;margin:0 0 8px}.peach-react [data-item-related] [data-related-row]{overscroll-behavior-inline:contain;scrollbar-width:none;gap:11px;padding-bottom:6px;display:flex;overflow:auto hidden}.peach-react [data-item-related] [data-related-row]::-webkit-scrollbar{display:none}.peach-react [data-photo-lightbox]{z-index:200;font:var(--board-body);font-kerning:auto;font-variant-ligatures:normal;letter-spacing:0;--photo-card-drop:#00000029;--photo-thumb-drop:#0000001a;background:#000;display:block;position:fixed;inset:0;overflow:hidden}.dark .peach-react [data-photo-lightbox]{--photo-card-drop:#0009;--photo-thumb-drop:#00000080}.peach-react [data-photo-lightbox]:modal{color:#fff;border:0;width:100vw;max-width:none;height:100dvh;max-height:none;margin:0;padding:0}.peach-react [data-photo-lightbox] :focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-photo-main]{width:100%;min-width:0;height:100%;min-height:0;position:absolute;inset:0;overflow:hidden}.peach-react [data-photo-main]>.swiper-wrapper{width:100%;height:100%;display:flex}.peach-react [data-photo-main]>.swiper-wrapper>.swiper-slide{flex:0 0 100%;place-items:center;width:100%;min-width:0;height:100%;min-height:0;display:grid}.peach-react [data-photo-main] .swiper-zoom-container{box-sizing:border-box;place-items:center;width:100%;min-width:0;height:100%;min-height:0;padding:24px 72px 76px;display:grid}.peach-react [data-photo-lightbox][data-has-strip] [data-photo-main] .swiper-zoom-container{padding-bottom:148px}.peach-react [data-photo-main] img{object-fit:contain;min-width:0;max-width:100%;min-height:0;max-height:100%;display:block}.peach-react :is([data-photo-close],[data-photo-nav]){box-sizing:border-box;color:#fff;cursor:pointer;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#0009;border:0;border-radius:50%;place-items:center;width:48px;height:48px;padding:0;display:grid;position:absolute}.peach-react [data-photo-close]:hover{background:#000000c7}.peach-react [data-photo-lightbox] :is([data-photo-close],[data-photo-nav]):focus-visible{outline-offset:3px}.peach-react :is([data-photo-close],[data-photo-nav]) svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:24px;height:24px;display:block}.peach-react [data-photo-close]{z-index:5;top:12px;right:14px}.peach-react [data-photo-nav]{z-index:4;border:1px solid var(--line);background:var(--surface);width:36px;height:36px;color:var(--ink-2);box-shadow:var(--elevation-xs);border-radius:10px;top:50%;transform:translateY(-50%)}.peach-react [data-photo-nav]:hover{background:var(--hover)}.peach-react [data-photo-nav] svg{width:20px;height:20px}.peach-react [data-photo-nav=back]{left:14px}.peach-react [data-photo-nav=fwd]{right:14px}.peach-react [data-photo-nav=fwd] svg{transform:rotate(180deg)}.peach-react [data-photo-nav].swiper-button-disabled{visibility:hidden;opacity:.4;pointer-events:none}.peach-react [data-photo-nav].swiper-button-lock{display:none}.peach-react [data-photo-bar]{z-index:4;pointer-events:none;grid-template-columns:1fr auto 1fr;align-items:center;min-height:48px;display:grid;position:absolute;bottom:14px;left:14px;right:14px}.peach-react [data-photo-lightbox][data-has-strip] [data-photo-bar]{bottom:98px}.peach-react [data-photo-bar]>*{pointer-events:auto}.peach-react [data-photo-count]{border-radius:var(--pill-radius);color:#ffffffd1;font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:var(--fs-xs);font-variant-numeric:tabular-nums;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#0009;justify-self:center;padding:7px 11px}.peach-react [data-photo-pagination]{justify-content:center;align-items:center;gap:8px;max-width:160px;height:28px;margin-inline:auto;display:flex;overflow:hidden}.peach-react [data-photo-pagination] .swiper-pagination-bullet{opacity:1;background:#a3a3a3;border:0;border-radius:999px;flex:none;width:6px;height:6px;padding:0;transition:width .2s ease-out,background .2s ease-out;margin:0!important}.peach-react [data-photo-pagination] .swiper-pagination-bullet-active{background:#fafafa;width:16px}.peach-react [data-photo-detail-toggle]{color:#ffffffd1;cursor:pointer;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#0009;border:0;border-radius:50%;justify-self:start;place-items:center;width:40px;height:40px;padding:0;display:grid}.peach-react [data-photo-detail-toggle]:is(:hover,[aria-expanded=true]){color:#fff;background:#000000c7}.peach-react [data-photo-detail-toggle] svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:20px;height:20px;display:block}.peach-react [data-photo-zoom]{border-radius:var(--pill-radius);color:#ffffffd1;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#0009;justify-self:end;align-items:center;gap:7px;padding:4px;display:flex}.peach-react [data-photo-zoom] button{color:#fff;cursor:pointer;background:0 0;border:0;border-radius:50%;place-items:center;width:28px;height:28px;padding:0;display:grid}.peach-react [data-photo-zoom] button:hover{background:#ffffff38}.peach-react [data-photo-zoom] button svg{fill:none;stroke:currentColor;stroke-width:2px;width:15px;height:15px;display:block}.peach-react [data-photo-zoom] [data-photo-scale]{width:30px}.peach-react [data-photo-zoom] [data-photo-scale=original]{border-radius:var(--control-radius);width:38px}.peach-react [data-photo-zoom] :is([data-photo-scale=original],[data-photo-zoom-readout]){font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:var(--fs-xs);font-variant-numeric:tabular-nums}.peach-react [data-photo-zoom-readout]{text-align:right;width:38px;font-weight:400}.peach-react [data-photo-zoom] input{cursor:pointer;appearance:none;background:0 0;width:116px;height:20px;margin:2px}.peach-react [data-photo-zoom] input::-webkit-slider-runnable-track{background:linear-gradient(90deg, var(--color-accent-400) var(--board-range-value,0%), var(--inset) 0);border-radius:999px;height:6px;box-shadow:inset 0 1px 1px #0000000f}.peach-react [data-photo-zoom] input::-moz-range-track{background:linear-gradient(90deg, var(--color-accent-400) var(--board-range-value,0%), var(--inset) 0);border-radius:999px;height:6px}.peach-react [data-photo-zoom] input::-webkit-slider-thumb{border:1px solid var(--line);width:20px;height:20px;box-shadow:0 2px 4px var(--photo-thumb-drop), inset 0 1px 0 #fffc;cursor:grab;transition:scale calc(var(--spring-press-ms) * 1ms) var(--spring-press), box-shadow .15s;appearance:none;background:radial-gradient(circle,#fff 3px,#e5e5e5 3.5px,#fff 4px);border-radius:50%;margin-top:-7px}.peach-react [data-photo-zoom] input::-moz-range-thumb{border:1px solid var(--line);width:18px;height:18px;box-shadow:0 2px 4px var(--photo-thumb-drop);background:radial-gradient(circle,#fff 3px,#e5e5e5 3.5px,#fff 4px);border-radius:50%}.peach-react [data-photo-zoom] input:hover::-webkit-slider-thumb{box-shadow:0 0 0 4px #ffffff38}.peach-react [data-photo-zoom] input:active::-webkit-slider-thumb{transition:scale 60ms ease-out;scale:1.18}.peach-react [data-photo-lightbox] [data-photo-zoom] input:focus-visible{outline:none}.peach-react [data-photo-zoom] input:focus-visible::-webkit-slider-thumb{outline-offset:2px;outline:2px solid #fff}.peach-react [data-photo-detail]{box-sizing:border-box;z-index:var(--layer-popover);overscroll-behavior:contain;border:1px solid var(--line);border-radius:var(--floating-radius);background:var(--ground);width:320px;max-width:calc(100vw - 16px);color:var(--ink);box-shadow:0 8px 24px var(--photo-card-drop);font-size:var(--fs-md);overflow-wrap:anywhere;pointer-events:auto;align-items:start;gap:14px;margin:0;padding:16px;line-height:1.5;display:grid;position:fixed;inset:auto;overflow:auto}.peach-react [data-photo-detail][hidden]{display:none}.peach-react [data-photo-detail-copy]{gap:4px;min-width:0;display:grid}.peach-react [data-photo-detail-copy] h2{font-size:var(--fs-sm);white-space:nowrap;margin:0;font-weight:700;overflow:hidden}.peach-react :is([data-photo-detail-meta],[data-photo-status]){color:var(--muted);font-size:var(--fs-xs)}.peach-react [data-photo-status]{flex:100%;min-width:0}.peach-react [data-photo-status]:empty{display:none}.peach-react [data-photo-reveal]{border:1px solid var(--line);border-radius:var(--control-radius);height:32px;color:var(--ink);cursor:pointer;background:0 0;justify-self:start;align-items:center;gap:7px;padding:0 10px;display:flex}.peach-react [data-photo-reveal]:hover{background:#ffffff1f}.peach-react [data-photo-reveal][hidden]{display:none}.peach-react [data-photo-reveal] svg{fill:none;stroke:currentColor;stroke-width:2px;width:16px;height:16px;display:block}.peach-react [data-photo-strip]{z-index:3;width:auto;height:72px;padding:0;position:absolute;bottom:14px;left:72px;right:72px}.peach-react [data-photo-lightbox]:not([data-has-strip]) [data-photo-strip]{display:none}.peach-react [data-photo-strip] .swiper-slide{border-radius:var(--control-radius);opacity:.5;cursor:pointer;width:auto;height:72px;overflow:hidden}.peach-react [data-photo-strip] .swiper-slide img{object-fit:cover;width:auto;max-width:none;height:100%;display:block}.peach-react [data-photo-strip] .swiper-slide-thumb-active{opacity:1;box-shadow:inset 0 0 0 2px #fff}@media (width<=640px){.peach-react [data-photo-zoom] input{width:72px}.peach-react [data-photo-zoom-readout]{display:none}.peach-react [data-photo-main] .swiper-zoom-container{padding:12px 12px 70px}.peach-react [data-photo-lightbox][data-has-strip] [data-photo-main] .swiper-zoom-container{padding-bottom:136px}.peach-react [data-photo-bar]{min-height:44px;bottom:10px;left:12px;right:12px}.peach-react [data-photo-lightbox][data-has-strip] [data-photo-bar]{bottom:80px}.peach-react [data-photo-reveal]{min-height:44px}.peach-react [data-photo-strip]{bottom:12px;left:56px;right:56px}.peach-react [data-photo-strip],.peach-react [data-photo-strip] .swiper-slide{height:56px}.peach-react [data-photo-close]{top:10px;right:10px}.peach-react [data-photo-nav=back]{left:8px}.peach-react [data-photo-nav=fwd]{right:8px}}@media (prefers-reduced-motion:reduce){.peach-react [data-photo-pagination] .swiper-pagination-bullet{transition:none}}.peach-react [data-index-grid] [data-index-cell]{background:var(--ground)}.peach-react [data-index-grid] [data-index-cell]:hover{background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-index-grid] [data-index-cell]:hover{background:color-mix(in srgb, var(--ink) 6%, var(--ground))}}.peach-react [data-index-grid] [data-person-ring]{background:var(--sunk);color:var(--muted);font-family:Bahnschrift,Microsoft YaHei UI,Microsoft YaHei,PingFang SC,sans-serif}.peach-react [data-index-grid] [data-index-readout]{color:var(--muted)}[data-stage-media]{isolation:isolate;background:#000;justify-content:center;align-items:center;display:flex;position:relative}[data-ambient-canvas]{z-index:0;filter:blur(46px)saturate(1.45);opacity:.42;pointer-events:none;width:calc(100% + 68px);height:calc(100% + 68px);position:absolute;inset:-34px;transform:scale(1.06);-webkit-mask-image:radial-gradient(#000 28%,#000000b8 55%,#0000 86%);mask-image:radial-gradient(#000 28%,#000000b8 55%,#0000 86%)}[data-stage]:not([data-ambient]) [data-ambient-canvas]{display:none}[data-stage-media]>video,[data-stage-media]>.video-js{z-index:1;position:relative}[data-stage-media] video{width:100%;max-height:76vh;display:block}[data-stage-media]>video[hidden]{display:none}[data-stage-media]>.video-js{aspect-ratio:16/9;background:#000;width:100%;height:auto;max-height:76vh}[data-stage-media] .video-js .vjs-tech{object-fit:contain;max-height:none}[data-stage-media] .video-js .vjs-big-play-button{width:56px;height:56px;box-shadow:none;background:#0000004d;border:0;border-radius:50%;margin:0;line-height:56px;top:50%;left:50%;transform:translate(-50%,-50%)}[data-stage-media] .video-js .vjs-big-play-button:hover,[data-stage-media] .video-js .vjs-big-play-button:focus{background:#ffffff1a}[data-stage-media] .video-js .vjs-big-play-button .vjs-icon-placeholder:before{content:"";border-top:.72em solid #0000;border-bottom:.72em solid #0000;border-left:1.05em solid #fff;width:0;height:0;top:50%;left:50%;transform:translate(-38%,-50%)}[data-stage-media] .video-js:has(.vjs-peach-bezel) .vjs-big-play-button{display:none}[data-stage-media] .video-js .vjs-loading-spinner{z-index:18;opacity:1;background:0 0;border:0;border-radius:0;width:64px;height:64px;margin:0;padding:0;top:50%;left:50%;transform:translate(-50%,-50%)}[data-stage-media] .video-js .vjs-loading-spinner:before,[data-stage-media] .video-js .vjs-loading-spinner:after{content:none}.vjs-peach-spinner-container{pointer-events:none;width:100%;height:100%;animation:1.56824s linear infinite peach-spinner-linspin;position:absolute;top:0;left:0}.vjs-peach-spinner-rotator{width:100%;height:100%;animation:5.332s cubic-bezier(.4,0,.2,1) infinite both peach-spinner-easespin;position:absolute}.vjs-peach-spinner-left,.vjs-peach-spinner-right{position:absolute;inset:0;overflow:hidden}.vjs-peach-spinner-left{right:49%}.vjs-peach-spinner-right{left:49%}.vjs-peach-spinner-circle{box-sizing:border-box;border:6px solid #ddd;border-bottom-color:#0000;border-radius:50%;width:200%;height:100%;position:absolute}.vjs-peach-spinner-left .vjs-peach-spinner-circle{border-right-color:#0000;animation:1.333s cubic-bezier(.4,0,.2,1) infinite both peach-spinner-left-spin;left:0;right:-100%}.vjs-peach-spinner-right .vjs-peach-spinner-circle{border-left-color:#0000;animation:1.333s cubic-bezier(.4,0,.2,1) infinite both peach-spinner-right-spin;left:-100%;right:0}@keyframes peach-spinner-linspin{to{transform:rotate(1turn)}}@keyframes peach-spinner-easespin{12.5%{transform:rotate(135deg)}25%{transform:rotate(270deg)}37.5%{transform:rotate(405deg)}50%{transform:rotate(540deg)}62.5%{transform:rotate(675deg)}75%{transform:rotate(810deg)}87.5%{transform:rotate(945deg)}to{transform:rotate(3turn)}}@keyframes peach-spinner-left-spin{0%{transform:rotate(130deg)}50%{transform:rotate(-5deg)}to{transform:rotate(130deg)}}@keyframes peach-spinner-right-spin{0%{transform:rotate(-130deg)}50%{transform:rotate(5deg)}to{transform:rotate(-130deg)}}[data-stage-media] .video-js{font-family:inherit}[data-stage-media] .video-js .vjs-control-bar{box-sizing:border-box;-webkit-backdrop-filter:none;backdrop-filter:none;background:0 0;border-radius:0;align-items:flex-end;width:auto;height:59px;padding:3px 0 0;display:flex;bottom:8px;left:12px;right:12px}[data-stage-media] .video-js .vjs-control-bar>.vjs-play-control{width:40px;height:40px;box-shadow:none;background:#0009;border:0;border-radius:50%;flex:0 0 40px;align-self:flex-end;margin:0 0 8px;position:relative;overflow:visible}[data-stage-media] .video-js .vjs-volume-panel>.vjs-mute-control .vjs-icon-placeholder:before,[data-stage-media] .video-js .vjs-peach-right-controls .vjs-icon-placeholder:before{filter:drop-shadow(0 0 1px #000c);place-items:center;width:100%;height:100%;line-height:normal;display:grid}[data-stage-media] .video-js [data-peach-explicit-icon]>.vjs-icon-placeholder:before,[data-stage-media] .video-js [data-peach-explicit-icon]>.vjs-icon-placeholder:after{display:none}[data-stage-media] .video-js .vjs-volume-panel>.vjs-mute-control[data-peach-explicit-icon]>.vjs-icon-placeholder{display:none!important}.vjs-peach-control-icon{z-index:2;fill:currentColor;stroke:none;filter:drop-shadow(0 0 1px #000c);pointer-events:none;width:24px;height:24px;transition:transform .1s cubic-bezier(.05,0,0,1);display:block;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)scale(1)}[data-stage-media] .video-js [data-peach-explicit-icon]:active>.vjs-peach-control-icon{transform:translate(-50%,-50%)scale(.9)}[data-stage-media] .video-js .vjs-control-bar>.vjs-play-control>.vjs-peach-control-icon{width:26px;height:26px}.vjs-peach-morph-icon path{transition:d .2s cubic-bezier(.4,0,.2,1)}.vjs-peach-morph-icon .vjs-peach-volume-arc-inner,.vjs-peach-morph-icon .vjs-peach-volume-arc-outer{transform-box:view-box;transform-origin:0 0;transition:transform .25s cubic-bezier(.4,0,.2,1)}.vjs-peach-morph-icon[data-silent=true] .vjs-peach-volume-arc-inner{transform:translate(18px,12px)scale(0)translate(-18px,-12px)}.vjs-peach-morph-icon[data-silent=true] .vjs-peach-volume-arc-outer,.vjs-peach-morph-icon[data-loud=false] .vjs-peach-volume-arc-outer{transform:translate(22px,12px)scale(0)translate(-22px,-12px)}.vjs-peach-morph-icon .vjs-peach-volume-speaker{opacity:1;transition:opacity linear}.vjs-peach-morph-icon .vjs-peach-volume-speaker-muted,.vjs-peach-morph-icon .vjs-peach-volume-x{opacity:0;transition:opacity linear}.vjs-peach-morph-icon[data-silent=true] .vjs-peach-volume-speaker{opacity:0;transition:opacity 0s linear .25s}.vjs-peach-morph-icon[data-silent=true] .vjs-peach-volume-speaker-muted,.vjs-peach-morph-icon[data-silent=true] .vjs-peach-volume-x{opacity:1;transition:opacity 0s linear .25s}.vjs-peach-hover{z-index:0;border-radius:var(--pill-radius);pointer-events:none;background:0 0;width:100%;height:32px;transition:background .2s cubic-bezier(.05,0,0,1);position:absolute;top:4px;left:0}[data-stage-media] .video-js .vjs-control-bar>.vjs-play-control>.vjs-peach-hover{border-radius:50%;width:auto;height:auto;inset:4px}[data-stage-media] .video-js .vjs-control-bar>.vjs-play-control:hover>.vjs-peach-hover,[data-stage-media] .video-js .vjs-control-bar>.vjs-play-control:focus-visible>.vjs-peach-hover,.vjs-peach-right-controls>.vjs-control:hover>.vjs-peach-hover,.vjs-peach-right-controls>.vjs-control:focus-within>.vjs-peach-hover{background:#ffffff1a}[data-stage-media] .video-js .vjs-control-bar>.vjs-play-control:active>.vjs-peach-hover,.vjs-peach-right-controls>.vjs-control:active>.vjs-peach-hover{background:#fff3}[data-stage-media] .video-js .vjs-control-bar>.vjs-play-control .vjs-icon-placeholder,[data-stage-media] .video-js .vjs-peach-right-controls button,.vjs-peach-settings>button,.vjs-peach-theater>button{z-index:1;position:relative}[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel{box-sizing:border-box;z-index:3;border-radius:var(--pill-radius);width:40px;box-shadow:none;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);isolation:isolate;background:#0009;border:0;flex:0 0 40px;grid-template-columns:40px 0;align-self:flex-end;align-items:center;column-gap:0;margin:0 0 8px 12px;padding:0;transition:width .2s cubic-bezier(.05,0,0,1),flex-basis .2s cubic-bezier(.05,0,0,1),padding-right .2s cubic-bezier(.05,0,0,1);display:grid;position:relative;overflow:visible;height:40px!important}[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel:after{content:"";z-index:0;border-radius:var(--pill-radius);pointer-events:none;background:0 0;transition:background .2s cubic-bezier(.05,0,0,1);position:absolute;inset:4px}[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel:hover:after,[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel:focus-within:after,[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel.vjs-hover:after,[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel.vjs-slider-active:after{background:#ffffff1a}[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel:active:after{background:#fff3}[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel:hover,[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel:focus-within,[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel.vjs-hover,[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel.vjs-slider-active{background:#0009;flex-basis:111px;grid-template-columns:40px 52px;column-gap:3px;width:111px;padding-right:16px}[data-stage][data-theater] [data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel,.video-js.vjs-fullscreen .vjs-control-bar>.vjs-volume-panel{-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#0009!important}[data-stage-media] .video-js .vjs-volume-panel>.vjs-mute-control{box-sizing:border-box;z-index:1;background:0 0;border:0;flex:0 0 40px;align-self:center;min-width:40px;width:40px!important;height:40px!important;margin:0!important;padding:0!important;position:relative!important;top:0!important;left:0!important;transform:none!important}[data-stage-media] .video-js .vjs-volume-panel>.vjs-mute-control>.vjs-peach-control-icon{width:18px;height:18px}[data-stage-media] .video-js .vjs-volume-panel>.vjs-volume-control.vjs-volume-horizontal{box-sizing:border-box;z-index:1;opacity:0;visibility:hidden;pointer-events:none;flex:0 0 52px;align-self:center;min-width:52px;min-height:36px;transition:opacity .1s cubic-bezier(0,0,.2,1);overflow:visible;width:52px!important;height:40px!important;margin:0!important;padding:0!important;display:block!important;position:relative!important;top:0!important;left:0!important}[data-stage-media] .video-js .vjs-volume-panel:hover>.vjs-volume-control.vjs-volume-horizontal,[data-stage-media] .video-js .vjs-volume-panel:focus-within>.vjs-volume-control.vjs-volume-horizontal,[data-stage-media] .video-js .vjs-volume-panel.vjs-hover>.vjs-volume-control.vjs-volume-horizontal,[data-stage-media] .video-js .vjs-volume-panel.vjs-slider-active>.vjs-volume-control.vjs-volume-horizontal{opacity:1;visibility:visible;pointer-events:auto;transition-delay:80ms}[data-stage-media] .video-js .vjs-volume-panel .vjs-volume-bar.vjs-slider-horizontal{box-sizing:border-box;background:0 0;transform:none;width:52px!important;height:40px!important;margin:0!important;position:absolute!important;top:0!important;left:0!important;right:auto!important;overflow:visible!important}[data-stage-media] .video-js .vjs-volume-panel .vjs-volume-bar.vjs-slider-horizontal:before{content:"";background:#ffffff4d;height:2px;margin-top:-1px;position:absolute;top:50%;left:0;right:0}[data-stage-media] .video-js .vjs-volume-panel .vjs-volume-level{background:#fff;height:2px;margin-top:-1px;top:50%;bottom:auto}[data-stage-media] .video-js .vjs-volume-panel .vjs-mouse-display{background:0 0}[data-stage-media] .video-js .vjs-volume-panel .vjs-volume-level:before{background:#fff;border-radius:50%;width:12px;height:12px;margin:0;font-size:0;top:50%;right:-6px;transform:translateY(-50%)}[data-stage-media] .video-js .vjs-volume-panel .vjs-volume-tooltip{float:none;border-radius:var(--surface-radius);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);color:#fff;font-family:inherit;font-size:var(--fs-sm);text-shadow:0 0 2px #000;white-space:nowrap;background:#0009;padding:5px 9px;font-weight:500;line-height:15px;top:auto;bottom:calc(50% + 31px);left:50%;overflow:visible;transform:translate(-50%);z-index:5!important;right:auto!important}.vjs-peach-right-controls{box-sizing:border-box;border-radius:var(--pill-radius);height:40px;box-shadow:none;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#0009;border:0;flex:none;align-self:flex-end;align-items:center;margin:0 0 8px;padding:0 4px;display:flex;position:relative;overflow:visible}[data-stage-media] .video-js .vjs-peach-right-controls>.vjs-control{box-sizing:border-box;min-width:48px;box-shadow:none;color:#fff;background:0 0;border:0;border-radius:0;flex:0 0 48px;margin:0;padding:0;position:relative;width:48px!important;height:40px!important}[data-stage-media] .video-js .vjs-peach-right-controls>.vjs-control>button{width:100%;height:100%;color:inherit;background:0 0;border:0;margin:0;padding:0}[data-stage-media] .video-js .vjs-peach-right-controls>.vjs-control:focus,[data-stage-media] .video-js .vjs-peach-right-controls>.vjs-control:focus-visible,[data-stage-media] .video-js .vjs-peach-right-controls>.vjs-control>button:focus,[data-stage-media] .video-js .vjs-peach-right-controls>.vjs-control>button:focus-visible{box-shadow:none;outline:0}[data-stage-media] .video-js .vjs-progress-control{z-index:2;align-items:flex-end;width:auto;min-width:0;height:18px;display:flex;position:absolute;top:-12px;left:0;right:0}[data-stage-media] .video-js .vjs-progress-control .vjs-progress-holder{background:#28282899;border-radius:0;width:100%;height:6px;margin:0;transition:transform .2s cubic-bezier(.05,0,0,1);transform:scaleY(.667)}[data-stage-media] .video-js .vjs-progress-control:hover .vjs-progress-holder,[data-stage-media] .video-js .vjs-progress-control:focus-within .vjs-progress-holder{transform:scaleY(1)}[data-stage-media] .video-js .vjs-load-progress{background:#fff6}[data-stage-media] .video-js .vjs-load-progress div{background:#fff3}[data-stage-media] .video-js .vjs-play-progress{background:var(--tungsten)}[data-stage-media] .video-js .vjs-play-progress:before{content:"";background:var(--tungsten);width:12px;height:12px;box-shadow:none;border-radius:50%;transition:transform .2s cubic-bezier(.05,0,0,1);position:absolute;top:50%;right:-6px;transform:translateY(-50%)scaleY(1.5)}[data-stage-media] .video-js .vjs-progress-control:hover .vjs-play-progress:before,[data-stage-media] .video-js .vjs-progress-control:focus-within .vjs-play-progress:before{transform:translateY(-50%)scale(1.67)}[data-stage-media] .video-js .vjs-mouse-display .vjs-time-tooltip,[data-stage-media] .video-js .vjs-play-progress .vjs-time-tooltip{display:none!important}.vjs-peach-seek-preview{z-index:4;pointer-events:none;color:#fff;flex-direction:column;align-items:center;display:flex;position:absolute;bottom:calc(100% - 2px);transform:translate(-50%)}.vjs-peach-seek-preview[hidden]{display:none}.vjs-peach-seek-frame{aspect-ratio:16/9;border-radius:var(--floating-radius);background:#000;border:2px solid #fff;width:240px;display:block;position:relative;overflow:hidden;box-shadow:0 8px 24px #0009}.vjs-peach-seek-frame[hidden]{display:none}.vjs-peach-seek-preview img{object-fit:cover;width:100%;height:100%;display:block;position:absolute;top:0;left:0}.vjs-peach-seek-preview span{border-radius:var(--pill-radius);min-width:58px;font-size:var(--fs-sm);text-align:center;background:#000000ad;margin-top:8px;padding:6px 10px;font-weight:600;line-height:1;box-shadow:0 2px 8px #0006}[data-stage-media] .video-js .vjs-custom-control-spacer{flex:auto;display:block}[data-stage-media] .video-js .vjs-time-control{display:none!important}[data-stage-media] .video-js .vjs-peach-time{box-sizing:border-box;border-radius:var(--pill-radius);color:#fff;cursor:pointer;isolation:isolate;width:auto;height:40px;font-weight:400;font-size:var(--fs-md);font-variant-numeric:tabular-nums;white-space:nowrap;text-shadow:0 0 1px #000c;background:#0009;border:0;flex:none;align-self:flex-end;margin:0 0 8px 12px;padding:0 16px;font-family:inherit;line-height:40px;position:relative;overflow:visible}[data-stage-media] .video-js .vjs-peach-time:after{content:"";z-index:0;border-radius:var(--pill-radius);background:0 0;transition:background .2s cubic-bezier(.05,0,0,1);position:absolute;inset:4px}[data-stage-media] .video-js .vjs-peach-time:hover:after,[data-stage-media] .video-js .vjs-peach-time:focus-visible:after{background:#ffffff1a}[data-stage-media] .video-js .vjs-peach-time:active:after{background:#fff3}[data-stage-media] .video-js .vjs-peach-time:focus-visible{outline:0}.vjs-peach-time-text{z-index:1;position:relative}.vjs-peach-settings,.vjs-peach-theater,.vjs-peach-expand{flex:0 0 48px;min-width:48px;position:relative;width:48px!important}.vjs-peach-settings>button,.vjs-peach-theater>button,.vjs-peach-expand>button{width:100%;height:100%;color:inherit;cursor:pointer;background:0 0;border:0;place-items:center;padding:0;display:grid}.vjs-peach-expand>button>svg{fill:currentColor;stroke:none;filter:drop-shadow(0 0 1px #000c);width:24px;height:24px}.vjs-peach-settings>button>svg,.vjs-peach-theater>button>svg{stroke:currentColor;fill:none;stroke-width:2px;filter:drop-shadow(0 0 1px #000c);width:24px;height:24px}.vjs-peach-settings [data-player-quality-badge]{z-index:2;border-radius:var(--badge-radius);color:#fff;min-width:17px;height:12px;font-size:var(--fs-xs);transform-origin:100% 0;background:#f03;place-items:center;padding:0 2px;font-weight:600;line-height:1;display:grid;position:absolute;top:1px;right:4px;transform:scale(.67)}.vjs-peach-settings [data-player-quality-badge][hidden]{display:none}.vjs-peach-settings-menu{box-sizing:border-box;z-index:2300;border-radius:var(--floating-radius);width:min(274px,100vw - 28px);max-height:min(420px,100vh - 130px);box-shadow:none;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);color:#fff;text-shadow:0 0 1px #000c;font-weight:400;font-size:var(--fs-md);opacity:1;visibility:visible;background:#0009;border:0;padding:0;font-family:inherit;line-height:1.3;transition:opacity .1s cubic-bezier(0,0,.2,1);position:absolute;bottom:52px;right:-100px;overflow:auto}.vjs-peach-settings-menu[aria-hidden=true]{opacity:0;visibility:hidden;pointer-events:none;transition:opacity .1s cubic-bezier(.4,0,1,1),visibility 0s .1s}.vjs-peach-settings-menu.vjs-peach-popup-animating{pointer-events:none;transition:height .25s cubic-bezier(.4,0,.2,1);overflow:hidden}.vjs-peach-panel{position:relative}.vjs-peach-popup-animating .vjs-peach-panel{transition:transform .25s cubic-bezier(.4,0,.2,1),opacity .25s cubic-bezier(.4,0,.2,1)}.vjs-peach-panel-leaving{width:100%;position:absolute;top:0;left:0}.vjs-peach-panel-animate-back{opacity:0;transform:translate(-100%)}.vjs-peach-panel-animate-forward{opacity:0;transform:translate(100%)}.vjs-peach-settings-menu button{box-sizing:border-box;isolation:isolate;border-radius:var(--control-radius);color:#fff;width:100%;min-height:48px;font:inherit;cursor:pointer;background:0 0;border:0;padding:0;position:relative;overflow:hidden}.vjs-peach-settings-menu button:before{content:"";z-index:0;border-radius:inherit;pointer-events:none;background:0 0;transition:background .1s cubic-bezier(.05,0,0,1);position:absolute;inset:0}.vjs-peach-settings-menu button:hover:before,.vjs-peach-settings-menu button:focus-visible:before{background:#ffffff1a}.vjs-peach-settings-menu button:active:before{background:#fff3}.vjs-peach-settings-menu button:focus-visible{outline:0}.vjs-peach-settings-menu button>*{z-index:1;position:relative}.video-js .vjs-peach-menu-row{text-align:left;grid-template-columns:56px minmax(0,1fr) minmax(0,max-content) 32px;align-items:center;gap:0;display:grid;padding:0!important}.vjs-peach-menu-row>svg{fill:currentColor;stroke:none;justify-self:start;width:24px;height:24px;margin-left:8px}.vjs-peach-menu-row>span{font-size:var(--fs-md);line-height:18.2px}.vjs-peach-menu-row>b{font-size:var(--fs-md);color:#ffffffb3;white-space:nowrap;padding-left:8px;font-weight:400;line-height:18.2px}.vjs-peach-menu-row>svg:last-child{color:#ffffffb3;fill:currentColor;stroke:none;justify-self:center;width:18px;height:18px;margin:0}.vjs-peach-menu-row[data-player-ambient]{grid-template-columns:56px minmax(0,1fr) auto;padding-right:8px!important}.vjs-peach-switch{box-sizing:border-box;border-radius:var(--floating-radius);background:#0000004d;width:40px;height:24px;display:block;position:relative}.vjs-peach-switch:after{content:"";width:20px;height:20px;box-shadow:none;background:#ffffffb3;border-radius:50%;transition:transform .2s cubic-bezier(.05,0,0,1),background .2s cubic-bezier(.05,0,0,1);position:absolute;top:2px;left:2px}.vjs-peach-menu-row[aria-checked=true] .vjs-peach-switch{background:#ffffff4d}.vjs-peach-menu-row[aria-checked=true] .vjs-peach-switch:after{background:#fff;transform:translate(16px)}.vjs-peach-panel-header{box-sizing:border-box;color:#eee;white-space:nowrap;border-bottom:1px solid #fff3;align-items:center;gap:0;height:57px;padding:8px 0;display:flex}.vjs-peach-panel-header .vjs-peach-menu-back{color:#eee;flex:0 0 48px;place-items:center;width:48px;min-height:48px;display:grid;border:0!important;border-radius:50%!important;height:48px!important}.vjs-peach-settings-menu .vjs-peach-panel-header .vjs-peach-menu-back:before{inset:4px}.vjs-peach-panel-header .vjs-peach-menu-back svg{fill:currentColor;stroke:none;width:32px;height:32px;display:block}.vjs-peach-panel-header strong{font-size:var(--fs-md);color:#eee;font-weight:500;line-height:18.2px}.vjs-peach-panel-menu{padding:8px}.video-js .vjs-peach-menu-option{text-align:left;grid-template-columns:35px minmax(0,1fr);align-items:center;line-height:18.2px;display:grid;font-size:var(--fs-md)!important;padding:0 20px 0 0!important}.vjs-peach-option-check{place-items:center;width:35px;height:24px;display:grid}.vjs-peach-option-check svg{fill:currentColor;stroke:none;width:24px;height:24px;display:block}.vjs-peach-option-label{min-width:0}.vjs-peach-speed-panel{box-sizing:border-box;flex-direction:column;padding:24px 16px 16px;display:flex}.vjs-peach-speed-display{font-size:var(--fs-lg);color:#fff;justify-content:center;margin-bottom:24px;font-weight:600;line-height:22px;display:flex}.vjs-peach-speed-slider{align-items:center;gap:16px;margin-bottom:24px;display:flex}.vjs-peach-speed-chips{align-items:flex-start;gap:8px;display:flex}.vjs-peach-speed-preset{flex-direction:column;flex:0 53px;align-items:center;min-width:0;display:flex}.vjs-peach-speed-preset-label{font-size:var(--fs-xs);color:#ffffffb3;margin-top:4px;font-weight:400;line-height:14px}.vjs-peach-settings-menu .vjs-peach-speed-button{border-radius:var(--pill-radius);color:#fff;text-align:center;cursor:pointer;background:#ffffff1a;border:0;justify-content:center;align-items:center;height:32px;min-height:32px;padding:0;font-weight:500;line-height:16px;transition:background .2s cubic-bezier(.05,0,0,1);display:flex}.vjs-peach-settings-menu .vjs-peach-speed-button:before{content:none}.vjs-peach-settings-menu .vjs-peach-speed-button:hover{background:#fff3}.vjs-peach-settings-menu .vjs-peach-speed-button:active{background:#ffffff4d}.vjs-peach-speed-slider .vjs-peach-speed-button{flex:none;width:32px}.vjs-peach-speed-slider .vjs-peach-speed-button>svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;width:24px;height:24px;display:block}.vjs-peach-speed-chips .vjs-peach-speed-button{width:100%;font-size:var(--fs-xs);gap:4px}.vjs-peach-speed-range{--peach-speed-percent:0%;appearance:none;cursor:pointer;background:0 0;flex:auto;width:100%;min-width:0;height:24px;margin:0}.vjs-peach-speed-range:focus-visible{outline:0}.vjs-peach-speed-range::-webkit-slider-runnable-track{border-radius:var(--pill-radius);background:linear-gradient(to right,#fff 0,#fff var(--peach-speed-percent),#909090 var(--peach-speed-percent),#909090 100%);height:4px}.vjs-peach-speed-range::-webkit-slider-thumb{appearance:none;background:#fff;border-radius:50%;width:16px;height:16px;margin-top:-6px}.vjs-peach-speed-range::-moz-range-track{border-radius:var(--pill-radius);background:linear-gradient(to right,#fff 0,#fff var(--peach-speed-percent),#909090 var(--peach-speed-percent),#909090 100%);height:4px}.vjs-peach-speed-range::-moz-range-thumb{background:#fff;border:0;border-radius:50%;width:16px;height:16px}.video-js.vjs-peach-xsmall .vjs-peach-speed-panel{padding:16px}.video-js.vjs-peach-xsmall .vjs-peach-speed-display,.video-js.vjs-peach-xsmall .vjs-peach-speed-slider{margin-bottom:16px}.vjs-peach-bezel{z-index:19;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);color:#fff;opacity:0;pointer-events:none;background:#0009;border-radius:50%;place-items:center;width:78px;height:78px;margin:-39px 0 0 -39px;display:grid;position:absolute;top:50%;left:50%}.vjs-peach-bezel[hidden]{display:none}.vjs-peach-bezel-icon{place-items:center;width:54px;height:54px;display:grid}.vjs-peach-bezel-icon svg{fill:currentColor;stroke:none;width:100%;height:100%;display:block}.vjs-peach-bezel-run{animation:1s cubic-bezier(.05,0,0,1) forwards peach-bezel-fadeout}@keyframes peach-bezel-fadeout{0%{opacity:0}25%,75%{opacity:1;transform:scale(1.33)}to{opacity:0;transform:scale(1)}}.video-js.vjs-peach-xsmall .vjs-peach-bezel{width:64px;height:64px;margin:-32px 0 0 -32px}.video-js.vjs-peach-xsmall .vjs-peach-bezel-icon{width:48px;height:48px}.video-js.vjs-waiting .vjs-peach-bezel,.video-js.vjs-seeking .vjs-peach-bezel,.video-js.vjs-error .vjs-peach-bezel{display:none}.vjs-peach-tooltip{z-index:5;border-radius:var(--surface-radius);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);color:#fff;white-space:nowrap;font-size:var(--fs-sm);text-shadow:0 0 2px #000;pointer-events:none;background:#0009;align-items:center;padding:5px 9px;font-weight:500;line-height:15px;display:none;position:absolute;bottom:calc(100% + 12px);right:50%;transform:translate(50%)}.vjs-peach-tooltip,.vjs-volume-tooltip{--surface-radius:8px;--badge-radius:4px}.vjs-peach-tooltip kbd{border-radius:var(--badge-radius);color:#fff;min-width:11px;font:inherit;border:1px solid #ffffff4d;justify-content:center;align-items:center;margin-left:4px;padding:0 2px;display:flex}.vjs-peach-tooltip kbd[hidden]{display:none}[data-stage-media] .video-js .vjs-control-bar button:hover>.vjs-peach-tooltip,[data-stage-media] .video-js .vjs-control-bar button:focus-visible>.vjs-peach-tooltip{display:flex}.vjs-peach-theater>button[aria-pressed=true]{color:#fff}@media (width<=640px){[data-stage-media] .video-js .vjs-control-bar{height:59px;padding:3px 0 0;bottom:6px;left:8px;right:8px}[data-stage-media] .video-js .vjs-progress-control,[data-stage-media] .video-js.vjs-layout-tiny .vjs-progress-control,[data-stage-media] .video-js.vjs-layout-x-small .vjs-progress-control{height:18px;display:flex;top:-12px;left:0;right:0}[data-stage-media] .video-js.vjs-layout-small .vjs-current-time,[data-stage-media] .video-js.vjs-layout-small .vjs-duration,[data-stage-media] .video-js.vjs-layout-small .vjs-time-divider{display:flex}[data-stage-media] .video-js .vjs-time-control{font-size:var(--fs-xs)}.vjs-peach-seek-frame{width:160px}.vjs-peach-settings-menu{border-radius:var(--floating-radius);width:min(274px,100vw - 16px);right:-100px}}.vjs-peach-expand{display:none}.video-js.vjs-peach-xsmall .vjs-peach-right-controls>.vjs-control{flex:0 0 36px;min-width:36px;width:36px!important}.video-js.vjs-peach-xsmall .vjs-peach-right-controls .vjs-peach-control-icon,.video-js.vjs-peach-xsmall .vjs-peach-right-controls>.vjs-control:not(.vjs-peach-expand)>button>svg{width:18px;height:18px}.video-js.vjs-peach-xsmall .vjs-peach-expand>button>svg{width:32px;height:32px}.video-js.vjs-peach-xsmall .vjs-peach-right-controls>.vjs-control>.vjs-peach-hover{border-radius:50%;width:32px;height:32px;left:2px}.video-js.vjs-peach-xsmall .vjs-peach-settings-menu{width:min(274px,100vw - 48px);max-height:calc(var(--peach-player-h,420px) - 74px);right:0}.video-js.vjs-peach-xsmall .vjs-peach-panel-menu{padding:4px 8px}.video-js.vjs-peach-xsmall .vjs-peach-menu-option{min-height:44px}.video-js.vjs-peach-xsmall .vjs-peach-panel-menu:has(>.vjs-peach-menu-option:nth-child(5)){grid-template-columns:1fr 1fr;display:grid}.video-js.vjs-peach-xsmall .vjs-peach-right-controls>.vjs-control:not(.vjs-peach-settings):not(.vjs-peach-expand){display:none}.video-js.vjs-peach-xsmall .vjs-peach-expand,.video-js.vjs-peach-xsmall.vjs-peach-right-expanded .vjs-peach-right-controls>.vjs-control:not(.vjs-peach-settings):not(.vjs-peach-expand){display:block}.video-js.vjs-peach-xsmall.vjs-peach-right-expanded .vjs-peach-time{display:none}.vjs-peach-expand>button>svg{transition:transform .3s cubic-bezier(.05,0,0,1);transform:rotate(180deg)}.video-js.vjs-peach-right-expanded .vjs-peach-expand>button>svg{transform:rotate(0)}[data-stage-media] .video-js.vjs-error .vjs-error-display{background:0 0}[data-stage-media] .video-js.vjs-error .vjs-error-display .vjs-modal-dialog-content{z-index:9;border-radius:var(--surface-radius);text-align:center;overflow-wrap:anywhere;background:#020408db;justify-content:center;align-items:center;width:max-content;max-width:min(560px,100% - 48px);height:auto;padding:14px 18px;display:flex;top:50%;left:50%;transform:translate(-50%,-50%)}[data-stage-media] :is([data-stage-media]>.video-js.vjs-fullscreen,.video-js.vjs-fullscreen,.video-js[data-peach-fullscreen],body.vjs-full-window .video-js,.video-js:fullscreen,.video-js:fullscreen,.video-js:fullscreen,[data-stage-media]:fullscreen>.video-js,[data-stage-media]:fullscreen>.video-js,[data-stage-media]:fullscreen>.video-js){aspect-ratio:auto!important;z-index:10000!important;width:100vw!important;max-width:none!important;height:100vh!important;max-height:none!important;padding:0!important;position:fixed!important;inset:0!important}[data-stage-media] :is([data-stage-media]>.video-js.vjs-fullscreen,.video-js.vjs-fullscreen,.video-js[data-peach-fullscreen],body.vjs-full-window .video-js,.video-js:fullscreen,.video-js:fullscreen,.video-js:fullscreen,[data-stage-media]:fullscreen>.video-js,[data-stage-media]:fullscreen>.video-js,[data-stage-media]:fullscreen>.video-js) .vjs-tech{object-fit:cover!important;width:100vw!important;max-width:none!important;height:100vh!important;max-height:none!important;position:absolute!important;inset:0!important}[data-player-stats-button]{z-index:8;color:#fff;cursor:pointer;width:40px;height:40px;box-shadow:none;isolation:isolate;background:#0009;border:0;border-radius:50%;place-items:center;padding:0;display:grid;position:absolute;top:11px;left:11px;overflow:hidden}[data-player-stats-button][hidden]{display:none}[data-player-stats-button]:after,[data-stage-close]:after{content:"";z-index:0;pointer-events:none;background:0 0;border-radius:50%;transition:background .2s cubic-bezier(.05,0,0,1);position:absolute;inset:4px}[data-player-stats-button]:hover:after,[data-player-stats-button]:focus-visible:after,[data-stage-close]:hover:after,[data-stage-close]:focus-visible:after{background:#ffffff1a}[data-player-stats-button]:active:after,[data-stage-close]:active:after{background:#fff3}[data-player-stats-button]:focus-visible,[data-stage-close]:focus-visible{outline:0}[data-player-stats-button][aria-pressed=true]{background:var(--hover);color:var(--ink)}[data-player-stats-button] svg{z-index:1;stroke:currentColor;fill:none;stroke-width:2px;filter:drop-shadow(0 0 1px #000c);width:20px;height:20px;position:relative}[data-player-stats]{z-index:8;overscroll-behavior:contain;border-radius:var(--surface-radius);color:#eef3f8;-webkit-backdrop-filter:saturate(1.25)blur(14px);backdrop-filter:saturate(1.25)blur(14px);min-width:320px;max-width:min(520px,100% - 22px);max-height:calc(100% - 114px);font-size:var(--fs-xs);background:#020408c7;border:1px solid #ffffff2e;padding:10px 12px;font-family:inherit;line-height:1.5;position:absolute;top:58px;left:11px;overflow-y:auto;box-shadow:0 12px 28px #0008}[data-player-stats] dl{grid-template-columns:max-content minmax(0,1fr);gap:1px 12px;margin:0;display:grid}[data-player-stats] dt{text-align:right;font-weight:600}[data-player-stats] dd{text-overflow:ellipsis;white-space:nowrap;margin:0;overflow:hidden}[data-player-stats] dd[data-player-stats-metric]{grid-template-columns:166px minmax(0,1fr);align-items:center;gap:9px;display:grid;overflow:visible}[data-player-stats-metric]>span{text-overflow:ellipsis;overflow:hidden}[data-player-stats-plot]{background:#000;grid-template-columns:repeat(24,minmax(2px,1fr));align-items:end;gap:1px;height:20px;padding:2px;display:grid;overflow:hidden}[data-player-stats-plot] i{background:0 0;min-height:0;display:block}[data-player-stats-plot=speed] i[data-bar]{background:#55b5bd}[data-player-stats-plot=activity] i[data-bar]{background:#4ba8df}[data-player-stats-plot=buffer] i[data-bar]{background:#d8e98a}[data-player-stats-plot=buffer] i[data-bar=mid]{background:#efb55f}[data-player-stats-plot=buffer] i[data-bar=low]{background:#e16962}[data-player-stats][hidden]{display:none}@media (width<=600px){[data-player-stats] dd[data-player-stats-metric]{grid-template-columns:96px minmax(0,1fr)}}[data-player-net]{box-sizing:border-box;z-index:8;white-space:nowrap;border-radius:var(--floating-radius);color:#fff;height:40px;min-height:40px;box-shadow:none;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);font-size:var(--fs-xs);background:#0009;border:0;align-items:center;gap:7px;padding:0 11px;font-family:inherit;line-height:1;display:flex;position:absolute;top:11px;left:58px}[data-player-net] svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;flex:none;width:18px;height:18px}[data-player-net][hidden],[data-stage-media] video[hidden]{display:none}[data-stage-close]{z-index:9;color:#f0e9de;cursor:pointer;width:40px;height:40px;box-shadow:none;isolation:isolate;background:#0009;border:0;border-radius:50%;place-items:center;padding:0;display:grid;position:absolute;top:11px;right:11px;overflow:hidden}[data-stage-close] svg{z-index:1;stroke:currentColor;fill:none;stroke-width:2px;filter:drop-shadow(0 0 1px #000c);width:20px;height:20px;position:relative}#playerMenu[data-player-context-menu]{border-radius:var(--floating-radius);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);box-shadow:none;color:#fff;text-shadow:0 0 1px #000c;background:#0009;border:0;gap:0;min-width:240px;max-width:calc(100vw - 16px);padding:8px}[data-player-context-menu][popover]{margin:0;inset:auto}#playerMenu>[data-player-menu]{box-sizing:border-box;border-radius:var(--control-radius);width:100%;min-height:48px;box-shadow:none;color:#fff;font:inherit;font-size:var(--fs-md);text-align:left;white-space:nowrap;cursor:pointer;background:0 0;border:0;grid-template-columns:56px minmax(0,1fr) 32px;align-items:center;gap:0;margin:0;padding:0;font-weight:400;line-height:18.2px;display:grid}#playerMenu>[data-player-menu]:hover,#playerMenu>[data-player-menu]:focus-visible{color:#fff;background:#ffffff1a;outline:0}#playerMenu>[data-player-menu]:active{background:#fff3}[data-player-menu]>svg{stroke:currentColor;fill:none;stroke-width:2px;justify-self:start;width:24px;height:24px;margin-left:8px}[data-player-menu]>svg[data-player-menu-fill]{fill:currentColor;stroke:none}[data-player-menu]>span{text-overflow:ellipsis;overflow:hidden}[data-player-menu]>[data-player-menu-check]{visibility:hidden;grid-column:3;justify-self:center;width:18px;height:18px;margin:0}[data-player-menu][aria-checked=true]>[data-player-menu-check]{visibility:visible}:root{--stage-shadow:#0000000a;--miniplayer-shadow-near:#00000029;--miniplayer-shadow-far:#0003}.dark{--stage-shadow:#0006;--miniplayer-shadow-near:#00000080;--miniplayer-shadow-far:#0000008c}[data-stage]{--detail-surface:var(--video-glow,#15202a)}@supports (color:color-mix(in lab, red, red)){[data-stage]{--detail-surface:color-mix(in srgb,var(--video-glow,#15202a) 12%,var(--surface) 88%)}}[data-stage]{width:min(1440px,100vw - 32px);max-width:calc(100vw - 32px);height:fit-content;max-height:calc(100dvh - 32px);color:var(--ink);border-radius:var(--floating-radius);overscroll-behavior:contain;background:radial-gradient(circle at 28% 24%,var(--video-glow,#15202a),transparent 58%), var(--surface);margin:auto;padding:0;position:fixed;inset:16px}@supports (color:color-mix(in lab, red, red)){[data-stage]{background:radial-gradient(circle at 28% 24%,color-mix(in srgb,var(--video-glow,#15202a) 40%,transparent),transparent 58%), color-mix(in srgb,var(--surface) 88%,transparent)}}[data-stage]{scroll-margin-top:calc(var(--topH) + 8px);border:1px solid var(--line);overflow:auto}[data-stage]::backdrop{background:var(--scrim)}[data-stage]:focus-visible{outline:none}body[data-detail-open]{overflow:hidden}@supports (color:color-mix(in lab, red, red)){[data-stage]:not([data-ambient]){background:color-mix(in srgb,var(--surface) 88%,transparent)}}[data-stage-grid]{grid-template-columns:minmax(0,1fr) minmax(350px,390px);display:grid}[data-stage-grid][data-with-queue]{grid-template-columns:minmax(0,1fr) minmax(350px,390px);grid-template-areas:"media side""queue queue";align-items:start}[data-stage-grid][data-with-queue]>[data-stage-media]{grid-area:media}[data-stage-grid][data-with-queue]>[data-stage-side]{background:var(--detail-surface);grid-area:side}[data-stage-grid][data-with-queue]>[data-mix-queue]{border-left:0;border-top:1px solid var(--line-soft);background:var(--detail-surface);grid-area:queue;max-height:360px}[data-stage-grid][data-with-queue] [data-mix-queue-actions] [data-queue-close]{display:none}[data-mix-queue]{border-left:1px solid var(--line-soft);background:var(--video-glow,#15202a);flex-direction:column;min-width:0;max-height:76vh;display:flex}@supports (color:color-mix(in lab, red, red)){[data-mix-queue]{background:color-mix(in srgb,var(--video-glow,#15202a) 10%,var(--surface) 90%)}}[data-mix-queue-head]{border-bottom:1px solid var(--line-soft);grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px;min-height:70px;padding:12px 12px 10px 15px;display:grid}[data-mix-queue-head] h2{text-overflow:ellipsis;white-space:nowrap;font-size:var(--fs-lg);margin:0;overflow:hidden}[data-mix-queue-head] span{color:var(--muted);font-size:var(--fs-xs);margin-top:3px;display:block}[data-mix-queue-head] button{border-radius:var(--control-radius);width:36px;height:36px;color:var(--ink);cursor:pointer;background:0 0;border:0;place-items:center;padding:0;display:grid}[data-mix-queue-head] button:hover{background:var(--hover)}[data-mix-queue-head] svg{stroke:currentColor;fill:none;stroke-width:2px;width:20px;height:20px}[data-mix-queue-actions]{align-items:center;gap:2px;display:flex}[data-mix-list]{min-height:0;padding:6px;overflow-y:auto}[data-mix-row]{border-radius:var(--control-radius);grid-template-columns:minmax(0,1fr) auto;align-items:center;display:grid}[data-mix-row]:has([data-mix-item][aria-current=true]){background:var(--hover)}[data-mix-row] [data-mix-item][aria-current=true]{background:0 0}[data-mix-item]{border-radius:var(--control-radius);width:100%;color:var(--ink);text-align:left;cursor:pointer;background:0 0;border:0;grid-template-columns:94px minmax(0,1fr);align-items:center;gap:10px;padding:7px;display:grid}[data-mix-item]:hover{background:var(--overlay-5)}[data-mix-item][aria-current=true]{background:var(--hover)}[data-mix-item-pic]{aspect-ratio:16/9;border-radius:var(--badge-radius);background:#000;position:relative;overflow:hidden}[data-mix-item-pic] img{object-fit:contain;width:100%;height:100%;position:absolute;inset:0}[data-mix-item-pic] [data-mix-item-duration]{bottom:3px;right:4px}[data-mix-item-meta]{align-items:center;gap:10px;min-width:0;display:flex}[data-mix-item-meta] [class~=mav]{cursor:inherit}[data-mix-item-meta] [class~=mav]:hover{box-shadow:none}[data-mix-item-meta] [class~=mavstack] [class~=mav]{box-shadow:0 0 0 2px var(--ground)}[data-mix-item-text]{min-width:0}[data-mix-item-text] b,[data-mix-item-text] span{white-space:nowrap;display:block;overflow:hidden}[data-mix-item-text] [data-truncate-end]{text-overflow:ellipsis}[data-mix-item-text] b{font-size:var(--fs-xs);line-height:1.4}[data-mix-item-text] span{font-size:var(--fs-xs);color:var(--muted);margin-top:3px}[data-mix-row][data-queue-row]{cursor:grab;position:relative}[data-mix-row][data-queue-row]:active{cursor:grabbing}[data-mix-row][class~=dragging]{opacity:.42}[data-mix-row][class~=drop-before]:before,[data-mix-row][class~=drop-after]:after{content:"";z-index:4;border-radius:var(--pill-radius);background:var(--ink);height:2px;position:absolute;left:6px;right:6px}[data-mix-row][class~=drop-before]:before{top:-3px}[data-mix-row][class~=drop-after]:after{bottom:-3px}[data-stage-grid][data-with-queue]>[data-mix-queue]{padding:14px 14px 16px;overflow:hidden}[data-stage-grid][data-with-queue]>[data-mix-queue] [data-mix-queue-head]{border:0;min-height:0;padding:0 0 11px}[data-stage-grid][data-with-queue]>[data-mix-queue] [data-mix-queue-head] h2{font-size:var(--fs-sm);letter-spacing:.06em}[data-stage-grid][data-with-queue]>[data-mix-queue] [data-mix-queue-head] span{text-overflow:ellipsis;white-space:nowrap;max-width:72ch;overflow:hidden}[data-stage-grid][data-with-queue]>[data-mix-queue] [data-mix-list]{overscroll-behavior-inline:contain;scroll-snap-type:x proximity;grid-auto-columns:minmax(190px,220px);grid-auto-flow:column;gap:10px;padding:0 0 3px;display:grid;overflow:auto hidden}[data-stage-grid][data-with-queue]>[data-mix-queue] [data-mix-row]{scroll-snap-align:start;background:0 0;min-width:0;display:block;position:relative}[data-stage-grid][data-with-queue]>[data-mix-queue] [data-mix-item]{flex-direction:column;align-items:stretch;gap:7px;padding:0;display:flex}[data-stage-grid][data-with-queue]>[data-mix-queue] [data-mix-item]:hover,[data-stage-grid][data-with-queue]>[data-mix-queue] [data-mix-item][aria-current=true]{background:0 0}[data-stage-grid][data-with-queue]>[data-mix-queue] [data-mix-item-pic]{border:1px solid #0000;width:100%}[data-stage-grid][data-with-queue]>[data-mix-queue] [data-mix-item][aria-current=true] [data-mix-item-pic]{border-color:var(--ink);box-shadow:0 0 0 1px var(--ink)}[data-stage-grid][data-with-queue]>[data-mix-queue] [data-mix-item-meta]{align-items:flex-start;width:100%;padding:0 2px}[data-stage-grid][data-with-queue]>[data-mix-queue] [data-mix-item-meta] [class~=mav],[data-stage-grid][data-with-queue]>[data-mix-queue] [data-mix-item-meta] [class~=mavstack]{margin-top:2px}[data-stage-grid][data-with-queue]>[data-mix-queue] [data-mix-item-text]{flex:1;min-width:0}[data-stage-grid][data-with-queue]>[data-mix-queue] [data-mix-item-text] b{font-size:var(--fs-sm)}[data-stage-grid][data-with-queue]>[data-mix-queue] [data-mix-item][data-media-kind=image] [data-mix-item-pic] img{object-fit:cover}[data-stage-scroll]>.peach-react{font:inherit;color:inherit;-webkit-font-smoothing:inherit;font-variant-ligatures:inherit;font-kerning:inherit;display:contents}@media (width>=1081px){[data-stage]:not([data-theater])>[data-stage-scroll]{flex-direction:column;max-height:calc(100dvh - 34px);display:flex}[data-stage]:not([data-theater])>[data-stage-scroll]>[data-stage-grid],[data-stage]:not([data-theater])>[data-stage-scroll]>.peach-react>[data-stage-grid]{flex:auto;min-height:0}[data-stage]:not([data-theater]) [data-stage-grid]>[data-stage-media]{min-height:0}[data-stage]:not([data-theater]) [data-stage-media]>.video-js{max-height:min(76vh,100%)}[data-stage][data-theater]>[data-stage-scroll]{overscroll-behavior:contain;max-height:calc(100dvh - 34px);overflow:hidden auto}[data-stage-grid][data-with-queue]>[data-stage-media]{align-self:stretch}[data-stage][data-theater] [data-stage-grid]{grid-template-columns:minmax(0,1fr)}[data-stage][data-theater] [data-stage-grid]:not([data-with-queue])>[data-stage-side]{border-left:0;border-top:1px solid var(--line-soft);grid-column:1}[data-stage][data-theater] [data-stage-grid][data-with-queue]{grid-template-areas:"media""side""queue"}[data-stage][data-theater] [data-stage-side-content]:is(*){height:auto;max-height:none}[data-stage][data-theater] [data-stage-media]>.video-js,[data-stage][data-theater] [data-stage-media]>video{max-height:calc(100vh - var(--topH) - 56px)}}[data-stage-grid][data-with-queue]>[data-mix-queue] [data-mix-queue-head]{grid-template-columns:max-content max-content minmax(0,1fr);gap:5px 8px}[data-stage-grid][data-with-queue]>[data-mix-queue] [data-mix-queue-head]>div:first-child{min-width:0}[data-stage-grid][data-with-queue]>[data-mix-queue] [data-mix-queue-actions]{grid-area:1/2;align-self:center}[data-mix-item-duration]{z-index:2;color:#f2eadf;border-radius:var(--badge-radius);background:#000000b3;padding:2px 6px;transition:opacity .15s;position:absolute;bottom:6px;right:6px}[data-stage-side]{border-left:1px solid var(--line-soft);background:var(--detail-surface);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);align-self:stretch;min-width:0;min-height:0;overflow:hidden}[data-stage-side-content]{box-sizing:border-box;flex-direction:column;gap:0;width:100%;height:100%;max-height:76vh;padding:18px;display:flex;overflow:hidden auto}[data-stage-title]{font-size:var(--fs-lg);word-break:break-all;margin-bottom:8px;line-height:1.4}[data-stage-meta]{color:var(--muted);flex-wrap:wrap;gap:9px;margin-bottom:18px;display:flex}[data-stage-tags]{flex-wrap:wrap;align-items:center;gap:7px;margin:0 0 18px;display:flex;position:relative}[data-stage-actions]{border:1px solid var(--border-10);border-radius:var(--control-radius);background:var(--overlay-5);flex:none;align-items:center;gap:0;width:max-content;margin:0 0 12px;padding:0;display:flex;overflow:hidden}[data-stage-actions] button{border:0;border-right:1px solid var(--border-10);cursor:pointer;width:44px;height:42px;color:var(--muted);background:0 0;border-radius:0;place-items:center;padding:0;transition:transform .14s,color .14s,background .14s;display:grid}[data-stage-actions] button svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:21px;height:21px}[data-stage-actions] button:last-child{border-right:0}[data-stage-actions] button:hover{background:var(--hover);transform:none}[data-stage-actions] [data-stage-action=dislike]:hover,[data-stage-actions] [data-stage-action=dislike][aria-pressed=true]{color:var(--drop);background:var(--drop)}@supports (color:color-mix(in lab, red, red)){[data-stage-actions] [data-stage-action=dislike]:hover,[data-stage-actions] [data-stage-action=dislike][aria-pressed=true]{background:color-mix(in srgb,var(--drop) 12%,transparent)}}[data-stage-actions] [data-stage-action=seen]:hover,[data-stage-actions] [data-stage-action=seen][aria-pressed=true]{color:var(--keep);background:var(--keep)}@supports (color:color-mix(in lab, red, red)){[data-stage-actions] [data-stage-action=seen]:hover,[data-stage-actions] [data-stage-action=seen][aria-pressed=true]{background:color-mix(in srgb,var(--keep) 12%,transparent)}}[data-stage-actions] [data-stage-action=later]:hover,[data-stage-actions] [data-stage-action=later][aria-pressed=true]{color:var(--loupe);background:var(--loupe)}@supports (color:color-mix(in lab, red, red)){[data-stage-actions] [data-stage-action=later]:hover,[data-stage-actions] [data-stage-action=later][aria-pressed=true]{background:color-mix(in srgb,var(--loupe) 12%,transparent)}}[data-stage-grid][data-with-queue]>[data-mix-queue] [class~=mavstack] [class~=mav]:nth-child(n+3){display:none}[data-mix-group-label]{color:var(--ink);font-size:var(--fs-xs);align-items:center;gap:8px;margin:12px 10px 6px;font-weight:600;display:flex}[data-mix-group-label]:first-child{margin-top:4px}[data-mix-group-label] span{color:var(--muted);font-variant-numeric:tabular-nums;font-weight:400}@media (width<=1080px){[data-stage-grid],[data-stage-grid][data-with-queue]{grid-template-columns:minmax(0,1fr)}[data-stage-grid][data-with-queue]{grid-template-areas:"media""side""queue"}[data-stage-side],[data-stage-grid][data-with-queue]>[data-stage-side]{border-left:0;border-top:1px solid var(--line-soft);grid-column:auto}[data-stage-side-content]{height:auto;max-height:none}[data-mix-queue],[data-stage-grid][data-with-queue]>[data-mix-queue]{border-left:0;border-top:1px solid var(--line-soft);max-height:420px}}@media (width<=760px){[data-stage-actions]{width:100%}[data-stage-actions] button{flex:1 1 0;min-width:38px}}[data-miniplayer]{z-index:var(--layer-miniplayer);touch-action:none;will-change:opacity,transform;-webkit-user-select:none;user-select:none;width:min(400px,100vw - 32px);max-height:calc(100dvh - 32px);position:fixed}[data-miniplayer][hidden]{display:none}[data-miniplayer][data-corner=br]{bottom:16px;right:16px}[data-miniplayer][data-corner=bl]{bottom:16px;left:16px}[data-miniplayer][data-corner=tr]{right:16px;top:calc(var(--topH) + 16px)}[data-miniplayer][data-corner=tl]{left:16px;top:calc(var(--topH) + 16px)}[data-miniplayer][data-miniplayer-drag],[data-miniplayer][data-miniplayer-drag] [data-miniplayer-card]{cursor:grabbing}[data-miniplayer][data-miniplayer-snap]{transition:transform .5s cubic-bezier(.05,0,0,1)}@media (prefers-reduced-motion:no-preference){[data-miniplayer][data-miniplayer-enter]{animation:.366s cubic-bezier(.05,0,0,1) both miniplayer-fade-in}}@keyframes miniplayer-fade-in{0%{opacity:0}to{opacity:1}}[data-miniplayer-card]{border-radius:var(--floating-radius);background:var(--surface);box-shadow:0 2px 5px var(--miniplayer-shadow-near),0 3px 6px var(--miniplayer-shadow-far);cursor:grab;flex-direction:column;display:flex;overflow:hidden}[data-miniplayer-frame]{width:100%;aspect-ratio:var(--miniplayer-aspect,16/9);background:#000;max-height:calc(100dvh - 108px);position:relative;overflow:hidden}[data-miniplayer-frame] .video-js{background:#000;font-family:inherit;position:absolute;inset:0;width:100%!important;height:100%!important;padding-top:0!important}[data-miniplayer-frame] .video-js .vjs-tech{object-fit:contain}[data-miniplayer-frame] .video-js :is(.vjs-big-play-button,.vjs-peach-bezel,.vjs-peach-settings-menu,.vjs-peach-tooltip,.vjs-loading-spinner,[data-player-seek-preview],.vjs-text-track-display){display:none!important}[data-miniplayer-frame] .video-js .vjs-control-bar{z-index:2;background:0 0;width:auto;height:5px;padding:0;transition:none;display:flex;position:absolute;inset:auto 0 0;opacity:1!important;visibility:visible!important;pointer-events:auto!important}[data-miniplayer-frame] .video-js .vjs-control-bar>:not(.vjs-progress-control){display:none!important}[data-miniplayer-frame] .video-js .vjs-progress-control{align-items:center;width:auto;min-width:0;height:5px;display:flex;position:absolute;inset:0}[data-miniplayer-frame] .video-js .vjs-progress-control .vjs-progress-holder{background:#fff3;border-radius:0;width:100%;height:5px;margin:0}[data-miniplayer-frame] .video-js .vjs-load-progress{background:#fff6}[data-miniplayer-frame] .video-js .vjs-load-progress div{background:#fff3}[data-miniplayer-frame] .video-js .vjs-play-progress{background:var(--tungsten)}[data-miniplayer-frame] .video-js .vjs-play-progress:before{content:"";background:var(--tungsten);width:12px;height:12px;box-shadow:none;border-radius:50%;font-size:0;position:absolute;top:50%;right:-6px;transform:translateY(-50%)}[data-miniplayer-frame] .video-js .vjs-time-tooltip{font-size:var(--fs-xs);font-family:inherit}[data-miniplayer-scrim]{z-index:1;opacity:0;color:#fff;background:#00000080;justify-content:center;align-items:center;gap:6px;transition:opacity .2s cubic-bezier(.4,0,.2,1) .1s;display:flex;position:absolute;inset:0}[data-miniplayer-frame]:hover [data-miniplayer-scrim],[data-miniplayer-frame]:focus-within [data-miniplayer-scrim],[data-miniplayer][data-miniplayer-drag] [data-miniplayer-scrim]{opacity:1}[data-miniplayer-button],[data-miniplayer-play],[data-miniplayer-seek]{isolation:isolate;color:#fff;cursor:pointer;background:0 0;border:0;place-items:center;margin:0;padding:0;display:grid;position:relative}[data-miniplayer-button]{width:40px;height:40px;position:absolute;top:0}[data-miniplayer-button] svg{z-index:1;stroke:currentColor;fill:none;stroke-width:2px;filter:drop-shadow(0 0 1px #000c);width:24px;height:24px;position:relative}[data-miniplayer-button=expand]{left:0}[data-miniplayer-button=close]{right:0}[data-miniplayer-play]{width:42px;height:42px}[data-miniplayer-play] svg{z-index:1;fill:currentColor;stroke:none;filter:drop-shadow(0 0 1px #000c);width:36px;height:36px;position:relative}[data-miniplayer-seek]{width:36px;height:36px}[data-miniplayer-seek] svg{z-index:1;stroke:currentColor;fill:none;stroke-width:2px;filter:drop-shadow(0 0 1px #000c);width:22px;height:22px;position:relative}[data-miniplayer-button]:after,[data-miniplayer-play]:after,[data-miniplayer-seek]:after{content:"";z-index:0;pointer-events:none;background:0 0;border-radius:50%;transition:background .2s cubic-bezier(.05,0,0,1);position:absolute;inset:4px}[data-miniplayer-button]:hover:after,[data-miniplayer-button]:focus-visible:after,[data-miniplayer-play]:hover:after,[data-miniplayer-play]:focus-visible:after,[data-miniplayer-seek]:hover:after,[data-miniplayer-seek]:focus-visible:after{background:#ffffff1a}[data-miniplayer-button]:active:after,[data-miniplayer-play]:active:after,[data-miniplayer-seek]:active:after{background:#fff3}[data-miniplayer-button]:focus-visible,[data-miniplayer-play]:focus-visible,[data-miniplayer-seek]:focus-visible{outline:0}[data-miniplayer-time]{font-size:var(--fs-xs);text-shadow:0 0 2px #000;pointer-events:none;line-height:15px;position:absolute;bottom:16px;left:12px}[data-miniplayer-info]{box-sizing:border-box;width:100%;min-height:76px;color:var(--ink);text-align:left;font:inherit;cursor:grab;background:0 0;border:0;flex-direction:column;justify-content:center;align-items:flex-start;margin:0;padding:12px 16px;display:flex}[data-miniplayer-info]:focus-visible{outline:2px solid var(--tungsten);outline-offset:-2px}[data-miniplayer-title]{white-space:nowrap;text-overflow:ellipsis;max-width:100%;font-size:var(--fs-md);font-weight:500;line-height:20px;display:block;overflow:hidden}[data-miniplayer-sub]{white-space:nowrap;text-overflow:ellipsis;max-width:100%;font-size:var(--fs-xs);color:var(--muted);margin-top:4px;line-height:18px;display:block;overflow:hidden}[data-miniplayer-sub]:empty{display:none}[data-stage-reveal]>[data-stage-fade]{z-index:2;pointer-events:none;opacity:1;filter:blur();transition:opacity var(--motion-reveal),filter var(--motion-reveal);position:absolute;inset:0;overflow:hidden}[data-stage-reveal][data-stage-revealing]>[data-stage-fade]{opacity:0;filter:blur(2px)}[data-stage-reveal]>:not([data-stage-fade]){animation:skel-reveal-in var(--motion-reveal) backwards}[data-stage]{border:1px solid var(--line);border-radius:var(--surface-radius);background:var(--ground);box-shadow:0 2px 8px var(--stage-shadow);--detail-surface:var(--ground);overflow:clip}[data-stage]:not([data-ambient]){background:var(--ground)}[data-stage] [data-stage-side]{background:var(--ground);-webkit-backdrop-filter:none;backdrop-filter:none;border-color:var(--line-soft)}[data-stage-side-content]{gap:4px;padding:20px}[data-stage-title]{font-weight:500;line-height:1.5}@media (width<=760px){[data-stage-side-content]{padding:16px}[data-stage]{border-radius:12px}[data-stage] [data-stage-side]{border-left:0;border-top:1px solid var(--line-soft)}}@media (width<=1080px){[data-stage]>[data-stage-scroll]{overscroll-behavior:contain;max-height:calc(100dvh - 34px);overflow:hidden auto}[data-stage] [data-stage-media]:has(>.video-js){z-index:3;position:sticky;top:0}}@media (width<=760px){[data-stage]{inset:calc(env(safe-area-inset-top) + 8px) 8px auto;width:calc(100vw - 16px);max-width:calc(100vw - 16px);max-height:calc(100dvh - env(safe-area-inset-top) - 16px);margin:0 auto}[data-stage]>[data-stage-scroll]{max-height:calc(100dvh - env(safe-area-inset-top) - 18px)}[data-stage-media]>.video-js{aspect-ratio:var(--peach-video-ratio,16/9);max-height:56dvh}}[data-stage-close]{background:var(--surface);color:var(--ink);border-radius:50%;place-items:center;padding:0;line-height:1;display:grid}[data-stage-close] svg{place-self:center;margin:0;display:block}[data-stage]{animation:board-dialog-in var(--board-dialog-motion) backwards}[data-stage]::backdrop{animation:.35s cubic-bezier(.4,0,.2,1) both settings-backdrop-in}[data-stage][data-closing]{animation:board-dialog-out var(--board-dialog-motion) both;pointer-events:none}[data-stage][data-closing]::backdrop{animation:.35s cubic-bezier(.4,0,.2,1) both settings-backdrop-out}[data-stage] [data-stage-media]{border-radius:var(--surface-radius);overflow:hidden}[data-stage-side-content] [data-stage-actions]{background:0 0;border:0;flex-wrap:wrap;gap:4px;width:100%;margin:0 0 16px;padding:0;display:flex;overflow:visible}[data-stage-side-content] [data-stage-actions] button{background:var(--surface);border:0;border-radius:8px;flex:0 0 36px;place-items:center;width:36px;min-width:36px;height:36px;padding:0;display:grid}[data-stage-side-content] [data-stage-actions] button svg{width:18px;height:18px;margin:0;display:block}[data-stage-side-content] [data-stage-actions] button[aria-pressed=true]{box-shadow:inset 0 0 0 1px}[data-stage] [data-stage-media]{border-radius:var(--surface-radius) 0 0 0}[data-stage][data-theater] [data-stage-media]{border-radius:var(--surface-radius) var(--surface-radius) 0 0}@media (width<=1080px){[data-stage] [data-stage-media]{border-radius:var(--surface-radius) var(--surface-radius) 0 0}}[data-stage-close],[data-stage-close]:hover{color:#fff;background:#0009}[data-stage-close]:hover:after,[data-stage-close]:focus-visible:after{background:#fff3}[data-stage-close]:active:after{background:#ffffff4d}@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%)}}: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 [class~=overflow-x-auto]{scrollbar-width:none}.peach-react [class~=overflow-x-auto]::-webkit-scrollbar{display:none}.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-filter-glass][data-stuck]:before{content:"";z-index:-1;background:var(--page);pointer-events:none;height:9px;position:absolute;top:-9px;left:-16px;right:-16px;-webkit-mask-image:linear-gradient(90deg,#0000,#000 24px calc(100% - 24px),#0000);mask-image:linear-gradient(90deg,#0000,#000 24px calc(100% - 24px),#0000)}.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}.peach-react [data-tab-indicator]{width:var(--tab-width,0px);transform:translateX(var(--tab-x,0px))}.peach-react [data-tab-indicator][data-ready]{transition:transform calc(var(--spring-pane-ms,200) * 1ms) var(--spring-pane,ease), width calc(var(--spring-pane-ms,200) * 1ms) ease}@media (prefers-reduced-motion:reduce){.peach-react [data-tab-indicator][data-ready]{transition:none}}.peach-react [data-glass-segment][data-selected]{background:linear-gradient(180deg, var(--glass-sheen), transparent 62%), var(--glass-pick-fill);box-shadow:inset 0 0 0 1px var(--glass-rim), var(--glass-pick-shadow)}@media not all and (width>=761px){.peach-react :is([data-index-search],[data-playlist-create]) input{font-size:16px}}.peach-react [data-mix-stack]:before,.peach-react [data-mix-stack]:after{content:"";z-index:0;border-radius:inherit;border:1px solid var(--border-15);background:var(--surface);position:absolute}@supports (color:color-mix(in lab, red, red)){.peach-react [data-mix-stack]:before,.peach-react [data-mix-stack]:after{background:color-mix(in srgb, var(--surface) 84%, var(--video-glow,#15202a))}}.peach-react [data-mix-stack]:before{opacity:.54;inset:0 12px 8px;transform:translateY(-7px)}.peach-react [data-mix-stack]:after{opacity:.78;inset:0 6px 4px;transform:translateY(-4px)}.peach-react [data-mix-cover],.peach-react [data-mix-poster]{background:#000}.peach-react [data-mix-faces]{z-index:2;pointer-events:none;background:#000;position:absolute;inset:0}.peach-react [data-mix-face]{opacity:0;transform-origin:50% 88%;transition:transform .46s cubic-bezier(.34,.02,.24,1),opacity .4s;position:absolute;inset:0;transform:scale(.985)}.peach-react [data-mix-face=on]{opacity:1;z-index:2;transition:none;transform:none}.peach-react [data-mix-face=off]{opacity:0;z-index:3;transform:translateY(-11%)rotate(-3.4deg)scale(.94)}.peach-react [data-mix-face] img{object-fit:contain;background:#000;width:100%;height:100%;display:block}.peach-react [data-mix-badge]{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#0c0808b8}.peach-react [data-mix-avatars]{--lift-motion:calc(var(--spring-press-ms) * 1ms) var(--spring-press);flex:none;max-width:calc(100% - 48px);margin:-4px -2px -2px;padding:6px 2px 2px 5px;display:flex}.peach-react [data-mix-avatars]:has(:is(:hover,:focus-visible)){--lift-motion:var(--board-motion)}.peach-react [data-mix-avatars]>*{box-shadow:0 0 0 2px var(--ground);transform:translate(var(--lift-x,0), var(--lift-y,0)) scale(var(--lift-scale,1));transition:transform var(--lift-motion,var(--board-motion))}.peach-react [data-mix-avatars]>*+*{margin-left:-22px}.peach-react [data-mix-avatars]>:first-child{z-index:5}.peach-react [data-mix-avatars]>:nth-child(2){z-index:4}.peach-react [data-mix-avatars]>:nth-child(3){z-index:3}.peach-react [data-mix-avatars]>:nth-child(4){z-index:2}.peach-react [data-mix-avatars]>:nth-child(5){z-index:1}.peach-react [data-mix-avatars]>:is(:hover,:focus-visible){z-index:6;box-shadow:0 0 0 2px var(--ink-2);--lift-y:-4px;--lift-scale:1.05}.peach-react [data-mix-avatars]>:is(:hover,:focus-visible)+*{--lift-y:-1.8px;--lift-x:10px}.peach-react [data-mix-avatars]>:is(:hover,:focus-visible)+*+*{--lift-y:-.81px;--lift-x:20px}.peach-react [data-mix-avatars]>:is(:hover,:focus-visible)+*+*+*{--lift-x:30px}.peach-react [data-mix-avatars]>:is(:hover,:focus-visible)+*+*+*+*{--lift-x:40px}.peach-react [data-tag-cat]{--tag-color:#7a91a8}.peach-react [data-tag-cat=general],.peach-react [data-tag-cat=r34-general]{--tag-color:#55a7ff}.peach-react [data-tag-cat=artist]{--tag-color:#f1a454}.peach-react [data-tag-cat=meta]{--tag-color:#7f909e}.peach-react [data-tag-cat=relationship]{--tag-color:#f1a454}.peach-react [data-tag-cat=role]{--tag-color:#ed78af}.peach-react [data-tag-cat=appearance]{--tag-color:#a989f5}.peach-react [data-tag-cat=scene]{--tag-color:#53b8a4}.peach-react [data-tag-cat=story]{--tag-color:#e19a5b}.peach-react [data-tag-cat=position]{--tag-color:#d66e8d}.peach-react [data-tag-cat=r34-artist]{--tag-color:#e36c6c}.peach-react [data-tag-cat=r34-character]{--tag-color:#68c76f}.peach-react [data-tag-cat=r34-copyright]{--tag-color:#d675d6}.peach-react [data-tag-cat=r34-metadata]{--tag-color:#f5a24a}.peach-react [data-tag-cat=r34-unknown]{--tag-color:var(--muted)}.peach-react [data-tag-pill][data-tag-cat=all]{--tag-color:initial}.peach-react [data-tag-dot]{background:var(--tag-color,var(--muted))}.peach-react [data-tag-pill][data-tag-cat=all] [data-tag-dot]{background:linear-gradient(135deg,#55a7ff,#d783ff)}.peach-react [data-tag-chip]{border-color:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-tag-chip]{border-color:color-mix(in srgb, var(--tag-color) 32%, transparent)}}.peach-react [data-tag-chip]{background:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-tag-chip]{background:color-mix(in srgb, var(--tag-color) 7%, transparent)}}.peach-react [data-tag-chip]:hover{background:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-tag-chip]:hover{background:color-mix(in srgb, var(--tag-color) 13%, transparent)}}.peach-react [data-tag-chip][aria-pressed=true],.peach-react [data-alpha-tag][aria-pressed=true]{background:var(--picked);color:var(--color-text-primary)}.peach-react [data-tag-pill][aria-pressed=true]{border-color:var(--tag-color,var(--ink))}@supports (color:color-mix(in lab, red, red)){.peach-react [data-tag-pill][aria-pressed=true]{border-color:color-mix(in srgb, var(--tag-color,var(--ink)) 45%, transparent)}}.peach-react [data-tag-pill][aria-pressed=true]{background:var(--tag-color,var(--ink));border-style:solid}@supports (color:color-mix(in lab, red, red)){.peach-react [data-tag-pill][aria-pressed=true]{background:color-mix(in srgb, var(--tag-color,var(--ink)) 12%, transparent)}}.peach-react [data-tag-pill][aria-pressed=true]{color:var(--ink)}.peach-react [data-alpha-tag]:not([aria-pressed=true]):hover{background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-alpha-tag]:not([aria-pressed=true]):hover{background:color-mix(in srgb, var(--ink) 6%, transparent)}}.peach-react [data-alpha-group]{scroll-margin-top:calc(var(--topH) + 124px)}.peach-react [data-source-divider]>*+*{border-top:1px solid var(--color-border-button-default)}.peach-react [data-follow-author-header][data-open]{border-bottom:1px solid var(--color-border-button-default)}.peach-react [data-input-size]>div[data-rac]:not([data-hovered]):not([data-focus-within]){outline:1px solid var(--color-border-button-default);outline-offset:-1px}.peach-react [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)}}
+@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0;--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-divide-y-reverse:0;--tw-border-style:solid;--tw-gradient-position:initial;--tw-gradient-from:#0000;--tw-gradient-via:#0000;--tw-gradient-to:#0000;--tw-gradient-stops:initial;--tw-gradient-via-stops:initial;--tw-gradient-from-position:0%;--tw-gradient-via-position:50%;--tw-gradient-to-position:100%;--tw-leading:initial;--tw-font-weight:initial;--tw-tracking:initial;--tw-ordinal:initial;--tw-slashed-zero:initial;--tw-numeric-figure:initial;--tw-numeric-spacing:initial;--tw-numeric-fraction:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-outline-style:solid;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial;--tw-backdrop-blur:initial;--tw-backdrop-brightness:initial;--tw-backdrop-contrast:initial;--tw-backdrop-grayscale:initial;--tw-backdrop-hue-rotate:initial;--tw-backdrop-invert:initial;--tw-backdrop-opacity:initial;--tw-backdrop-saturate:initial;--tw-backdrop-sepia:initial;--tw-duration:initial;--tw-ease:initial;--tw-content:"";--tw-scale-x:1;--tw-scale-y:1;--tw-scale-z:1}}}@layer theme{:root,:host{--font-sans:var(--font-inter), ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-mono:var(--font-mono-source), ui-monospace, "SFMono-Regular", Menlo, Consolas, "Liberation Mono", monospace;--color-red-100:oklch(93.6% .032 17.717);--color-red-200:oklch(88.5% .062 18.334);--color-red-300:oklch(80.8% .114 19.571);--color-red-400:oklch(70.4% .191 22.216);--color-red-500:oklch(63.7% .237 25.331);--color-red-600:oklch(57.7% .245 27.325);--color-red-700:oklch(50.5% .213 27.518);--color-red-900:oklch(39.6% .141 25.723);--color-red-950:oklch(25.8% .092 26.042);--color-yellow-200:oklch(94.5% .129 101.54);--color-yellow-400:oklch(85.2% .199 91.936);--color-yellow-500:oklch(79.5% .184 86.047);--color-yellow-800:oklch(47.6% .114 61.907);--color-yellow-950:oklch(28.6% .066 53.813);--color-lime-100:oklch(96.7% .067 122.328);--color-lime-200:oklch(93.8% .127 124.321);--color-lime-300:oklch(89.7% .196 126.665);--color-lime-400:oklch(84.1% .238 128.85);--color-lime-500:oklch(76.8% .233 130.85);--color-lime-600:oklch(64.8% .2 131.684);--color-lime-700:oklch(53.2% .157 131.589);--color-lime-800:oklch(45.3% .124 130.933);--color-lime-950:oklch(27.4% .072 132.109);--color-green-100:oklch(96.2% .044 156.743);--color-green-800:oklch(44.8% .119 151.328);--color-emerald-100:oklch(95% .052 163.051);--color-emerald-300:oklch(84.5% .143 164.978);--color-emerald-400:oklch(76.5% .177 163.223);--color-emerald-500:oklch(69.6% .17 162.48);--color-emerald-700:oklch(50.8% .118 165.612);--color-emerald-800:oklch(43.2% .095 166.913);--color-emerald-950:oklch(26.2% .051 172.552);--color-teal-400:oklch(77.7% .152 181.912);--color-teal-500:oklch(70.4% .14 182.503);--color-cyan-200:oklch(91.7% .08 205.041);--color-cyan-400:oklch(78.9% .154 211.53);--color-cyan-800:oklch(45% .085 224.283);--color-cyan-950:oklch(30.2% .056 229.695);--color-sky-400:oklch(74.6% .16 232.661);--color-sky-500:oklch(68.5% .169 237.323);--color-blue-50:oklch(97% .014 254.604);--color-blue-100:oklch(93.2% .032 255.585);--color-blue-200:oklch(88.2% .059 254.128);--color-blue-300:oklch(80.9% .105 251.813);--color-blue-400:#3392ff;--color-blue-500:oklch(62.3% .214 259.815);--color-blue-600:oklch(54.6% .245 262.881);--color-blue-700:oklch(48.8% .243 264.376);--color-blue-800:oklch(42.4% .199 265.638);--color-blue-900:oklch(37.9% .146 265.522);--color-blue-950:oklch(28.2% .091 267.935);--color-indigo-100:oklch(93% .034 272.788);--color-indigo-400:oklch(67.3% .182 276.935);--color-indigo-500:oklch(58.5% .233 277.117);--color-indigo-800:oklch(39.8% .195 277.366);--color-purple-50:oklch(97.7% .014 308.299);--color-purple-100:oklch(94.6% .033 307.174);--color-purple-300:oklch(82.7% .119 306.383);--color-purple-400:oklch(71.4% .203 305.504);--color-purple-500:oklch(62.7% .265 303.9);--color-purple-600:oklch(55.8% .288 302.321);--color-purple-700:oklch(49.6% .265 301.924);--color-purple-800:oklch(43.8% .218 303.724);--color-purple-900:oklch(38.1% .176 304.987);--color-purple-950:oklch(29.1% .149 302.717);--color-pink-100:oklch(94.8% .028 342.258);--color-pink-300:oklch(82.3% .12 346.018);--color-pink-400:oklch(71.8% .202 349.761);--color-pink-500:oklch(65.6% .241 354.308);--color-pink-700:oklch(52.5% .223 3.958);--color-pink-950:oklch(28.4% .109 3.907);--color-rose-100:oklch(94.1% .03 12.58);--color-rose-200:oklch(89.2% .058 10.001);--color-rose-300:oklch(81% .117 11.638);--color-rose-500:oklch(64.5% .246 16.439);--color-rose-600:oklch(58.6% .253 17.585);--color-rose-800:oklch(45.5% .188 13.697);--color-rose-950:oklch(27.1% .105 12.094);--color-zinc-800:oklch(27.4% .006 286.033);--color-neutral-50:oklch(98.5% 0 none);--color-neutral-100:#f7f7f7;--color-neutral-200:#ebebeb;--color-neutral-300:oklch(87% 0 none);--color-neutral-400:oklch(70.8% 0 none);--color-neutral-500:oklch(55.6% 0 none);--color-neutral-600:oklch(43.9% 0 none);--color-neutral-700:oklch(37.1% 0 none);--color-neutral-800:oklch(26.9% 0 none);--color-neutral-900:oklch(20.5% 0 none);--color-neutral-950:oklch(14.5% 0 none);--color-black:#000;--color-white:#fff;--spacing:.25rem;--text-xs:.75rem;--text-xs--line-height:calc(1 / .75);--text-sm:.875rem;--text-sm--line-height:calc(1.25 / .875);--font-weight-normal:400;--font-weight-medium:500;--font-weight-semibold:600;--font-weight-bold:700;--leading-tight:1.25;--radius-xs:.125rem;--radius-sm:.25rem;--radius-md:.375rem;--radius-lg:.5rem;--radius-xl:.75rem;--radius-2xl:1rem;--shadow-sm:var(--elevation-sm);--drop-shadow-sm:0 1px 2px #00000026;--ease-out:cubic-bezier(0, 0, .2, 1);--ease-in-out:cubic-bezier(.4, 0, .2, 1);--animate-spin:spin 1s linear infinite;--blur-sm:8px;--aspect-video:16 / 9;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4, 0, .2, 1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono);--color-neutral-925:#121212;--color-accent-50:var(--color-blue-50);--color-accent-100:var(--color-blue-100);--color-accent-200:var(--color-blue-200);--color-accent-300:var(--color-blue-300);--color-accent-400:var(--color-blue-400);--color-accent-500:var(--color-blue-500);--color-accent-600:var(--color-blue-600);--color-accent-700:var(--color-blue-700);--color-accent-800:var(--color-blue-800);--color-accent-900:var(--color-blue-900);--color-accent-950:var(--color-blue-950);--radius-2lg:10px;--radius-2-5xl:20px;--shadow-checkbox-selected:inset 0 2px 0 0 #ffffff40, inset 0 0 0 1px var(--color-accent-500);--shadow-card:var(--elevation-card);--color-foreground-full:var(--color-foreground-full);--color-foreground-icon-primary:var(--color-foreground-icon-primary);--color-foreground-icon-hover:var(--color-foreground-icon-hover);--color-foreground-icon-secondary:var(--color-foreground-icon-secondary);--color-foreground-icon-tertiary:var(--color-foreground-icon-tertiary);--color-foreground-icon-quaternary:var(--color-foreground-icon-quaternary);--color-foreground-icon-error:var(--color-foreground-icon-error);--color-foreground-icon-disabled:var(--color-foreground-icon-disabled);--color-foreground-disabled:var(--color-foreground-disabled);--color-foreground-disabled-danger:var(--color-foreground-disabled-danger);--color-input-disabled-foreground:var(--color-input-disabled-foreground);--color-icon-button-disabled-foreground:var(--color-icon-button-disabled-foreground);--color-button-primary-disabled-foreground:var(--color-button-primary-disabled-foreground);--color-text-primary:var(--color-text-primary);--color-text-secondary:var(--color-text-secondary);--color-text-tertiary:var(--color-text-tertiary);--color-text-disabled:var(--color-text-disabled);--color-text-disabled-danger:var(--color-text-disabled-danger);--color-text-placeholder:var(--color-text-placeholder);--color-text-error-primary:var(--color-text-error-primary);--color-input-disabled-text:var(--color-input-disabled-text);--color-text-white:var(--color-text-white);--color-background-full:var(--color-background-full);--color-background-primary-default:var(--color-background-primary-default);--color-background-inner-default:var(--color-background-inner-default);--color-background-primary-hover:var(--color-background-primary-hover);--color-background-primary-active:var(--color-background-primary-active);--color-background-primary-disabled:var(--color-background-primary-disabled);--color-input-disabled-background:var(--color-input-disabled-background);--color-background-secondary-default:var(--color-background-secondary-default);--color-background-secondary-hover:var(--color-background-secondary-hover);--color-background-tertiary-default:var(--color-background-tertiary-default);--color-background-tertiary-hover:var(--color-background-tertiary-hover);--color-background-tertiary-error:var(--color-background-tertiary-error);--color-background-recent-hire-role:var(--color-background-recent-hire-role);--color-avatar-neutral-background:var(--color-avatar-neutral-background);--color-background-quaternary-default:var(--color-background-quaternary-default);--color-background-quaternary-hover:var(--color-background-quaternary-hover);--color-background-quaternary-error:var(--color-background-quaternary-error);--color-file-upload-icon-background:var(--color-file-upload-icon-background);--color-file-upload-icon-foreground:var(--color-file-upload-icon-foreground);--color-file-upload-icon-foreground-hover:var(--color-file-upload-icon-foreground-hover);--color-border-button-default:var(--color-border-button-default);--color-border-button-hover:var(--color-border-button-hover);--color-border-button-active:var(--color-border-button-active);--color-border-button-white:var(--color-border-button-white);--color-border-error-default:var(--color-border-error-default);--color-border-checkbox-default:var(--color-border-checkbox-default);--color-border-checkbox-hover:var(--color-border-checkbox-hover);--color-border-checkbox-active:var(--color-border-checkbox-active);--color-border-checkbox-white:var(--color-border-checkbox-white);--color-border-component-detail-container:var(--color-border-component-detail-container);--color-border-ai-profile-card:var(--color-border-ai-profile-card);--color-border-table:var(--color-border-table);--color-border-button-group:var(--color-border-button-group);--color-border-sidebar-profile-hover:var(--color-border-sidebar-profile-hover);--color-separator-border:var(--color-separator-border);--color-separator-border-strong:var(--color-separator-border-strong);--color-border-focus-ring:var(--color-border-focus-ring);--color-state-success-text:var(--color-state-success-text);--color-state-success-base:var(--color-state-success-base);--color-control-indicator-background:var(--color-control-indicator-background);--color-control-indicator-background-subtle:var(--color-control-indicator-background-subtle);--color-switch-off-chip-start:var(--color-switch-off-chip-start);--color-switch-off-chip-end:var(--color-switch-off-chip-end);--color-switch-on-chip-start:var(--color-switch-on-chip-start);--color-switch-on-chip-end:var(--color-switch-on-chip-end);--color-stat-card-icon-background:var(--color-stat-card-icon-background);--color-segmented-control-background:var(--color-segmented-control-background);--color-segmented-control-selected-background:var(--color-segmented-control-selected-background);--color-theme-toggle-sidebar-background:var(--color-theme-toggle-sidebar-background);--color-theme-toggle-sidebar-selected-background:var(--color-theme-toggle-sidebar-selected-background);--color-ai-chat-composer-add-background:var(--color-ai-chat-composer-add-background);--color-ai-chat-composer-add-hover-background:var(--color-ai-chat-composer-add-hover-background);--color-composer-panel-tab-background:var(--color-composer-panel-tab-background);--color-composer-panel-add-background:var(--color-composer-panel-add-background);--color-composer-panel-add-hover-background:var(--color-composer-panel-add-hover-background);--color-composer-panel-tile-border:var(--color-composer-panel-tile-border);--color-composer-panel-rail-background:var(--color-composer-panel-rail-background);--color-questionnaire-key-background:var(--color-questionnaire-key-background);--color-questionnaire-key-hover-background:var(--color-questionnaire-key-hover-background);--color-agent-progress-ring:var(--color-agent-progress-ring);--color-button-ghost-background:var(--color-button-ghost-background);--color-button-ghost-hover:var(--color-button-ghost-hover);--color-button-ghost-active:var(--color-button-ghost-active);--color-button-ghost-disabled:var(--color-button-ghost-disabled);--color-button-ghost-foreground:var(--color-button-ghost-foreground);--color-button-ghost-disabled-foreground:var(--color-button-ghost-disabled-foreground);--color-dropdown-item-hover-background:var(--color-dropdown-item-hover-background);--color-kbd-background:var(--color-kbd-background);--color-kbd-foreground:var(--color-kbd-foreground);--color-docs-file-chip-background:var(--color-docs-file-chip-background);--color-docs-file-chip-border:var(--color-docs-file-chip-border);--color-docs-file-chip-foreground:var(--color-docs-file-chip-foreground);--color-docs-command-accent:var(--color-docs-command-accent);--color-docs-code-background:var(--color-docs-code-background);--color-docs-install-rail:var(--color-docs-install-rail);--color-badge-neutral-background:var(--color-badge-neutral-background);--color-team-menu-count-background:var(--color-team-menu-count-background);--color-team-menu-count-foreground:var(--color-team-menu-count-foreground);--color-badge-new-background:var(--color-badge-new-background);--color-badge-new-text:var(--color-badge-new-text);--color-tab-count-selected-background:var(--color-tab-count-selected-background);--color-pill-tab-blue-selected-background:var(--color-pill-tab-blue-selected-background);--color-pill-tab-blue-hover-background:var(--color-pill-tab-blue-hover-background);--color-notification-information-background:var(--color-notification-information-background);--color-notification-information-foreground:var(--color-notification-information-foreground);--color-notification-success-background:var(--color-notification-success-background);--color-notification-success-foreground:var(--color-notification-success-foreground);--color-notification-error-background:var(--color-notification-error-background);--color-notification-error-foreground:var(--color-notification-error-foreground);--color-notification-center-background:var(--color-notification-center-background);--color-status-lime-background:var(--color-status-lime-background);--color-status-lime-text:var(--color-status-lime-text);--color-status-yellow-background:var(--color-status-yellow-background);--color-status-yellow-text:var(--color-status-yellow-text);--color-status-rose-background:var(--color-status-rose-background);--color-status-rose-text:var(--color-status-rose-text);--color-status-cyan-background:var(--color-status-cyan-background);--color-status-cyan-text:var(--color-status-cyan-text);--color-status-blue-background:var(--color-status-blue-background);--color-status-blue-text:var(--color-status-blue-text);--color-status-purple-background:var(--color-status-purple-background);--color-status-purple-text:var(--color-status-purple-text);--color-status-dot-green-halo:var(--color-status-dot-green-halo);--color-status-dot-yellow-halo:var(--color-status-dot-yellow-halo);--color-status-dot-indigo-halo:var(--color-status-dot-indigo-halo);--color-date-range-background:var(--color-date-range-background);--color-date-range-edge-background:var(--color-date-range-edge-background);--color-calendar-event-blue-background:var(--color-calendar-event-blue-background);--color-calendar-event-blue-title:var(--color-calendar-event-blue-title);--color-calendar-event-blue-time:var(--color-calendar-event-blue-time);--color-calendar-event-pink-background:var(--color-calendar-event-pink-background);--color-calendar-event-pink-title:var(--color-calendar-event-pink-title);--color-calendar-event-pink-time:var(--color-calendar-event-pink-time);--color-calendar-event-purple-background:var(--color-calendar-event-purple-background);--color-calendar-event-purple-title:var(--color-calendar-event-purple-title);--color-calendar-event-purple-time:var(--color-calendar-event-purple-time);--color-calendar-event-lime-background:var(--color-calendar-event-lime-background);--color-calendar-event-lime-title:var(--color-calendar-event-lime-title);--color-calendar-event-lime-time:var(--color-calendar-event-lime-time);--color-calendar-event-emerald-background:var(--color-calendar-event-emerald-background);--color-calendar-event-emerald-title:var(--color-calendar-event-emerald-title);--color-calendar-event-emerald-time:var(--color-calendar-event-emerald-time);--color-text-error-placeholder:var(--color-text-error-placeholder);--color-chart-track:var(--color-chart-track);--color-chart-cursor:var(--color-chart-cursor);--color-chart-neutral:var(--color-chart-neutral);--color-chart-1:var(--color-chart-1);--color-chart-1-active:var(--color-chart-1-active);--color-chart-2:var(--color-chart-2);--color-chart-2-active:var(--color-chart-2-active);--color-chart-3:var(--color-chart-3);--color-chart-3-active:var(--color-chart-3-active);--color-chart-4:var(--color-chart-4);--color-chart-4-active:var(--color-chart-4-active);--color-chart-5:var(--color-chart-5);--color-chart-5-active:var(--color-chart-5-active);--color-chart-6:var(--color-chart-6);--color-chart-6-active:var(--color-chart-6-active);--color-chart-7:var(--color-chart-7);--color-chart-7-active:var(--color-chart-7-active);--color-chart-8:var(--color-chart-8);--color-chart-8-active:var(--color-chart-8-active);--color-chart-9:var(--color-chart-9);--color-chart-9-active:var(--color-chart-9-active);--color-chart-agents-bar:var(--color-chart-agents-bar);--color-chart-agents-bar-active:var(--color-chart-agents-bar-active);--button-transition-ms:.15s;--input-transition-ms:.15s;--text-display-4-medium:2rem;--text-display-4-medium--line-height:2.75rem;--text-display-4-medium--letter-spacing:0;--text-display-4-medium--font-weight:500;--text-title-1-regular:1.5rem;--text-title-1-regular--line-height:2.125rem;--text-title-1-regular--letter-spacing:0;--text-title-1-regular--font-weight:400;--text-title-1-medium:1.5rem;--text-title-1-medium--line-height:2.125rem;--text-title-1-medium--letter-spacing:0;--text-title-1-medium--font-weight:500;--text-title-1-semibold:1.5rem;--text-title-1-semibold--line-height:2.125rem;--text-title-1-semibold--letter-spacing:0;--text-title-1-semibold--font-weight:600;--text-title-2-regular:1.25rem;--text-title-2-regular--line-height:1.625rem;--text-title-2-regular--letter-spacing:0;--text-title-2-regular--font-weight:400;--text-title-2-medium:1.25rem;--text-title-2-medium--line-height:1.625rem;--text-title-2-medium--letter-spacing:0;--text-title-2-medium--font-weight:500;--text-title-2-semibold:1.25rem;--text-title-2-semibold--line-height:1.625rem;--text-title-2-semibold--letter-spacing:0;--text-title-2-semibold--font-weight:600;--text-title-3-medium:1.125rem;--text-title-3-medium--line-height:1.625rem;--text-title-3-medium--letter-spacing:0;--text-title-3-medium--font-weight:500;--text-title-3-semibold:1.125rem;--text-title-3-semibold--line-height:1.625rem;--text-title-3-semibold--letter-spacing:0;--text-title-3-semibold--font-weight:600;--text-headline-medium:1rem;--text-headline-medium--line-height:1.375rem;--text-headline-medium--letter-spacing:0;--text-headline-medium--font-weight:500;--text-body-regular:.875rem;--text-body-regular--line-height:1.25rem;--text-body-regular--letter-spacing:0;--text-body-regular--font-weight:400;--text-body-medium:.875rem;--text-body-medium--line-height:1.25rem;--text-body-medium--letter-spacing:0;--text-body-medium--font-weight:500;--text-body-semibold:.875rem;--text-body-semibold--line-height:1.25rem;--text-body-semibold--letter-spacing:0;--text-body-semibold--font-weight:600;--text-body-bold:.875rem;--text-body-bold--line-height:1.25rem;--text-body-bold--letter-spacing:0;--text-body-bold--font-weight:700;--text-body-2-regular:.8125rem;--text-body-2-regular--line-height:1.125rem;--text-body-2-regular--letter-spacing:0;--text-body-2-regular--font-weight:400;--text-body-2-medium:.8125rem;--text-body-2-medium--line-height:1.125rem;--text-body-2-medium--letter-spacing:0;--text-body-2-medium--font-weight:500;--text-caption-1-regular:.75rem;--text-caption-1-regular--line-height:1rem;--text-caption-1-regular--letter-spacing:.15px;--text-caption-1-regular--font-weight:400;--text-caption-1-medium:.75rem;--text-caption-1-medium--line-height:1rem;--text-caption-1-medium--letter-spacing:.15px;--text-caption-1-medium--font-weight:500;--text-caption-1-semibold:.75rem;--text-caption-1-semibold--line-height:1rem;--text-caption-1-semibold--letter-spacing:.15px;--text-caption-1-semibold--font-weight:600;--container-board:var(--board-content,1120px);--container-card-cover:150px;--aspect-card-cover:16 / 10;--container-avatar-picker:720px;--aspect-avatar-choice:3 / 4;--spacing-crop-frame:50vh;--spacing-crop-preview:96px;--container-cover-crop:880px;--spacing-topbar:var(--topH,64px);--z-index-dialog:var(--layer-dialog,1000);--container-review-tabs:184px;--container-review-card:340px;--container-review-cover:132px;--container-review-cover-narrow:110px;--container-review-asset:92px;--spacing-review-card:440px;--spacing-review-card-tall:560px;--spacing-review-image:220px;--radius-surface:14px;--radius-floating:20px;--radius-glass-key:7px;--color-scrim:#0009}@supports (color:color-mix(in lab, red, red)){:root,:host{--color-scrim:color-mix(in srgb, var(--color-black) 60%, transparent)}}:root,:host{--container-duplicate-cover:112px;--container-duplicate-cover-narrow:88px;--container-index-person:150px;--container-index-company:180px;--container-index-tag:200px;--spacing-empty-glyph:54px;--container-empty-copy:340px;--leading-empty-copy:1.55;--container-form-modal:540px;--tracking-caps:.12em}}.\@container{container-type:inline-size}.bg-button-danger{isolation:isolate;background-image:var(--gradient-button-danger-default);position:relative}.bg-button-danger:before{content:"";z-index:-1;pointer-events:none;border-radius:inherit;background-image:var(--gradient-button-danger-hover);opacity:0;transition:opacity var(--button-transition-ms) ease;position:absolute;inset:0}.bg-button-danger:hover:not(:disabled):not([aria-disabled=true]):before{opacity:1}.bg-button-danger:active:not(:disabled):not([aria-disabled=true]){background-image:var(--gradient-button-danger-active)}.bg-button-danger:active:not(:disabled):not([aria-disabled=true]):before{opacity:0}.bg-button-danger:disabled,.bg-button-danger[aria-disabled=true]{background-image:var(--gradient-button-danger-disabled)}.bg-button-danger:disabled:before,.bg-button-danger[aria-disabled=true]:before{display:none}.bg-button-primary{isolation:isolate;background-image:var(--gradient-button-primary-default);position:relative}.bg-button-primary:before{content:"";z-index:-1;pointer-events:none;border-radius:inherit;background-image:var(--gradient-button-primary-hover);opacity:0;transition:opacity var(--button-transition-ms) ease;position:absolute;inset:0}.bg-button-primary:hover:not(:disabled):not([aria-disabled=true]):before{opacity:1}.bg-button-primary:active:not(:disabled):not([aria-disabled=true]){background-image:var(--gradient-button-primary-active)}.bg-button-primary:active:not(:disabled):not([aria-disabled=true]):before{opacity:0}.bg-button-primary:disabled,.bg-button-primary[aria-disabled=true]{background-image:var(--gradient-button-primary-disabled)}.bg-button-primary:disabled:before,.bg-button-primary[aria-disabled=true]:before{display:none}.pointer-events-none{pointer-events:none}.collapse{visibility:collapse}.invisible{visibility:hidden}.visible{visibility:visible}.skeleton-sheen{overflow:hidden}.skeleton-sheen:after{content:"";border-radius:inherit;background:linear-gradient(to right, var(--hover), var(--skeleton-sheen) 50%, var(--hover));background-size:50% 100%;animation:1.5s ease-in-out infinite reverse peach-skeleton-sweep;position:absolute;inset:0 -200% 0 0}@media (prefers-reduced-motion:reduce){.skeleton-sheen:after{animation:none}}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.static{position:static}.sticky{position:sticky}.inset-0{inset:0}.inset-x-0{inset-inline:0}.inset-y-0{inset-block:0}.top-\(--crop-b\){top:var(--crop-b)}.top-\(--crop-t\){top:var(--crop-t)}.top-\(--tile-top\){top:var(--tile-top)}.top-0{top:0}.top-0\.5{top:calc(var(--spacing) * .5)}.top-1{top:var(--spacing)}.top-2{top:calc(var(--spacing) * 2)}.top-4{top:calc(var(--spacing) * 4)}.top-\[3px\]{top:3px}.top-topbar{top:var(--spacing-topbar)}.-right-1\.5{right:calc(var(--spacing) * -1.5)}.-right-\[5\.5px\]{right:-5.5px}.right-0{right:0}.right-1{right:var(--spacing)}.right-1\.5{right:calc(var(--spacing) * 1.5)}.right-2\.25{right:calc(var(--spacing) * 2.25)}.right-4{right:calc(var(--spacing) * 4)}.-bottom-1\.5{bottom:calc(var(--spacing) * -1.5)}.-bottom-3{bottom:calc(var(--spacing) * -3)}.bottom-0{bottom:0}.bottom-1{bottom:var(--spacing)}.bottom-2{bottom:calc(var(--spacing) * 2)}.bottom-2\.25{bottom:calc(var(--spacing) * 2.25)}.-left-\[5\.5px\]{left:-5.5px}.left-\(--crop-l\){left:var(--crop-l)}.left-\(--crop-r\){left:var(--crop-r)}.left-\(--tile-left\){left:var(--tile-left)}.left-0{left:0}.left-0\.5{left:calc(var(--spacing) * .5)}.left-1{left:var(--spacing)}.left-1\.5{left:calc(var(--spacing) * 1.5)}.left-\[3px\]{left:3px}.isolate{isolation:isolate}.-z-10{z-index:calc(10 * -1)}.z-1{z-index:1}.z-6{z-index:6}.z-10{z-index:10}.z-20{z-index:20}.z-50{z-index:50}.z-dialog{z-index:var(--z-index-dialog)}.col-start-2{grid-column-start:2}.-col-end-1{grid-column-end:calc(1 * -1)}.row-span-2{grid-row:span 2/span 2}.container{width:100%}@media (width>=560px){.container{max-width:560px}}@media (width>=600px){.container{max-width:600px}}@media (width>=601px){.container{max-width:601px}}@media (width>=761px){.container{max-width:761px}}@media (width>=900px){.container{max-width:900px}}@media (width>=901px){.container{max-width:901px}}@media (width>=1000px){.container{max-width:1000px}}@media (width>=1120px){.container{max-width:1120px}}@media (width>=40rem){.container{max-width:40rem}}@media (width>=48rem){.container{max-width:48rem}}@media (width>=64rem){.container{max-width:64rem}}@media (width>=80rem){.container{max-width:80rem}}@media (width>=96rem){.container{max-width:96rem}}.m-0{margin:0}.m-0\!{margin:0!important}.-mx-4{margin-inline:calc(var(--spacing) * -4)}.-mx-5{margin-inline:calc(var(--spacing) * -5)}.-mx-6{margin-inline:calc(var(--spacing) * -6)}.mx-4{margin-inline:calc(var(--spacing) * 4)}.mx-auto{margin-inline:auto}.my-0\.5{margin-block:calc(var(--spacing) * .5)}.-mt-2{margin-top:calc(var(--spacing) * -2)}.mt-0\.5{margin-top:calc(var(--spacing) * .5)}.mt-1{margin-top:var(--spacing)}.mt-1\.5{margin-top:calc(var(--spacing) * 1.5)}.mt-2{margin-top:calc(var(--spacing) * 2)}.mt-3{margin-top:calc(var(--spacing) * 3)}.mt-4{margin-top:calc(var(--spacing) * 4)}.mt-5{margin-top:calc(var(--spacing) * 5)}.mt-auto{margin-top:auto}.mr-1{margin-right:var(--spacing)}.mr-1\.5{margin-right:calc(var(--spacing) * 1.5)}.mr-auto{margin-right:auto}.-mb-4{margin-bottom:calc(var(--spacing) * -4)}.-mb-5{margin-bottom:calc(var(--spacing) * -5)}.mb-1{margin-bottom:var(--spacing)}.mb-2{margin-bottom:calc(var(--spacing) * 2)}.mb-3{margin-bottom:calc(var(--spacing) * 3)}.mb-4{margin-bottom:calc(var(--spacing) * 4)}.mb-5{margin-bottom:calc(var(--spacing) * 5)}.mb-5\.5{margin-bottom:calc(var(--spacing) * 5.5)}.mb-6{margin-bottom:calc(var(--spacing) * 6)}.-ml-3{margin-left:calc(var(--spacing) * -3)}.ml-1{margin-left:var(--spacing)}.ml-1\.5{margin-left:calc(var(--spacing) * 1.5)}.ml-auto{margin-left:auto}.fieldset-split{grid-template-columns:minmax(0,1fr) auto;align-items:center;display:grid}@media not all and (width>=1001px){.fieldset-split{grid-template-columns:minmax(0,1fr)}}.duplicate-row{grid-template-columns:var(--container-duplicate-cover) minmax(0, 1fr) 84px 84px 84px;display:grid}@media not all and (width>=901px){.duplicate-row{grid-template-columns:var(--container-duplicate-cover-narrow) minmax(0, 1fr) auto auto}}.index-grid-company{grid-template-columns:repeat(auto-fill, minmax(var(--container-index-company), 1fr));display:grid}@media not all and (width>=761px){.index-grid-company{grid-template-columns:repeat(auto-fill, minmax(var(--container-index-person), 1fr))}}.card-grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,360px),1fr));display:grid}.card-grid-cover{grid-template-columns:repeat(auto-fill,minmax(min(100%,280px),1fr));display:grid}.index-grid-person{grid-template-columns:repeat(auto-fill, minmax(var(--container-index-person), 1fr));display:grid}.index-tag-list{grid-template-columns:repeat(auto-fill, minmax(var(--container-index-tag), 1fr));display:grid}.link-stat-grid{grid-template-columns:repeat(auto-fit,minmax(150px,1fr));display:grid}.review-asset-grid{grid-template-columns:repeat(auto-fill, minmax(var(--container-review-asset), 1fr));display:grid}.review-grid{grid-template-columns:repeat(auto-fill, minmax(min(100%, var(--container-review-card)), 1fr));display:grid}.block{display:block}.contents{display:contents}.flex{display:flex}.hidden{display:none}.inline{display:inline}.inline-block{display:inline-block}.inline-flex{display:inline-flex}.inline-grid{display:inline-grid}.table{display:table}.aspect-3\/4{aspect-ratio:3/4}.aspect-16\/10{aspect-ratio:16/10}.aspect-auto{aspect-ratio:auto}.aspect-avatar-choice{aspect-ratio:var(--aspect-avatar-choice)}.aspect-card-cover{aspect-ratio:var(--aspect-card-cover)}.aspect-square{aspect-ratio:1}.aspect-video{aspect-ratio:var(--aspect-video)}.size-1{width:var(--spacing);height:var(--spacing)}.size-1\.5{width:calc(var(--spacing) * 1.5);height:calc(var(--spacing) * 1.5)}.size-1\.75{width:calc(var(--spacing) * 1.75);height:calc(var(--spacing) * 1.75)}.size-2{width:calc(var(--spacing) * 2);height:calc(var(--spacing) * 2)}.size-2\.5{width:calc(var(--spacing) * 2.5);height:calc(var(--spacing) * 2.5)}.size-3{width:calc(var(--spacing) * 3);height:calc(var(--spacing) * 3)}.size-3\.5{width:calc(var(--spacing) * 3.5);height:calc(var(--spacing) * 3.5)}.size-3\.75{width:calc(var(--spacing) * 3.75);height:calc(var(--spacing) * 3.75)}.size-4{width:calc(var(--spacing) * 4);height:calc(var(--spacing) * 4)}.size-4\.5{width:calc(var(--spacing) * 4.5);height:calc(var(--spacing) * 4.5)}.size-5{width:calc(var(--spacing) * 5);height:calc(var(--spacing) * 5)}.size-6{width:calc(var(--spacing) * 6);height:calc(var(--spacing) * 6)}.size-7{width:calc(var(--spacing) * 7);height:calc(var(--spacing) * 7)}.size-7\.5{width:calc(var(--spacing) * 7.5);height:calc(var(--spacing) * 7.5)}.size-8{width:calc(var(--spacing) * 8);height:calc(var(--spacing) * 8)}.size-9{width:calc(var(--spacing) * 9);height:calc(var(--spacing) * 9)}.size-9\.5{width:calc(var(--spacing) * 9.5);height:calc(var(--spacing) * 9.5)}.size-11{width:calc(var(--spacing) * 11);height:calc(var(--spacing) * 11)}.size-14{width:calc(var(--spacing) * 14);height:calc(var(--spacing) * 14)}.size-17\.5{width:calc(var(--spacing) * 17.5);height:calc(var(--spacing) * 17.5)}.size-\[5px\]{width:5px;height:5px}.size-\[7\.5px\]{width:7.5px;height:7.5px}.size-\[10px\]{width:10px;height:10px}.size-\[18px\]{width:18px;height:18px}.size-crop-preview{width:var(--spacing-crop-preview);height:var(--spacing-crop-preview)}.size-empty-glyph{width:var(--spacing-empty-glyph);height:var(--spacing-empty-glyph)}.size-full{width:100%;height:100%}.h-\(--crop-h\){height:var(--crop-h)}.h-\(--crop-t\){height:var(--crop-t)}.h-\(--tile-height\){height:var(--tile-height)}.h-0{height:0}.h-0\.5{height:calc(var(--spacing) * .5)}.h-1{height:var(--spacing)}.h-1\.5{height:calc(var(--spacing) * 1.5)}.h-2{height:calc(var(--spacing) * 2)}.h-2\.5{height:calc(var(--spacing) * 2.5)}.h-3{height:calc(var(--spacing) * 3)}.h-3\.5{height:calc(var(--spacing) * 3.5)}.h-4{height:calc(var(--spacing) * 4)}.h-6{height:calc(var(--spacing) * 6)}.h-7{height:calc(var(--spacing) * 7)}.h-7\.5{height:calc(var(--spacing) * 7.5)}.h-8{height:calc(var(--spacing) * 8)}.h-9{height:calc(var(--spacing) * 9)}.h-10{height:calc(var(--spacing) * 10)}.h-12{height:calc(var(--spacing) * 12)}.h-56{height:calc(var(--spacing) * 56)}.h-64{height:calc(var(--spacing) * 64)}.h-70{height:calc(var(--spacing) * 70)}.h-75{height:calc(var(--spacing) * 75)}.h-\[2px\]{height:2px}.h-auto{height:auto}.h-full{height:100%}.h-max{height:max-content}.h-review-card{height:var(--spacing-review-card)}.h-review-card-tall{height:var(--spacing-review-card-tall)}.h-review-image{height:var(--spacing-review-image)}.max-h-22{max-height:calc(var(--spacing) * 22)}.max-h-96{max-height:calc(var(--spacing) * 96)}.max-h-130{max-height:calc(var(--spacing) * 130)}.max-h-\[240px\]{max-height:240px}.max-h-crop-frame{max-height:var(--spacing-crop-frame)}.max-h-full{max-height:100%}.min-h-0{min-height:0}.min-h-4{min-height:calc(var(--spacing) * 4)}.min-h-6{min-height:calc(var(--spacing) * 6)}.min-h-7{min-height:calc(var(--spacing) * 7)}.min-h-9\.5{min-height:calc(var(--spacing) * 9.5)}.min-h-10{min-height:calc(var(--spacing) * 10)}.min-h-11{min-height:calc(var(--spacing) * 11)}.min-h-11\.5{min-height:calc(var(--spacing) * 11.5)}.min-h-12{min-height:calc(var(--spacing) * 12)}.min-h-14{min-height:calc(var(--spacing) * 14)}.min-h-16{min-height:calc(var(--spacing) * 16)}.min-h-24{min-height:calc(var(--spacing) * 24)}.min-h-30{min-height:calc(var(--spacing) * 30)}.min-h-32{min-height:calc(var(--spacing) * 32)}.min-h-33{min-height:calc(var(--spacing) * 33)}.min-h-40{min-height:calc(var(--spacing) * 40)}.min-h-48{min-height:calc(var(--spacing) * 48)}.min-h-52{min-height:calc(var(--spacing) * 52)}.min-h-60{min-height:calc(var(--spacing) * 60)}.min-h-64{min-height:calc(var(--spacing) * 64)}.min-h-80{min-height:calc(var(--spacing) * 80)}.min-h-\[52px\]{min-height:52px}.w-\(--crop-l\){width:var(--crop-l)}.w-\(--crop-w\){width:var(--crop-w)}.w-\(--tile-width\){width:var(--tile-width)}.w-\(--trigger-width\){width:var(--trigger-width)}.w-0{width:0}.w-1{width:var(--spacing)}.w-1\.5{width:calc(var(--spacing) * 1.5)}.w-2{width:calc(var(--spacing) * 2)}.w-2\.5{width:calc(var(--spacing) * 2.5)}.w-2\/3{width:66.6667%}.w-3{width:calc(var(--spacing) * 3)}.w-6{width:calc(var(--spacing) * 6)}.w-7{width:calc(var(--spacing) * 7)}.w-14{width:calc(var(--spacing) * 14)}.w-24{width:calc(var(--spacing) * 24)}.w-37\.5{width:calc(var(--spacing) * 37.5)}.w-48{width:calc(var(--spacing) * 48)}.w-52{width:calc(var(--spacing) * 52)}.w-56{width:calc(var(--spacing) * 56)}.w-64{width:calc(var(--spacing) * 64)}.w-72{width:calc(var(--spacing) * 72)}.w-\[2px\]{width:2px}.w-\[42px\]{width:42px}.w-\[202px\]{width:202px}.w-\[266px\]{width:266px}.w-auto{width:auto}.w-card-cover{width:var(--container-card-cover)}.w-fit{width:fit-content}.w-full{width:100%}.w-max{width:max-content}.w-review-cover-narrow{width:var(--container-review-cover-narrow)}.max-w-80{max-width:calc(var(--spacing) * 80)}.max-w-90{max-width:calc(var(--spacing) * 90)}.max-w-190{max-width:calc(var(--spacing) * 190)}.max-w-\[calc\(100vw-32px\)\]{max-width:calc(100vw - 32px)}.max-w-avatar-picker{max-width:var(--container-avatar-picker)}.max-w-board{max-width:var(--container-board)}.max-w-cover-crop{max-width:var(--container-cover-crop)}.max-w-empty-copy{max-width:var(--container-empty-copy)}.max-w-form-modal{max-width:var(--container-form-modal)}.max-w-full{max-width:100%}.max-w-none{max-width:none}.max-w-prose{max-width:65ch}.min-w-0{min-width:0}.min-w-7\.5{min-width:calc(var(--spacing) * 7.5)}.min-w-25{min-width:calc(var(--spacing) * 25)}.min-w-31{min-width:calc(var(--spacing) * 31)}.min-w-32{min-width:calc(var(--spacing) * 32)}.min-w-35{min-width:calc(var(--spacing) * 35)}.min-w-40{min-width:calc(var(--spacing) * 40)}.min-w-50{min-width:calc(var(--spacing) * 50)}.min-w-64{min-width:calc(var(--spacing) * 64)}.min-w-80{min-width:calc(var(--spacing) * 80)}.min-w-160{min-width:calc(var(--spacing) * 160)}.flex-1{flex:1}.flex-none{flex:none}.shrink{flex-shrink:1}.shrink-0{flex-shrink:0}.grow{flex-grow:1}.basis-40{flex-basis:calc(var(--spacing) * 40)}.basis-50{flex-basis:calc(var(--spacing) * 50)}.basis-64{flex-basis:calc(var(--spacing) * 64)}.basis-full{flex-basis:100%}.-translate-x-1\/2{--tw-translate-x:calc(calc(1 / 2 * 100%) * -1);translate:var(--tw-translate-x) var(--tw-translate-y)}.-translate-x-full{--tw-translate-x:-100%;translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-x-0{--tw-translate-x:0px;translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-x-3{--tw-translate-x:calc(var(--spacing) * 3);translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-x-6{--tw-translate-x:calc(var(--spacing) * 6);translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-x-\[18px\]{--tw-translate-x:18px;translate:var(--tw-translate-x) var(--tw-translate-y)}.-translate-y-1\/2{--tw-translate-y:calc(calc(1 / 2 * 100%) * -1);translate:var(--tw-translate-x) var(--tw-translate-y)}.-translate-y-full{--tw-translate-y:-100%;translate:var(--tw-translate-x) var(--tw-translate-y)}.-rotate-90{rotate:-90deg}.rotate-90{rotate:90deg}.rotate-180{rotate:180deg}.button-press-motion{transition:background-color var(--button-transition-ms) ease, border-color var(--button-transition-ms) ease, box-shadow var(--button-transition-ms) ease, color var(--button-transition-ms) ease, transform .42s cubic-bezier(.4, 0, .2, 1)}.button-press-motion:active:not(:disabled):not([aria-disabled=true]){transition-duration:.15s,.15s,.15s,.15s,.22s;transform:scale(.98)}.button-press-motion:disabled,.button-press-motion[aria-disabled=true]{transform:none}@media (prefers-reduced-motion:reduce){.button-press-motion{transition:none;transform:none}}.transform{transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}.dot-wave-0{animation:1.2s ease-in-out infinite peach-dot-wave}.dot-wave-1{animation:1.2s ease-in-out .15s infinite peach-dot-wave}.dot-wave-2{animation:1.2s ease-in-out .3s infinite peach-dot-wave}.animate-spin{animation:var(--animate-spin)}.cursor-default{cursor:default}.cursor-ew-resize{cursor:ew-resize}.cursor-grab{cursor:grab}.cursor-move{cursor:move}.cursor-not-allowed{cursor:not-allowed}.cursor-nwse-resize{cursor:nwse-resize}.cursor-pointer{cursor:pointer}.touch-none{touch-action:none}.resize{resize:both}.scroll-mt-20{scroll-margin-top:calc(var(--spacing) * 20)}.list-disc{list-style-type:disc}.list-none{list-style-type:none}.columns-2{columns:2}.auto-cols-fr{grid-auto-columns:minmax(0,1fr)}.grid-flow-col{grid-auto-flow:column}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.grid-cols-5{grid-template-columns:repeat(5,minmax(0,1fr))}.grid-cols-7{grid-template-columns:repeat(7,minmax(0,1fr))}.flex-col{flex-direction:column}.flex-nowrap{flex-wrap:nowrap}.flex-wrap{flex-wrap:wrap}.place-items-center{place-items:center}.content-start{align-content:flex-start}.items-baseline{align-items:baseline}.items-center{align-items:center}.items-end{align-items:flex-end}.items-start{align-items:flex-start}.items-stretch{align-items:stretch}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.justify-end{justify-content:flex-end}.justify-start{justify-content:flex-start}.gap-0\.5{gap:calc(var(--spacing) * .5)}.gap-1{gap:var(--spacing)}.gap-1\.5{gap:calc(var(--spacing) * 1.5)}.gap-1\.75{gap:calc(var(--spacing) * 1.75)}.gap-2{gap:calc(var(--spacing) * 2)}.gap-2\.5{gap:calc(var(--spacing) * 2.5)}.gap-2\.25{gap:calc(var(--spacing) * 2.25)}.gap-3{gap:calc(var(--spacing) * 3)}.gap-4{gap:calc(var(--spacing) * 4)}.gap-4\.5{gap:calc(var(--spacing) * 4.5)}.gap-5{gap:calc(var(--spacing) * 5)}.gap-6{gap:calc(var(--spacing) * 6)}.gap-8{gap:calc(var(--spacing) * 8)}.gap-\[2px\]{gap:2px}.gap-\[5px\]{gap:5px}.gap-x-2{column-gap:calc(var(--spacing) * 2)}.gap-x-2\.5{column-gap:calc(var(--spacing) * 2.5)}.gap-x-4{column-gap:calc(var(--spacing) * 4)}.gap-x-6{column-gap:calc(var(--spacing) * 6)}.gap-x-7{column-gap:calc(var(--spacing) * 7)}.gap-x-8{column-gap:calc(var(--spacing) * 8)}.gap-y-0\.5{row-gap:calc(var(--spacing) * .5)}.gap-y-1{row-gap:var(--spacing)}.gap-y-2{row-gap:calc(var(--spacing) * 2)}.gap-y-3{row-gap:calc(var(--spacing) * 3)}.gap-y-6{row-gap:calc(var(--spacing) * 6)}:where(.divide-y>:not(:last-child)){--tw-divide-y-reverse:0;border-bottom-style:var(--tw-border-style);border-top-style:var(--tw-border-style);border-top-width:calc(1px * var(--tw-divide-y-reverse));border-bottom-width:calc(1px * calc(1 - var(--tw-divide-y-reverse)))}.self-center{align-self:center}.self-start{align-self:flex-start}.self-stretch{align-self:stretch}.truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-visible{overflow:visible}.overflow-x-auto{overflow-x:auto}.overflow-y-auto{overflow-y:auto}.overscroll-contain{overscroll-behavior:contain}.overscroll-x-contain{overscroll-behavior-x:contain}.rounded{border-radius:.25rem}.rounded-2-5xl{border-radius:var(--radius-2-5xl)}.rounded-2lg{border-radius:var(--radius-2lg)}.rounded-2xl{border-radius:var(--radius-2xl)}.rounded-\[0\.5px\]{border-radius:.5px}.rounded-\[0\.75px\]{border-radius:.75px}.rounded-\[1\.5px\]{border-radius:1.5px}.rounded-\[1px\]{border-radius:1px}.rounded-\[2px\]{border-radius:2px}.rounded-\[3px\]{border-radius:3px}.rounded-\[4\.5px\]{border-radius:4.5px}.rounded-floating{border-radius:var(--radius-floating)}.rounded-full{border-radius:2147483647px}.rounded-glass-key{border-radius:var(--radius-glass-key)}.rounded-lg{border-radius:var(--radius-lg)}.rounded-md{border-radius:var(--radius-md)}.rounded-sm{border-radius:var(--radius-sm)}.rounded-surface{border-radius:var(--radius-surface)}.rounded-xl{border-radius:var(--radius-xl)}.rounded-xs{border-radius:var(--radius-xs)}.rounded-l-md{border-top-left-radius:var(--radius-md);border-bottom-left-radius:var(--radius-md)}.rounded-r-md{border-top-right-radius:var(--radius-md);border-bottom-right-radius:var(--radius-md)}.rounded-b-2xl{border-bottom-right-radius:var(--radius-2xl);border-bottom-left-radius:var(--radius-2xl)}.rounded-b-surface{border-bottom-right-radius:var(--radius-surface);border-bottom-left-radius:var(--radius-surface)}.border{border-style:var(--tw-border-style);border-width:1px}.border-0{border-style:var(--tw-border-style);border-width:0}.border-\[0\.5px\]{border-style:var(--tw-border-style);border-width:.5px}.border-\[0\.25px\]{border-style:var(--tw-border-style);border-width:.25px}.border-\[0\.375px\]{border-style:var(--tw-border-style);border-width:.375px}.border-\[1\.5px\]{border-style:var(--tw-border-style);border-width:1.5px}.border-y{border-block-style:var(--tw-border-style);border-block-width:1px}.border-t{border-top-style:var(--tw-border-style);border-top-width:1px}.border-b{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.border-b-2{border-bottom-style:var(--tw-border-style);border-bottom-width:2px}.border-dashed{--tw-border-style:dashed;border-style:dashed}.border-solid{--tw-border-style:solid;border-style:solid}.border-\(--glass-low\){border-color:var(--glass-low)}.border-accent-600{border-color:var(--color-accent-600)}.border-border{border-color:var(--color-separator-border)}.border-border-button-default,.border-border-button-default\/50{border-color:var(--color-border-button-default)}@supports (color:color-mix(in lab, red, red)){.border-border-button-default\/50{border-color:color-mix(in oklab, var(--color-border-button-default) 50%, transparent)}}.border-border-checkbox-default{border-color:var(--color-border-checkbox-default)}.border-border-checkbox-hover{border-color:var(--color-border-checkbox-hover)}.border-border-error-default{border-color:var(--color-border-error-default)}.border-border\/50{border-color:var(--color-separator-border)}@supports (color:color-mix(in lab, red, red)){.border-border\/50{border-color:color-mix(in oklab, var(--color-separator-border) 50%, transparent)}}.border-current,.border-current\/15{border-color:currentColor}@supports (color:color-mix(in lab, red, red)){.border-current\/15{border-color:color-mix(in oklab, currentcolor 15%, transparent)}}.border-current\/20{border-color:currentColor}@supports (color:color-mix(in lab, red, red)){.border-current\/20{border-color:color-mix(in oklab, currentcolor 20%, transparent)}}.border-current\/35{border-color:currentColor}@supports (color:color-mix(in lab, red, red)){.border-current\/35{border-color:color-mix(in oklab, currentcolor 35%, transparent)}}.border-separator-border{border-color:var(--color-separator-border)}.border-text-primary\/15{border-color:var(--color-text-primary)}@supports (color:color-mix(in lab, red, red)){.border-text-primary\/15{border-color:color-mix(in oklab, var(--color-text-primary) 15%, transparent)}}.border-transparent{border-color:#0000}.bg-\(--keep\)\/22{background-color:var(--keep)}@supports (color:color-mix(in lab, red, red)){.bg-\(--keep\)\/22{background-color:color-mix(in oklab, var(--keep) 22%, transparent)}}.bg-background{background-color:var(--color-background-primary-default)}.bg-background-full{background-color:var(--color-background-full)}.bg-background-primary-default{background-color:var(--color-background-primary-default)}.bg-background-primary-hover{background-color:var(--color-background-primary-hover)}.bg-background-secondary-default{background-color:var(--color-background-secondary-default)}.bg-background-tertiary-default{background-color:var(--color-background-tertiary-default)}.bg-background-tertiary-error{background-color:var(--color-background-tertiary-error)}.bg-background\/70{background-color:var(--color-background-primary-default)}@supports (color:color-mix(in lab, red, red)){.bg-background\/70{background-color:color-mix(in oklab, var(--color-background-primary-default) 70%, transparent)}}.bg-border-focus-ring{background-color:var(--color-border-focus-ring)}.bg-button-ghost-background{background-color:var(--color-button-ghost-background)}.bg-card-footer{background-color:var(--card-footer,transparent)}.bg-chart-1{background-color:var(--color-chart-1)}.bg-chart-2{background-color:var(--color-chart-2)}.bg-chart-3{background-color:var(--color-chart-3)}.bg-chart-4{background-color:var(--color-chart-4)}.bg-chart-5,.bg-chart-5\/10{background-color:var(--color-chart-5)}@supports (color:color-mix(in lab, red, red)){.bg-chart-5\/10{background-color:color-mix(in oklab, var(--color-chart-5) 10%, transparent)}}.bg-chart-6,.bg-chart-6\/10{background-color:var(--color-chart-6)}@supports (color:color-mix(in lab, red, red)){.bg-chart-6\/10{background-color:color-mix(in oklab, var(--color-chart-6) 10%, transparent)}}.bg-chart-7\/10{background-color:var(--color-chart-7)}@supports (color:color-mix(in lab, red, red)){.bg-chart-7\/10{background-color:color-mix(in oklab, var(--color-chart-7) 10%, transparent)}}.bg-chart-8\/10{background-color:var(--color-chart-8)}@supports (color:color-mix(in lab, red, red)){.bg-chart-8\/10{background-color:color-mix(in oklab, var(--color-chart-8) 10%, transparent)}}.bg-current{background-color:currentColor}.bg-dropdown-item-hover-background{background-color:var(--color-dropdown-item-hover-background)}.bg-foreground{background-color:var(--color-text-primary)}.bg-input-disabled-background{background-color:var(--color-input-disabled-background)}.bg-muted-foreground{background-color:var(--color-text-secondary)}.bg-notification-information-background{background-color:var(--color-notification-information-background)}.bg-notification-success-background{background-color:var(--color-notification-success-background)}.bg-scrim{background-color:var(--color-scrim)}.bg-status-blue-background{background-color:var(--color-status-blue-background)}.bg-status-cyan-background{background-color:var(--color-status-cyan-background)}.bg-status-lime-background{background-color:var(--color-status-lime-background)}.bg-status-lime-text{background-color:var(--color-status-lime-text)}.bg-status-purple-background{background-color:var(--color-status-purple-background)}.bg-status-rose-background{background-color:var(--color-status-rose-background)}.bg-status-yellow-background{background-color:var(--color-status-yellow-background)}.bg-status-yellow-text{background-color:var(--color-status-yellow-text)}.bg-text-primary\/10{background-color:var(--color-text-primary)}@supports (color:color-mix(in lab, red, red)){.bg-text-primary\/10{background-color:color-mix(in oklab, var(--color-text-primary) 10%, transparent)}}.bg-text-tertiary{background-color:var(--color-text-tertiary)}.bg-text-white{background-color:var(--color-text-white)}.bg-transparent{background-color:#0000}.bg-transparent\!{background-color:#0000!important}.bg-linear-to-b{--tw-gradient-position:to bottom}@supports (background-image:linear-gradient(in lab, red, red)){.bg-linear-to-b{--tw-gradient-position:to bottom in oklab}}.bg-linear-to-b{background-image:linear-gradient(var(--tw-gradient-stops))}.bg-linear-to-t{--tw-gradient-position:to top}@supports (background-image:linear-gradient(in lab, red, red)){.bg-linear-to-t{--tw-gradient-position:to top in oklab}}.bg-linear-to-t{background-image:linear-gradient(var(--tw-gradient-stops))}.bg-\(image\:--crop-preview\){background-image:var(--crop-preview)}.from-accent-400{--tw-gradient-from:var(--color-accent-400);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.from-accent-500{--tw-gradient-from:var(--color-accent-500);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.from-control-indicator-background{--tw-gradient-from:var(--color-control-indicator-background);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.from-switch-off-chip-start{--tw-gradient-from:var(--color-switch-off-chip-start);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.from-switch-on-chip-start{--tw-gradient-from:var(--color-switch-on-chip-start);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.from-\[43\.837\%\]{--tw-gradient-from-position:43.837%}.to-accent-500{--tw-gradient-to:var(--color-accent-500);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.to-accent-600{--tw-gradient-to:var(--color-accent-600);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.to-control-indicator-background-subtle{--tw-gradient-to:var(--color-control-indicator-background-subtle);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.to-switch-off-chip-end{--tw-gradient-to:var(--color-switch-off-chip-end);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.to-switch-on-chip-end{--tw-gradient-to:var(--color-switch-on-chip-end);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.bg-\(length\:--crop-preview-size\){background-size:var(--crop-preview-size)}.bg-\(position\:--crop-preview-at\){background-position:var(--crop-preview-at)}.bg-no-repeat{background-repeat:no-repeat}.fill-background-secondary-default{fill:var(--color-background-secondary-default)}.fill-background-tertiary-default{fill:var(--color-background-tertiary-default)}.fill-border-focus-ring{fill:var(--color-border-focus-ring)}.fill-chart-1{fill:var(--color-chart-1)}.fill-chart-2{fill:var(--color-chart-2)}.fill-chart-3{fill:var(--color-chart-3)}.fill-chart-4{fill:var(--color-chart-4)}.fill-chart-5{fill:var(--color-chart-5)}.fill-chart-6{fill:var(--color-chart-6)}.fill-chart-track{fill:var(--color-chart-track)}.fill-current{fill:currentColor}.fill-text-secondary{fill:var(--color-text-secondary)}.stroke-chart-1{stroke:var(--color-chart-1)}.stroke-chart-2{stroke:var(--color-chart-2)}.stroke-chart-3{stroke:var(--color-chart-3)}.stroke-chart-4{stroke:var(--color-chart-4)}.stroke-chart-5{stroke:var(--color-chart-5)}.stroke-chart-6{stroke:var(--color-chart-6)}.stroke-current{stroke:currentColor}.stroke-2{stroke-width:2px}.object-contain{object-fit:contain}.object-cover{object-fit:cover}.p-0{padding:0}.p-1{padding:var(--spacing)}.p-2{padding:calc(var(--spacing) * 2)}.p-2\.5{padding:calc(var(--spacing) * 2.5)}.p-3{padding:calc(var(--spacing) * 3)}.p-4{padding:calc(var(--spacing) * 4)}.p-5{padding:calc(var(--spacing) * 5)}.p-6{padding:calc(var(--spacing) * 6)}.p-\[1\.5px\]{padding:1.5px}.px-0\.5{padding-inline:calc(var(--spacing) * .5)}.px-1{padding-inline:var(--spacing)}.px-1\.5{padding-inline:calc(var(--spacing) * 1.5)}.px-2{padding-inline:calc(var(--spacing) * 2)}.px-2\.5{padding-inline:calc(var(--spacing) * 2.5)}.px-2\.25{padding-inline:calc(var(--spacing) * 2.25)}.px-3{padding-inline:calc(var(--spacing) * 3)}.px-4{padding-inline:calc(var(--spacing) * 4)}.px-5{padding-inline:calc(var(--spacing) * 5)}.px-6{padding-inline:calc(var(--spacing) * 6)}.px-\[7px\]{padding-inline:7px}.py-0\.5{padding-block:calc(var(--spacing) * .5)}.py-1{padding-block:var(--spacing)}.py-1\.5{padding-block:calc(var(--spacing) * 1.5)}.py-1\.25{padding-block:calc(var(--spacing) * 1.25)}.py-2{padding-block:calc(var(--spacing) * 2)}.py-2\.5{padding-block:calc(var(--spacing) * 2.5)}.py-3{padding-block:calc(var(--spacing) * 3)}.py-3\.5{padding-block:calc(var(--spacing) * 3.5)}.py-4{padding-block:calc(var(--spacing) * 4)}.py-5{padding-block:calc(var(--spacing) * 5)}.py-12{padding-block:calc(var(--spacing) * 12)}.py-px{padding-block:1px}.pt-0\.5{padding-top:calc(var(--spacing) * .5)}.pt-1{padding-top:var(--spacing)}.pt-1\.5{padding-top:calc(var(--spacing) * 1.5)}.pt-2{padding-top:calc(var(--spacing) * 2)}.pt-2\.5{padding-top:calc(var(--spacing) * 2.5)}.pt-3{padding-top:calc(var(--spacing) * 3)}.pt-3\.5{padding-top:calc(var(--spacing) * 3.5)}.pt-4{padding-top:calc(var(--spacing) * 4)}.pt-5{padding-top:calc(var(--spacing) * 5)}.pt-px{padding-top:1px}.pr-1\.5{padding-right:calc(var(--spacing) * 1.5)}.pr-2{padding-right:calc(var(--spacing) * 2)}.pr-2\.5{padding-right:calc(var(--spacing) * 2.5)}.pr-3{padding-right:calc(var(--spacing) * 3)}.pb-1{padding-bottom:var(--spacing)}.pb-3{padding-bottom:calc(var(--spacing) * 3)}.pb-4{padding-bottom:calc(var(--spacing) * 4)}.pb-5{padding-bottom:calc(var(--spacing) * 5)}.pb-10{padding-bottom:calc(var(--spacing) * 10)}.pb-10\.5{padding-bottom:calc(var(--spacing) * 10.5)}.pl-1{padding-left:var(--spacing)}.pl-3{padding-left:calc(var(--spacing) * 3)}.pl-5{padding-left:calc(var(--spacing) * 5)}.text-center{text-align:center}.text-left{text-align:left}.text-right{text-align:right}.align-middle{vertical-align:middle}.font-mono{font-family:var(--font-mono)}.font-sans{font-family:var(--font-sans)}.text-body-2-medium{font-size:var(--text-body-2-medium);line-height:var(--tw-leading,var(--text-body-2-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-body-2-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-2-medium--font-weight))}.text-body-2-regular{font-size:var(--text-body-2-regular);line-height:var(--tw-leading,var(--text-body-2-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-body-2-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-2-regular--font-weight))}.text-body-bold{font-size:var(--text-body-bold);line-height:var(--tw-leading,var(--text-body-bold--line-height));letter-spacing:var(--tw-tracking,var(--text-body-bold--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-bold--font-weight))}.text-body-medium{font-size:var(--text-body-medium);line-height:var(--tw-leading,var(--text-body-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-body-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-medium--font-weight))}.text-body-regular{font-size:var(--text-body-regular);line-height:var(--tw-leading,var(--text-body-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-body-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-regular--font-weight))}.text-body-semibold{font-size:var(--text-body-semibold);line-height:var(--tw-leading,var(--text-body-semibold--line-height));letter-spacing:var(--tw-tracking,var(--text-body-semibold--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-semibold--font-weight))}.text-caption-1-medium{font-size:var(--text-caption-1-medium);line-height:var(--tw-leading,var(--text-caption-1-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-caption-1-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-caption-1-medium--font-weight))}.text-caption-1-regular{font-size:var(--text-caption-1-regular);line-height:var(--tw-leading,var(--text-caption-1-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-caption-1-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-caption-1-regular--font-weight))}.text-caption-1-semibold{font-size:var(--text-caption-1-semibold);line-height:var(--tw-leading,var(--text-caption-1-semibold--line-height));letter-spacing:var(--tw-tracking,var(--text-caption-1-semibold--letter-spacing));font-weight:var(--tw-font-weight,var(--text-caption-1-semibold--font-weight))}.text-display-4-medium{font-size:var(--text-display-4-medium);line-height:var(--tw-leading,var(--text-display-4-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-display-4-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-display-4-medium--font-weight))}.text-display-4-medium\!{font-size:var(--text-display-4-medium)!important;line-height:var(--tw-leading,var(--text-display-4-medium--line-height))!important;letter-spacing:var(--tw-tracking,var(--text-display-4-medium--letter-spacing))!important;font-weight:var(--tw-font-weight,var(--text-display-4-medium--font-weight))!important}.text-headline-medium{font-size:var(--text-headline-medium);line-height:var(--tw-leading,var(--text-headline-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-headline-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-headline-medium--font-weight))}.text-title-1-medium{font-size:var(--text-title-1-medium);line-height:var(--tw-leading,var(--text-title-1-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-title-1-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-1-medium--font-weight))}.text-title-1-regular{font-size:var(--text-title-1-regular);line-height:var(--tw-leading,var(--text-title-1-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-title-1-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-1-regular--font-weight))}.text-title-1-semibold{font-size:var(--text-title-1-semibold);line-height:var(--tw-leading,var(--text-title-1-semibold--line-height));letter-spacing:var(--tw-tracking,var(--text-title-1-semibold--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-1-semibold--font-weight))}.text-title-2-medium{font-size:var(--text-title-2-medium);line-height:var(--tw-leading,var(--text-title-2-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-title-2-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-2-medium--font-weight))}.text-title-2-medium\!{font-size:var(--text-title-2-medium)!important;line-height:var(--tw-leading,var(--text-title-2-medium--line-height))!important;letter-spacing:var(--tw-tracking,var(--text-title-2-medium--letter-spacing))!important;font-weight:var(--tw-font-weight,var(--text-title-2-medium--font-weight))!important}.text-title-2-regular{font-size:var(--text-title-2-regular);line-height:var(--tw-leading,var(--text-title-2-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-title-2-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-2-regular--font-weight))}.text-title-2-semibold{font-size:var(--text-title-2-semibold);line-height:var(--tw-leading,var(--text-title-2-semibold--line-height));letter-spacing:var(--tw-tracking,var(--text-title-2-semibold--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-2-semibold--font-weight))}.text-title-3-medium{font-size:var(--text-title-3-medium);line-height:var(--tw-leading,var(--text-title-3-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-title-3-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-3-medium--font-weight))}.text-title-3-semibold{font-size:var(--text-title-3-semibold);line-height:var(--tw-leading,var(--text-title-3-semibold--line-height));letter-spacing:var(--tw-tracking,var(--text-title-3-semibold--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-3-semibold--font-weight))}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.text-\[8px\]{font-size:8px}.leading-4\.5{--tw-leading:calc(var(--spacing) * 4.5);line-height:calc(var(--spacing) * 4.5)}.leading-5{--tw-leading:calc(var(--spacing) * 5);line-height:calc(var(--spacing) * 5)}.leading-empty-copy{--tw-leading:var(--leading-empty-copy);line-height:var(--leading-empty-copy)}.leading-none{--tw-leading:1;line-height:1}.leading-tight{--tw-leading:var(--leading-tight);line-height:var(--leading-tight)}.font-bold{--tw-font-weight:var(--font-weight-bold);font-weight:var(--font-weight-bold)}.font-medium{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.font-normal{--tw-font-weight:var(--font-weight-normal);font-weight:var(--font-weight-normal)}.font-semibold{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.tracking-caps{--tw-tracking:var(--tracking-caps);letter-spacing:var(--tracking-caps)}.break-words{overflow-wrap:break-word}.break-all{word-break:break-all}.whitespace-normal{white-space:normal}.whitespace-nowrap{white-space:nowrap}.whitespace-pre{white-space:pre}.text-\(--glass-text\)\/60{color:var(--glass-text)}@supports (color:color-mix(in lab, red, red)){.text-\(--glass-text\)\/60{color:color-mix(in oklab, var(--glass-text) 60%, transparent)}}.text-\(--glass-text\)\/62{color:var(--glass-text)}@supports (color:color-mix(in lab, red, red)){.text-\(--glass-text\)\/62{color:color-mix(in oklab, var(--glass-text) 62%, transparent)}}.text-\(--keep\){color:var(--keep)}.text-accent-600{color:var(--color-accent-600)}.text-background{color:var(--color-background-primary-default)}.text-background-tertiary-default{color:var(--color-background-tertiary-default)}.text-border,.text-border\/60{color:var(--color-separator-border)}@supports (color:color-mix(in lab, red, red)){.text-border\/60{color:color-mix(in oklab, var(--color-separator-border) 60%, transparent)}}.text-button-ghost-foreground{color:var(--color-button-ghost-foreground)}.text-chart-5{color:var(--color-chart-5)}.text-chart-6{color:var(--color-chart-6)}.text-chart-7{color:var(--color-chart-7)}.text-chart-8{color:var(--color-chart-8)}.text-foreground{color:var(--color-text-primary)}.text-foreground-full{color:var(--color-foreground-full)}.text-foreground-icon-error{color:var(--color-foreground-icon-error)}.text-foreground-icon-primary{color:var(--color-foreground-icon-primary)}.text-foreground-icon-quaternary{color:var(--color-foreground-icon-quaternary)}.text-foreground-icon-secondary{color:var(--color-foreground-icon-secondary)}.text-foreground-icon-tertiary{color:var(--color-foreground-icon-tertiary)}.text-inherit{color:inherit}.text-input-disabled-foreground{color:var(--color-input-disabled-foreground)}.text-muted-foreground{color:var(--color-text-secondary)}.text-notification-information-foreground{color:var(--color-notification-information-foreground)}.text-notification-success-foreground{color:var(--color-notification-success-foreground)}.text-status-blue-text{color:var(--color-status-blue-text)}.text-status-cyan-text{color:var(--color-status-cyan-text)}.text-status-lime-text{color:var(--color-status-lime-text)}.text-status-purple-text{color:var(--color-status-purple-text)}.text-status-rose-text{color:var(--color-status-rose-text)}.text-status-yellow-text{color:var(--color-status-yellow-text)}.text-text-disabled{color:var(--color-text-disabled)}.text-text-error-primary{color:var(--color-text-error-primary)}.text-text-primary{color:var(--color-text-primary)}.text-text-secondary{color:var(--color-text-secondary)}.text-text-tertiary{color:var(--color-text-tertiary)}.text-text-white{color:var(--color-text-white)}.uppercase{text-transform:uppercase}.not-italic{font-style:normal}.ordinal{--tw-ordinal:ordinal;font-variant-numeric:var(--tw-ordinal,) var(--tw-slashed-zero,) var(--tw-numeric-figure,) var(--tw-numeric-spacing,) var(--tw-numeric-fraction,)}.tabular-nums{--tw-numeric-spacing:tabular-nums;font-variant-numeric:var(--tw-ordinal,) var(--tw-slashed-zero,) var(--tw-numeric-figure,) var(--tw-numeric-spacing,) var(--tw-numeric-fraction,)}.underline{text-decoration-line:underline}.underline-offset-2{text-underline-offset:2px}.underline-offset-3{text-underline-offset:3px}.underline-offset-4{text-underline-offset:4px}.reveal-content{opacity:0;filter:blur(2px);transition:opacity var(--motion-reveal), filter var(--motion-reveal)}.reveal-content[data-revealed]{opacity:1;filter:none}.reveal-skeleton{transition:opacity var(--motion-reveal), filter var(--motion-reveal)}.reveal-skeleton[data-revealed]{opacity:0;filter:blur(2px)}.opacity-0{opacity:0}.opacity-15{opacity:.15}.opacity-25{opacity:.25}.opacity-30{opacity:.3}.opacity-50{opacity:.5}.opacity-60{opacity:.6}.opacity-100{opacity:1}.shadow{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a), 0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[0_2px_2px_0_rgb\(0_0_0\/0\.03\)\]{--tw-shadow:0 2px 2px 0 var(--tw-shadow-color,#00000008);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[0_3px_3px_0_rgb\(0_0_0\/0\.03\)\,0_0\.75px_0_0_rgb\(0_0_0\/0\.05\)\]{--tw-shadow:0 3px 3px 0 var(--tw-shadow-color,#00000008), 0 .75px 0 0 var(--tw-shadow-color,#0000000d);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[0_3px_3px_0_rgb\(0_0_0\/0\.03\)\]{--tw-shadow:0 3px 3px 0 var(--tw-shadow-color,#00000008);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[0_4px_4px_0_rgb\(0_0_0\/0\.03\)\]{--tw-shadow:0 4px 4px 0 var(--tw-shadow-color,#00000008);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[inset_0_1\.5px_0_0_rgb\(255_255_255\/0\.25\)\,inset_0_0_0_0\.75px_var\(--color-accent-500\)\]{--tw-shadow:inset 0 1.5px 0 0 var(--tw-shadow-color,#ffffff40), inset 0 0 0 .75px var(--tw-shadow-color,var(--color-accent-500));box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[inset_0_1px_0_0_rgb\(255_255_255\/0\.25\)\,inset_0_0_0_0\.5px_var\(--color-accent-500\)\]{--tw-shadow:inset 0 1px 0 0 var(--tw-shadow-color,#ffffff40), inset 0 0 0 .5px var(--tw-shadow-color,var(--color-accent-500));box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-card{--tw-shadow:var(--elevation-card);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-checkbox-selected{--tw-shadow:inset 0 2px 0 0 var(--tw-shadow-color,#ffffff40), inset 0 0 0 1px var(--tw-shadow-color,var(--color-accent-500));box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-dropdown{--tw-shadow:var(--elevation-dropdown);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-xl{--tw-shadow:var(--elevation-xl);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-xs{--tw-shadow:var(--elevation-xs);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow\/xs{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a), 0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.ring-2{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.ring-background-full{--tw-ring-color:var(--color-background-full)}.ring-border-button-active{--tw-ring-color:var(--color-border-button-active)}.ring-border-button-hover{--tw-ring-color:var(--color-border-button-hover)}.ring-border-focus-ring{--tw-ring-color:var(--color-border-focus-ring)}.ring-transparent{--tw-ring-color:transparent}.ring-offset-2{--tw-ring-offset-width:2px;--tw-ring-offset-shadow:var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.blur{--tw-blur:blur(8px);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.drop-shadow-sm{--tw-drop-shadow-size:drop-shadow(0 1px 2px var(--tw-drop-shadow-color,#00000026));--tw-drop-shadow:drop-shadow(var(--drop-shadow-sm));filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.filter{filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.backdrop-blur-\[2px\]{--tw-backdrop-blur:blur(2px);-webkit-backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,)}.backdrop-blur-sm{--tw-backdrop-blur:blur(var(--blur-sm));-webkit-backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[background-color\,border-color\,box-shadow\,color\]{transition-property:background-color,border-color,box-shadow,color;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[background-color\,border-color\,box-shadow\,padding\,font-size\]{transition-property:background-color,border-color,box-shadow,padding,font-size;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[background-color\,border-color\,box-shadow\]{transition-property:background-color,border-color,box-shadow;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[background-color\,box-shadow\,color\]{transition-property:background-color,box-shadow,color;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[padding\,font-size\]{transition-property:padding,font-size;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-opacity{transition-property:opacity;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-transform{transition-property:transform,translate,scale,rotate;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.duration-150{--tw-duration:.15s;transition-duration:.15s}.duration-200{--tw-duration:.2s;transition-duration:.2s}.duration-\[var\(--input-transition-ms\)\]{--tw-duration:var(--input-transition-ms);transition-duration:var(--input-transition-ms)}.ease-in-out{--tw-ease:var(--ease-in-out);transition-timing-function:var(--ease-in-out)}.ease-out{--tw-ease:var(--ease-out);transition-timing-function:var(--ease-out)}.outline-none{--tw-outline-style:none;outline-style:none}.select-none{-webkit-user-select:none;user-select:none}.ring-inset{--tw-ring-inset:inset}@media (hover:hover){.group-hover\:border-border-checkbox-hover:is(:where(.group):hover *){border-color:var(--color-border-checkbox-hover)}.group-hover\:bg-background-primary-hover:is(:where(.group):hover *){background-color:var(--color-background-primary-hover)}.group-hover\:bg-foreground:is(:where(.group):hover *){background-color:var(--color-text-primary)}.group-hover\:opacity-100:is(:where(.group):hover *){opacity:1}}.group-data-selected\:border-border-focus-ring:is(:where(.group)[data-selected] *){border-color:var(--color-border-focus-ring)}.group-data-selected\:bg-accent-600:is(:where(.group)[data-selected] *){background-color:var(--color-accent-600)}.group-data-selected\:bg-background-primary-hover:is(:where(.group)[data-selected] *){background-color:var(--color-background-primary-hover)}.group-data-selected\:opacity-100:is(:where(.group)[data-selected] *){opacity:1}.placeholder\:text-text-tertiary::placeholder{color:var(--color-text-tertiary)}.after\:absolute:after{content:var(--tw-content);position:absolute}.after\:inset-y-0:after{content:var(--tw-content);inset-block:0}.after\:-left-4:after{content:var(--tw-content);left:calc(var(--spacing) * -4)}.after\:w-11:after{content:var(--tw-content);width:calc(var(--spacing) * 11)}.after\:content-\[\'\'\]:after{--tw-content:"";content:var(--tw-content)}.first\:border-t-0:first-child{border-top-style:var(--tw-border-style);border-top-width:0}.first\:pt-1:first-child{padding-top:var(--spacing)}.last\:border-b-0:last-child{border-bottom-style:var(--tw-border-style);border-bottom-width:0}.last\:pb-1:last-child{padding-bottom:var(--spacing)}.empty\:hidden:empty{display:none}@media (hover:hover){.hover\:border-solid:hover{--tw-border-style:solid;border-style:solid}.hover\:border-\(--glass-rim\):hover{border-color:var(--glass-rim)}.hover\:border-border-button-hover:hover{border-color:var(--color-border-button-hover)}.hover\:bg-\(--glass-pick-fill\):hover{background-color:var(--glass-pick-fill)}.hover\:bg-background-primary-hover:hover,.hover\:bg-background-primary-hover\/60:hover{background-color:var(--color-background-primary-hover)}@supports (color:color-mix(in lab, red, red)){.hover\:bg-background-primary-hover\/60:hover{background-color:color-mix(in oklab, var(--color-background-primary-hover) 60%, transparent)}}.hover\:bg-button-ghost-hover:hover{background-color:var(--color-button-ghost-hover)}.hover\:bg-dropdown-item-hover-background:hover{background-color:var(--color-dropdown-item-hover-background)}.hover\:text-\(--glass-text\):hover{color:var(--glass-text)}.hover\:text-foreground-icon-primary:hover{color:var(--color-foreground-icon-primary)}.hover\:text-text-primary:hover{color:var(--color-text-primary)}.hover\:text-text-secondary:hover{color:var(--color-text-secondary)}.hover\:underline:hover{text-decoration-line:underline}.not-data-selected\:hover\:bg-card-hover:not([data-selected]):hover{background-color:var(--card-hover,transparent)}}.focus\:placeholder\:text-text-primary:focus::placeholder{color:var(--color-text-primary)}.focus-visible\:bg-dropdown-item-hover-background:focus-visible{background-color:var(--color-dropdown-item-hover-background)}.focus-visible\:stroke-border-focus-ring:focus-visible{stroke:var(--color-border-focus-ring)}.focus-visible\:opacity-100:focus-visible{opacity:1}.focus-visible\:ring-2:focus-visible{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.focus-visible\:ring-4:focus-visible{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(4px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.focus-visible\:ring-border-focus-ring:focus-visible{--tw-ring-color:var(--color-border-focus-ring)}.focus-visible\:ring-offset-2:focus-visible{--tw-ring-offset-width:2px;--tw-ring-offset-shadow:var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)}.focus-visible\:ring-offset-3:focus-visible{--tw-ring-offset-width:3px;--tw-ring-offset-shadow:var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)}.focus-visible\:outline-2:focus-visible{outline-style:var(--tw-outline-style);outline-width:2px}.focus-visible\:-outline-offset-3:focus-visible{outline-offset:calc(3px * -1)}.focus-visible\:outline-border-focus-ring:focus-visible{outline-color:var(--color-border-focus-ring)}.focus-visible\:ring-inset:focus-visible{--tw-ring-inset:inset}.active\:cursor-grabbing:active{cursor:grabbing}.active\:border-border-button-active:active{border-color:var(--color-border-button-active)}.active\:bg-background-primary-active:active{background-color:var(--color-background-primary-active)}.active\:bg-button-ghost-active:active{background-color:var(--color-button-ghost-active)}.active\:text-accent-800:active{color:var(--color-accent-800)}.active\:text-text-primary:active{color:var(--color-text-primary)}.disabled\:cursor-default:disabled{cursor:default}.disabled\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\:border-border-button-default:disabled{border-color:var(--color-border-button-default)}.disabled\:bg-background-primary-disabled:disabled{background-color:var(--color-background-primary-disabled)}.disabled\:bg-button-ghost-disabled:disabled{background-color:var(--color-button-ghost-disabled)}.disabled\:text-button-ghost-disabled-foreground:disabled{color:var(--color-button-ghost-disabled-foreground)}.disabled\:text-button-primary-disabled-foreground:disabled{color:var(--color-button-primary-disabled-foreground)}.disabled\:text-foreground-disabled-danger:disabled{color:var(--color-foreground-disabled-danger)}.disabled\:text-icon-button-disabled-foreground:disabled{color:var(--color-icon-button-disabled-foreground)}.disabled\:text-input-disabled-text:disabled{color:var(--color-input-disabled-text)}.disabled\:text-text-tertiary:disabled{color:var(--color-text-tertiary)}.disabled\:no-underline:disabled{text-decoration-line:none}.disabled\:opacity-60:disabled{opacity:.6}.disabled\:shadow-none:disabled{--tw-shadow:0 0 #0000;box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.disabled\:placeholder\:text-input-disabled-text:disabled::placeholder{color:var(--color-input-disabled-text)}.aria-busy\:cursor-wait[aria-busy=true]{cursor:wait}.aria-busy\:opacity-55[aria-busy=true]{opacity:.55}.aria-checked\:bg-background-tertiary-default[aria-checked=true]{background-color:var(--color-background-tertiary-default)}.aria-checked\:text-text-primary[aria-checked=true]{color:var(--color-text-primary)}.aria-disabled\:cursor-not-allowed[aria-disabled=true]{cursor:not-allowed}.aria-disabled\:cursor-progress[aria-disabled=true]{cursor:progress}.aria-disabled\:border-border-button-default[aria-disabled=true]{border-color:var(--color-border-button-default)}.aria-disabled\:bg-background-primary-disabled[aria-disabled=true]{background-color:var(--color-background-primary-disabled)}.aria-disabled\:bg-button-ghost-disabled[aria-disabled=true]{background-color:var(--color-button-ghost-disabled)}.aria-disabled\:text-button-ghost-disabled-foreground[aria-disabled=true]{color:var(--color-button-ghost-disabled-foreground)}.aria-disabled\:text-button-primary-disabled-foreground[aria-disabled=true]{color:var(--color-button-primary-disabled-foreground)}.aria-disabled\:text-foreground-disabled-danger[aria-disabled=true]{color:var(--color-foreground-disabled-danger)}.aria-disabled\:text-text-tertiary[aria-disabled=true]{color:var(--color-text-tertiary)}.aria-disabled\:no-underline[aria-disabled=true]{text-decoration-line:none}.aria-disabled\:opacity-60[aria-disabled=true]{opacity:.6}.aria-disabled\:shadow-none[aria-disabled=true]{--tw-shadow:0 0 #0000;box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.aria-expanded\:bg-background-primary-hover[aria-expanded=true]{background-color:var(--color-background-primary-hover)}.aria-expanded\:text-foreground-icon-primary[aria-expanded=true]{color:var(--color-foreground-icon-primary)}.aria-invalid\:placeholder\:text-text-error-placeholder[aria-invalid=true]::placeholder{color:var(--color-text-error-placeholder)}.aria-pressed\:bg-chart-1\/10[aria-pressed=true]{background-color:var(--color-chart-1)}@supports (color:color-mix(in lab, red, red)){.aria-pressed\:bg-chart-1\/10[aria-pressed=true]{background-color:color-mix(in oklab, var(--color-chart-1) 10%, transparent)}}.aria-pressed\:bg-chart-2\/10[aria-pressed=true]{background-color:var(--color-chart-2)}@supports (color:color-mix(in lab, red, red)){.aria-pressed\:bg-chart-2\/10[aria-pressed=true]{background-color:color-mix(in oklab, var(--color-chart-2) 10%, transparent)}}.aria-pressed\:bg-chart-3\/10[aria-pressed=true]{background-color:var(--color-chart-3)}@supports (color:color-mix(in lab, red, red)){.aria-pressed\:bg-chart-3\/10[aria-pressed=true]{background-color:color-mix(in oklab, var(--color-chart-3) 10%, transparent)}}.aria-pressed\:bg-chart-4\/10[aria-pressed=true]{background-color:var(--color-chart-4)}@supports (color:color-mix(in lab, red, red)){.aria-pressed\:bg-chart-4\/10[aria-pressed=true]{background-color:color-mix(in oklab, var(--color-chart-4) 10%, transparent)}}.aria-pressed\:bg-chart-5\/10[aria-pressed=true]{background-color:var(--color-chart-5)}@supports (color:color-mix(in lab, red, red)){.aria-pressed\:bg-chart-5\/10[aria-pressed=true]{background-color:color-mix(in oklab, var(--color-chart-5) 10%, transparent)}}.aria-pressed\:bg-chart-6\/10[aria-pressed=true]{background-color:var(--color-chart-6)}@supports (color:color-mix(in lab, red, red)){.aria-pressed\:bg-chart-6\/10[aria-pressed=true]{background-color:color-mix(in oklab, var(--color-chart-6) 10%, transparent)}}.aria-pressed\:ring-1[aria-pressed=true]{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.aria-pressed\:ring-chart-1[aria-pressed=true]{--tw-ring-color:var(--color-chart-1)}.aria-pressed\:ring-chart-2[aria-pressed=true]{--tw-ring-color:var(--color-chart-2)}.aria-pressed\:ring-chart-3[aria-pressed=true]{--tw-ring-color:var(--color-chart-3)}.aria-pressed\:ring-chart-4[aria-pressed=true]{--tw-ring-color:var(--color-chart-4)}.aria-pressed\:ring-chart-5[aria-pressed=true]{--tw-ring-color:var(--color-chart-5)}.aria-pressed\:ring-chart-6[aria-pressed=true]{--tw-ring-color:var(--color-chart-6)}.aria-pressed\:ring-inset[aria-pressed=true]{--tw-ring-inset:inset}.aria-selected\:border-border-focus-ring[aria-selected=true]{border-color:var(--color-border-focus-ring)}.aria-selected\:bg-background-primary-default[aria-selected=true]{background-color:var(--color-background-primary-default)}.aria-selected\:bg-background-tertiary-default[aria-selected=true]{background-color:var(--color-background-tertiary-default)}.aria-selected\:font-medium[aria-selected=true]{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.aria-selected\:text-border-focus-ring[aria-selected=true]{color:var(--color-border-focus-ring)}.aria-selected\:text-text-primary[aria-selected=true]{color:var(--color-text-primary)}.aria-selected\:shadow-card[aria-selected=true]{--tw-shadow:var(--elevation-card);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.data-disabled\:cursor-not-allowed[data-disabled]{cursor:not-allowed}.data-focus-visible\:ring-2[data-focus-visible]{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.data-focus-visible\:ring-border-focus-ring[data-focus-visible]{--tw-ring-color:var(--color-border-focus-ring)}.data-selected\:border-border-button-active[data-selected]{border-color:var(--color-border-button-active)}.data-selected\:bg-background-primary-default[data-selected]{background-color:var(--color-background-primary-default)}.data-selected\:bg-dropdown-item-hover-background[data-selected]{background-color:var(--color-dropdown-item-hover-background)}.data-selected\:text-\(--glass-text\)[data-selected]{color:var(--glass-text)}.data-selected\:text-text-primary[data-selected]{color:var(--color-text-primary)}.data-selected\:shadow-card[data-selected]{--tw-shadow:var(--elevation-card);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.data-selected\:shadow-none[data-selected]{--tw-shadow:0 0 #0000;box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.data-selected\:after\:pointer-events-none[data-selected]:after{content:var(--tw-content);pointer-events:none}.data-selected\:after\:absolute[data-selected]:after{content:var(--tw-content);position:absolute}.data-selected\:after\:inset-0[data-selected]:after{content:var(--tw-content);inset:0}.data-selected\:after\:z-1[data-selected]:after{content:var(--tw-content);z-index:1}.data-selected\:after\:rounded-\[inherit\][data-selected]:after{content:var(--tw-content);border-radius:inherit}.data-selected\:after\:border-2[data-selected]:after{content:var(--tw-content);border-style:var(--tw-border-style);border-width:2px}.data-selected\:after\:border-border-focus-ring[data-selected]:after{content:var(--tw-content);border-color:var(--color-border-focus-ring)}.data-\[entering\]\:scale-95[data-entering]{--tw-scale-x:95%;--tw-scale-y:95%;--tw-scale-z:95%;scale:var(--tw-scale-x) var(--tw-scale-y)}.data-\[entering\]\:opacity-0[data-entering]{opacity:0}.data-\[entering\]\:blur-\[2px\][data-entering]{--tw-blur:blur(2px);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.data-\[exiting\]\:scale-95[data-exiting]{--tw-scale-x:95%;--tw-scale-y:95%;--tw-scale-z:95%;scale:var(--tw-scale-x) var(--tw-scale-y)}.data-\[exiting\]\:opacity-0[data-exiting]{opacity:0}.data-\[exiting\]\:blur-\[2px\][data-exiting]{--tw-blur:blur(2px);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.data-\[placement\=bottom\]\:origin-top-left[data-placement=bottom]{transform-origin:0 0}.data-\[placement\=left\]\:origin-right[data-placement=left]{transform-origin:100%}.data-\[placement\=right\]\:origin-left[data-placement=right]{transform-origin:0}.data-\[placement\=top\]\:origin-bottom-left[data-placement=top]{transform-origin:0 100%}@media not all and (width>=1120px){.max-plain-stat-pair\:grid-flow-row{grid-auto-flow:row}.max-plain-stat-pair\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}}@media not all and (width>=1001px){.max-\[1001px\]\:justify-start{justify-content:flex-start}.max-\[1001px\]\:pt-0{padding-top:0}}@media not all and (width>=901px){.max-duplicate-narrow\:col-span-full{grid-column:1/-1}.max-duplicate-narrow\:col-start-2{grid-column-start:2}.max-duplicate-narrow\:-col-end-1{grid-column-end:calc(1 * -1)}}@media not all and (width>=761px){.max-board-narrow\:order-1{order:1}.max-board-narrow\:order-2{order:2}.max-board-narrow\:order-3{order:3}.max-board-narrow\:block{display:block}.max-cleanup-tight\:min-h-0{min-height:0}.max-board-narrow\:max-w-none{max-width:none}.max-board-narrow\:min-w-0{min-width:0}.max-board-narrow\:basis-40{flex-basis:calc(var(--spacing) * 40)}.max-board-narrow\:flex-col{flex-direction:column}.max-board-narrow\:items-stretch{align-items:stretch}.max-board-narrow\:gap-0{gap:0}.max-cleanup-tight\:gap-3{gap:calc(var(--spacing) * 3)}.max-cleanup-tight\:p-4\.5{padding:calc(var(--spacing) * 4.5)}.max-board-narrow\:px-2\.25{padding-inline:calc(var(--spacing) * 2.25)}.max-cleanup-tight\:px-4\.5{padding-inline:calc(var(--spacing) * 4.5)}.max-board-narrow\:text-body-2-regular{font-size:var(--text-body-2-regular);line-height:var(--tw-leading,var(--text-body-2-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-body-2-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-2-regular--font-weight))}.max-board-narrow\:text-title-1-medium{font-size:var(--text-title-1-medium);line-height:var(--tw-leading,var(--text-title-1-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-title-1-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-1-medium--font-weight))}}@media not all and (width>=601px){.max-compact\:ml-0{margin-left:0}.max-compact\:w-full{width:100%}.max-compact\:flex-col{flex-direction:column}.max-compact\:items-start{align-items:flex-start}.max-compact\:gap-3{gap:calc(var(--spacing) * 3)}.max-compact\:p-4{padding:calc(var(--spacing) * 4)}}@media not all and (width>=560px){.max-plain-stat-single\:grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}}@media not all and (width>=40rem){.max-sm\:-mx-4{margin-inline:calc(var(--spacing) * -4)}.max-sm\:size-6{width:calc(var(--spacing) * 6);height:calc(var(--spacing) * 6)}.max-sm\:h-65{height:calc(var(--spacing) * 65)}.max-sm\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.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\:p-4{padding:calc(var(--spacing) * 4)}.max-sm\:px-3{padding-inline:calc(var(--spacing) * 3)}.max-sm\:px-4{padding-inline:calc(var(--spacing) * 4)}.max-sm\:py-2{padding-block:calc(var(--spacing) * 2)}.max-sm\:pb-3{padding-bottom:calc(var(--spacing) * 3)}}@media (width>=600px){.review-tight\:w-review-cover{width:var(--container-review-cover)}}@media (width>=900px){.review-split\:sticky{position:sticky}.review-split\:top-topbar{top:var(--spacing-topbar)}.review-split\:w-review-tabs{width:var(--container-review-tabs)}.review-split\:shrink-0{flex-shrink:0}.review-split\:flex-col{flex-direction:column}.review-split\:flex-row-reverse{flex-direction:row-reverse}.review-split\:items-start{align-items:flex-start}.review-split\:items-stretch{align-items:stretch}.review-split\:gap-6{gap:calc(var(--spacing) * 6)}}@media (width>=40rem){.sm\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.sm\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.sm\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.sm\:gap-4{gap:calc(var(--spacing) * 4)}}@media (width>=48rem){.md\:w-64{width:calc(var(--spacing) * 64)}.md\:w-72{width:calc(var(--spacing) * 72)}.md\:w-80{width:calc(var(--spacing) * 80)}.md\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.md\:flex-row{flex-direction:row}.md\:gap-6{gap:calc(var(--spacing) * 6)}.md\:pr-6{padding-right:calc(var(--spacing) * 6)}.md\:pb-0{padding-bottom:0}}@media (width>=64rem){.lg\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.lg\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}}@media (width>=80rem){.xl\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.xl\:grid-cols-6{grid-template-columns:repeat(6,minmax(0,1fr))}}@container (width>=28rem){.\@md\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}}@container (width>=32rem){.\@lg\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}}.dark\:bg-background-primary-default:where(.dark,.dark *){background-color:var(--color-background-primary-default)}.dark\:bg-background-secondary-default:where(.dark,.dark *){background-color:var(--color-background-secondary-default)}.dark\:text-border:where(.dark,.dark *),.dark\:text-border\/50:where(.dark,.dark *){color:var(--color-separator-border)}@supports (color:color-mix(in lab, red, red)){.dark\:text-border\/50:where(.dark,.dark *){color:color-mix(in oklab, var(--color-separator-border) 50%, transparent)}}@media (hover:hover){.dark\:hover\:bg-background-primary-hover:where(.dark,.dark *):hover{background-color:var(--color-background-primary-hover)}}.dark\:aria-selected\:bg-background-primary-hover:where(.dark,.dark *)[aria-selected=true],.dark\:data-selected\:bg-background-primary-hover:where(.dark,.dark *)[data-selected]{background-color:var(--color-background-primary-hover)}.\[\&_\.recharts-cartesian-axis-tick_text\]\:fill-muted-foreground .recharts-cartesian-axis-tick text{fill:var(--color-text-secondary)}.\[\&_\.recharts-cartesian-grid_line\[stroke\=\'\#ccc\'\]\]\:stroke-border\/50 .recharts-cartesian-grid line[stroke=\#ccc]{stroke:var(--color-separator-border)}@supports (color:color-mix(in lab, red, red)){.\[\&_\.recharts-cartesian-grid_line\[stroke\=\'\#ccc\'\]\]\:stroke-border\/50 .recharts-cartesian-grid line[stroke=\#ccc]{stroke:color-mix(in oklab, var(--color-separator-border) 50%, transparent)}}.\[\&_\.recharts-curve\.recharts-tooltip-cursor\]\:stroke-border .recharts-curve.recharts-tooltip-cursor{stroke:var(--color-separator-border)}.\[\&_\.recharts-dot\[stroke\=\'\#fff\'\]\]\:stroke-transparent .recharts-dot[stroke=\#fff]{stroke:#0000}.\[\&_\.recharts-layer\]\:outline-hidden .recharts-layer{--tw-outline-style:none;outline-style:none}@media (forced-colors:active){.\[\&_\.recharts-layer\]\:outline-hidden .recharts-layer{outline-offset:2px;outline:2px solid #0000}}.\[\&_\.recharts-polar-grid_\[stroke\=\'\#ccc\'\]\]\:stroke-border .recharts-polar-grid [stroke=\#ccc]{stroke:var(--color-separator-border)}.\[\&_\.recharts-radial-bar-background-sector\]\:fill-muted .recharts-radial-bar-background-sector,.\[\&_\.recharts-rectangle\.recharts-tooltip-cursor\]\:fill-muted .recharts-rectangle.recharts-tooltip-cursor{fill:var(--color-chart-track)}.\[\&_\.recharts-reference-line_\[stroke\=\'\#ccc\'\]\]\:stroke-border .recharts-reference-line [stroke=\#ccc]{stroke:var(--color-separator-border)}.\[\&_\.recharts-sector\]\:outline-hidden .recharts-sector{--tw-outline-style:none;outline-style:none}@media (forced-colors:active){.\[\&_\.recharts-sector\]\:outline-hidden .recharts-sector{outline-offset:2px;outline:2px solid #0000}}.\[\&_\.recharts-sector\[stroke\=\'\#fff\'\]\]\:stroke-transparent .recharts-sector[stroke=\#fff]{stroke:#0000}.\[\&_\.recharts-surface\]\:outline-hidden .recharts-surface{--tw-outline-style:none;outline-style:none}@media (forced-colors:active){.\[\&_\.recharts-surface\]\:outline-hidden .recharts-surface{outline-offset:2px;outline:2px solid #0000}}.\[\&_img\]\:absolute img{position:absolute}.\[\&_img\]\:inset-0 img{inset:0}.\[\&_img\]\:block img{display:block}.\[\&_img\]\:size-full img{width:100%;height:100%}.\[\&_img\]\:max-h-none img{max-height:none}.\[\&_img\]\:max-w-none img{max-width:none}.\[\&_img\]\:object-cover img{object-fit:cover}.\[\&_img\]\:object-\(--face\) img{object-position:var(--face)}.\[\&\>svg\]\:h-2\.5>svg{height:calc(var(--spacing) * 2.5)}.\[\&\>svg\]\:h-3>svg{height:calc(var(--spacing) * 3)}.\[\&\>svg\]\:w-2\.5>svg{width:calc(var(--spacing) * 2.5)}.\[\&\>svg\]\:w-3>svg{width:calc(var(--spacing) * 3)}.\[\&\>svg\]\:text-muted-foreground>svg{color:var(--color-text-secondary)}@scope(.peach-react){*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring:where(:not(iframe)){outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::placeholder{color:color-mix(in oklab, currentcolor 50%, transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}:root{--color-foreground-full:var(--color-white);--color-foreground-icon-primary:var(--color-neutral-950);--color-foreground-icon-hover:var(--color-black);--color-foreground-icon-secondary:var(--color-neutral-500);--color-foreground-icon-tertiary:var(--color-neutral-400);--color-foreground-icon-quaternary:var(--color-neutral-300);--color-foreground-icon-error:var(--color-red-600);--color-foreground-icon-disabled:var(--color-neutral-300);--color-foreground-disabled:var(--color-neutral-400);--color-foreground-disabled-danger:var(--color-red-300);--color-input-disabled-foreground:var(--color-neutral-300);--color-icon-button-disabled-foreground:var(--color-neutral-300);--color-button-primary-disabled-foreground:var(--color-neutral-400);--color-text-primary:var(--color-neutral-950);--color-text-secondary:var(--color-neutral-500);--color-text-tertiary:var(--color-neutral-400);--color-text-disabled:var(--color-neutral-300);--color-text-disabled-danger:var(--color-red-300);--color-text-placeholder:var(--color-neutral-400);--color-text-error-primary:var(--color-red-500);--color-input-disabled-text:var(--color-neutral-300);--color-text-white:var(--color-white);--color-background-full:var(--color-white);--color-background-primary-default:var(--color-white);--color-background-inner-default:var(--color-white);--color-background-primary-hover:var(--color-neutral-100);--color-background-primary-active:var(--color-neutral-200);--color-background-primary-disabled:var(--color-neutral-100);--color-input-disabled-background:var(--color-neutral-100);--color-background-secondary-default:var(--color-neutral-100);--color-background-secondary-hover:var(--color-neutral-200);--color-background-tertiary-default:var(--color-neutral-200);--color-background-tertiary-hover:var(--color-neutral-300);--color-background-tertiary-error:var(--color-red-100);--color-background-recent-hire-role:var(--color-neutral-100);--color-avatar-neutral-background:var(--color-neutral-300);--color-background-quaternary-default:var(--color-neutral-300);--color-background-quaternary-hover:var(--color-neutral-400);--color-background-quaternary-error:var(--color-red-200);--color-file-upload-icon-background:var(--color-neutral-300);--color-file-upload-icon-foreground:var(--color-neutral-400);--color-file-upload-icon-foreground-hover:var(--color-neutral-500);--color-border-button-default:var(--color-neutral-200);--color-border-button-hover:var(--color-neutral-300);--color-border-button-active:var(--color-neutral-400);--color-border-button-white:var(--color-white);--color-border-error-default:var(--color-red-500);--color-border-checkbox-default:var(--color-neutral-300);--color-border-checkbox-hover:var(--color-neutral-400);--color-border-checkbox-active:var(--color-neutral-400);--color-border-checkbox-white:var(--color-white);--color-border-component-detail-container:var(--color-neutral-200);--color-border-ai-profile-card:var(--color-neutral-200);--color-border-table:var(--color-neutral-200);--color-border-button-group:var(--color-neutral-200);--color-border-sidebar-profile-hover:var(--color-neutral-300);--color-separator-border:var(--color-neutral-200);--color-separator-border-strong:var(--color-neutral-200);--color-border-focus-ring:var(--color-accent-500);--color-state-success-text:var(--color-lime-800);--color-state-success-base:var(--color-lime-200);--color-control-indicator-background:var(--color-white);--color-control-indicator-background-subtle:var(--color-neutral-100);--color-switch-off-chip-start:var(--color-white);--color-switch-off-chip-end:var(--color-neutral-100);--color-switch-on-chip-start:#2673fe}@supports (color:color-mix(in lab, red, red)){:root{--color-switch-on-chip-start:color-mix(in oklab, var(--color-accent-500) 63%, var(--color-accent-600))}}:root{--color-switch-on-chip-end:#144be9}@supports (color:color-mix(in lab, red, red)){:root{--color-switch-on-chip-end:color-mix(in oklab, var(--color-accent-600) 16%, var(--color-accent-700))}}:root{--color-stat-card-icon-background:var(--color-white);--color-segmented-control-background:var(--color-neutral-100);--color-segmented-control-selected-background:var(--color-white);--color-theme-toggle-sidebar-background:var(--color-neutral-200);--color-theme-toggle-sidebar-selected-background:var(--color-white);--color-ai-chat-composer-add-background:var(--color-neutral-100);--color-ai-chat-composer-add-hover-background:var(--color-neutral-200);--color-composer-panel-tab-background:var(--color-neutral-200);--color-composer-panel-add-background:var(--color-neutral-200);--color-composer-panel-add-hover-background:var(--color-neutral-300);--color-composer-panel-tile-border:var(--color-neutral-200);--color-composer-panel-rail-background:var(--color-neutral-100);--color-questionnaire-key-background:var(--color-neutral-100);--color-questionnaire-key-hover-background:var(--color-neutral-200);--color-agent-progress-ring:var(--color-neutral-700);--color-button-ghost-background:var(--color-accent-100);--color-button-ghost-hover:var(--color-accent-200);--color-button-ghost-active:var(--color-accent-300);--color-button-ghost-disabled:var(--color-accent-50);--color-button-ghost-foreground:var(--color-accent-700);--color-button-ghost-disabled-foreground:var(--color-accent-300);--color-dropdown-item-hover-background:var(--color-neutral-100);--color-kbd-background:var(--color-neutral-300);--color-kbd-foreground:var(--color-neutral-500);--color-docs-file-chip-background:var(--color-purple-50);--color-docs-file-chip-border:var(--color-purple-100);--color-docs-file-chip-foreground:var(--color-purple-500);--color-docs-command-accent:var(--color-purple-400);--color-docs-code-background:var(--color-background-primary-default);--color-docs-install-rail:var(--color-border-button-default);--color-badge-neutral-background:var(--color-neutral-200);--color-team-menu-count-background:var(--color-neutral-200);--color-team-menu-count-foreground:var(--color-neutral-500);--color-badge-new-background:var(--color-accent-100);--color-badge-new-text:var(--color-accent-600);--color-tab-count-selected-background:var(--color-accent-100);--color-pill-tab-blue-selected-background:var(--color-accent-50);--color-pill-tab-blue-hover-background:var(--color-neutral-100);--color-notification-information-background:var(--color-blue-100);--color-notification-information-foreground:var(--color-blue-600);--color-notification-success-background:var(--color-lime-100);--color-notification-success-foreground:var(--color-lime-600);--color-notification-error-background:var(--color-rose-100);--color-notification-error-foreground:var(--color-rose-600);--color-notification-center-background:var(--color-white);--color-status-lime-background:var(--color-lime-200);--color-status-lime-text:var(--color-lime-800);--color-status-yellow-background:var(--color-yellow-200);--color-status-yellow-text:var(--color-yellow-800);--color-status-rose-background:var(--color-rose-200);--color-status-rose-text:var(--color-rose-800);--color-status-cyan-background:var(--color-cyan-200);--color-status-cyan-text:var(--color-cyan-800);--color-status-blue-background:var(--color-blue-200);--color-status-blue-text:var(--color-blue-800);--color-status-purple-background:var(--color-purple-100);--color-status-purple-text:var(--color-purple-600);--color-status-dot-green-halo:var(--color-green-100);--color-status-dot-yellow-halo:var(--color-yellow-200);--color-status-dot-indigo-halo:var(--color-indigo-100);--color-date-range-background:var(--color-accent-100);--color-date-range-edge-background:var(--color-accent-300);--color-calendar-event-blue-background:var(--color-blue-100);--color-calendar-event-blue-title:var(--color-blue-700);--color-calendar-event-blue-time:var(--color-blue-700);--color-calendar-event-pink-background:var(--color-pink-100);--color-calendar-event-pink-title:var(--color-pink-700);--color-calendar-event-pink-time:var(--color-pink-700);--color-calendar-event-purple-background:var(--color-purple-100);--color-calendar-event-purple-title:var(--color-purple-700);--color-calendar-event-purple-time:var(--color-purple-700);--color-calendar-event-lime-background:var(--color-lime-100);--color-calendar-event-lime-title:var(--color-lime-800);--color-calendar-event-lime-time:var(--color-lime-700);--color-calendar-event-emerald-background:var(--color-emerald-100);--color-calendar-event-emerald-title:var(--color-emerald-800);--color-calendar-event-emerald-time:var(--color-emerald-700);--color-text-error-placeholder:var(--color-red-400);--color-chart-track:var(--color-neutral-200);--color-chart-cursor:var(--color-neutral-300);--color-chart-neutral:var(--color-neutral-300);--color-chart-1:var(--color-teal-400);--color-chart-1-active:var(--color-teal-500);--color-chart-2:var(--color-lime-400);--color-chart-2-active:var(--color-lime-500);--color-chart-3:var(--color-pink-400);--color-chart-3-active:var(--color-pink-500);--color-chart-4:var(--color-sky-400);--color-chart-4-active:var(--color-sky-500);--color-chart-5:var(--color-purple-400);--color-chart-5-active:var(--color-purple-500);--color-chart-6:var(--color-blue-400);--color-chart-6-active:var(--color-blue-500);--color-chart-7:var(--color-emerald-400);--color-chart-7-active:var(--color-emerald-500);--color-chart-8:var(--color-yellow-400);--color-chart-8-active:var(--color-yellow-500);--color-chart-9:var(--color-indigo-400);--color-chart-9-active:var(--color-indigo-500);--color-chart-agents-bar:var(--color-purple-300);--color-chart-agents-bar-active:var(--color-purple-400);--gradient-button-primary-default:linear-gradient(180deg, var(--color-accent-500) 0%, var(--color-accent-600) 100%);--gradient-button-primary-hover:linear-gradient(180deg, var(--color-accent-400) 0%, var(--color-accent-500) 100%);--gradient-button-primary-active:linear-gradient(180deg, var(--color-accent-600) 0%, var(--color-accent-700) 100%);--gradient-button-primary-disabled:linear-gradient(180deg, var(--color-neutral-200) 0%, var(--color-neutral-300) 100%);--gradient-button-danger-default:linear-gradient(180deg, var(--color-red-500) 0%, var(--color-red-600) 100%);--gradient-button-danger-hover:linear-gradient(180deg, var(--color-red-400) 0%, var(--color-red-500) 100%);--gradient-button-danger-active:linear-gradient(180deg, var(--color-red-600) 0%, var(--color-red-700) 100%);--gradient-button-danger-disabled:linear-gradient(180deg, var(--color-red-100) 0%, var(--color-red-200) 100%)}.dark{--color-foreground-full:var(--color-neutral-700);--color-foreground-icon-primary:var(--color-neutral-50);--color-foreground-icon-hover:var(--color-white);--color-foreground-icon-error:var(--color-red-400);--color-foreground-icon-tertiary:var(--color-neutral-600);--color-foreground-icon-quaternary:var(--color-neutral-700);--color-foreground-icon-disabled:var(--color-neutral-800);--color-foreground-disabled:var(--color-neutral-700);--color-foreground-disabled-danger:var(--color-red-400);--color-input-disabled-foreground:var(--color-neutral-600);--color-icon-button-disabled-foreground:var(--color-neutral-500);--color-button-primary-disabled-foreground:var(--color-neutral-500);--color-text-primary:var(--color-neutral-50);--color-text-tertiary:var(--color-neutral-600);--color-text-disabled:var(--color-neutral-800);--color-text-error-primary:var(--color-red-400);--color-input-disabled-text:#73737366}@supports (color:color-mix(in lab, red, red)){.dark{--color-input-disabled-text:color-mix(in srgb, var(--color-neutral-500) 40%, transparent)}}.dark{--color-background-full:var(--color-neutral-925);--color-background-primary-default:var(--color-neutral-800);--color-background-inner-default:#26262699}@supports (color:color-mix(in lab, red, red)){.dark{--color-background-inner-default:color-mix(in srgb, var(--color-neutral-800) 60%, transparent)}}.dark{--color-background-primary-hover:#40404099}@supports (color:color-mix(in lab, red, red)){.dark{--color-background-primary-hover:color-mix(in srgb, var(--color-neutral-700) 60%, transparent)}}.dark{--color-background-primary-active:var(--color-neutral-800);--color-background-primary-disabled:var(--color-neutral-800);--color-input-disabled-background:#2626264d}@supports (color:color-mix(in lab, red, red)){.dark{--color-input-disabled-background:color-mix(in srgb, var(--color-neutral-800) 30%, transparent)}}.dark{--color-switch-off-chip-start:var(--color-background-tertiary-default);--color-switch-off-chip-end:var(--color-background-tertiary-default);--color-background-secondary-default:var(--color-neutral-900);--color-background-secondary-hover:var(--color-neutral-800);--color-background-tertiary-default:var(--color-neutral-800);--color-background-tertiary-hover:var(--color-neutral-700);--color-background-tertiary-error:#46080999}@supports (color:color-mix(in lab, red, red)){.dark{--color-background-tertiary-error:color-mix(in srgb, var(--color-red-950) 60%, transparent)}}.dark{--color-background-quaternary-default:var(--color-neutral-700);--color-background-quaternary-hover:var(--color-neutral-600);--color-background-recent-hire-role:#17171799}@supports (color:color-mix(in lab, red, red)){.dark{--color-background-recent-hire-role:color-mix(in srgb, var(--color-neutral-900) 60%, transparent)}}.dark{--color-avatar-neutral-background:var(--color-background-primary-default);--color-file-upload-icon-background:var(--color-neutral-600);--color-file-upload-icon-foreground:var(--color-neutral-400);--color-file-upload-icon-foreground-hover:var(--color-neutral-300);--color-stat-card-icon-background:var(--color-neutral-800);--color-segmented-control-background:var(--color-neutral-925);--color-segmented-control-selected-background:var(--color-neutral-800);--color-theme-toggle-sidebar-background:var(--color-neutral-800);--color-theme-toggle-sidebar-selected-background:var(--color-neutral-700);--color-ai-chat-composer-add-background:var(--color-neutral-700);--color-ai-chat-composer-add-hover-background:var(--color-neutral-600);--color-composer-panel-tab-background:#40404080}@supports (color:color-mix(in lab, red, red)){.dark{--color-composer-panel-tab-background:color-mix(in srgb, var(--color-neutral-700) 50%, transparent)}}.dark{--color-composer-panel-add-background:var(--color-neutral-700);--color-composer-panel-add-hover-background:var(--color-neutral-600);--color-composer-panel-tile-border:#ffffff24}@supports (color:color-mix(in lab, red, red)){.dark{--color-composer-panel-tile-border:color-mix(in srgb, var(--color-white) 14%, transparent)}}.dark{--color-composer-panel-rail-background:#17171780}@supports (color:color-mix(in lab, red, red)){.dark{--color-composer-panel-rail-background:color-mix(in srgb, var(--color-neutral-900) 50%, transparent)}}.dark{--color-questionnaire-key-background:var(--color-neutral-700);--color-questionnaire-key-hover-background:var(--color-neutral-600);--color-agent-progress-ring:#ffffff80}@supports (color:color-mix(in lab, red, red)){.dark{--color-agent-progress-ring:color-mix(in srgb, var(--color-white) 50%, transparent)}}.dark{--color-button-ghost-background:var(--color-accent-900);--color-button-ghost-hover:var(--color-accent-800);--color-button-ghost-active:var(--color-accent-700);--color-button-ghost-disabled:var(--color-neutral-800);--color-button-ghost-foreground:var(--color-accent-300);--color-button-ghost-disabled-foreground:var(--color-neutral-600);--color-dropdown-item-hover-background:#40404099}@supports (color:color-mix(in lab, red, red)){.dark{--color-dropdown-item-hover-background:color-mix(in srgb, var(--color-neutral-700) 60%, transparent)}}.dark{--color-kbd-background:var(--color-neutral-700);--color-kbd-foreground:var(--color-neutral-400);--color-docs-file-chip-background:#3c036680}@supports (color:color-mix(in lab, red, red)){.dark{--color-docs-file-chip-background:color-mix(in srgb, var(--color-purple-950) 50%, transparent)}}.dark{--color-docs-file-chip-border:var(--color-purple-800);--color-docs-file-chip-foreground:var(--color-purple-400);--color-docs-code-background:var(--color-background-full);--color-docs-install-rail:#26262699}@supports (color:color-mix(in lab, red, red)){.dark{--color-docs-install-rail:color-mix(in srgb, var(--color-neutral-800) 60%, transparent)}}.dark{--shadow-2xs:0 1px #00000029;--shadow-xs:0 1px 2px 0 #0000002e;--shadow-sm:0 1px 2px 0 #0000001f, 0 1px 3px 0 #00000029;--shadow-md:0 2px 4px -1px #0000001f, 0 4px 6px -1px #0000002e;--shadow-lg:0 4px 6px -2px #0000001a, 0 10px 15px -3px #0000002e;--shadow-xl:0 10px 10px -5px #00000014, 0 20px 25px -5px #0003;--shadow-card:0 1px 1px 0 #00000024;--shadow-dropdown:0 1px 1px 0 #00000024, 0 4px 4px 0 #0000001a;--shadow-sidebar:0 1px 0 0 #0000001a, 0 1px 12px 0 #00000029, 0 0 1px 0 #0000006b;--shadow-waitlist:0 0 6px 0 #0000001f, 0 0 64px 0 #00000038, 0 0 1px 0 #0000006b, 0 1px 12px 0 #00000024, 0 1px 0 0 #00000014;--color-badge-neutral-background:var(--color-neutral-800);--color-team-menu-count-background:var(--color-neutral-700);--color-team-menu-count-foreground:var(--color-neutral-400);--color-badge-new-background:var(--color-accent-950);--color-badge-new-text:var(--color-accent-400);--color-tab-count-selected-background:#193cb899}@supports (color:color-mix(in lab, red, red)){.dark{--color-tab-count-selected-background:color-mix(in srgb, var(--color-accent-800) 60%, transparent)}}.dark{--color-notification-information-background:#193cb880}@supports (color:color-mix(in lab, red, red)){.dark{--color-notification-information-background:color-mix(in srgb, var(--color-blue-800) 50%, transparent)}}.dark{--color-notification-information-foreground:var(--color-blue-300);--color-notification-success-background:#3d630080}@supports (color:color-mix(in lab, red, red)){.dark{--color-notification-success-background:color-mix(in srgb, var(--color-lime-800) 50%, transparent)}}.dark{--color-notification-success-foreground:var(--color-lime-300);--color-notification-error-background:#a3003780}@supports (color:color-mix(in lab, red, red)){.dark{--color-notification-error-background:color-mix(in srgb, var(--color-rose-800) 50%, transparent)}}.dark{--color-notification-error-foreground:var(--color-rose-300);--color-notification-center-background:var(--color-neutral-900);--color-border-button-default:var(--color-neutral-700);--color-border-button-hover:var(--color-neutral-500);--color-border-button-active:var(--color-neutral-600);--color-border-button-white:var(--color-zinc-800);--color-border-error-default:var(--color-red-400);--color-border-checkbox-default:var(--color-neutral-700);--color-border-checkbox-hover:var(--color-neutral-500);--color-border-checkbox-active:var(--color-neutral-500);--color-border-component-detail-container:var(--color-neutral-800);--color-border-ai-profile-card:var(--color-neutral-800);--color-border-table:var(--color-neutral-800);--color-border-button-group:#52525299}@supports (color:color-mix(in lab, red, red)){.dark{--color-border-button-group:color-mix(in srgb, var(--color-neutral-600) 60%, transparent)}}.dark{--color-border-sidebar-profile-hover:var(--color-neutral-600);--color-separator-border:var(--color-neutral-800);--color-separator-border-strong:#40404099}@supports (color:color-mix(in lab, red, red)){.dark{--color-separator-border-strong:color-mix(in srgb, var(--color-neutral-700) 60%, transparent)}}.dark{--color-status-lime-background:#192e0399}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-lime-background:color-mix(in srgb, var(--color-lime-950) 60%, transparent)}}.dark{--color-status-lime-text:var(--color-lime-500);--color-status-yellow-background:#43200499}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-yellow-background:color-mix(in srgb, var(--color-yellow-950) 60%, transparent)}}.dark{--color-status-yellow-text:var(--color-yellow-500);--color-status-rose-background:#4d021899}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-rose-background:color-mix(in srgb, var(--color-rose-950) 60%, transparent)}}.dark{--color-status-rose-text:var(--color-rose-500);--color-status-cyan-background:#05334599}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-cyan-background:color-mix(in srgb, var(--color-cyan-950) 60%, transparent)}}.dark{--color-status-cyan-text:var(--color-cyan-400);--color-status-blue-background:#16245699}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-blue-background:color-mix(in srgb, var(--color-blue-950) 60%, transparent)}}.dark{--color-status-blue-text:var(--color-blue-300);--color-status-purple-background:#59168b80}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-purple-background:color-mix(in srgb, var(--color-purple-900) 50%, transparent)}}.dark{--color-status-purple-text:var(--color-purple-300);--color-status-dot-green-halo:#01663066}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-dot-green-halo:color-mix(in srgb, var(--color-green-800) 40%, transparent)}}.dark{--color-status-dot-yellow-halo:#874b0066}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-dot-yellow-halo:color-mix(in srgb, var(--color-yellow-800) 40%, transparent)}}.dark{--color-status-dot-indigo-halo:#372aac66}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-dot-indigo-halo:color-mix(in srgb, var(--color-indigo-800) 40%, transparent)}}.dark{--color-date-range-background:var(--color-accent-950);--color-date-range-edge-background:var(--color-accent-800);--color-pill-tab-blue-selected-background:#16245699}@supports (color:color-mix(in lab, red, red)){.dark{--color-pill-tab-blue-selected-background:color-mix(in srgb, var(--color-accent-950) 60%, transparent)}}.dark{--color-pill-tab-blue-hover-background:var(--color-neutral-800);--color-calendar-event-blue-background:var(--color-blue-950);--color-calendar-event-blue-title:var(--color-blue-300);--color-calendar-event-blue-time:var(--color-blue-300);--color-calendar-event-pink-background:var(--color-pink-950);--color-calendar-event-pink-title:var(--color-pink-300);--color-calendar-event-pink-time:var(--color-pink-300);--color-calendar-event-purple-background:var(--color-purple-950);--color-calendar-event-purple-title:var(--color-purple-300);--color-calendar-event-purple-time:var(--color-purple-300);--color-calendar-event-lime-background:var(--color-lime-950);--color-calendar-event-lime-title:var(--color-lime-300);--color-calendar-event-lime-time:var(--color-lime-300);--color-calendar-event-emerald-background:var(--color-emerald-950);--color-calendar-event-emerald-title:var(--color-emerald-300);--color-calendar-event-emerald-time:var(--color-emerald-300);--gradient-button-primary-disabled:linear-gradient(180deg, var(--color-neutral-700) 0%, var(--color-neutral-800) 100%);--gradient-button-danger-disabled:linear-gradient(180deg, var(--color-red-900) 0%, var(--color-red-950) 100%);--color-chart-track:var(--color-neutral-800);--color-chart-cursor:var(--color-neutral-700);--color-chart-neutral:var(--color-neutral-800);--color-chart-agents-bar:var(--color-purple-500);--color-chart-agents-bar-active:var(--color-purple-600)}.dark[data-accent]{--color-badge-new-background:#16245680}@supports (color:color-mix(in lab, red, red)){.dark[data-accent]{--color-badge-new-background:color-mix(in srgb, var(--color-accent-950) 50%, transparent)}}.peach-react [data-media-sections]{flex-direction:column;gap:16px;min-width:0;display:flex}.peach-react [data-media-grid]{grid-template-columns:repeat(auto-fill, minmax(var(--tile), 1fr));gap:24px 16px;display:grid}.peach-react [data-media-grid]>[data-media-card]:not([data-variant=resource],[data-variant=junk]){align-self:start}body[data-surface=\/trash] .peach-react [data-media-grid]>[data-media-card]{align-self:stretch}.peach-react [data-media-next-row]{gap:11px;display:flex}body[data-surface=\/trash] .peach-react [data-media-grid]{grid-template-columns:repeat(auto-fill,minmax(min(100%,280px),1fr));gap:20px}.peach-react [data-media-card]{font:var(--board-body);border-radius:var(--surface-radius);cursor:pointer;transform-origin:50%;background:0 0;flex-direction:column;gap:8px;min-width:0;transition:transform .18s,filter .18s,background-color .15s,box-shadow .15s;display:flex;position:relative;overflow:visible}.peach-react [data-media-card][data-variant=short]{flex:none;width:214px}.peach-react [data-media-card][data-variant=next]{flex:none;width:216px}body[data-density=dense] .peach-react [data-media-card][data-variant=short]{width:107px}.peach-react [data-media-card]:not([data-variant=resource],[data-variant=junk]):is(:hover,:focus-within){background:var(--hover);box-shadow:0 0 0 8px var(--hover)}.peach-react [data-media-card]:not([data-variant=resource],[data-variant=junk]):hover [data-media-pic]{filter:saturate(.9)brightness(.94)}.peach-react [data-select-mode] [data-media-card]{cursor:default}.peach-react [data-select-mode] :is([data-media-open],[data-media-preview],[data-media-later],[data-media-seek]),.peach-react [data-select-mode] :is([data-media-later],[data-media-seek]) button{pointer-events:none!important}@media (hover:hover) and (pointer:fine){.peach-react [data-media-card][data-longhover]{z-index:8;filter:brightness(1.04);transform:translateY(-7px)scale(1.065)}}body[data-surface=\/trash] .peach-react [data-media-card]{border:1px solid var(--line-soft);background:var(--color-background-primary-default);gap:0;overflow:hidden}body[data-surface=\/trash] .peach-react [data-media-card] [data-media-pic]{border-radius: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 [data-media-pic]{aspect-ratio:var(--card-ratio,16 / 9);border-radius:var(--surface-radius);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-pic]:has(>[data-media-art=cover]){background:0 0}.peach-react [data-media-stack] [data-media-pic]:has(>[data-media-art=cover]){background:var(--page)}.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:inherit;pointer-events:none;position:absolute;inset:0}.peach-react [data-media-art]{display:block;position:absolute;inset:0}.peach-react [data-media-nopic]{color:var(--muted);font-size:var(--fs-xs);letter-spacing:.12em;text-transform:uppercase}.peach-react [data-media-pic]>:is(video,img){object-fit:contain;background:#000;width:100%;height:100%;display:block;position:absolute;inset:0}.peach-react [data-media-pic]>video{opacity:0;transition:opacity .2s}.peach-react [data-media-pic]>video[data-playing]{opacity:1}.peach-react [data-media-stack]{isolation:isolate;border-radius:var(--surface-radius);position:relative}.peach-react [data-media-stack]:before,.peach-react [data-media-stack]:after{content:"";z-index:0;border:1px solid var(--border-15);border-radius:inherit;background:var(--surface);position:absolute}@supports (color:color-mix(in lab, red, red)){.peach-react [data-media-stack]:before,.peach-react [data-media-stack]:after{background:color-mix(in srgb, var(--surface) 84%, var(--video-glow,#15202a))}}.peach-react [data-media-stack]:before{opacity:.54;inset:0 12px 8px;transform:translateY(-7px)}.peach-react [data-media-stack]:after{opacity:.78;inset:0 6px 4px;transform:translateY(-4px)}.peach-react [data-media-stack] [data-media-pic]{z-index:1}.peach-react [data-media-badge]{z-index:2;background:var(--glass-fill);min-height:24px;box-shadow:inset 0 1px 0 var(--glass-rim), var(--glass-shadow);-webkit-backdrop-filter:blur(16px)saturate(145%);backdrop-filter:blur(16px)saturate(145%);color:var(--color-text-secondary);font:var(--board-caption);white-space:nowrap;border-radius:10px;justify-content:center;align-items:center;gap:4px;padding:4px;transition:opacity .15s;display:flex;position:absolute;top:6px;left:6px}.peach-react [data-media-badge]>span{background:0 0;width:20px;height:20px;padding:0}.peach-react [data-media-duration]{z-index:2;border-radius:var(--badge-radius);color:#f2eadf;font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:var(--fs-xs);font-variant-numeric:tabular-nums;background:#000000b3;padding:2px 6px;transition:opacity .15s;position:absolute;bottom:6px;right:6px}@media (hover:hover) and (pointer:fine){.peach-react [data-media-card]:hover :is([data-media-badge],[data-media-duration]){opacity:0}}@media (prefers-reduced-transparency:reduce),(prefers-contrast:more){.peach-react [data-media-badge]{background:var(--ground);-webkit-backdrop-filter:none}}.peach-react [data-media-group]{z-index:6;border-radius:var(--control-radius);color:#fff;min-height:27px;font-size:var(--fs-xs);-webkit-backdrop-filter:blur(10px);background:#0c0808b8;padding:5px 9px;font-weight:600;position:absolute;top:9px;right:9px}.peach-react [data-media-scrub]{z-index:2;background:#00000073;height:3px;position:absolute;bottom:0;left:0;right:0}.peach-react [data-media-scrub]>i{width:var(--media-fill);background:var(--loupe);height:100%;display:block}.peach-react [data-media-progress]{z-index:5;background:#ffffff4d;height:4px;position:absolute;bottom:0;left:0;right:0}.peach-react [data-media-progress]>i{width:var(--media-fill);background:var(--tungsten);height:100%;display:block}.peach-react [data-media-check]{z-index:8;color:#ffffffb8;-webkit-backdrop-filter:saturate(1.8)blur(12px);background:#00000057;border:1px solid #ffffff47;border-radius:50%;place-items:center;width:26px;height:26px;display:none;position:absolute;top:10px;right:10px}.peach-react :is([data-select-mode] [data-media-check],[data-media-card][data-selected] [data-media-check]){display:grid}.peach-react [data-media-card][data-selected] [data-media-check]{border-color:var(--on-media);background:var(--on-media);color:var(--on-media-ink);box-shadow:0 3px 12px #0008}.peach-react [data-media-trash-mark]{z-index:7;border-radius:var(--badge-radius);color:#ffb14a;height:28px;font-size:var(--fs-xs);-webkit-backdrop-filter:saturate(1.8)blur(12px);background:#00000094;border:1px solid #ffb14a66;align-items:center;gap:5px;padding:0 9px;font-weight:600;display:none;position:absolute;bottom:10px;left:10px}.peach-react [data-pending-delete] [data-media-trash-mark]{display:flex}.peach-react [data-pending-delete] :is([data-media-art]>img,[data-media-pic]>:is(video,img)){filter:grayscale(.9)brightness(.54);opacity:.68}.peach-react [data-pending-delete] [data-media-pic]:before{filter:blur(26px)grayscale(.9)brightness(.27);opacity:.68}.peach-react [data-pending-delete] [data-media-meta]{opacity:.58}.peach-react [data-pending-delete]:hover [data-media-meta]{opacity:.76}.peach-react [data-media-card] :is([data-media-check],[data-media-trash-mark],[data-media-later],[data-media-seek],[data-media-glyph],[data-media-kind-glyph],[data-media-resource-action]) svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round}.peach-react [data-media-check] svg{width:16px;height:16px}.peach-react [data-media-trash-mark] svg{width:14px;height:14px}.peach-react [data-media-preview]{z-index:4;color:#fff;cursor:pointer;opacity:0;pointer-events:none;-webkit-backdrop-filter:saturate(180%)blur(12px);background:#0000003d;border:0;border-radius:50%;place-items:center;width:36px;height:36px;padding:0;transition:transform .15s,opacity .15s;display:grid;position:absolute;top:12px;right:12px}.peach-react [data-previewing] [data-media-preview]{opacity:1;pointer-events:auto}.peach-react [data-longhover] [data-media-preview]{opacity:0;pointer-events:none}.peach-react [data-media-preview]:hover{transform:scale(1.2)}.peach-react [data-media-preview]>svg:first-child{width:36px;height:36px;position:absolute;inset:0;transform:rotate(-90deg)}.peach-react [data-media-preview] circle{fill:none;stroke-width:2px}.peach-react [data-media-preview] circle:first-child{stroke:#ffffff2e}.peach-react [data-media-preview] circle:last-child{stroke:#fff;stroke-linecap:round;stroke-dasharray:106.814;stroke-dashoffset:106.814px}.peach-react [data-previewing] [data-media-preview] circle:last-child{animation:preview-arc var(--hover-delay) linear forwards}.peach-react [data-longhover] [data-media-preview] circle:last-child{animation:none}@keyframes preview-arc{to{stroke-dashoffset:0}}.peach-react [data-media-ring-play]{fill:none;stroke:#fff;stroke-width:2px;width:14px;height:14px;margin-left:1px;position:relative}.peach-react :is([data-media-later],[data-media-seek]){z-index:4;opacity:0;pointer-events:none;align-items:center;gap:14px;transition:opacity .15s;display:flex;position:absolute}.peach-react [data-media-seek]{inset:50% auto auto 50%;transform:translate(-50%,-50%)}.peach-react [data-media-later]{bottom:12px;right:12px}.peach-react :is([data-longhover] [data-media-seek],[data-media-card]:hover [data-media-later]){opacity:1}.peach-react :is([data-media-later],[data-media-seek]) button{color:#fff;cursor:pointer;pointer-events:none;-webkit-backdrop-filter:saturate(180%)blur(12px);background:#0000003d;border:1px solid #ffffff1f;border-radius:50%;justify-content:center;align-items:center;width:58px;height:58px;transition:transform .15s,background .15s;display:flex;position:relative}.peach-react :is([data-longhover] [data-media-seek],[data-media-card]:hover [data-media-later]) button{pointer-events:auto}.peach-react :is([data-media-later],[data-media-seek]) button:hover{background:#00000057;transform:scale(1.12)}.peach-react [data-media-seek] svg{width:34px;height:34px}.peach-react [data-media-later] button{width:36px;height:36px;padding:0}.peach-react [data-media-later] svg{width:21px;height:21px}.peach-react [data-media-later] button[aria-pressed=true]{background:var(--ink);color:var(--ground)}.peach-react [data-media-meta]{gap:10px;min-width:0;display:flex}.peach-react [data-media-avatar]{background:var(--sunk);width:38px;height:38px;color:inherit;cursor:pointer;border:0;border-radius:50%;flex:none;margin-top:2px;padding:0;position:relative;overflow:hidden}.peach-react button[data-media-avatar]:hover{box-shadow:0 0 0 2px var(--ink-2)}.peach-react [data-media-avatar]>img{object-fit:cover;width:100%;max-width:none;height:100%;max-height:none;display:block;position:absolute;inset:0}.peach-react [data-media-avatar]>span:first-child{color:var(--muted);font-family:Bahnschrift,Microsoft YaHei UI,Microsoft YaHei,PingFang SC,sans-serif;font-size:var(--fs-sm);justify-content:center;align-items:center;display:flex;position:absolute;inset:0}.peach-react [data-media-avatars]{--lift-motion:calc(var(--spring-press-ms) * 1ms) var(--spring-press);flex:none;max-width:calc(100% - 48px);margin:-4px -2px -2px;padding:6px 2px 2px 5px;display:flex}.peach-react [data-media-avatars]:has(:is(:hover,:focus-visible)){--lift-motion:var(--board-motion)}.peach-react [data-media-avatars]>[data-media-avatar]{box-shadow:0 0 0 2px var(--ground);transform:translate(var(--lift-x,0), var(--lift-y,0)) scale(var(--lift-scale,1));transition:transform var(--lift-motion,var(--board-motion));margin-top:0}.peach-react [data-media-avatars]>*+*{margin-left:-22px}.peach-react [data-media-avatars]>:first-child{z-index:5}.peach-react [data-media-avatars]>:nth-child(2){z-index:4}.peach-react [data-media-avatars]>:nth-child(3){z-index:3}.peach-react [data-media-avatars]>:nth-child(4){z-index:2}.peach-react [data-media-avatars]>:nth-child(5){z-index:1}.peach-react [data-media-avatars]>:is(:hover,:focus-visible){z-index:6;box-shadow:0 0 0 2px var(--ink-2);--lift-y:-4px;--lift-scale:1.05}.peach-react [data-media-avatars]>:is(:hover,:focus-visible)+*{--lift-y:-1.8px;--lift-x:10px}.peach-react [data-media-avatars]>:is(:hover,:focus-visible)+*+*{--lift-y:-.81px;--lift-x:20px}.peach-react [data-media-avatars]>:is(:hover,:focus-visible)+*+*+*{--lift-x:30px}.peach-react [data-media-avatars]>:is(:hover,:focus-visible)+*+*+*+*{--lift-x:40px}.peach-react [data-variant=next] [data-media-avatars]>:nth-child(n+3){display:none}.peach-react [data-media-text]{flex-direction:column;flex:1;gap:3px;min-width:0;display:flex}.peach-react [data-media-title]{width:100%;min-height:2.7em;max-height:2.7em;color:inherit;font-size:var(--fs-md);text-align:left;word-break:break-all;cursor:pointer;-webkit-line-clamp:2;background:0 0;border:0;-webkit-box-orient:vertical;padding:0;line-height:1.35;display:-webkit-box;overflow:hidden}.peach-react span[data-media-title]{cursor:default}.peach-react [data-media-byline]{color:var(--muted);font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:var(--fs-xs);font-variant-numeric:tabular-nums;flex-wrap:wrap;align-items:center;gap:8px;display:flex}.peach-react [data-media-who]{min-width:0;max-width:100%;color:var(--ink-2);text-overflow:ellipsis;white-space:nowrap;vertical-align:bottom;background:0 0;border:0;padding:0;display:inline-block;overflow:hidden}.peach-react button[data-media-who]{cursor:pointer}.peach-react span[data-media-who]{cursor:default}.peach-react [data-media-who-more]{color:var(--muted)}.peach-react [data-media-flags]{gap:3px;margin-left:auto;display:flex}.peach-react [data-media-flags]>i{width:6px;height:6px;display:block}.peach-react [data-flag=dislike]{background:var(--drop)}.peach-react [data-flag=seen]{background:var(--muted)}.peach-react [data-flag=dispose]{background:var(--meter)}.peach-react [data-flag=later]{background:var(--ink)}.peach-react [data-variant=next] [data-media-why]{color:var(--loupe)}.peach-react [data-variant=next] [data-media-byline]{flex-wrap:nowrap;overflow:hidden}.peach-react [data-variant=next] [data-media-who]{flex:0 auto;max-width:55%}.peach-react [data-variant=next] [data-media-who-more]{white-space:nowrap;flex:none}.peach-react [data-variant=next] [data-media-why]{text-overflow:ellipsis;white-space:nowrap;flex:1 1 0;min-width:0;overflow:hidden}.peach-react [data-variant=next] :is([data-media-size],[data-media-watch-count]){display:none}.peach-react [data-media-tags]{height:calc(var(--fs-xs) * 1.45 + var(--tag-pad-y) * 2 + 2px + 8px);pointer-events:none;flex-wrap:wrap;align-content:flex-start;gap:5px;min-width:0;margin:-4px;padding:4px;display:flex;overflow:hidden}.peach-react [data-media-tags]>*{pointer-events:auto}.peach-react [data-media-tag]{max-width:100%;padding:var(--tag-pad-y) var(--tag-pad-x);border:1px solid var(--line);border-radius:var(--tag-radius);background:var(--tag-fill);color:var(--ink-2);font-size:var(--fs-xs);text-overflow:ellipsis;white-space:nowrap;cursor:pointer;line-height:1.45;overflow:hidden}.peach-react [data-media-tag]:hover{background:var(--hover);color:var(--ink)}.peach-react [data-media-tag]:disabled{cursor:not-allowed}@media (width<=760px){.peach-react [data-media-tags]>:nth-child(n+3){display:none}}body[data-density=dense] .peach-react [data-media-grid]>[data-media-card]{padding-top:7px}body[data-density=dense] .peach-react [data-media-card] [data-media-meta]{--card-meta-block:calc(2.7em + 36px)}body[data-density=dense] .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] .peach-react [data-media-card] [data-media-text]>:not([data-media-tags]){pointer-events:auto}body[data-density=dense] .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] .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] .peach-react [data-media-card] [data-media-who]{flex:0 auto}body[data-density=dense] .peach-react [data-media-card] :is([data-media-who-more],[data-media-size]){white-space:nowrap;flex:none}body[data-density=dense] .peach-react [data-media-card] :is([data-media-why],[data-media-watch-count]){display:none}body[data-density=dense] .peach-react [data-media-card] [data-media-tags]{flex-wrap:nowrap;align-items:flex-start;height:38px;overflow:hidden}body[data-density=dense] .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-cover]:has(>[data-media-art=cover]){background:var(--page)}.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]{min-width:0;position:relative}.peach-react [data-junk-filters]{scrollbar-width:none;border-radius:var(--surface-radius);background:var(--color-background-primary-default);min-width:0;color:var(--ink-2);font-size:var(--fs-xs);align-items:center;gap:8px;padding:12px;display:flex;overflow-x:auto}.peach-react [data-junk-filters]::-webkit-scrollbar{display:none}html:not(.dark) .peach-react [data-junk-filters]{background:var(--color-background-secondary-default)}.peach-react [data-junk-filters] a{box-sizing:border-box;border-radius:var(--control-radius);height:32px;color:var(--muted);font-size:var(--fs-sm);white-space:nowrap;cursor:pointer;flex:none;align-items:center;gap:6px;padding:0 12px;font-weight:400;text-decoration:none;display:inline-flex}.peach-react [data-junk-filters] a:hover{color:var(--ink)}.peach-react [data-junk-filters] a[aria-current=page]{background:var(--picked);color:var(--ink)}.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(--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-junk-divider]{background:var(--line-soft);flex:none;width:1px;height:20px;margin:0 6px}.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] a{height:44px}.peach-react [data-junk-actions] button{min-height:44px}.peach-react [data-junk-actions] button[data-junk-action=dispose]{padding-inline:7px}}.peach-react [data-entity-card]{background:var(--ground);min-width:0;max-width:100%;color:var(--ink);font:var(--board-body);letter-spacing:0;border-radius:18px;flex-direction:column;margin:0 0 22px;display:flex;overflow:hidden}.peach-react [data-entity-card] :is(a,button,[tabindex]):focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-entity-profile]{--portrait-size:120px;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:20px;min-width:0;padding:20px;display:grid}.peach-react [data-entity-profile]:has(>[data-entity-identity]>[data-entity-links]):has(>[data-entity-identity]>[data-entry-marks]){--portrait-size:160px}#index[data-hero-wide] .peach-react [data-entity-profile]:has(>[data-entity-facts]){grid-template-columns:auto minmax(0,1fr) minmax(280px,360px)}.peach-react [data-entity-portrait-wrap]{align-self:stretch;align-items:center;width:max-content;max-width:100%;display:flex;position:relative}.peach-react [data-entity-portrait-wrap]>[data-avatar-picker]{top:calc((100% - var(--portrait-size)) / 2);height:var(--portrait-size);pointer-events:none;position:absolute;left:0;right:0}.peach-react [data-entity-portrait-wrap]>[data-avatar-picker]>*{pointer-events:auto}.peach-react [data-entity-portrait]{width:auto;max-width:100%;height:var(--portrait-size);aspect-ratio:1;background:var(--overlay-5);color:var(--muted);font-size:var(--fs-4xl);border-radius:50%;place-items:center;display:grid;position:relative;overflow:hidden}.peach-react [data-entity-portrait=square]{border-radius:var(--floating-radius)}.peach-react [data-entity-portrait]>span{grid-area:1/1}.peach-react [data-entity-portrait]:has(img)>span{display:none}.peach-react [data-entity-portrait] img{z-index:1;object-fit:cover;width:100%;max-width:none;height:100%;max-height:none;display:block;position:absolute;inset:0}.peach-react [data-entity-portrait]:is([data-fit-native=mark],[data-native-small=true]) img{width:var(--markw,100%);height:var(--markh,100%);object-fit:contain;max-width:100%;max-height:100%;margin:auto}.peach-react [data-entity-identity]{min-width:0;max-width:100%}.peach-react [data-entity-title]{align-items:center;gap:8px;min-width:0;margin:0 0 9px;display:flex}.peach-react [data-entity-title] h2{letter-spacing:0;overflow-wrap:anywhere;margin:0;font-size:24px;font-weight:500;line-height:32px}.peach-react [data-namepick-toggle]{border:1px solid var(--border-10);border-radius:var(--control-radius);background:var(--overlay-5);width:32px;height:32px;color:var(--muted);cursor:pointer;flex:none;place-items:center;padding:0;display:grid}.peach-react [data-namepick-toggle][data-hovered]{background:var(--hover);color:var(--ink)}.peach-react [data-namepick-toggle] svg,.peach-react [data-namepick-menu] svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:16px;height:16px}.peach-react [data-entity-alias]{color:var(--muted);overflow-wrap:anywhere;margin-bottom:0;font-size:14px;line-height:20px}.peach-react [data-entity-alias] b{color:var(--ink);font-weight:inherit}.peach-react [data-entity-alias=meta]{flex-wrap:wrap;align-items:center;gap:4px 18px;display:flex}.peach-react [data-meta-item]{align-items:center;gap:6px;min-width:0;display:inline-flex}.peach-react [data-meta-item=names]{flex-wrap:wrap}.peach-react [data-meta-item]>svg,.peach-react [data-entity-facts] dt svg{width:16px;height:16px;color:var(--muted);fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none}.peach-react [data-alias-names]>span+span:before,.peach-react [data-hero-pop] dd>span+span:before{color:var(--muted);content:"·";margin:0 6px}.peach-react [data-entity-alias] a{color:var(--tungsten);cursor:pointer;text-decoration:none}.peach-react [data-entity-alias] a:hover{color:var(--ink)}.peach-react [data-hero-more]{border:1px solid var(--line);border-radius:var(--pill-radius);height:22px;color:var(--ink);font:inherit;font-size:var(--fs-xs);cursor:pointer;background:0 0;margin-left:4px;padding:0 8px}.peach-react [data-hero-more]:is(:hover,[aria-expanded=true]){background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-hero-more]:is(:hover,[aria-expanded=true]){background:color-mix(in srgb, var(--ink) 8%, var(--ground))}}.peach-react [data-hero-more=fact]{margin-left:0}.peach-react [data-hero-pop]{z-index:var(--layer-popover);box-sizing:border-box;overscroll-behavior:contain;border:1px solid var(--line);background:var(--surface);width:max-content;max-width:min(440px,100vw - 16px);max-height:calc(100dvh - 16px);box-shadow:var(--elevation-dropdown);color:var(--ink);font-size:var(--fs-sm);text-align:left;transform-origin:0 0;border-radius:16px;gap:8px;margin:0;padding:12px 14px;line-height:1.5;animation:.15s ease-out backwards board-menu-in;display:grid;position:fixed;inset:auto;overflow:hidden auto}.peach-react [data-hero-pop]:not(:popover-open){display:none}.peach-react [data-hero-pop-head]{margin:0;font-weight:500}.peach-react [data-hero-pop] dl{grid-template-columns:auto minmax(0,1fr);gap:6px 14px;margin:0;display:grid}.peach-react [data-hero-pop] dt{color:var(--muted);white-space:nowrap}.peach-react [data-hero-pop] dd{overflow-wrap:anywhere;min-width:0;margin:0}.peach-react [data-hero-pop] dd[data-wide]{grid-column:1/-1}.peach-react [data-hero-pop] small{color:var(--muted);font-size:inherit;margin-left:4px}.peach-react [data-entity-facts]{border-left:1px solid var(--line-soft);min-width:0;font-size:var(--fs-sm);text-align:left;grid-template-columns:auto minmax(0,1fr);align-content:center;place-self:stretch stretch;gap:10px 16px;margin:0;padding:2px 0 2px 24px;line-height:22px;display:grid}#index:not([data-hero-wide]) .peach-react [data-entity-facts]{border-top:1px solid var(--line-soft);border-left:0;grid-column:1/-1;padding:14px 0 0}.peach-react [data-entity-facts] dt{color:var(--muted);white-space:nowrap;align-self:start;align-items:center;gap:6px;display:flex}.peach-react [data-entity-facts] dd{min-width:0;color:var(--ink);margin:0}.peach-react [data-entity-facts] :is([data-fact-tone=num],dd[data-fact=num]){font-variant-numeric:tabular-nums}.peach-react [data-entity-facts] [data-fact-tone=sub]{color:var(--muted)}.peach-react [data-entity-facts] dd[data-fact=clip]{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.peach-react :is(dd[data-fact=tags],[data-fact-tags]){flex-wrap:wrap;gap:6px;display:flex}.peach-react [data-fact-tag]{padding:0 var(--tag-pad-x);border:1px solid var(--line);border-radius:var(--tag-radius);background:var(--tag-fill);color:var(--ink-2);font-size:var(--fs-xs);white-space:nowrap;line-height:20px}.peach-react [data-entity-links]{flex-wrap:wrap;gap:8px;max-width:100%;margin-top:14px;display:flex}.peach-react [data-entity-card] [data-entity-links]>:is(a,span)[data-link]{box-sizing:border-box;border:1px solid var(--line);min-width:0;max-width:100%;height:36px;min-height:0;box-shadow:none;color:var(--ink);background:0 0;border-radius:10px;align-items:center;gap:8px;padding:0 12px 0 8px;font-size:13px;font-weight:400;text-decoration:none;display:inline-flex;overflow:hidden}.peach-react [data-entity-card] [data-entity-links]>a[data-link]:hover{border-color:var(--line);background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-entity-card] [data-entity-links]>a[data-link]:hover{background:color-mix(in srgb, var(--ink) 8%, var(--ground))}}.peach-react [data-entity-card] [data-entity-links]>a[data-link]:hover{text-decoration:none}.peach-react [data-entity-card] [data-entity-links]>:is([data-link=private],[data-link=gone]){color:var(--muted);border-style:dashed}.peach-react [data-entity-card] [data-entity-links]>:is([data-link=icon],[data-link=gone]){justify-content:center;gap:0;width:36px;padding:0}.peach-react [data-entity-card] [data-entity-links]>[data-link=url]{letter-spacing:.02em}.peach-react [data-link-label]{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.peach-react [data-link-icon]{border-radius:var(--badge-radius);background:0 0;flex:none;place-items:center;width:20px;height:20px;display:grid;position:relative;overflow:hidden}.peach-react [data-link-icon] svg{fill:none;stroke:currentColor;stroke-width:2px;width:16px;height:16px}.peach-react [data-link-icon] img{background:var(--sunk);object-fit:cover;width:100%;max-width:none;height:100%;position:absolute;inset:0}.peach-react [data-link-icon=brand] svg{stroke:none;filter:none;width:100%;height:100%}.peach-react [data-entry-marks]{flex-wrap:wrap;align-items:center;gap:32px;max-width:100%;margin-top:14px;display:flex}.peach-react [data-entity-card] [data-entry-marks]>a[data-entry-mark]{border-radius:var(--control-radius);min-width:0;min-height:20px;box-shadow:none;color:var(--ink);background:0 0;border:0;align-items:center;gap:6px;margin:-4px -8px;padding:4px 8px;font-weight:500;text-decoration:none;display:inline-flex}.peach-react [data-entity-card] [data-entry-marks]>a[data-entry-mark]:hover{background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-entity-card] [data-entry-marks]>a[data-entry-mark]:hover{background:color-mix(in srgb, var(--ink) 8%, var(--ground))}}.peach-react [data-entity-card] [data-entry-marks]>a[data-entry-mark]:hover{text-decoration:none}.peach-react [data-entry-mark] svg{width:auto;height:22px}.peach-react [data-entry-ordinal]{color:var(--muted);font-size:var(--fs-sm)}.peach-react [data-missav-mark]{font-family:Halant,Georgia,Times New Roman,serif;font-size:var(--fs-xl);letter-spacing:.01em;white-space:nowrap;font-weight:500;line-height:22px}.peach-react [data-missav-mark]>span:last-child{color:#fe628e}@keyframes entryfeed-breathe{0%,to{color:var(--ink)}50%{color:var(--feed-mark)}}.peach-react [data-entry-feed]{border-radius:var(--control-radius);color:var(--ink);cursor:pointer;align-items:center;margin:-4px;padding:4px;display:inline-flex;position:relative}.peach-react [data-entry-feed]:hover{background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-entry-feed]:hover{background:color-mix(in srgb, var(--ink) 8%, var(--ground))}}.peach-react [data-entry-feed]:has(:checked){color:var(--feed-mark)}.peach-react [data-entry-feed]:has(:focus-visible){outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-entry-feed]:has([aria-busy=true]){opacity:.6;cursor:progress}.peach-react [data-entry-feed]>svg{fill:none;stroke:currentColor;stroke-width:2px;width:22px;height:22px}.peach-react [data-entry-feed]:not(:has(:checked)){animation:2.4s ease-in-out infinite entryfeed-breathe}.peach-react [data-entry-feed]:not(:has(:checked)):is(:hover,:has(:focus-visible)){color:var(--feed-mark);animation:none}.peach-react [data-entity-feed]{clip-path:inset(50%);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.peach-react [data-entry-feed-tip]{z-index:var(--layer-tooltip);border-radius:var(--surface-radius);background:var(--ink);width:max-content;max-width:250px;color:var(--ground);font-size:var(--fs-sm);white-space:normal;pointer-events:none;border:0;margin:0;padding:6px 8px;font-weight:400;line-height:1.3;position:fixed;inset:auto;overflow:visible}.peach-react [data-entity-foot]{border-top:1px solid var(--line-soft);background:var(--board-card-foot);align-items:center;gap:16px;min-width:0;padding:12px 20px;display:flex}.peach-react [data-related-people]{scrollbar-width:none;overscroll-behavior-inline:contain;flex:1;align-items:center;gap:4px;min-width:0;margin-top:-3px;padding-top:3px;display:flex;overflow-x:auto}.peach-react [data-related-people]::-webkit-scrollbar{display:none}.peach-react [data-related-people]>button{width:76px;max-width:none;height:auto;color:var(--muted);font:var(--board-body-medium);text-align:center;white-space:nowrap;cursor:pointer;transition:transform var(--lift-motion,var(--board-motion)), scale calc(var(--spring-press-ms) * 1ms) var(--spring-press), background-color .2s ease-out, color .2s ease-out;background:0 0;border:0;border-radius:12px;flex-direction:column;flex:none;align-items:center;gap:6px;padding:6px 4px;display:flex}.peach-react [data-related-people]>button:hover{background:var(--hover);color:var(--ink)}.peach-react [data-related-people]>button:active{transition:scale 60ms ease-out;scale:.96}.peach-react [data-hero-ring]{background:var(--ink);border-radius:50%;flex:none;width:48px;height:48px;margin:0;display:block;position:relative;overflow:hidden}@supports (color:color-mix(in lab, red, red)){.peach-react [data-hero-ring]{background:color-mix(in srgb, var(--ink) 10%, var(--surface))}}.peach-react [data-hero-ring]{color:var(--muted);font:600 18px/24px var(--board-font)}.peach-react [data-hero-ring]>span{color:inherit;font:inherit;justify-content:center;align-items:center;display:flex;position:absolute;inset:0}.peach-react [data-hero-ring]>img{object-fit:cover;width:100%;max-width:none;height:100%;max-height:none;display:block;position:absolute;inset:0}.peach-react [data-hero-costar-name]{max-width:100%;color:inherit;font:var(--board-caption);text-align:center;text-overflow:ellipsis;display:block;overflow:hidden}.peach-react [data-namepick-menu]{width:min(260px,100vw - 16px);font:var(--board-body);letter-spacing:0}.peach-react [data-namepick-list],.peach-react [data-namepick-list]>section{outline:none;gap:2px;display:grid}.peach-react [data-namepick-menu] [role^=menuitem]{box-sizing:border-box;width:100%;min-height:36px;color:var(--muted);text-align:left;overflow-wrap:anywhere;cursor:pointer;background:0 0;border-radius:10px;outline:none;justify-content:flex-start;align-items:center;gap:8px;padding:8px;display:flex}.peach-react [data-namepick-menu] [role^=menuitem]:is([data-hovered],[data-focus-visible]){background:var(--hover);color:var(--ink)}.peach-react [data-namepick-menu] [role=menuitemradio] svg{visibility:hidden}.peach-react [data-namepick-menu] [aria-checked=true]{background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-namepick-menu] [aria-checked=true]{background:color-mix(in srgb, var(--ink) 10%, var(--surface))}}.peach-react [data-namepick-menu] [aria-checked=true]{color:var(--ink)}.peach-react [data-namepick-menu] [aria-checked=true] svg{visibility:visible}.peach-react [data-namepick-rule]{border:0;border-top:1px solid var(--border-10);height:0;margin:4px 1px}@media (width<=760px){.peach-react [data-entity-profile]{text-align:center;grid-template-columns:minmax(0,1fr);justify-items:center;gap:12px;padding:16px}.peach-react [data-entity-portrait-wrap]{--portrait-size:96px}.peach-react [data-entity-portrait]{width:96px}.peach-react [data-entity-identity]{width:100%}.peach-react [data-entity-foot]{padding:10px 16px}.peach-react [data-entity-title]{justify-content:center}.peach-react [data-namepick-toggle]{position:relative}.peach-react [data-namepick-toggle]:after{content:"";width:44px;height:44px;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.peach-react [data-namepick-menu] [role^=menuitem]{min-height:44px}.peach-react [data-entity-alias]{margin-bottom:10px}.peach-react :is([data-entity-alias=meta],[data-meta-item=names]){justify-content:center}.peach-react [data-entity-links]{scrollbar-width:none;overscroll-behavior-inline:contain;margin-top:9px;margin-bottom:-4px;flex-wrap:nowrap;justify-content:safe center;max-width:none;margin-inline:-16px;padding-block:4px;padding-inline:16px;scroll-padding-inline:16px;overflow:auto hidden}.peach-react [data-entity-links]::-webkit-scrollbar{display:none}.peach-react [data-entity-card] [data-entity-links]>*{flex:none}.peach-react [data-entry-marks]{justify-content:center}}.peach-react :is([data-entity-filter-glass],[data-catalog-frame]){z-index:60;font:var(--board-body);letter-spacing:normal}.peach-react :is([data-entity-filter-glass],[data-catalog-frame],[data-entity-combo]) :is(button,[role=radio]):focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-entity-press]{transition:scale calc(var(--spring-press-ms) * 1ms) var(--spring-press)}.peach-react [data-entity-press]:active{transition:scale 60ms ease-out;scale:.96}.peach-react [data-entity-sep]{background:var(--field-ring-hover);flex:none;width:1px;height:19px;margin:0 3px}.peach-react [data-entity-media]{flex:none;align-items:center;gap:2px;display:inline-flex}.peach-react [data-media-view]{z-index:1;width:30px;height:30px;color:var(--glass-text);border-radius:50%;flex:0 0 30px;place-items:center;display:grid;position:relative}@supports (color:color-mix(in lab, red, red)){.peach-react [data-media-view]{color:color-mix(in srgb, var(--glass-text) 60%, transparent)}}.peach-react [data-media-view]{cursor:pointer}.peach-react [data-media-view]:hover,.peach-react [data-media-view][aria-pressed=true]{color:var(--glass-text)}.peach-react [data-media-view] svg{fill:none;stroke:currentColor;stroke-width:2px;width:20px;height:20px;display:block}.peach-react [data-media-view][data-media-icon=image] svg{fill:currentColor;stroke:none}.peach-react [data-entity-scroll]{flex:1;align-items:center;gap:6px;min-width:0;display:flex;position:relative}.peach-react [data-entity-states]{flex:none;align-items:center;gap:6px;display:flex}.peach-react [data-entity-state]{z-index:1;height:30px;color:var(--glass-text);border-radius:999px;flex:none;justify-content:center;align-items:center;padding:0 10px;display:inline-flex;position:relative}@supports (color:color-mix(in lab, red, red)){.peach-react [data-entity-state]{color:color-mix(in srgb, var(--glass-text) 60%, transparent)}}.peach-react [data-entity-state]{white-space:nowrap;cursor:pointer;font-size:13px;line-height:20px}.peach-react [data-entity-state]:hover,.peach-react [data-entity-state][aria-pressed=true]{color:var(--glass-text)}.peach-react [data-entity-tags]{overscroll-behavior-inline:contain;scrollbar-width:none;flex-wrap:nowrap;flex:1;align-items:center;gap:6px;min-width:0;display:flex;overflow:auto hidden}.peach-react [data-entity-tags]::-webkit-scrollbar{display:none}.peach-react [data-entity-tag]{color:var(--glass-text);border-style:solid;gap:0}.peach-react [data-entity-tag][aria-pressed=false]:hover{border-color:var(--field-ring);color:var(--ink)}.peach-react [data-entity-tag][aria-pressed=true]{background:linear-gradient(180deg, var(--glass-sheen), transparent 62%), var(--glass-pick-fill);-webkit-backdrop-filter:var(--glass-pick);backdrop-filter:var(--glass-pick);box-shadow:inset 0 0 0 1px var(--glass-rim), var(--glass-pick-shadow);border-color:#0000}.peach-react [data-entity-tag] [data-count-badge]{color:var(--glass-text);margin-left:6px}@supports (color:color-mix(in lab, red, red)){.peach-react [data-entity-tag] [data-count-badge]{color:color-mix(in srgb, var(--glass-text) 55%, transparent)}}.peach-react [data-entity-tag] [data-count-badge]{font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:11px}.peach-react [data-entity-tag]:is(:hover,[aria-pressed=true]) [data-count-badge]{color:var(--glass-text)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-entity-tag]:is(:hover,[aria-pressed=true]) [data-count-badge]{color:color-mix(in srgb, var(--glass-text) 80%, transparent)}}@media (width<=760px){.peach-react [data-entity-scroll]{overscroll-behavior-inline:contain;scrollbar-width:none;overflow:auto hidden}.peach-react [data-entity-scroll]::-webkit-scrollbar{display:none}.peach-react [data-entity-scroll]>[data-entity-tags]{flex:none;min-width:auto;overflow:visible}}.peach-react [data-entity-readout]{color:var(--ink-2);letter-spacing:normal;white-space:nowrap;flex:none;margin:0;font-size:12px;font-weight:400;line-height:20px}.peach-react [data-entity-sorts]{scrollbar-width:none;margin-left:auto;flex-wrap:nowrap;align-items:center;gap:4px;min-width:0;margin-block:-14px;padding:14px 2px;display:flex;overflow-x:auto}.peach-react [data-entity-sorts]::-webkit-scrollbar{display:none}.peach-react [data-entity-sort]{height:30px;min-height:30px;color:var(--glass-text);border-radius:7px;flex:none;align-items:center;padding:0 8px;display:inline-flex}@supports (color:color-mix(in lab, red, red)){.peach-react [data-entity-sort]{color:color-mix(in srgb, var(--glass-text) 62%, transparent)}}.peach-react [data-entity-sort]{white-space:nowrap;cursor:pointer;font-size:12px;line-height:20px}.peach-react [data-entity-sort]:hover{color:var(--glass-text)}.peach-react [data-entity-sort][aria-pressed=true]{color:var(--glass-text);font-weight:500}.peach-react [data-entity-sort] svg{flex:none;width:14px;height:14px;margin-left:5px}.peach-react [data-entity-batch]{background:var(--board-blue);width:36px;height:30px;min-height:30px;box-shadow:var(--elevation-xs);color:#fff;cursor:pointer;border-radius:7px;flex:none;place-items:center;font-size:12px;font-weight:600;display:inline-grid}.peach-react [data-entity-batch]:hover{background:var(--board-blue-hover);color:#fff}.peach-react [data-entity-batch] svg{fill:none;stroke:currentColor;stroke-width:2px;width:16px;height:16px}.peach-react [data-entity-batch][aria-busy=true]{cursor:wait}.peach-react [data-filter-row=bottom][aria-busy=true] [data-entity-batch] svg{--strand-dash:100;--strand-cycle:2.2s}.peach-react [data-entity-layout]{flex:none;gap:2px;margin:0 6px}.peach-react [data-entity-layout] svg{width:16px;height:16px}.peach-react [data-entity-layout] [data-glass-segment][data-selected]{-webkit-backdrop-filter:var(--glass-pick);backdrop-filter:var(--glass-pick)}@media (pointer:coarse){.peach-react :is([data-entity-sort],[data-entity-batch]){height:36px}}.peach-react [data-photo-back]{border:1px solid var(--glass-low);border-radius:var(--control-radius);height:30px;color:var(--glass-text);white-space:nowrap;cursor:pointer;flex:none;align-items:center;gap:4px;padding:0 10px 0 6px;font-size:12px;display:flex}.peach-react [data-photo-back]:hover{background:var(--overlay-5)}.peach-react [data-photo-back] svg{fill:none;stroke:currentColor;stroke-width:2px;width:15px;height:15px}.peach-react [data-entity-srctools]{display:contents}.peach-react [data-entity-srctools]>*{flex:none;margin:0}.peach-react [data-entity-srctools] [aria-live]{flex:none}@media (width<=760px){.peach-react :is([data-entity-filter-glass],[data-catalog-frame])>[data-filter-row=bottom]{overscroll-behavior-inline:contain;scrollbar-width:none;touch-action:pan-x pan-y;flex-wrap:nowrap;gap:10px;overflow:auto hidden}.peach-react :is([data-entity-filter-glass],[data-catalog-frame])>[data-filter-row=bottom]::-webkit-scrollbar{display:none}.peach-react [data-entity-sorts]{flex:none;width:max-content;max-width:none;overflow:visible}.peach-react :is([data-entity-filter-glass],[data-catalog-frame])[data-filter-free]{top:var(--filter-free-top)}}.peach-react [data-entity-combo]{height:auto;font:var(--board-body);interpolate-size:allow-keywords;flex-wrap:wrap;align-items:center;gap:6px;margin:0 0 10px;transition:height .22s cubic-bezier(0,0,.2,1),margin-bottom .22s cubic-bezier(0,0,.2,1);display:flex;overflow:hidden}.peach-react [data-entity-combo]:empty{height:0;margin-bottom:0}@media (prefers-reduced-motion:reduce){.peach-react [data-entity-combo]{transition:none}}.peach-react [data-combo-chip]{border:1px solid var(--line);border-radius:var(--tag-radius);background:var(--picked);min-height:30px;color:var(--ink-2);font-size:var(--fs-md);align-items:center;padding:0 0 0 11px;line-height:20px;display:inline-flex;overflow:hidden}.peach-react [data-combo-chip] button{width:28px;height:28px;color:var(--muted);font-size:var(--fs-xs);cursor:pointer;place-items:center;margin-left:5px;font-weight:400;display:grid}.peach-react [data-combo-chip] button:hover{background:var(--drop)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-combo-chip] button:hover{background:color-mix(in srgb, var(--drop) 12%, transparent)}}.peach-react [data-combo-chip] button:hover{color:var(--drop)}.peach-react [data-combo-clear]{min-height:28px;color:var(--muted);font-size:var(--fs-xs);cursor:pointer;align-items:center;padding:0 6px;display:inline-flex}.peach-react [data-catalog-tiers]{z-index:1;font:var(--board-body);letter-spacing:normal;padding:10px 0 8px;position:relative}.peach-react [data-catalog-tier]{scrollbar-width:none;align-items:center;gap:4px;margin-top:-3px;padding:0 16px 6px;display:flex;overflow-x:auto}.peach-react [data-catalog-tier]::-webkit-scrollbar{display:none}.peach-react [data-catalog-tier]:last-child{padding-bottom:4px}@media (width>=761px){.peach-react [data-catalog-tier]{margin-left:calc(-1 * var(--railW));padding-left:calc(var(--railW) + 16px)}}.peach-react :is([data-tier-performer],[data-tier-studio]){color:var(--color-text-secondary);font:var(--board-body-medium);white-space:nowrap;cursor:pointer;transition:transform var(--lift-motion,var(--board-motion)), scale calc(var(--spring-press-ms) * 1ms) var(--spring-press), background-color .2s ease-out, color .2s ease-out;background:0 0;border-radius:12px;flex:none}.peach-react :is([data-tier-performer],[data-tier-studio]):hover{background:var(--color-background-primary-hover);color:var(--color-text-primary)}.peach-react :is([data-tier-performer],[data-tier-studio]):active{transition:scale 60ms ease-out;scale:.96}.peach-react :is([data-tier-performer],[data-tier-studio]):focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-tier-performer]{text-align:center;flex-direction:column;align-items:center;gap:6px;width:76px;padding:6px 4px;display:flex}.peach-react [data-tier-studio]{text-align:left;align-items:center;gap:8px;height:40px;padding:6px 12px 6px 6px;display:inline-flex}.peach-react :is([data-tier-ring],[data-tier-mark]){background:var(--color-text-primary);border-radius:50%;flex:none;position:relative;overflow:hidden}@supports (color:color-mix(in lab, red, red)){.peach-react :is([data-tier-ring],[data-tier-mark]){background:color-mix(in srgb, var(--color-text-primary) 10%, var(--color-background-primary-default))}}.peach-react :is([data-tier-ring],[data-tier-mark]){color:var(--color-text-secondary)}.peach-react [data-tier-ring]{width:48px;height:48px;font:600 18px/24px var(--board-font);display:block}.peach-react [data-tier-ring]>[data-tier-initial]{justify-content:center;align-items:center;display:flex;position:absolute;inset:0}.peach-react :is([data-tier-ring],[data-tier-mark])>img{object-fit:cover;width:100%;height:100%;display:block;position:absolute;inset:0}.peach-react [data-tier-name]{max-width:100%;font:var(--board-caption);text-align:center;text-overflow:ellipsis;display:block;overflow:hidden}.peach-react [data-tier-mark]{width:28px;height:28px;font:600 12px/16px var(--board-font);justify-content:center;align-items:center;display:flex}.peach-react [data-catalog-scroll]{flex:1;align-items:center;gap:7px;min-width:0;display:flex;position:relative}.peach-react [data-catalog-views]{flex:none;align-items:center;gap:7px;display:flex}.peach-react [data-catalog-view]{z-index:1;height:30px;color:var(--glass-text);border-radius:8px;flex:none;justify-content:center;align-items:center;padding:0 10px;display:inline-flex;position:relative}@supports (color:color-mix(in lab, red, red)){.peach-react [data-catalog-view]{color:color-mix(in srgb, var(--glass-text) 60%, transparent)}}.peach-react [data-catalog-view]{white-space:nowrap;cursor:pointer;font-size:13px;line-height:20px;text-decoration:none}.peach-react [data-catalog-view]:is(:hover,[aria-pressed=true]){color:var(--glass-text)}.peach-react [data-catalog-view]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-catalog-tags]{overscroll-behavior-inline:contain;scrollbar-width:none;flex:1;align-items:center;gap:7px;min-width:0;display:flex;overflow:auto hidden}.peach-react [data-catalog-tags]::-webkit-scrollbar{display:none}@media (width<=760px){.peach-react [data-catalog-scroll]{overscroll-behavior-inline:contain;scrollbar-width:none;overflow:auto hidden}.peach-react [data-catalog-scroll]::-webkit-scrollbar{display:none}.peach-react [data-catalog-scroll]>[data-catalog-tags]{flex:none;min-width:auto;overflow:visible}}.peach-react [data-catalog-tag]{border-radius:var(--tag-radius);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(--field-ring);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)}}.peach-react [data-catalog-frame]>[data-filter-row=bottom]{color:var(--ink-2);font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:12px;line-height:20px}.peach-react [data-catalog-readout]{white-space:nowrap;flex:none}.peach-react [data-catalog-placeholder]{pointer-events:none}.peach-react [data-catalog-tier]:has([data-catalog-placeholder]){overflow:hidden}.peach-react [data-catalog-placeholder=performer]{width:76px;font:var(--board-caption);flex-direction:column;flex:none;align-items:center;gap:6px;padding:6px 4px;display:flex}.peach-react [data-catalog-placeholder=performer]>:first-child{background:var(--hover);border-radius:50%;width:48px;height:48px}.peach-react [data-catalog-placeholder=performer]>:last-child{border-radius:var(--badge-radius);background:var(--hover);width:60%}.peach-react [data-catalog-placeholder=studio]{flex:none;align-items:center;gap:8px;height:40px;padding:6px 12px 6px 6px;display:inline-flex}.peach-react [data-catalog-placeholder=studio]>:first-child{background:var(--hover);border-radius:50%;width:28px;height:28px}.peach-react [data-catalog-placeholder=studio]>:last-child{border-radius:var(--badge-radius);background:var(--hover);width:48px}.peach-react [data-catalog-placeholder=tag]{flex:none;gap:7px;display:flex}.peach-react [data-catalog-placeholder=tag]>span{border-radius:var(--tag-radius);background:var(--hover);flex:none;width:72px;height:30px}.peach-react [data-loading] [data-catalog-placeholder]>span{position:relative;overflow:hidden}.peach-react [data-loading] [data-catalog-placeholder]>span:after{content:"";border-radius:inherit;background:linear-gradient(to right, var(--hover), var(--skeleton-sheen) 50%, var(--hover));background-size:50% 100%;animation:1.5s ease-in-out infinite reverse peach-skeleton-sweep;position:absolute;inset:0 -200% 0 0}@media (prefers-reduced-motion:reduce){.peach-react [data-loading] [data-catalog-placeholder]>span:after{animation:none}}.peach-react [data-refreshing] :is([data-catalog-tag],[data-tier-ring],[data-tier-name],[data-tier-studio]){visibility:hidden;background:var(--hover);border-color:#0000;position:relative;overflow:hidden}.peach-react [data-refreshing] [data-tier-name]{border-radius:var(--control-radius);width:52px;margin:0 auto}.peach-react [data-refreshing] :is([data-catalog-tag],[data-tier-ring],[data-tier-name],[data-tier-studio]):after{content:"";visibility:visible;border-radius:inherit;background:linear-gradient(to right, var(--hover), var(--skeleton-sheen) 50%, var(--hover));background-size:50% 100%;animation:1.5s ease-in-out infinite reverse peach-skeleton-sweep;position:absolute;inset:0 -200% 0 0}.peach-react [data-refreshing] [data-tier-ring][class~=imgdone]:after{opacity:1;filter:none;visibility:visible}@media (prefers-reduced-motion:reduce){.peach-react [data-refreshing] :is([data-catalog-tag],[data-tier-ring],[data-tier-name],[data-tier-studio]):after{animation:none}}.peach-react [data-search-root]{line-height:20px}.peach-react [data-search-group]+[data-search-group],.peach-react [data-search-group]+[data-search-results],.peach-react [data-search-col]+[data-search-col]{border-top:1px solid var(--line-soft);margin-top:7px;padding-top:7px}.peach-react [data-search-group]>h3{color:var(--muted);font-size:var(--fs-xs);letter-spacing:.14em;margin:6px 10px;font-weight:700}.peach-react [data-search-option]{border-radius:var(--control-radius);width:100%;height:38px;color:var(--ink);text-align:left;cursor:pointer;background:0 0;border:0;align-items:center;gap:11px;padding:0 10px;display:flex}.peach-react [data-search-option]:is(:hover,[data-active]){background:var(--hover)}.peach-react [data-search-option] svg{width:18px;height:18px;stroke:var(--muted);fill:none;flex:none}.peach-react [data-search-option] span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.peach-react [data-remove-history]{color:var(--muted);cursor:pointer;background:0 0;border:0;margin-left:auto;padding:7px}.peach-react [data-search-option] [data-search-matched]{min-width:0;color:var(--muted);font-size:var(--fs-xs);flex:0 8 auto}.peach-react [data-search-option] [data-search-n]{color:var(--muted);font-size:var(--fs-xs);font-variant-numeric:tabular-nums;flex:none;margin-left:auto}.peach-react [data-search-col]{min-width:0;container:searchcol/inline-size}.peach-react [data-search-tabs]{border-bottom:1px solid var(--line-soft);scrollbar-width:none;overscroll-behavior-x:contain;gap:4px;margin-bottom:4px;padding:2px 2px 8px;display:flex;overflow-x:auto}.peach-react [data-search-tabs]::-webkit-scrollbar{display:none}.peach-react [data-search-tabs]>button{border-radius:var(--control-radius);height:30px;color:var(--color-text-secondary);font-size:var(--fs-sm);white-space:nowrap;cursor:pointer;background:0 0;border:0;flex:none;align-items:center;padding:0 10px;display:inline-flex}.peach-react [data-search-tabs]>button:hover{color:var(--ink)}.peach-react [data-search-tabs]>button[aria-selected=true]{background:var(--picked);color:var(--ink)}.peach-react [data-search-face]{background:var(--hover);border-radius:50%;flex:none;width:28px;height:28px;position:relative;overflow:hidden}.peach-react [data-search-option=person] [data-search-face]{width:40px;height:40px}.peach-react [data-search-face] img{object-fit:cover;width:100%;height:100%;display:block;position:absolute;inset:0}.peach-react [data-search-face]>span:first-child{color:var(--muted);font-size:var(--fs-sm);justify-content:center;align-items:center;display:flex;position:absolute;inset:0}.peach-react [data-search-option]:is([data-search-option=person],[data-search-option=work]){height:auto;min-height:52px;padding-block:6px}.peach-react [data-search-meta]{flex-direction:column;flex:1;gap:2px;min-width:0;display:flex}.peach-react [data-search-name]{align-items:baseline;gap:8px;min-width:0;display:flex}.peach-react [data-search-sub]{color:var(--muted);font-size:var(--fs-xs)}.peach-react [data-search-pic]{--card-ratio:.75;border-radius:var(--badge-radius);flex:none;display:block}.peach-react [data-search-pic]>span>span{letter-spacing:0}.peach-react [data-search-option=work]>[data-search-pic]{width:36px}.peach-react [data-search-option] [data-search-peeks]{flex:none;gap:6px;margin-left:auto;display:none;overflow:visible}.peach-react [data-open-work]{border-radius:var(--badge-radius);cursor:pointer;background:0 0;border:0;width:36px;padding:0}.peach-react [data-open-work] [data-search-pic]{width:100%}.peach-react [data-open-work]:hover [data-search-pic]{outline:1px solid var(--border-15);outline-offset:-1px}.peach-react [data-open-work]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}@container searchcol (width>=420px){.peach-react [data-search-option] [data-search-peeks]{display:flex}}@container searchcol (width>=400px){.peach-react [data-search-group][data-kind=asset] [data-search-items]{grid-template-columns:repeat(auto-fill,minmax(clamp(96px,20% - 4px,200px),1fr));gap:4px;display:grid}.peach-react [data-search-option][data-search-option=work]{flex-direction:column;align-items:stretch;gap:6px;padding:6px}.peach-react [data-search-option=work]>[data-search-pic]{width:100%}}@container searchmenu (width>=720px){.peach-react [data-search-results][data-split]{grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:start;column-gap:16px;display:grid;position:relative}.peach-react [data-search-results][data-split]:before{content:"";background:var(--line-soft);pointer-events:none;width:1px;position:absolute;top:0;bottom:0;left:calc(50% - .5px)}.peach-react [data-search-results][data-split]>[data-search-col]+[data-search-col]{border-top:0;margin-top:0;padding-top:0;position:sticky;top:0}}.peach-react [data-photo-wall]{--photo-columns:5;grid-template-columns:repeat(var(--photo-columns), minmax(0, 1fr));gap:10px;display:grid}.peach-react [data-photo-wall][data-size=big]{--photo-columns:3}@media (width<=1400px){.peach-react [data-photo-wall]{--photo-columns:4}.peach-react [data-photo-wall][data-size=big]{--photo-columns:2}}@media (width<=1000px){.peach-react [data-photo-wall]{--photo-columns:3}.peach-react [data-photo-wall][data-size=big]{--photo-columns:1}}@media (width<=640px){.peach-react [data-photo-wall]{--photo-columns:2;gap:8px}.peach-react [data-photo-wall][data-size=big]{--photo-columns:1}}.peach-react [data-photo-wall][data-layout=masonry]{column-count:var(--photo-columns);column-gap:10px;display:block}.peach-react [data-photo-cell]{aspect-ratio:1;border-radius:var(--surface-radius);background:var(--sunk);cursor:zoom-in;border:0;width:100%;margin:0;padding:0;line-height:0;display:block;overflow:hidden}.peach-react [data-photo-cell] img{object-fit:cover;background:var(--sunk);color:#0000;width:100%;height:100%;display:block}.peach-react [data-photo-cell]:hover img{filter:brightness(1.06)}.peach-react [data-photo-cell]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-photo-wall][data-layout=masonry]>[data-photo-cell]{aspect-ratio:auto;break-inside:avoid;margin:0 0 14px}.peach-react [data-photo-wall][data-layout=masonry]>[data-photo-cell] img{aspect-ratio:auto 1;height:auto}.peach-react [data-photo-wall][data-layout=masonry]>[data-photo-cell]:not(:has(img)){aspect-ratio:3/2}.peach-react [data-photo-group]{min-width:0;color:var(--muted);font-size:var(--fs-sm);align-items:baseline;gap:10px;margin:28px 2px 10px;line-height:20px;display:flex}.peach-react [data-photo-group]>b{color:var(--ink);font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:var(--fs-md);font-variant-numeric:tabular-nums;flex:none}.peach-react [data-photo-group-title]{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.peach-react [data-photo-group-meta]{flex:none;margin-left:auto}.peach-react [data-follow-feed]{font:var(--board-body);padding:4px 0 42px}.peach-react [data-follow-head]{justify-content:space-between;align-items:center;gap:14px;margin-bottom:20px;display:flex}.peach-react [data-follow-title]{font:var(--board-title);font-size:var(--fs-2xl);letter-spacing:0;margin:0}@media (width<=760px){.peach-react [data-follow-title]{font:var(--board-figure);font-size:var(--fs-xl)}}.peach-react [data-follow-head-actions]{flex:none;align-items:center;gap:8px;display:inline-flex}.peach-react button:is([data-follow-manage],[data-follow-older]):has(>svg){gap:0;padding-left:12px}.peach-react button:is([data-follow-manage],[data-follow-older])>svg{width:14px;height:14px}.peach-react :is([data-follow-authors],[data-follow-works]){overscroll-behavior-inline:contain;scrollbar-width:none;align-items:center;gap:4px;display:flex;overflow-x:auto}.peach-react :is([data-follow-authors],[data-follow-works])::-webkit-scrollbar{display:none}.peach-react [data-follow-authors]{margin:0 0 2px;padding:3px 0 10px}.peach-react [data-follow-works]{margin:0 0 2px;padding:0 0 10px}@media (width<=640px){.peach-react [data-follow-authors]{margin-right:-12px}}.peach-react :is(button[data-follow-author],button[data-follow-work]){color:var(--color-text-secondary);font:var(--board-body-medium);white-space:nowrap;cursor:pointer;transition:transform var(--lift-motion,var(--board-motion)), scale calc(var(--spring-press-ms) * 1ms) var(--spring-press), background-color .2s ease-out, color .2s ease-out;background:0 0;border:0;flex:none}.peach-react :is(button[data-follow-author],button[data-follow-work]):active{transition:scale 60ms ease-out;scale:.96}.peach-react :is(button[data-follow-author],button[data-follow-work]):hover{background:var(--color-background-primary-hover);color:var(--color-text-primary)}.peach-react :is(button[data-follow-author],button[data-follow-work])[aria-pressed=true]{background:var(--color-background-tertiary-default);color:var(--color-text-primary)}.peach-react :is(button[data-follow-author],button[data-follow-work]):focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react button[data-follow-author]{text-align:center;border-radius:12px;flex-direction:column;align-items:center;gap:6px;width:76px;padding:6px 4px;display:flex}.peach-react button[data-follow-work]{text-align:left;border-radius:12px;align-items:center;gap:8px;height:40px;padding:6px 12px 6px 6px;display:inline-flex}.peach-react :is([data-follow-ring],[data-follow-mark]){background:var(--color-text-primary);border-radius:50%;flex:none;justify-content:center;align-items:center;margin:0;display:flex;position:relative;overflow:hidden}@supports (color:color-mix(in lab, red, red)){.peach-react :is([data-follow-ring],[data-follow-mark]){background:color-mix(in srgb, var(--color-text-primary) 10%, var(--color-background-primary-default))}}.peach-react :is([data-follow-ring],[data-follow-mark]){color:var(--color-text-secondary)}.peach-react [data-follow-ring]{width:48px;height:48px;font:600 18px/24px var(--board-font)}.peach-react [data-follow-mark]{width:28px;height:28px;font:600 12px/16px var(--board-font)}.peach-react [data-follow-ring]>img,.peach-react [data-follow-mark]>img{object-fit:cover;width:100%;max-width:none;height:100%;display:block;position:absolute;inset:0}.peach-react [data-follow-mark]>img{object-position:50% 25%}.peach-react [data-follow-ring]>span{width:100%;height:100%;font:inherit;color:inherit;justify-content:center;align-items:center;display:flex}.peach-react [data-follow-name]{max-width:100%;color:inherit;font:var(--board-caption);text-align:center;text-overflow:ellipsis;display:block;overflow:hidden}.peach-react [data-follow-filter-glass]{z-index:60;font:var(--board-body);letter-spacing:normal}.peach-react [data-follow-filter-glass] :is(button,[role=radio]):focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-follow-filter-glass]>[data-filter-row=bottom]{overscroll-behavior-inline:contain;scrollbar-width:none;overflow-x:auto}.peach-react [data-follow-filter-glass]>[data-filter-row=bottom]::-webkit-scrollbar{display:none}@media (width<=760px){.peach-react [data-follow-filter-glass] [data-entity-sorts]{padding-left:0}}.peach-react [data-follow-filter-glass] :is([data-entity-scroll],[data-entity-states],[data-entity-tags]){gap:7px}.peach-react button[data-follow-provider]{border:1px dashed var(--glass-low);border-radius:var(--tag-radius);cursor:pointer;background:0 0;flex:none;justify-content:center;align-items:center;width:34px;height:30px;padding:0;display:inline-flex}.peach-react button[data-follow-provider]:hover{border-style:solid;border-color:var(--field-ring)}.peach-react button[data-follow-provider][aria-pressed=true]{border-style:solid;border-color:var(--field-ring);background:var(--picked)}.peach-react [data-follow-provider]>img{border-radius:var(--badge-radius);object-fit:contain;width:18px;height:18px;margin:0}.peach-react [data-follow-filter-glass] [data-follow-tag]{--tag-color:#55a7ff;color:var(--glass-text);gap:6px}.peach-react [data-follow-filter-glass] [data-follow-tag][data-tag-cat=r34-artist]{--tag-color:#e36c6c}.peach-react [data-follow-filter-glass] [data-follow-tag][data-tag-cat=r34-character]{--tag-color:#68c76f}.peach-react [data-follow-filter-glass] [data-follow-tag][data-tag-cat=r34-copyright]{--tag-color:#d675d6}.peach-react [data-follow-filter-glass] [data-follow-tag][data-tag-cat=r34-metadata]{--tag-color:#f5a24a}.peach-react [data-follow-filter-glass] [data-follow-tag]:hover{border-color:var(--field-ring)}.peach-react [data-follow-filter-glass] [data-follow-tag][aria-pressed=true]{border-style:solid;border-color:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-filter-glass] [data-follow-tag][aria-pressed=true]{border-color:color-mix(in srgb, var(--tag-color) 72%, transparent)}}.peach-react [data-follow-filter-glass] [data-follow-tag][aria-pressed=true]{background:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-filter-glass] [data-follow-tag][aria-pressed=true]{background:color-mix(in srgb, var(--tag-color) 22%, transparent)}}.peach-react [data-follow-filter-glass] [data-follow-tag][aria-pressed=true]{color:var(--glass-text,var(--ink))}.peach-react [data-follow-filter-glass] [data-follow-tag] [data-count-badge]{color:var(--glass-text)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-filter-glass] [data-follow-tag] [data-count-badge]{color:color-mix(in srgb, var(--glass-text) 55%, transparent)}}.peach-react [data-follow-filter-glass] [data-follow-tag] [data-count-badge]{font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:11px}.peach-react button[data-follow-images-only]{width:30px;height:30px;color:var(--glass-text);background:0 0;border:0;border-radius:7px;flex:none;place-items:center;padding:0;display:grid;position:relative}@supports (color:color-mix(in lab, red, red)){.peach-react button[data-follow-images-only]{color:color-mix(in srgb, var(--glass-text) 60%, transparent)}}.peach-react button[data-follow-images-only]{cursor:pointer}.peach-react button[data-follow-images-only]:is(:hover,[aria-pressed=true]){color:var(--glass-text)}.peach-react button[data-follow-images-only]>[data-view-glide]{inset:0}.peach-react button[data-follow-images-only] svg{z-index:1;fill:none;stroke:currentColor;stroke-width:2px;width:16px;height:16px;position:relative}.peach-react [data-follow-readout]{font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace}.peach-react [data-follow-broken]>[role=alert]{margin:10px 0 14px}.peach-react [data-follow-broken] [data-follow-manage]{color:var(--tungsten);font:inherit;cursor:pointer;background:0 0;border:0;padding:0}.peach-react [data-follow-pagination]{border-top:1px solid var(--line-soft);flex-wrap:wrap;align-items:center;gap:14px 24px;margin-top:18px;padding-top:14px;display:flex;overflow-x:auto}.peach-react [data-follow-page-action]{align-items:center;gap:12px;display:inline-flex}.peach-react [data-follow-pagination] [data-entity-more]{gap:4px;min-width:0;margin:0}.peach-react :is([data-follow-older],[data-follow-recheck])>span{gap:4px}.peach-react button[data-follow-older][aria-busy]{border-color:var(--line);background:var(--ground);color:var(--muted);box-shadow:none}.peach-react [data-follow-backfill]{color:var(--muted);font:var(--board-compact)}.peach-react [data-follow-list]{grid-template-columns:repeat(auto-fill, minmax(var(--tile), 1fr));gap:24px 16px;display:grid}.peach-react [data-follow-list]>[data-media-card]{align-self:start}.peach-react [data-follow-list]>[data-follow-empty]{grid-column:1/-1}.peach-react [data-follow-wall]{--photo-columns:5;grid-template-columns:repeat(var(--photo-columns), minmax(0, 1fr));align-items:start;gap:14px 10px}.peach-react [data-follow-wall][data-size=big]{--photo-columns:3}@media (width<=1400px){.peach-react [data-follow-wall]{--photo-columns:4}.peach-react [data-follow-wall][data-size=big]{--photo-columns:2}}@media (width<=1000px){.peach-react [data-follow-wall]{--photo-columns:3}.peach-react [data-follow-wall][data-size=big]{--photo-columns:1}}@media (width<=640px){.peach-react [data-follow-wall]{--photo-columns:2;gap:12px 8px}.peach-react [data-follow-wall][data-size=big]{--photo-columns:1}}.peach-react [data-follow-wall][data-layout=masonry]{column-count:var(--photo-columns);column-gap:10px;display:block}.peach-react [data-follow-wall][data-layout=masonry]>[data-follow-empty]{column-span:all}.peach-react [data-follow-wall][data-layout=masonry]>[data-media-card]{break-inside:avoid;margin:0 0 14px}.peach-react [data-follow-wall][data-images-only=true] [data-follow-item] :is([data-media-meta],[data-media-badge],[data-follow-collection],[data-follow-state]){display:none}.peach-react [data-follow-wall] [data-media-card] :is([data-media-pic],[data-media-meta]){content-visibility:visible}.peach-react [data-follow-wall] [data-media-card] [data-media-meta]{pointer-events:auto;contain-intrinsic-block-size:none;margin:0;padding:0}.peach-react [data-follow-item] [data-media-meta]{--card-meta-byline:max(1lh, 21px);--card-meta-badges:0px}.peach-react [data-follow-item] [data-media-meta]:has(>[data-media-text]>[data-follow-badges]){--card-meta-badges:calc(1lh + 6px + 3px)}.peach-react [data-follow-list]:not([data-follow-wall]) [data-follow-item] [data-media-meta]{contain-intrinsic-block-size:auto calc(var(--card-meta-block) + var(--card-meta-badges))}.peach-react [data-follow-item][data-status=ignored]{opacity:.62}.peach-react [data-follow-visual]{isolation:isolate;border-radius:var(--surface-radius);position:relative}.peach-react [data-follow-visual]>[data-media-pic]{z-index:1}.peach-react [data-follow-open]{z-index:1;border-radius:inherit;cursor:pointer;background:0 0;border:0;padding:0;position:absolute;inset:0}.peach-react [data-follow-open]:focus-visible{outline:2px solid var(--tungsten);outline-offset:-2px}.peach-react [data-select-mode] :is([data-follow-open],[data-follow-actions],[data-follow-collection]){pointer-events:none!important}.peach-react [data-follow-nothumb]{color:var(--muted);font-size:var(--fs-xs);place-items:center;display:grid;position:absolute;inset:0}.peach-react :is([data-media-badge],[data-follow-nothumb])>img{border-radius:var(--badge-radius);object-fit:contain;width:18px;height:18px;margin:0}.peach-react [data-follow-image] [data-media-pic]{aspect-ratio:4/3;background:var(--sunk);min-height:0}.peach-react [data-follow-image] [data-media-pic]>img,.peach-react [data-follow-image] :is([data-mix-faces],[data-mix-face] img){background:var(--sunk)}.peach-react [data-follow-wall][data-layout=masonry] [data-follow-image] [data-media-pic]{aspect-ratio:1}.peach-react [data-follow-wall][data-layout=masonry] [data-follow-image] [data-media-pic]:has(>img[width][height]){aspect-ratio:auto}.peach-react [data-follow-wall][data-layout=masonry] [data-follow-image] [data-media-pic]>img[width][height]{aspect-ratio:auto 1;height:auto;position:static}.peach-react [data-follow-corner]{z-index:7;pointer-events:none;flex-direction:column;align-items:flex-end;gap:6px;display:flex;position:absolute;top:10px;right:10px}.peach-react [data-follow-collection]{border-radius:var(--control-radius);color:#fff;min-height:28px;font:inherit;cursor:pointer;pointer-events:auto;-webkit-backdrop-filter:blur(10px);background:#0c0808b8;border:0;align-items:center;gap:6px;padding:4px 9px;display:flex}.peach-react [data-follow-collection] svg{fill:none;stroke:currentColor;stroke-width:2px;width:15px;height:15px}.peach-react [data-follow-actions]{opacity:0;pointer-events:none;align-items:center;gap:6px;transition:opacity .15s;display:flex}.peach-react [data-follow-actions] button{color:#fff;cursor:pointer;-webkit-backdrop-filter:blur(10px);background:#0000007a;border:1px solid #ffffff29;border-radius:50%;place-items:center;width:36px;height:36px;padding:0;display:grid}.peach-react [data-follow-actions] button svg{fill:none;stroke:currentColor;stroke-width:2px;width:18px;height:18px}.peach-react [data-follow-actions] button:hover:not(:disabled){background:#ffffff2e;transform:scale(1.08)}.peach-react [data-follow-actions] button:disabled{opacity:.42;cursor:not-allowed}.peach-react [data-follow-actions] button[aria-busy]{cursor:wait;opacity:.72}@media (hover:hover) and (pointer:fine){.peach-react [data-follow-item]:hover [data-follow-actions]{opacity:1;pointer-events:auto}}@media (hover:none),(pointer:coarse){.peach-react [data-follow-item] [data-follow-actions]{opacity:1;pointer-events:auto}}.peach-react [data-follow-avatar]{cursor:default;background:var(--overlay-5);border:1px solid var(--line-soft);place-items:center;display:grid}.peach-react [data-follow-avatar]>img{border-radius:50%}.peach-react [data-follow-avatar]>span:first-child{width:100%;height:100%;color:var(--muted);font-family:var(--board-font);font-size:var(--fs-sm);place-items:center;display:grid}.peach-react [data-follow-byline]{min-width:0;min-height:21px;color:var(--muted);flex-wrap:nowrap;align-items:center;gap:6px;display:flex;overflow:hidden}.peach-react [data-follow-byline]>[data-follow-author]{min-width:0;color:inherit;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.peach-react [data-follow-byline]>time{font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:var(--fs-xs);font-variant-numeric:tabular-nums;white-space:nowrap;flex:none}.peach-react [data-follow-credit]{color:var(--muted);font-size:var(--fs-xs);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.peach-react [data-follow-badges]{flex-wrap:nowrap;gap:5px;min-width:0;display:flex;overflow:hidden}.peach-react [data-follow-item] [data-media-tag]{--tag-color:#55a7ff;border-color:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-item] [data-media-tag]{border-color:color-mix(in srgb, var(--tag-color) 42%, transparent)}}.peach-react [data-follow-item] [data-media-tag]{background:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-item] [data-media-tag]{background:color-mix(in srgb, var(--tag-color) 10%, transparent)}}.peach-react [data-follow-item] [data-media-tag]{cursor:default}.peach-react [data-follow-item] [data-media-tag][data-tag-cat=r34-artist]{--tag-color:#e36c6c}.peach-react [data-follow-item] [data-media-tag][data-tag-cat=r34-character]{--tag-color:#68c76f}.peach-react [data-follow-item] [data-media-tag][data-tag-cat=r34-copyright]{--tag-color:#d675d6}.peach-react [data-follow-item] [data-media-tag][data-tag-cat=r34-metadata]{--tag-color:#f5a24a}.peach-react [data-follow-issue]{color:var(--drop);font-size:var(--fs-sm);margin:18px 0 8px;line-height:1.7;display:block}.peach-react [data-follow-state]{color:var(--drop);font-size:var(--fs-xs);flex:100%}.peach-react [data-follow-detail] [data-follow-detail-media]{--follow-image-arrow-inset:16px}.peach-react [data-follow-detail] [data-follow-detail-media=image]{background:var(--video-glow,#15202a)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-detail] [data-follow-detail-media=image]{background:color-mix(in srgb, var(--video-glow,#15202a) 12%, var(--surface) 88%)}}.peach-react [data-follow-detail] [data-follow-detail-poster]{z-index:1;object-fit:contain;background:0 0;width:auto;max-width:100%;height:auto;max-height:76vh;display:block;position:relative}.peach-react [data-follow-detail] [data-follow-detail-poster][data-zoomable]{cursor:zoom-in}.peach-react [data-follow-detail] [data-framed] [data-follow-detail-poster]{width:100%;aspect-ratio:var(--follow-frame-ratio)}.peach-react [data-follow-detail] [data-follow-detail-placeholder]{aspect-ratio:16/9;color:var(--muted);place-items:center;gap:10px;display:grid}.peach-react [data-follow-detail] [data-follow-detail-placeholder] img{width:34px;height:34px;margin:0}.peach-react [data-follow-detail] [data-follow-image-arrow]{box-sizing:border-box;z-index:4;cursor:pointer;color:#fff;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#0009;border:0;border-radius:50%;place-items:center;width:48px;height:48px;padding:0;display:grid;position:absolute;top:50%;transform:translateY(-50%)}.peach-react [data-follow-detail] [data-follow-image-arrow]:hover{background:#000000c7}.peach-react [data-follow-detail] [data-follow-image-arrow]:focus-visible{outline:2px solid var(--tungsten);outline-offset:3px}.peach-react [data-follow-detail] [data-follow-image-arrow] svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:24px;height:24px;display:block}.peach-react [data-follow-detail] [data-follow-image-arrow=prev]{left:var(--follow-image-arrow-inset)}.peach-react [data-follow-detail] [data-follow-image-arrow=next]{right:var(--follow-image-arrow-inset)}.peach-react [data-follow-detail] [data-follow-image-dots]{z-index:4;border-radius:var(--pill-radius);background:#00000080;justify-content:center;align-items:center;gap:8px;max-width:calc(100% - 120px);padding:8px 11px;display:flex;position:absolute;bottom:18px;left:50%;overflow:hidden;transform:translate(-50%)}.peach-react [data-follow-detail] [data-follow-image-dots] button{cursor:pointer;background:#ffffff6b;border:0;border-radius:50%;flex:none;width:8px;height:8px;padding:0}.peach-react [data-follow-detail] [data-follow-image-dots] button[aria-current=true]{border-radius:var(--pill-radius);background:#fff;width:20px}.peach-react [data-follow-detail] [data-follow-queue-meta]{align-items:center;gap:6px;display:flex}.peach-react [data-follow-detail] [data-follow-queue-meta]>[data-follow-queue-source]{display:contents}.peach-react [data-follow-detail] [data-follow-queue-meta] img{flex:none;margin:0}.peach-react [data-follow-detail] [data-follow-queue-meta] time{white-space:nowrap;flex:none}.peach-react [data-follow-detail] [data-follow-variant]{border-radius:var(--badge-radius);text-overflow:ellipsis;vertical-align:-2px;background:var(--overlay-5);min-width:0;max-width:120px;color:var(--muted);font-size:var(--fs-xs);flex:0 auto;margin:0;padding:1px 7px;font-style:normal;display:inline-block;overflow:hidden}.peach-react [data-follow-detail] [data-follow-variant=wip]{color:var(--meter)}.peach-react [data-follow-detail] [data-follow-variant=alt]{color:var(--ink-2)}.peach-react [data-follow-detail] [data-follow-nothumb]{width:100%;height:100%;color:var(--muted);font-size:var(--fs-xs);place-items:center;display:grid}.peach-react [data-follow-detail] [data-follow-nothumb] svg{stroke:currentColor;fill:none;stroke-width:2px;width:22px;height:22px}.peach-react [data-follow-detail] [data-follow-detail-title]{align-items:flex-start;gap:5px;margin-bottom:8px;display:flex}.peach-react [data-follow-detail] [data-follow-detail-title]>[data-follow-detail-name]{width:auto;max-width:calc(100% - 35px);margin:0}.peach-react [data-follow-detail] [data-follow-origin]{flex:none;width:30px;height:30px;margin:0}.peach-react [data-follow-detail] [data-follow-detail-identity]{align-items:center;gap:10px;margin:2px 0 12px;display:flex}.peach-react [data-follow-detail] [data-follow-detail-identity] b,.peach-react [data-follow-detail] [data-follow-detail-identity] span{display:block}.peach-react [data-follow-detail] [data-follow-detail-identity]>div>span{color:var(--muted);font-size:var(--fs-xs);margin-top:3px}.peach-react [data-follow-detail] [data-follow-source-avatar]{cursor:default;background:var(--overlay-5);border:1px solid var(--line-soft);flex:none;place-items:center;display:grid}.peach-react [data-follow-detail] [data-follow-source-avatar]:hover{box-shadow:none}.peach-react [data-follow-detail] [data-follow-source-avatar]>*{object-fit:cover;border-radius:50%;outline:0;width:100%;height:100%;position:absolute;inset:0}.peach-react [data-follow-detail] [data-follow-source-avatar]>span{font-size:var(--fs-sm);color:var(--muted);place-items:center;display:grid}.peach-react [data-follow-detail] [data-follow-badges]{flex-wrap:nowrap;gap:5px;min-width:0;display:flex;overflow:hidden}.peach-react [data-follow-detail] [data-follow-detail-summary]{color:var(--ink-2);white-space:pre-line;margin:0 0 16px;line-height:1.6}.peach-react [data-follow-detail] [data-follow-media-issue]{font-size:var(--fs-sm);color:var(--drop);margin:18px 0 8px;line-height:1.7}.peach-react [data-follow-detail] [data-follow-media-issue][hidden]{display:none}.peach-react [data-follow-detail] [data-follow-resources]{flex-wrap:wrap;gap:8px;margin:0 0 16px;display:flex}.peach-react [data-follow-detail] [data-follow-resources] a{height:34px}.peach-react [data-follow-detail] [data-follow-detail-actions] button:disabled{opacity:.45;cursor:not-allowed}.peach-react [data-follow-detail] [data-follow-download]{box-sizing:border-box;background:var(--surface);width:36px;min-width:36px;height:36px;color:var(--ink-2);border:0;border-radius:8px;flex:0 0 36px;place-items:center;padding:0;display:grid}.peach-react [data-follow-detail] [data-follow-download]:hover{background:var(--hover);color:var(--ink)}.peach-react [data-follow-detail] [data-follow-download] svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:18px;height:18px;margin:0;display:block}@media (width<=760px){.peach-react [data-follow-detail] [data-follow-detail-actions]{width:max-content;max-width:100%}.peach-react [data-follow-detail] [data-follow-detail-actions] :is(button,[data-follow-download]){flex:none}}.peach-react [data-follow-detail] [data-follow-hidden-media]{align-items:center;gap:10px;margin-top:14px;display:flex}.peach-react [data-follow-detail] [data-follow-hidden-label]{color:var(--muted);white-space:nowrap}.peach-react [data-follow-detail] [data-follow-hidden-thumbs]{flex-wrap:wrap;gap:6px;display:flex}.peach-react [data-follow-detail] [data-follow-hidden-thumbs] button{border:1px solid var(--border-15);border-radius:var(--control-radius);cursor:pointer;background:0 0;width:40px;height:40px;padding:0;position:relative;overflow:hidden}.peach-react [data-follow-detail] [data-follow-hidden-thumbs] button:hover{border-color:var(--ink-3)}.peach-react [data-follow-detail] [data-follow-hidden-thumbs] img{object-fit:cover;opacity:.55;width:100%;height:100%;display:block}.peach-react [data-follow-detail] [data-follow-hidden-thumbs] i{background:var(--hover);width:16px;height:16px;color:var(--ink-2);border-radius:50%;justify-content:center;align-items:center;display:flex;position:absolute;bottom:2px;right:2px}.peach-react [data-follow-detail] [data-follow-hidden-thumbs] svg{stroke:currentColor;fill:none;width:11px;height:11px}.peach-react [data-follow-detail] [data-follow-state]{font-size:var(--fs-xs);color:var(--drop);flex:none}.peach-react [data-follow-detail] [data-follow-detail-tags]{margin:16px 0 0}.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]{text-overflow:clip;white-space:normal;text-align:left;max-width:none;color:var(--ink-2);border-color:var(--tag-color);font-family:inherit;overflow:visible}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]{border-color:color-mix(in srgb, var(--tag-color) 42%, transparent)}}.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]{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]:hover{border-color:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]:hover{border-color:color-mix(in srgb, var(--tag-color) 68%, transparent)}}.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]:hover{background:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]:hover{background:color-mix(in srgb, var(--tag-color) 18%, transparent)}}.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]:hover{color:var(--ink)}@media (width<=640px){.peach-react [data-follow-detail] [data-follow-detail-media]{--follow-image-arrow-inset:10px}.peach-react [data-follow-detail] [data-follow-image-arrow]{width:44px;height:44px}.peach-react [data-follow-detail] [data-follow-image-dots]{bottom:12px}}.peach-react [data-item-detail] [data-item-gate]{box-sizing:border-box;aspect-ratio:auto;border-radius:inherit;background:var(--sunk);border:1px dashed var(--meter);cursor:pointer;flex-direction:column;justify-content:center;align-items:center;gap:10px;width:100%;height:100%;display:flex}:where(.peach-react [data-item-detail] [data-item-gate]) b{font-size:var(--fs-md)}:where(.peach-react [data-item-detail] [data-item-gate]) span{font-size:var(--fs-xs);color:var(--muted)}.peach-react [data-item-detail] [data-item-gate=offline]{cursor:default;background:var(--ground);min-height:220px;color:var(--ink);border-style:solid;gap:7px;padding:24px}.peach-react [data-item-detail] [data-item-gate=offline] b{letter-spacing:.08em}.peach-react [data-item-detail] [data-item-gate=offline] span{text-align:center;max-width:34ch;color:var(--ink-2);line-height:1.6}.peach-react [data-item-detail] [data-item-gate=offline] button{cursor:pointer;margin-top:4px}.peach-react [data-item-detail] [data-queue-head]{color:var(--ink);align-items:center;gap:5px;margin-top:0;display:flex}.peach-react [data-item-detail] [data-queue-head] b{flex:1;min-width:0}.peach-react [data-item-detail] [data-queue-edition]{flex:none;font-style:normal}.peach-react [data-item-detail] [data-queue-edit]{z-index:3;border-radius:var(--control-radius);color:#fff;background:#0000009e;grid-auto-flow:column;align-items:center;gap:2px;padding:3px;display:grid;position:absolute;top:5px;right:5px}.peach-react [data-item-detail] [data-queue-grip]{width:20px;color:var(--muted);cursor:grab;place-items:center;display:grid}.peach-react [data-item-detail] [data-queue-grip] svg{stroke:currentColor;fill:none;width:16px;height:16px}.peach-react [data-item-detail] [data-queue-edit] button{border-radius:var(--control-radius);color:#fff;cursor:pointer;background:0 0;border:0;place-items:center;width:26px;height:26px;padding:0;display:grid}.peach-react [data-item-detail] [data-queue-edit] button:hover{background:var(--hover)}.peach-react [data-item-detail] [data-queue-edit] svg{stroke:currentColor;fill:none;width:15px;height:15px}.peach-react [data-item-detail] [data-item-title]{margin-bottom:10px;display:block}.peach-react [data-item-detail] [data-item-title] [class~=srcbig]{vertical-align:middle;place-items:center;width:17px;height:28px;margin:0 8px 0 0;display:inline-grid}.peach-react [data-item-detail] [data-item-title] [data-title-line]{min-width:0;margin:0;line-height:1.75}.peach-react [data-item-detail] [data-detail-title]{-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.peach-react [data-item-detail] [data-detail-title][data-expanded]{-webkit-line-clamp:unset;line-clamp:unset;display:block}.peach-react [data-item-detail] [data-detail-title][data-foldable]{cursor:pointer}.peach-react [data-item-detail] [data-title-tools]{flex-wrap:nowrap;align-items:center;gap:6px;margin:6px 0 0;display:flex}.peach-react [data-item-detail] [data-title-tools]:not(:has(button:not([hidden]))){display:none}.peach-react [data-item-detail] [data-title-tools] button{border:1px solid var(--line);background:var(--surface);width:26px;height:26px;color:var(--muted);cursor:pointer;border-radius:8px;flex:none;place-items:center;padding:0;line-height:1;display:inline-grid}.peach-react [data-item-detail] [data-title-tools] button[hidden]{display:none}.peach-react [data-item-detail] [data-title-tools] [data-cover-crop-host]{display:contents}.peach-react [data-item-detail] [data-title-tools] button svg{stroke:currentColor;fill:none;stroke-width:2px;width:15px;height:15px}.peach-react [data-item-detail] [data-title-tools] button>svg{flex-shrink:0;place-self:center;margin:0;display:block}.peach-react [data-item-detail] [data-title-tools] button:hover{background:var(--hover);color:var(--ink)}.peach-react [data-item-detail] [data-title-tools] button:disabled{background:var(--sunk);border-color:var(--line-soft);color:var(--muted);cursor:not-allowed}.peach-react [data-item-detail] [data-title-state]{min-width:0;font-size:var(--fs-xs);color:var(--muted);flex:100%;margin:-4px 0 10px;display:block}.peach-react [data-item-detail] [data-title-state]:empty{display:none}.peach-react [data-item-detail] [data-item-rating]{align-items:center;gap:8px;margin:-6px 0 10px;display:flex}.peach-react [data-item-detail] [data-rating-stars]{align-items:center;gap:2px;margin-left:-4px;display:inline-flex}.peach-react [data-item-detail] [data-rate]{border-radius:var(--control-radius);width:26px;height:26px;color:var(--rating);cursor:pointer;background:0 0;border:0;place-items:center;padding:0;display:grid}.peach-react [data-item-detail] [data-rate] svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:19px;height:19px}.peach-react [data-item-detail] [data-rate][data-on=true] svg{fill:currentColor}.peach-react [data-item-detail] [data-rating-stars]:hover [data-rate] svg{fill:none}.peach-react [data-item-detail] [data-rating-stars]:hover [data-rate]:hover svg,.peach-react [data-item-detail] [data-rating-stars]:hover [data-rate]:has(~[data-rate]:hover) svg{fill:currentColor}.peach-react [data-item-detail] [data-rate]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-item-detail] [data-rating-value]{color:var(--muted);font-size:var(--fs-xs);font-variant-numeric:tabular-nums}.peach-react [data-item-detail] [data-spec-item]{align-items:center;gap:5px;display:inline-flex}.peach-react [data-item-detail] [data-spec-item] svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:15px;height:15px}.peach-react [data-item-detail] [data-open-region]{font:inherit;color:inherit;cursor:pointer;background:0 0;border:0;padding:0}.peach-react [data-item-detail] [data-open-region]:hover{color:var(--ink)}.peach-react [data-item-detail] [data-item-identity]{flex-direction:column;gap:14px;margin:0 0 18px;display:flex}.peach-react [data-item-detail] [data-identity-primary]{flex-wrap:wrap;align-items:flex-start;gap:14px 26px;display:flex}.peach-react [data-item-detail] [data-identity-primary]>[data-id-group]{width:max-content;max-width:100%}.peach-react [data-item-detail] [data-id-group]{--id-cell:62px;--id-face:46px;min-width:0}.peach-react [data-item-detail] [data-id-group=performer]{--id-cell:58px}.peach-react [data-item-detail] [data-id-label]{font-size:var(--fs-xs);color:var(--muted);letter-spacing:.04em;margin:0 0 7px;font-weight:400}.peach-react [data-item-detail] [data-id-row]{flex-wrap:wrap;align-items:flex-start;gap:10px 12px;display:flex}.peach-react [data-item-detail] [data-id-group=performer] [data-id-row]{gap:10px}.peach-react [data-item-detail] [data-id-cell]{width:var(--id-cell,62px);color:inherit;cursor:default;background:0 0;border:0;flex-direction:column;align-items:flex-start;gap:5px;padding:0;display:flex}.peach-react [data-item-detail] [data-id-cell]:is([data-entity-kind],[data-open-unowned]){color:var(--tungsten);cursor:pointer;text-decoration:none}.peach-react [data-item-detail] [data-id-cell]:is([data-entity-kind],[data-open-unowned]):hover{color:var(--ink)}.peach-react [data-item-detail] [data-id-cell][hidden]{display:none}.peach-react [data-item-detail] [data-id-face]{width:var(--id-face,46px);height:var(--id-face,46px);background:var(--sunk);color:var(--muted);font-size:var(--fs-md);border-radius:50%;place-items:center;display:grid;position:relative;overflow:hidden}.peach-react [data-item-detail] [data-id-face]:not(:has(img)){background:var(--color-text-primary)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-item-detail] [data-id-face]:not(:has(img)){background:color-mix(in srgb, var(--color-text-primary) 10%, var(--color-background-primary-default))}}.peach-react [data-item-detail] [data-id-face]:not(:has(img)){color:var(--color-text-secondary)}.peach-react [data-item-detail] [data-id-cell=studio] [data-id-face]{border-radius:var(--surface-radius);color:#555;background:#fff}.peach-react [data-item-detail] [data-id-face] img{object-fit:cover;width:100%;height:100%;display:block;position:absolute;inset:0}.peach-react [data-item-detail] [data-id-face] svg{stroke:currentColor;fill:none;stroke-width:2px;width:18px;height:18px}.peach-react [data-item-detail] [data-id-name]{font-size:var(--fs-xs);text-align:left;text-overflow:ellipsis;white-space:nowrap;width:100%;color:var(--ink-2);line-height:1.5;overflow:hidden}.peach-react [data-item-detail] [data-id-cell]:is([data-entity-kind],[data-open-unowned]):hover [data-id-face]{box-shadow:0 0 0 2px var(--ink-2)}.peach-react [data-item-detail] [data-id-cell]:is([data-entity-kind],[data-open-unowned]):hover [data-id-name]{color:var(--ink)}.peach-react [data-item-detail] [data-cast-more]{border:1px dashed var(--overlay-10);border-radius:var(--floating-radius);height:46px;color:var(--ink-2);font-size:var(--fs-xs);cursor:pointer;background:0 0;align-self:center;padding:0 12px}.peach-react [data-item-detail] [data-cast-more]:hover{background:var(--hover)}.peach-react [data-item-detail] [data-series-rows]{gap:7px;display:grid}.peach-react [data-item-detail] [data-series-link]{width:100%;color:var(--ink-2);font-size:var(--fs-sm);text-align:left;white-space:normal;overflow-wrap:anywhere;cursor:default;background:0 0;border:0;align-items:flex-start;gap:7px;padding:0;line-height:1.4;text-decoration:none;display:flex}.peach-react [data-item-detail] [data-series-link] svg{stroke:currentColor;fill:none;stroke-width:2px;flex:none;width:16px;height:16px;margin-top:1px}.peach-react [data-item-detail] button[data-series-link]{cursor:pointer}.peach-react [data-item-detail] button[data-series-link]:hover{color:var(--tungsten)}.peach-react [data-item-detail] [data-detail-tag]{border:1px solid var(--line);border-radius:var(--tag-radius);background:var(--tag-fill);align-items:center;min-height:30px;display:inline-flex;overflow:hidden}.peach-react [data-item-detail] [data-detail-tag] button{color:var(--ink-2);cursor:pointer;background:0 0;border:0;height:28px}.peach-react [data-item-detail] [data-detail-tag] [data-tag]{padding:3px 8px}.peach-react [data-item-detail] [data-detail-tag] [data-remove-tag]{width:28px;color:var(--muted);place-items:center;padding:0;display:grid}.peach-react [data-item-detail] [data-detail-tag] [data-tag]:hover{background:var(--hover);color:var(--ink)}.peach-react [data-item-detail] [data-detail-tag] [data-remove-tag]:hover{color:var(--drop);background:var(--drop)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-item-detail] [data-detail-tag] [data-remove-tag]:hover{background:color-mix(in srgb, var(--drop) 12%, transparent)}}.peach-react [data-item-detail] [data-detail-tag] svg,.peach-react [data-item-detail] [data-tag-plus] svg{stroke:currentColor;fill:none;stroke-width:2px;width:15px;height:15px}.peach-react [data-item-detail] [data-tag-plus]{border:1px dashed var(--line);width:30px;height:30px;color:var(--muted);cursor:pointer;background:0 0;border-radius:50%;place-items:center;display:grid}.peach-react [data-item-detail] [data-tag-plus]:hover{background:var(--hover);color:var(--ink)}.peach-react [data-item-detail] [data-tag-picker]{z-index:120;border:1px solid var(--ink);max-height:min(480px,70vh);position:absolute;top:calc(100% + 8px);left:12px;right:12px;overflow:hidden}@supports (color:color-mix(in lab, red, red)){.peach-react [data-item-detail] [data-tag-picker]{border:1px solid color-mix(in srgb, var(--ink) 15%, transparent)}}.peach-react [data-item-detail] [data-tag-picker]{border-radius:var(--floating-radius);background:var(--frost-panel);-webkit-backdrop-filter:saturate(1.8)blur(20px);box-shadow:0 24px 70px -24px #000}.peach-react [data-item-detail] [data-tag-picker][hidden]{display:none}.peach-react [data-item-detail] [data-tag-picker]:not([hidden]){transform-origin:0 0;animation:.15s ease-out backwards board-menu-in}.peach-react [data-item-detail] [data-tag-picker][class~=leaving]{animation:.15s ease-out forwards board-menu-out}.peach-react [data-item-detail] [data-tag-search]{border-bottom:1px solid var(--ink);align-items:center;gap:10px;height:54px;padding:0 14px;display:flex}@supports (color:color-mix(in lab, red, red)){.peach-react [data-item-detail] [data-tag-search]{border-bottom:1px solid color-mix(in srgb, var(--ink) 10%, transparent)}}.peach-react [data-item-detail] [data-tag-search] svg{stroke:currentColor;fill:none;stroke-width:2px;width:20px;height:20px;color:var(--muted)}.peach-react [data-item-detail] [data-tag-search] input{min-width:0;padding:revert;font-size:var(--fs-lg);background:0 0;border:0;outline:0;flex:1}.peach-react [data-item-detail] [data-tag-search] input::placeholder{color:revert}.peach-react [data-item-detail] [data-tag-body]{max-height:calc(min(480px,70vh) - 54px);padding:12px;overflow:auto}.peach-react [data-item-detail] [data-tag-section]+[data-tag-section]{border-top:1px solid var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-item-detail] [data-tag-section]+[data-tag-section]{border-top:1px solid color-mix(in srgb, var(--ink) 9%, transparent)}}.peach-react [data-item-detail] [data-tag-section]+[data-tag-section]{margin-top:12px;padding-top:12px}.peach-react [data-item-detail] [data-tag-section] h4{color:var(--muted);font-size:var(--fs-xs);letter-spacing:.12em;margin:0 0 8px;font-weight:600}.peach-react [data-item-detail] [data-tag-grid]{grid-template-columns:repeat(2,minmax(0,1fr));gap:3px 12px;display:grid}.peach-react [data-item-detail] [data-pick]{border-radius:var(--control-radius);min-width:0;height:34px;color:var(--ink-2);text-align:left;cursor:pointer;background:0 0;border:0;align-items:center;gap:8px;padding:0 9px;display:flex}.peach-react [data-item-detail] [data-pick]:is(:hover,[data-active],[aria-pressed=true]){background:var(--hover);color:var(--ink)}.peach-react [data-item-detail] [data-pick-name]{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.peach-react [data-item-detail] [data-pick-count]{color:var(--muted);font-size:var(--fs-xs);margin-left:auto}.peach-react [data-item-detail] [data-pick] svg{flex:none;width:14px;height:14px}@media (width<=760px){.peach-react [data-item-detail] [data-tag-picker]{position:fixed;inset:auto 12px 12px}.peach-react [data-item-detail] [data-tag-grid]{grid-template-columns:1fr}}.peach-react [data-item-detail] [data-item-trace]{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:8px 0 16px;padding:0;display:grid}.peach-react [data-item-detail] [data-trace-metric]{background:var(--surface);border-radius:12px;min-width:0;padding:14px 12px}.peach-react [data-item-detail] [data-trace-label]{color:var(--muted);font-variant-numeric:tabular-nums;justify-content:space-between;gap:8px;margin:0 0 12px;font-size:13px;line-height:18px;display:flex}.peach-react [data-item-detail] [data-trace-label]>span:last-child{color:var(--ink);font-variant-numeric:tabular-nums}.peach-react [data-item-detail] [data-trace-bar]{background:var(--line);border:0;border-radius:4px;height:4px;position:relative}.peach-react [data-item-detail] [data-trace-bar] u{background:var(--loupe);position:absolute;inset:0 auto 0 0}@supports (color:color-mix(in lab, red, red)){.peach-react [data-item-detail] [data-trace-bar] u{background:color-mix(in srgb, var(--loupe) 26%, transparent)}}.peach-react [data-item-detail] [data-trace-bar] u{text-decoration:none}.peach-react [data-item-detail] [data-trace-bar] b{background:var(--tungsten);border-radius:var(--pill-radius);width:2px;position:absolute;top:-3px;bottom:-3px;left:0}.peach-react [data-item-detail] [data-trace-bar] [data-trace-real]{background:var(--keep)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-item-detail] [data-trace-bar] [data-trace-real]{background:color-mix(in srgb, var(--keep) 40%, transparent)}}.peach-react [data-item-detail] [data-fb=like]:hover{color:var(--ink);background:var(--hover)}.peach-react [data-item-detail] [data-fb=like][aria-pressed=true]{color:var(--ink);background:var(--picked)}.peach-react [data-item-detail] [data-fb=playlist]:hover{color:var(--ink);background:var(--hover)}.peach-react [data-item-detail] [data-fb=reason]:is(:hover,[aria-expanded=true],[data-has-reason=true]){color:#ff669d;background:#ff669d1f}.peach-react [data-item-detail] [data-fb=dispose]{margin-left:auto}.peach-react [data-item-detail] [data-fb=dispose]:is(:hover,[aria-pressed=true]){color:var(--meter);background:var(--meter)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-item-detail] [data-fb=dispose]:is(:hover,[aria-pressed=true]){background:color-mix(in srgb, var(--meter) 12%, transparent)}}.peach-react [data-item-detail] [data-fb=quality]:is(:hover,[aria-pressed=true]){color:#b78cff;background:#b78cff21}.peach-react [data-item-detail] [data-item-preference]{background:0 0;border:0;margin:0 0 14px;padding:0}.peach-react [data-item-detail] [data-item-preference][hidden]{display:none}.peach-react [data-item-detail] [data-item-preference] textarea{resize:vertical;width:100%;min-height:62px;color:var(--ink);background:var(--ground);border:1px solid var(--line);border-radius:var(--control-radius);line-height:1.5;font-size:var(--fs-md);padding:8px 9px;transition:border-color .12s,box-shadow .12s;display:block}.peach-react [data-item-detail] [data-item-preference] textarea:hover{border-color:var(--field-ring-hover)}.peach-react [data-item-detail] [data-item-preference] textarea:focus{box-shadow:inset 0 0 0 2px var(--color-border-button-active);outline:0}.peach-react [data-item-detail] [data-preference-foot]{justify-content:flex-end;align-items:center;gap:8px;margin-top:7px;display:flex}.peach-react [data-item-detail] [data-preference-foot]>span{color:var(--muted);font-size:var(--fs-xs);margin-right:auto}.peach-react [data-item-detail] [data-preference-foot]>span:empty{display:none}.peach-react [data-item-detail] [data-save-preference]{min-width:58px;padding-inline:12px}.peach-react [data-item-detail] [data-kind=o]{border:1px solid var(--line);background:var(--surface);width:100%;min-height:40px;color:var(--ink);cursor:pointer;border-radius:10px;justify-content:center;align-items:center;gap:8px;margin-bottom:10px;padding:8px 12px;font-size:14px;font-weight:500;line-height:20px;transition:background-color .14s;display:flex;box-shadow:inset 0 1px #ffffff0a}.peach-react [data-item-detail] [data-kind=o] svg{fill:currentColor;color:#ff669d;width:20px;height:20px}.peach-react [data-item-detail] [data-kind=o] b{background:var(--picked);border-radius:5px;padding:1px 6px;font-size:12px;font-weight:500;line-height:18px}.peach-react [data-item-detail] [data-kind=o]:hover{background:var(--hover)}.peach-react [data-item-related]{border-top:1px solid var(--line-soft);background:var(--detail-surface);padding:11px 15px 12px}.peach-react [data-item-related] h3{font-size:var(--fs-xs);letter-spacing:.1em;color:var(--muted);text-transform:uppercase;margin:0 0 8px}.peach-react [data-item-related] [data-related-row]{overscroll-behavior-inline:contain;scrollbar-width:none;gap:11px;padding-bottom:6px;display:flex;overflow:auto hidden}.peach-react [data-item-related] [data-related-row]::-webkit-scrollbar{display:none}.peach-react [data-photo-lightbox]{z-index:200;font:var(--board-body);font-kerning:auto;font-variant-ligatures:normal;letter-spacing:0;--photo-card-drop:#00000029;--photo-thumb-drop:#0000001a;background:#000;display:block;position:fixed;inset:0;overflow:hidden}.dark .peach-react [data-photo-lightbox]{--photo-card-drop:#0009;--photo-thumb-drop:#00000080}.peach-react [data-photo-lightbox]:modal{color:#fff;border:0;width:100vw;max-width:none;height:100dvh;max-height:none;margin:0;padding:0}.peach-react [data-photo-lightbox] :focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-photo-main]{width:100%;min-width:0;height:100%;min-height:0;position:absolute;inset:0;overflow:hidden}.peach-react [data-photo-main]>.swiper-wrapper{width:100%;height:100%;display:flex}.peach-react [data-photo-main]>.swiper-wrapper>.swiper-slide{flex:0 0 100%;place-items:center;width:100%;min-width:0;height:100%;min-height:0;display:grid}.peach-react [data-photo-main] .swiper-zoom-container{box-sizing:border-box;place-items:center;width:100%;min-width:0;height:100%;min-height:0;padding:24px 72px 76px;display:grid}.peach-react [data-photo-lightbox][data-has-strip] [data-photo-main] .swiper-zoom-container{padding-bottom:148px}.peach-react [data-photo-main] img{object-fit:contain;min-width:0;max-width:100%;min-height:0;max-height:100%;display:block}.peach-react :is([data-photo-close],[data-photo-nav]){box-sizing:border-box;color:#fff;cursor:pointer;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#0009;border:0;border-radius:50%;place-items:center;width:48px;height:48px;padding:0;display:grid;position:absolute}.peach-react [data-photo-close]:hover{background:#000000c7}.peach-react [data-photo-lightbox] :is([data-photo-close],[data-photo-nav]):focus-visible{outline-offset:3px}.peach-react :is([data-photo-close],[data-photo-nav]) svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:24px;height:24px;display:block}.peach-react [data-photo-close]{z-index:5;top:12px;right:14px}.peach-react [data-photo-nav]{z-index:4;border:1px solid var(--line);background:var(--surface);width:36px;height:36px;color:var(--ink-2);box-shadow:var(--elevation-xs);border-radius:10px;top:50%;transform:translateY(-50%)}.peach-react [data-photo-nav]:hover{background:var(--hover)}.peach-react [data-photo-nav] svg{width:20px;height:20px}.peach-react [data-photo-nav=back]{left:14px}.peach-react [data-photo-nav=fwd]{right:14px}.peach-react [data-photo-nav=fwd] svg{transform:rotate(180deg)}.peach-react [data-photo-nav].swiper-button-disabled{visibility:hidden;opacity:.4;pointer-events:none}.peach-react [data-photo-nav].swiper-button-lock{display:none}.peach-react [data-photo-bar]{z-index:4;pointer-events:none;grid-template-columns:1fr auto 1fr;align-items:center;min-height:48px;display:grid;position:absolute;bottom:14px;left:14px;right:14px}.peach-react [data-photo-lightbox][data-has-strip] [data-photo-bar]{bottom:98px}.peach-react [data-photo-bar]>*{pointer-events:auto}.peach-react [data-photo-count]{border-radius:var(--pill-radius);color:#ffffffd1;font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:var(--fs-xs);font-variant-numeric:tabular-nums;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#0009;justify-self:center;padding:7px 11px}.peach-react [data-photo-pagination]{justify-content:center;align-items:center;gap:8px;max-width:160px;height:28px;margin-inline:auto;display:flex;overflow:hidden}.peach-react [data-photo-pagination] .swiper-pagination-bullet{opacity:1;background:#a3a3a3;border:0;border-radius:999px;flex:none;width:6px;height:6px;padding:0;transition:width .2s ease-out,background .2s ease-out;margin:0!important}.peach-react [data-photo-pagination] .swiper-pagination-bullet-active{background:#fafafa;width:16px}.peach-react [data-photo-detail-toggle]{color:#ffffffd1;cursor:pointer;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#0009;border:0;border-radius:50%;justify-self:start;place-items:center;width:40px;height:40px;padding:0;display:grid}.peach-react [data-photo-detail-toggle]:is(:hover,[aria-expanded=true]){color:#fff;background:#000000c7}.peach-react [data-photo-detail-toggle] svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:20px;height:20px;display:block}.peach-react [data-photo-zoom]{border-radius:var(--pill-radius);color:#ffffffd1;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#0009;justify-self:end;align-items:center;gap:7px;padding:4px;display:flex}.peach-react [data-photo-zoom] button{color:#fff;cursor:pointer;background:0 0;border:0;border-radius:50%;place-items:center;width:28px;height:28px;padding:0;display:grid}.peach-react [data-photo-zoom] button:hover{background:#ffffff38}.peach-react [data-photo-zoom] button svg{fill:none;stroke:currentColor;stroke-width:2px;width:15px;height:15px;display:block}.peach-react [data-photo-zoom] [data-photo-scale]{width:30px}.peach-react [data-photo-zoom] [data-photo-scale=original]{border-radius:var(--control-radius);width:38px}.peach-react [data-photo-zoom] :is([data-photo-scale=original],[data-photo-zoom-readout]){font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:var(--fs-xs);font-variant-numeric:tabular-nums}.peach-react [data-photo-zoom-readout]{text-align:right;width:38px;font-weight:400}.peach-react [data-photo-zoom] input{cursor:pointer;appearance:none;background:0 0;width:116px;height:20px;margin:2px}.peach-react [data-photo-zoom] input::-webkit-slider-runnable-track{background:linear-gradient(90deg, var(--color-accent-400) var(--board-range-value,0%), var(--inset) 0);border-radius:999px;height:6px;box-shadow:inset 0 1px 1px #0000000f}.peach-react [data-photo-zoom] input::-moz-range-track{background:linear-gradient(90deg, var(--color-accent-400) var(--board-range-value,0%), var(--inset) 0);border-radius:999px;height:6px}.peach-react [data-photo-zoom] input::-webkit-slider-thumb{border:1px solid var(--line);width:20px;height:20px;box-shadow:0 2px 4px var(--photo-thumb-drop), inset 0 1px 0 #fffc;cursor:grab;transition:scale calc(var(--spring-press-ms) * 1ms) var(--spring-press), box-shadow .15s;appearance:none;background:radial-gradient(circle,#fff 3px,#e5e5e5 3.5px,#fff 4px);border-radius:50%;margin-top:-7px}.peach-react [data-photo-zoom] input::-moz-range-thumb{border:1px solid var(--line);width:18px;height:18px;box-shadow:0 2px 4px var(--photo-thumb-drop);background:radial-gradient(circle,#fff 3px,#e5e5e5 3.5px,#fff 4px);border-radius:50%}.peach-react [data-photo-zoom] input:hover::-webkit-slider-thumb{box-shadow:0 0 0 4px #ffffff38}.peach-react [data-photo-zoom] input:active::-webkit-slider-thumb{transition:scale 60ms ease-out;scale:1.18}.peach-react [data-photo-lightbox] [data-photo-zoom] input:focus-visible{outline:none}.peach-react [data-photo-zoom] input:focus-visible::-webkit-slider-thumb{outline-offset:2px;outline:2px solid #fff}.peach-react [data-photo-detail]{box-sizing:border-box;z-index:var(--layer-popover);overscroll-behavior:contain;border:1px solid var(--line);border-radius:var(--floating-radius);background:var(--ground);width:320px;max-width:calc(100vw - 16px);color:var(--ink);box-shadow:0 8px 24px var(--photo-card-drop);font-size:var(--fs-md);overflow-wrap:anywhere;pointer-events:auto;align-items:start;gap:14px;margin:0;padding:16px;line-height:1.5;display:grid;position:fixed;inset:auto;overflow:auto}.peach-react [data-photo-detail][hidden]{display:none}.peach-react [data-photo-detail-copy]{gap:4px;min-width:0;display:grid}.peach-react [data-photo-detail-copy] h2{font-size:var(--fs-sm);white-space:nowrap;margin:0;font-weight:700;overflow:hidden}.peach-react :is([data-photo-detail-meta],[data-photo-status]){color:var(--muted);font-size:var(--fs-xs)}.peach-react [data-photo-status]{flex:100%;min-width:0}.peach-react [data-photo-status]:empty{display:none}.peach-react [data-photo-reveal]{border:1px solid var(--line);border-radius:var(--control-radius);height:32px;color:var(--ink);cursor:pointer;background:0 0;justify-self:start;align-items:center;gap:7px;padding:0 10px;display:flex}.peach-react [data-photo-reveal]:hover{background:#ffffff1f}.peach-react [data-photo-reveal][hidden]{display:none}.peach-react [data-photo-reveal] svg{fill:none;stroke:currentColor;stroke-width:2px;width:16px;height:16px;display:block}.peach-react [data-photo-strip]{z-index:3;width:auto;height:72px;padding:0;position:absolute;bottom:14px;left:72px;right:72px}.peach-react [data-photo-lightbox]:not([data-has-strip]) [data-photo-strip]{display:none}.peach-react [data-photo-strip] .swiper-slide{border-radius:var(--control-radius);opacity:.5;cursor:pointer;width:auto;height:72px;overflow:hidden}.peach-react [data-photo-strip] .swiper-slide img{object-fit:cover;width:auto;max-width:none;height:100%;display:block}.peach-react [data-photo-strip] .swiper-slide-thumb-active{opacity:1;box-shadow:inset 0 0 0 2px #fff}@media (width<=640px){.peach-react [data-photo-zoom] input{width:72px}.peach-react [data-photo-zoom-readout]{display:none}.peach-react [data-photo-main] .swiper-zoom-container{padding:12px 12px 70px}.peach-react [data-photo-lightbox][data-has-strip] [data-photo-main] .swiper-zoom-container{padding-bottom:136px}.peach-react [data-photo-bar]{min-height:44px;bottom:10px;left:12px;right:12px}.peach-react [data-photo-lightbox][data-has-strip] [data-photo-bar]{bottom:80px}.peach-react [data-photo-reveal]{min-height:44px}.peach-react [data-photo-strip]{bottom:12px;left:56px;right:56px}.peach-react [data-photo-strip],.peach-react [data-photo-strip] .swiper-slide{height:56px}.peach-react [data-photo-close]{top:10px;right:10px}.peach-react [data-photo-nav=back]{left:8px}.peach-react [data-photo-nav=fwd]{right:8px}}@media (prefers-reduced-motion:reduce){.peach-react [data-photo-pagination] .swiper-pagination-bullet{transition:none}}.peach-react [data-index-grid] [data-index-cell]{background:var(--ground)}.peach-react [data-index-grid] [data-index-cell]:hover{background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-index-grid] [data-index-cell]:hover{background:color-mix(in srgb, var(--ink) 6%, var(--ground))}}.peach-react [data-index-grid] [data-person-ring]{background:var(--sunk);color:var(--muted);font-family:Bahnschrift,Microsoft YaHei UI,Microsoft YaHei,PingFang SC,sans-serif}.peach-react [data-index-grid] [data-index-readout]{color:var(--muted)}[data-stage-media]{isolation:isolate;background:#000;justify-content:center;align-items:center;display:flex;position:relative}[data-ambient-canvas]{z-index:0;filter:blur(46px)saturate(1.45);opacity:.42;pointer-events:none;width:calc(100% + 68px);height:calc(100% + 68px);position:absolute;inset:-34px;transform:scale(1.06);-webkit-mask-image:radial-gradient(#000 28%,#000000b8 55%,#0000 86%);mask-image:radial-gradient(#000 28%,#000000b8 55%,#0000 86%)}[data-stage]:not([data-ambient]) [data-ambient-canvas]{display:none}[data-stage-media]>video,[data-stage-media]>.video-js{z-index:1;position:relative}[data-stage-media] video{width:100%;max-height:76vh;display:block}[data-stage-media]>video[hidden]{display:none}[data-stage-media]>.video-js{aspect-ratio:16/9;background:#000;width:100%;height:auto;max-height:76vh}[data-stage-media] .video-js .vjs-tech{object-fit:contain;max-height:none}[data-stage-media] .video-js .vjs-big-play-button{width:56px;height:56px;box-shadow:none;background:#0000004d;border:0;border-radius:50%;margin:0;line-height:56px;top:50%;left:50%;transform:translate(-50%,-50%)}[data-stage-media] .video-js .vjs-big-play-button:hover,[data-stage-media] .video-js .vjs-big-play-button:focus{background:#ffffff1a}[data-stage-media] .video-js .vjs-big-play-button .vjs-icon-placeholder:before{content:"";border-top:.72em solid #0000;border-bottom:.72em solid #0000;border-left:1.05em solid #fff;width:0;height:0;top:50%;left:50%;transform:translate(-38%,-50%)}[data-stage-media] .video-js:has(.vjs-peach-bezel) .vjs-big-play-button{display:none}[data-stage-media] .video-js .vjs-loading-spinner{z-index:18;opacity:1;background:0 0;border:0;border-radius:0;width:64px;height:64px;margin:0;padding:0;top:50%;left:50%;transform:translate(-50%,-50%)}[data-stage-media] .video-js .vjs-loading-spinner:before,[data-stage-media] .video-js .vjs-loading-spinner:after{content:none}.vjs-peach-spinner-container{pointer-events:none;width:100%;height:100%;animation:1.56824s linear infinite peach-spinner-linspin;position:absolute;top:0;left:0}.vjs-peach-spinner-rotator{width:100%;height:100%;animation:5.332s cubic-bezier(.4,0,.2,1) infinite both peach-spinner-easespin;position:absolute}.vjs-peach-spinner-left,.vjs-peach-spinner-right{position:absolute;inset:0;overflow:hidden}.vjs-peach-spinner-left{right:49%}.vjs-peach-spinner-right{left:49%}.vjs-peach-spinner-circle{box-sizing:border-box;border:6px solid #ddd;border-bottom-color:#0000;border-radius:50%;width:200%;height:100%;position:absolute}.vjs-peach-spinner-left .vjs-peach-spinner-circle{border-right-color:#0000;animation:1.333s cubic-bezier(.4,0,.2,1) infinite both peach-spinner-left-spin;left:0;right:-100%}.vjs-peach-spinner-right .vjs-peach-spinner-circle{border-left-color:#0000;animation:1.333s cubic-bezier(.4,0,.2,1) infinite both peach-spinner-right-spin;left:-100%;right:0}@keyframes peach-spinner-linspin{to{transform:rotate(1turn)}}@keyframes peach-spinner-easespin{12.5%{transform:rotate(135deg)}25%{transform:rotate(270deg)}37.5%{transform:rotate(405deg)}50%{transform:rotate(540deg)}62.5%{transform:rotate(675deg)}75%{transform:rotate(810deg)}87.5%{transform:rotate(945deg)}to{transform:rotate(3turn)}}@keyframes peach-spinner-left-spin{0%{transform:rotate(130deg)}50%{transform:rotate(-5deg)}to{transform:rotate(130deg)}}@keyframes peach-spinner-right-spin{0%{transform:rotate(-130deg)}50%{transform:rotate(5deg)}to{transform:rotate(-130deg)}}[data-stage-media] .video-js{font-family:inherit}[data-stage-media] .video-js .vjs-control-bar{box-sizing:border-box;-webkit-backdrop-filter:none;backdrop-filter:none;background:0 0;border-radius:0;align-items:flex-end;width:auto;height:59px;padding:3px 0 0;display:flex;bottom:8px;left:12px;right:12px}[data-stage-media] .video-js .vjs-control-bar>.vjs-play-control{width:40px;height:40px;box-shadow:none;background:#0009;border:0;border-radius:50%;flex:0 0 40px;align-self:flex-end;margin:0 0 8px;position:relative;overflow:visible}[data-stage-media] .video-js .vjs-volume-panel>.vjs-mute-control .vjs-icon-placeholder:before,[data-stage-media] .video-js .vjs-peach-right-controls .vjs-icon-placeholder:before{filter:drop-shadow(0 0 1px #000c);place-items:center;width:100%;height:100%;line-height:normal;display:grid}[data-stage-media] .video-js [data-peach-explicit-icon]>.vjs-icon-placeholder:before,[data-stage-media] .video-js [data-peach-explicit-icon]>.vjs-icon-placeholder:after{display:none}[data-stage-media] .video-js .vjs-volume-panel>.vjs-mute-control[data-peach-explicit-icon]>.vjs-icon-placeholder{display:none!important}.vjs-peach-control-icon{z-index:2;fill:currentColor;stroke:none;filter:drop-shadow(0 0 1px #000c);pointer-events:none;width:24px;height:24px;transition:transform .1s cubic-bezier(.05,0,0,1);display:block;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)scale(1)}[data-stage-media] .video-js [data-peach-explicit-icon]:active>.vjs-peach-control-icon{transform:translate(-50%,-50%)scale(.9)}[data-stage-media] .video-js .vjs-control-bar>.vjs-play-control>.vjs-peach-control-icon{width:26px;height:26px}.vjs-peach-morph-icon path{transition:d .2s cubic-bezier(.4,0,.2,1)}.vjs-peach-morph-icon .vjs-peach-volume-arc-inner,.vjs-peach-morph-icon .vjs-peach-volume-arc-outer{transform-box:view-box;transform-origin:0 0;transition:transform .25s cubic-bezier(.4,0,.2,1)}.vjs-peach-morph-icon[data-silent=true] .vjs-peach-volume-arc-inner{transform:translate(18px,12px)scale(0)translate(-18px,-12px)}.vjs-peach-morph-icon[data-silent=true] .vjs-peach-volume-arc-outer,.vjs-peach-morph-icon[data-loud=false] .vjs-peach-volume-arc-outer{transform:translate(22px,12px)scale(0)translate(-22px,-12px)}.vjs-peach-morph-icon .vjs-peach-volume-speaker{opacity:1;transition:opacity linear}.vjs-peach-morph-icon .vjs-peach-volume-speaker-muted,.vjs-peach-morph-icon .vjs-peach-volume-x{opacity:0;transition:opacity linear}.vjs-peach-morph-icon[data-silent=true] .vjs-peach-volume-speaker{opacity:0;transition:opacity 0s linear .25s}.vjs-peach-morph-icon[data-silent=true] .vjs-peach-volume-speaker-muted,.vjs-peach-morph-icon[data-silent=true] .vjs-peach-volume-x{opacity:1;transition:opacity 0s linear .25s}.vjs-peach-hover{z-index:0;border-radius:var(--pill-radius);pointer-events:none;background:0 0;width:100%;height:32px;transition:background .2s cubic-bezier(.05,0,0,1);position:absolute;top:4px;left:0}[data-stage-media] .video-js .vjs-control-bar>.vjs-play-control>.vjs-peach-hover{border-radius:50%;width:auto;height:auto;inset:4px}[data-stage-media] .video-js .vjs-control-bar>.vjs-play-control:hover>.vjs-peach-hover,[data-stage-media] .video-js .vjs-control-bar>.vjs-play-control:focus-visible>.vjs-peach-hover,.vjs-peach-right-controls>.vjs-control:hover>.vjs-peach-hover,.vjs-peach-right-controls>.vjs-control:focus-within>.vjs-peach-hover{background:#ffffff1a}[data-stage-media] .video-js .vjs-control-bar>.vjs-play-control:active>.vjs-peach-hover,.vjs-peach-right-controls>.vjs-control:active>.vjs-peach-hover{background:#fff3}[data-stage-media] .video-js .vjs-control-bar>.vjs-play-control .vjs-icon-placeholder,[data-stage-media] .video-js .vjs-peach-right-controls button,.vjs-peach-settings>button,.vjs-peach-theater>button{z-index:1;position:relative}[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel{box-sizing:border-box;z-index:3;border-radius:var(--pill-radius);width:40px;box-shadow:none;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);isolation:isolate;background:#0009;border:0;flex:0 0 40px;grid-template-columns:40px 0;align-self:flex-end;align-items:center;column-gap:0;margin:0 0 8px 12px;padding:0;transition:width .2s cubic-bezier(.05,0,0,1),flex-basis .2s cubic-bezier(.05,0,0,1),padding-right .2s cubic-bezier(.05,0,0,1);display:grid;position:relative;overflow:visible;height:40px!important}[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel:after{content:"";z-index:0;border-radius:var(--pill-radius);pointer-events:none;background:0 0;transition:background .2s cubic-bezier(.05,0,0,1);position:absolute;inset:4px}[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel:hover:after,[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel:focus-within:after,[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel.vjs-hover:after,[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel.vjs-slider-active:after{background:#ffffff1a}[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel:active:after{background:#fff3}[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel:hover,[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel:focus-within,[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel.vjs-hover,[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel.vjs-slider-active{background:#0009;flex-basis:111px;grid-template-columns:40px 52px;column-gap:3px;width:111px;padding-right:16px}[data-stage][data-theater] [data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel,.video-js.vjs-fullscreen .vjs-control-bar>.vjs-volume-panel{-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#0009!important}[data-stage-media] .video-js .vjs-volume-panel>.vjs-mute-control{box-sizing:border-box;z-index:1;background:0 0;border:0;flex:0 0 40px;align-self:center;min-width:40px;width:40px!important;height:40px!important;margin:0!important;padding:0!important;position:relative!important;top:0!important;left:0!important;transform:none!important}[data-stage-media] .video-js .vjs-volume-panel>.vjs-mute-control>.vjs-peach-control-icon{width:18px;height:18px}[data-stage-media] .video-js .vjs-volume-panel>.vjs-volume-control.vjs-volume-horizontal{box-sizing:border-box;z-index:1;opacity:0;visibility:hidden;pointer-events:none;flex:0 0 52px;align-self:center;min-width:52px;min-height:36px;transition:opacity .1s cubic-bezier(0,0,.2,1);overflow:visible;width:52px!important;height:40px!important;margin:0!important;padding:0!important;display:block!important;position:relative!important;top:0!important;left:0!important}[data-stage-media] .video-js .vjs-volume-panel:hover>.vjs-volume-control.vjs-volume-horizontal,[data-stage-media] .video-js .vjs-volume-panel:focus-within>.vjs-volume-control.vjs-volume-horizontal,[data-stage-media] .video-js .vjs-volume-panel.vjs-hover>.vjs-volume-control.vjs-volume-horizontal,[data-stage-media] .video-js .vjs-volume-panel.vjs-slider-active>.vjs-volume-control.vjs-volume-horizontal{opacity:1;visibility:visible;pointer-events:auto;transition-delay:80ms}[data-stage-media] .video-js .vjs-volume-panel .vjs-volume-bar.vjs-slider-horizontal{box-sizing:border-box;background:0 0;transform:none;width:52px!important;height:40px!important;margin:0!important;position:absolute!important;top:0!important;left:0!important;right:auto!important;overflow:visible!important}[data-stage-media] .video-js .vjs-volume-panel .vjs-volume-bar.vjs-slider-horizontal:before{content:"";background:#ffffff4d;height:2px;margin-top:-1px;position:absolute;top:50%;left:0;right:0}[data-stage-media] .video-js .vjs-volume-panel .vjs-volume-level{background:#fff;height:2px;margin-top:-1px;top:50%;bottom:auto}[data-stage-media] .video-js .vjs-volume-panel .vjs-mouse-display{background:0 0}[data-stage-media] .video-js .vjs-volume-panel .vjs-volume-level:before{background:#fff;border-radius:50%;width:12px;height:12px;margin:0;font-size:0;top:50%;right:-6px;transform:translateY(-50%)}[data-stage-media] .video-js .vjs-volume-panel .vjs-volume-tooltip{float:none;border-radius:var(--surface-radius);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);color:#fff;font-family:inherit;font-size:var(--fs-sm);text-shadow:0 0 2px #000;white-space:nowrap;background:#0009;padding:5px 9px;font-weight:500;line-height:15px;top:auto;bottom:calc(50% + 31px);left:50%;overflow:visible;transform:translate(-50%);z-index:5!important;right:auto!important}.vjs-peach-right-controls{box-sizing:border-box;border-radius:var(--pill-radius);height:40px;box-shadow:none;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#0009;border:0;flex:none;align-self:flex-end;align-items:center;margin:0 0 8px;padding:0 4px;display:flex;position:relative;overflow:visible}[data-stage-media] .video-js .vjs-peach-right-controls>.vjs-control{box-sizing:border-box;min-width:48px;box-shadow:none;color:#fff;background:0 0;border:0;border-radius:0;flex:0 0 48px;margin:0;padding:0;position:relative;width:48px!important;height:40px!important}[data-stage-media] .video-js .vjs-peach-right-controls>.vjs-control>button{width:100%;height:100%;color:inherit;background:0 0;border:0;margin:0;padding:0}[data-stage-media] .video-js .vjs-peach-right-controls>.vjs-control:focus,[data-stage-media] .video-js .vjs-peach-right-controls>.vjs-control:focus-visible,[data-stage-media] .video-js .vjs-peach-right-controls>.vjs-control>button:focus,[data-stage-media] .video-js .vjs-peach-right-controls>.vjs-control>button:focus-visible{box-shadow:none;outline:0}[data-stage-media] .video-js .vjs-progress-control{z-index:2;align-items:flex-end;width:auto;min-width:0;height:18px;display:flex;position:absolute;top:-12px;left:0;right:0}[data-stage-media] .video-js .vjs-progress-control .vjs-progress-holder{background:#28282899;border-radius:0;width:100%;height:6px;margin:0;transition:transform .2s cubic-bezier(.05,0,0,1);transform:scaleY(.667)}[data-stage-media] .video-js .vjs-progress-control:hover .vjs-progress-holder,[data-stage-media] .video-js .vjs-progress-control:focus-within .vjs-progress-holder{transform:scaleY(1)}[data-stage-media] .video-js .vjs-load-progress{background:#fff6}[data-stage-media] .video-js .vjs-load-progress div{background:#fff3}[data-stage-media] .video-js .vjs-play-progress{background:var(--tungsten)}[data-stage-media] .video-js .vjs-play-progress:before{content:"";background:var(--tungsten);width:12px;height:12px;box-shadow:none;border-radius:50%;transition:transform .2s cubic-bezier(.05,0,0,1);position:absolute;top:50%;right:-6px;transform:translateY(-50%)scaleY(1.5)}[data-stage-media] .video-js .vjs-progress-control:hover .vjs-play-progress:before,[data-stage-media] .video-js .vjs-progress-control:focus-within .vjs-play-progress:before{transform:translateY(-50%)scale(1.67)}[data-stage-media] .video-js .vjs-mouse-display .vjs-time-tooltip,[data-stage-media] .video-js .vjs-play-progress .vjs-time-tooltip{display:none!important}.vjs-peach-seek-preview{z-index:4;pointer-events:none;color:#fff;flex-direction:column;align-items:center;display:flex;position:absolute;bottom:calc(100% - 2px);transform:translate(-50%)}.vjs-peach-seek-preview[hidden]{display:none}.vjs-peach-seek-frame{aspect-ratio:16/9;border-radius:var(--floating-radius);background:#000;border:2px solid #fff;width:240px;display:block;position:relative;overflow:hidden;box-shadow:0 8px 24px #0009}.vjs-peach-seek-frame[hidden]{display:none}.vjs-peach-seek-preview img{object-fit:cover;width:100%;height:100%;display:block;position:absolute;top:0;left:0}.vjs-peach-seek-preview span{border-radius:var(--pill-radius);min-width:58px;font-size:var(--fs-sm);text-align:center;background:#000000ad;margin-top:8px;padding:6px 10px;font-weight:600;line-height:1;box-shadow:0 2px 8px #0006}[data-stage-media] .video-js .vjs-custom-control-spacer{flex:auto;display:block}[data-stage-media] .video-js .vjs-time-control{display:none!important}[data-stage-media] .video-js .vjs-peach-time{box-sizing:border-box;border-radius:var(--pill-radius);color:#fff;cursor:pointer;isolation:isolate;width:auto;height:40px;font-weight:400;font-size:var(--fs-md);font-variant-numeric:tabular-nums;white-space:nowrap;text-shadow:0 0 1px #000c;background:#0009;border:0;flex:none;align-self:flex-end;margin:0 0 8px 12px;padding:0 16px;font-family:inherit;line-height:40px;position:relative;overflow:visible}[data-stage-media] .video-js .vjs-peach-time:after{content:"";z-index:0;border-radius:var(--pill-radius);background:0 0;transition:background .2s cubic-bezier(.05,0,0,1);position:absolute;inset:4px}[data-stage-media] .video-js .vjs-peach-time:hover:after,[data-stage-media] .video-js .vjs-peach-time:focus-visible:after{background:#ffffff1a}[data-stage-media] .video-js .vjs-peach-time:active:after{background:#fff3}[data-stage-media] .video-js .vjs-peach-time:focus-visible{outline:0}.vjs-peach-time-text{z-index:1;position:relative}.vjs-peach-settings,.vjs-peach-theater,.vjs-peach-expand{flex:0 0 48px;min-width:48px;position:relative;width:48px!important}.vjs-peach-settings>button,.vjs-peach-theater>button,.vjs-peach-expand>button{width:100%;height:100%;color:inherit;cursor:pointer;background:0 0;border:0;place-items:center;padding:0;display:grid}.vjs-peach-expand>button>svg{fill:currentColor;stroke:none;filter:drop-shadow(0 0 1px #000c);width:24px;height:24px}.vjs-peach-settings>button>svg,.vjs-peach-theater>button>svg{stroke:currentColor;fill:none;stroke-width:2px;filter:drop-shadow(0 0 1px #000c);width:24px;height:24px}.vjs-peach-settings [data-player-quality-badge]{z-index:2;border-radius:var(--badge-radius);color:#fff;min-width:17px;height:12px;font-size:var(--fs-xs);transform-origin:100% 0;background:#f03;place-items:center;padding:0 2px;font-weight:600;line-height:1;display:grid;position:absolute;top:1px;right:4px;transform:scale(.67)}.vjs-peach-settings [data-player-quality-badge][hidden]{display:none}.vjs-peach-settings-menu{box-sizing:border-box;z-index:2300;border-radius:var(--floating-radius);width:min(274px,100vw - 28px);max-height:min(420px,100vh - 130px);box-shadow:none;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);color:#fff;text-shadow:0 0 1px #000c;font-weight:400;font-size:var(--fs-md);opacity:1;visibility:visible;background:#0009;border:0;padding:0;font-family:inherit;line-height:1.3;transition:opacity .1s cubic-bezier(0,0,.2,1);position:absolute;bottom:52px;right:-100px;overflow:auto}.vjs-peach-settings-menu[aria-hidden=true]{opacity:0;visibility:hidden;pointer-events:none;transition:opacity .1s cubic-bezier(.4,0,1,1),visibility 0s .1s}.vjs-peach-settings-menu.vjs-peach-popup-animating{pointer-events:none;transition:height .25s cubic-bezier(.4,0,.2,1);overflow:hidden}.vjs-peach-panel{position:relative}.vjs-peach-popup-animating .vjs-peach-panel{transition:transform .25s cubic-bezier(.4,0,.2,1),opacity .25s cubic-bezier(.4,0,.2,1)}.vjs-peach-panel-leaving{width:100%;position:absolute;top:0;left:0}.vjs-peach-panel-animate-back{opacity:0;transform:translate(-100%)}.vjs-peach-panel-animate-forward{opacity:0;transform:translate(100%)}.vjs-peach-settings-menu button{box-sizing:border-box;isolation:isolate;border-radius:var(--control-radius);color:#fff;width:100%;min-height:48px;font:inherit;cursor:pointer;background:0 0;border:0;padding:0;position:relative;overflow:hidden}.vjs-peach-settings-menu button:before{content:"";z-index:0;border-radius:inherit;pointer-events:none;background:0 0;transition:background .1s cubic-bezier(.05,0,0,1);position:absolute;inset:0}.vjs-peach-settings-menu button:hover:before,.vjs-peach-settings-menu button:focus-visible:before{background:#ffffff1a}.vjs-peach-settings-menu button:active:before{background:#fff3}.vjs-peach-settings-menu button:focus-visible{outline:0}.vjs-peach-settings-menu button>*{z-index:1;position:relative}.video-js .vjs-peach-menu-row{text-align:left;grid-template-columns:56px minmax(0,1fr) minmax(0,max-content) 32px;align-items:center;gap:0;display:grid;padding:0!important}.vjs-peach-menu-row>svg{fill:currentColor;stroke:none;justify-self:start;width:24px;height:24px;margin-left:8px}.vjs-peach-menu-row>span{font-size:var(--fs-md);line-height:18.2px}.vjs-peach-menu-row>b{font-size:var(--fs-md);color:#ffffffb3;white-space:nowrap;padding-left:8px;font-weight:400;line-height:18.2px}.vjs-peach-menu-row>svg:last-child{color:#ffffffb3;fill:currentColor;stroke:none;justify-self:center;width:18px;height:18px;margin:0}.vjs-peach-menu-row[data-player-ambient]{grid-template-columns:56px minmax(0,1fr) auto;padding-right:8px!important}.vjs-peach-switch{box-sizing:border-box;border-radius:var(--floating-radius);background:#0000004d;width:40px;height:24px;display:block;position:relative}.vjs-peach-switch:after{content:"";width:20px;height:20px;box-shadow:none;background:#ffffffb3;border-radius:50%;transition:transform .2s cubic-bezier(.05,0,0,1),background .2s cubic-bezier(.05,0,0,1);position:absolute;top:2px;left:2px}.vjs-peach-menu-row[aria-checked=true] .vjs-peach-switch{background:#ffffff4d}.vjs-peach-menu-row[aria-checked=true] .vjs-peach-switch:after{background:#fff;transform:translate(16px)}.vjs-peach-panel-header{box-sizing:border-box;color:#eee;white-space:nowrap;border-bottom:1px solid #fff3;align-items:center;gap:0;height:57px;padding:8px 0;display:flex}.vjs-peach-panel-header .vjs-peach-menu-back{color:#eee;flex:0 0 48px;place-items:center;width:48px;min-height:48px;display:grid;border:0!important;border-radius:50%!important;height:48px!important}.vjs-peach-settings-menu .vjs-peach-panel-header .vjs-peach-menu-back:before{inset:4px}.vjs-peach-panel-header .vjs-peach-menu-back svg{fill:currentColor;stroke:none;width:32px;height:32px;display:block}.vjs-peach-panel-header strong{font-size:var(--fs-md);color:#eee;font-weight:500;line-height:18.2px}.vjs-peach-panel-menu{padding:8px}.video-js .vjs-peach-menu-option{text-align:left;grid-template-columns:35px minmax(0,1fr);align-items:center;line-height:18.2px;display:grid;font-size:var(--fs-md)!important;padding:0 20px 0 0!important}.vjs-peach-option-check{place-items:center;width:35px;height:24px;display:grid}.vjs-peach-option-check svg{fill:currentColor;stroke:none;width:24px;height:24px;display:block}.vjs-peach-option-label{min-width:0}.vjs-peach-speed-panel{box-sizing:border-box;flex-direction:column;padding:24px 16px 16px;display:flex}.vjs-peach-speed-display{font-size:var(--fs-lg);color:#fff;justify-content:center;margin-bottom:24px;font-weight:600;line-height:22px;display:flex}.vjs-peach-speed-slider{align-items:center;gap:16px;margin-bottom:24px;display:flex}.vjs-peach-speed-chips{align-items:flex-start;gap:8px;display:flex}.vjs-peach-speed-preset{flex-direction:column;flex:0 53px;align-items:center;min-width:0;display:flex}.vjs-peach-speed-preset-label{font-size:var(--fs-xs);color:#ffffffb3;margin-top:4px;font-weight:400;line-height:14px}.vjs-peach-settings-menu .vjs-peach-speed-button{border-radius:var(--pill-radius);color:#fff;text-align:center;cursor:pointer;background:#ffffff1a;border:0;justify-content:center;align-items:center;height:32px;min-height:32px;padding:0;font-weight:500;line-height:16px;transition:background .2s cubic-bezier(.05,0,0,1);display:flex}.vjs-peach-settings-menu .vjs-peach-speed-button:before{content:none}.vjs-peach-settings-menu .vjs-peach-speed-button:hover{background:#fff3}.vjs-peach-settings-menu .vjs-peach-speed-button:active{background:#ffffff4d}.vjs-peach-speed-slider .vjs-peach-speed-button{flex:none;width:32px}.vjs-peach-speed-slider .vjs-peach-speed-button>svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;width:24px;height:24px;display:block}.vjs-peach-speed-chips .vjs-peach-speed-button{width:100%;font-size:var(--fs-xs);gap:4px}.vjs-peach-speed-range{--peach-speed-percent:0%;appearance:none;cursor:pointer;background:0 0;flex:auto;width:100%;min-width:0;height:24px;margin:0}.vjs-peach-speed-range:focus-visible{outline:0}.vjs-peach-speed-range::-webkit-slider-runnable-track{border-radius:var(--pill-radius);background:linear-gradient(to right,#fff 0,#fff var(--peach-speed-percent),#909090 var(--peach-speed-percent),#909090 100%);height:4px}.vjs-peach-speed-range::-webkit-slider-thumb{appearance:none;background:#fff;border-radius:50%;width:16px;height:16px;margin-top:-6px}.vjs-peach-speed-range::-moz-range-track{border-radius:var(--pill-radius);background:linear-gradient(to right,#fff 0,#fff var(--peach-speed-percent),#909090 var(--peach-speed-percent),#909090 100%);height:4px}.vjs-peach-speed-range::-moz-range-thumb{background:#fff;border:0;border-radius:50%;width:16px;height:16px}.video-js.vjs-peach-xsmall .vjs-peach-speed-panel{padding:16px}.video-js.vjs-peach-xsmall .vjs-peach-speed-display,.video-js.vjs-peach-xsmall .vjs-peach-speed-slider{margin-bottom:16px}.vjs-peach-bezel{z-index:19;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);color:#fff;opacity:0;pointer-events:none;background:#0009;border-radius:50%;place-items:center;width:78px;height:78px;margin:-39px 0 0 -39px;display:grid;position:absolute;top:50%;left:50%}.vjs-peach-bezel[hidden]{display:none}.vjs-peach-bezel-icon{place-items:center;width:54px;height:54px;display:grid}.vjs-peach-bezel-icon svg{fill:currentColor;stroke:none;width:100%;height:100%;display:block}.vjs-peach-bezel-run{animation:1s cubic-bezier(.05,0,0,1) forwards peach-bezel-fadeout}@keyframes peach-bezel-fadeout{0%{opacity:0}25%,75%{opacity:1;transform:scale(1.33)}to{opacity:0;transform:scale(1)}}.video-js.vjs-peach-xsmall .vjs-peach-bezel{width:64px;height:64px;margin:-32px 0 0 -32px}.video-js.vjs-peach-xsmall .vjs-peach-bezel-icon{width:48px;height:48px}.video-js.vjs-waiting .vjs-peach-bezel,.video-js.vjs-seeking .vjs-peach-bezel,.video-js.vjs-error .vjs-peach-bezel{display:none}.vjs-peach-tooltip{z-index:5;border-radius:var(--surface-radius);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);color:#fff;white-space:nowrap;font-size:var(--fs-sm);text-shadow:0 0 2px #000;pointer-events:none;background:#0009;align-items:center;padding:5px 9px;font-weight:500;line-height:15px;display:none;position:absolute;bottom:calc(100% + 12px);right:50%;transform:translate(50%)}.vjs-peach-tooltip,.vjs-volume-tooltip{--surface-radius:8px;--badge-radius:4px}.vjs-peach-tooltip kbd{border-radius:var(--badge-radius);color:#fff;min-width:11px;font:inherit;border:1px solid #ffffff4d;justify-content:center;align-items:center;margin-left:4px;padding:0 2px;display:flex}.vjs-peach-tooltip kbd[hidden]{display:none}[data-stage-media] .video-js .vjs-control-bar button:hover>.vjs-peach-tooltip,[data-stage-media] .video-js .vjs-control-bar button:focus-visible>.vjs-peach-tooltip{display:flex}.vjs-peach-theater>button[aria-pressed=true]{color:#fff}@media (width<=640px){[data-stage-media] .video-js .vjs-control-bar{height:59px;padding:3px 0 0;bottom:6px;left:8px;right:8px}[data-stage-media] .video-js .vjs-progress-control,[data-stage-media] .video-js.vjs-layout-tiny .vjs-progress-control,[data-stage-media] .video-js.vjs-layout-x-small .vjs-progress-control{height:18px;display:flex;top:-12px;left:0;right:0}[data-stage-media] .video-js.vjs-layout-small .vjs-current-time,[data-stage-media] .video-js.vjs-layout-small .vjs-duration,[data-stage-media] .video-js.vjs-layout-small .vjs-time-divider{display:flex}[data-stage-media] .video-js .vjs-time-control{font-size:var(--fs-xs)}.vjs-peach-seek-frame{width:160px}.vjs-peach-settings-menu{border-radius:var(--floating-radius);width:min(274px,100vw - 16px);right:-100px}}.vjs-peach-expand{display:none}.video-js.vjs-peach-xsmall .vjs-peach-right-controls>.vjs-control{flex:0 0 36px;min-width:36px;width:36px!important}.video-js.vjs-peach-xsmall .vjs-peach-right-controls .vjs-peach-control-icon,.video-js.vjs-peach-xsmall .vjs-peach-right-controls>.vjs-control:not(.vjs-peach-expand)>button>svg{width:18px;height:18px}.video-js.vjs-peach-xsmall .vjs-peach-expand>button>svg{width:32px;height:32px}.video-js.vjs-peach-xsmall .vjs-peach-right-controls>.vjs-control>.vjs-peach-hover{border-radius:50%;width:32px;height:32px;left:2px}.video-js.vjs-peach-xsmall .vjs-peach-settings-menu{width:min(274px,100vw - 48px);max-height:calc(var(--peach-player-h,420px) - 74px);right:0}.video-js.vjs-peach-xsmall .vjs-peach-panel-menu{padding:4px 8px}.video-js.vjs-peach-xsmall .vjs-peach-menu-option{min-height:44px}.video-js.vjs-peach-xsmall .vjs-peach-panel-menu:has(>.vjs-peach-menu-option:nth-child(5)){grid-template-columns:1fr 1fr;display:grid}.video-js.vjs-peach-xsmall .vjs-peach-right-controls>.vjs-control:not(.vjs-peach-settings):not(.vjs-peach-expand){display:none}.video-js.vjs-peach-xsmall .vjs-peach-expand,.video-js.vjs-peach-xsmall.vjs-peach-right-expanded .vjs-peach-right-controls>.vjs-control:not(.vjs-peach-settings):not(.vjs-peach-expand){display:block}.video-js.vjs-peach-xsmall.vjs-peach-right-expanded .vjs-peach-time{display:none}.vjs-peach-expand>button>svg{transition:transform .3s cubic-bezier(.05,0,0,1);transform:rotate(180deg)}.video-js.vjs-peach-right-expanded .vjs-peach-expand>button>svg{transform:rotate(0)}[data-stage-media] .video-js.vjs-error .vjs-error-display{background:0 0}[data-stage-media] .video-js.vjs-error .vjs-error-display .vjs-modal-dialog-content{z-index:9;border-radius:var(--surface-radius);text-align:center;overflow-wrap:anywhere;background:#020408db;justify-content:center;align-items:center;width:max-content;max-width:min(560px,100% - 48px);height:auto;padding:14px 18px;display:flex;top:50%;left:50%;transform:translate(-50%,-50%)}[data-stage-media] :is([data-stage-media]>.video-js.vjs-fullscreen,.video-js.vjs-fullscreen,.video-js[data-peach-fullscreen],body.vjs-full-window .video-js,.video-js:fullscreen,.video-js:fullscreen,.video-js:fullscreen,[data-stage-media]:fullscreen>.video-js,[data-stage-media]:fullscreen>.video-js,[data-stage-media]:fullscreen>.video-js){aspect-ratio:auto!important;z-index:10000!important;width:100vw!important;max-width:none!important;height:100vh!important;max-height:none!important;padding:0!important;position:fixed!important;inset:0!important}[data-stage-media] :is([data-stage-media]>.video-js.vjs-fullscreen,.video-js.vjs-fullscreen,.video-js[data-peach-fullscreen],body.vjs-full-window .video-js,.video-js:fullscreen,.video-js:fullscreen,.video-js:fullscreen,[data-stage-media]:fullscreen>.video-js,[data-stage-media]:fullscreen>.video-js,[data-stage-media]:fullscreen>.video-js) .vjs-tech{object-fit:cover!important;width:100vw!important;max-width:none!important;height:100vh!important;max-height:none!important;position:absolute!important;inset:0!important}[data-player-stats-button]{z-index:8;color:#fff;cursor:pointer;width:40px;height:40px;box-shadow:none;isolation:isolate;background:#0009;border:0;border-radius:50%;place-items:center;padding:0;display:grid;position:absolute;top:11px;left:11px;overflow:hidden}[data-player-stats-button][hidden]{display:none}[data-player-stats-button]:after,[data-stage-close]:after{content:"";z-index:0;pointer-events:none;background:0 0;border-radius:50%;transition:background .2s cubic-bezier(.05,0,0,1);position:absolute;inset:4px}[data-player-stats-button]:hover:after,[data-player-stats-button]:focus-visible:after,[data-stage-close]:hover:after,[data-stage-close]:focus-visible:after{background:#ffffff1a}[data-player-stats-button]:active:after,[data-stage-close]:active:after{background:#fff3}[data-player-stats-button]:focus-visible,[data-stage-close]:focus-visible{outline:0}[data-player-stats-button][aria-pressed=true]{background:var(--hover);color:var(--ink)}[data-player-stats-button] svg{z-index:1;stroke:currentColor;fill:none;stroke-width:2px;filter:drop-shadow(0 0 1px #000c);width:20px;height:20px;position:relative}[data-player-stats]{z-index:8;overscroll-behavior:contain;border-radius:var(--surface-radius);color:#eef3f8;-webkit-backdrop-filter:saturate(1.25)blur(14px);backdrop-filter:saturate(1.25)blur(14px);min-width:320px;max-width:min(520px,100% - 22px);max-height:calc(100% - 114px);font-size:var(--fs-xs);background:#020408c7;border:1px solid #ffffff2e;padding:10px 12px;font-family:inherit;line-height:1.5;position:absolute;top:58px;left:11px;overflow-y:auto;box-shadow:0 12px 28px #0008}[data-player-stats] dl{grid-template-columns:max-content minmax(0,1fr);gap:1px 12px;margin:0;display:grid}[data-player-stats] dt{text-align:right;font-weight:600}[data-player-stats] dd{text-overflow:ellipsis;white-space:nowrap;margin:0;overflow:hidden}[data-player-stats] dd[data-player-stats-metric]{grid-template-columns:166px minmax(0,1fr);align-items:center;gap:9px;display:grid;overflow:visible}[data-player-stats-metric]>span{text-overflow:ellipsis;overflow:hidden}[data-player-stats-plot]{background:#000;grid-template-columns:repeat(24,minmax(2px,1fr));align-items:end;gap:1px;height:20px;padding:2px;display:grid;overflow:hidden}[data-player-stats-plot] i{background:0 0;min-height:0;display:block}[data-player-stats-plot=speed] i[data-bar]{background:#55b5bd}[data-player-stats-plot=activity] i[data-bar]{background:#4ba8df}[data-player-stats-plot=buffer] i[data-bar]{background:#d8e98a}[data-player-stats-plot=buffer] i[data-bar=mid]{background:#efb55f}[data-player-stats-plot=buffer] i[data-bar=low]{background:#e16962}[data-player-stats][hidden]{display:none}@media (width<=600px){[data-player-stats] dd[data-player-stats-metric]{grid-template-columns:96px minmax(0,1fr)}}[data-player-net]{box-sizing:border-box;z-index:8;white-space:nowrap;border-radius:var(--floating-radius);color:#fff;height:40px;min-height:40px;box-shadow:none;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);font-size:var(--fs-xs);background:#0009;border:0;align-items:center;gap:7px;padding:0 11px;font-family:inherit;line-height:1;display:flex;position:absolute;top:11px;left:58px}[data-player-net] svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;flex:none;width:18px;height:18px}[data-player-net][hidden],[data-stage-media] video[hidden]{display:none}[data-stage-close]{z-index:9;color:#f0e9de;cursor:pointer;width:40px;height:40px;box-shadow:none;isolation:isolate;background:#0009;border:0;border-radius:50%;place-items:center;padding:0;display:grid;position:absolute;top:11px;right:11px;overflow:hidden}[data-stage-close] svg{z-index:1;stroke:currentColor;fill:none;stroke-width:2px;filter:drop-shadow(0 0 1px #000c);width:20px;height:20px;position:relative}#playerMenu[data-player-context-menu]{border-radius:var(--floating-radius);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);box-shadow:none;color:#fff;text-shadow:0 0 1px #000c;background:#0009;border:0;gap:0;min-width:240px;max-width:calc(100vw - 16px);padding:8px}[data-player-context-menu][popover]{margin:0;inset:auto}#playerMenu>[data-player-menu]{box-sizing:border-box;border-radius:var(--control-radius);width:100%;min-height:48px;box-shadow:none;color:#fff;font:inherit;font-size:var(--fs-md);text-align:left;white-space:nowrap;cursor:pointer;background:0 0;border:0;grid-template-columns:56px minmax(0,1fr) 32px;align-items:center;gap:0;margin:0;padding:0;font-weight:400;line-height:18.2px;display:grid}#playerMenu>[data-player-menu]:hover,#playerMenu>[data-player-menu]:focus-visible{color:#fff;background:#ffffff1a;outline:0}#playerMenu>[data-player-menu]:active{background:#fff3}[data-player-menu]>svg{stroke:currentColor;fill:none;stroke-width:2px;justify-self:start;width:24px;height:24px;margin-left:8px}[data-player-menu]>svg[data-player-menu-fill]{fill:currentColor;stroke:none}[data-player-menu]>span{text-overflow:ellipsis;overflow:hidden}[data-player-menu]>[data-player-menu-check]{visibility:hidden;grid-column:3;justify-self:center;width:18px;height:18px;margin:0}[data-player-menu][aria-checked=true]>[data-player-menu-check]{visibility:visible}:root{--stage-shadow:#0000000a;--miniplayer-shadow-near:#00000029;--miniplayer-shadow-far:#0003}.dark{--stage-shadow:#0006;--miniplayer-shadow-near:#00000080;--miniplayer-shadow-far:#0000008c}[data-stage]{--detail-surface:var(--video-glow,#15202a)}@supports (color:color-mix(in lab, red, red)){[data-stage]{--detail-surface:color-mix(in srgb,var(--video-glow,#15202a) 12%,var(--surface) 88%)}}[data-stage]{width:min(1440px,100vw - 32px);max-width:calc(100vw - 32px);height:fit-content;max-height:calc(100dvh - 32px);color:var(--ink);border-radius:var(--floating-radius);overscroll-behavior:contain;background:radial-gradient(circle at 28% 24%,var(--video-glow,#15202a),transparent 58%), var(--surface);margin:auto;padding:0;position:fixed;inset:16px}@supports (color:color-mix(in lab, red, red)){[data-stage]{background:radial-gradient(circle at 28% 24%,color-mix(in srgb,var(--video-glow,#15202a) 40%,transparent),transparent 58%), color-mix(in srgb,var(--surface) 88%,transparent)}}[data-stage]{scroll-margin-top:calc(var(--topH) + 8px);border:1px solid var(--line);overflow:auto}[data-stage]::backdrop{background:var(--scrim)}[data-stage]:focus-visible{outline:none}body[data-detail-open]{overflow:hidden}@supports (color:color-mix(in lab, red, red)){[data-stage]:not([data-ambient]){background:color-mix(in srgb,var(--surface) 88%,transparent)}}[data-stage-grid]{grid-template-columns:minmax(0,1fr) minmax(350px,390px);display:grid}[data-stage-grid][data-with-queue]{grid-template-columns:minmax(0,1fr) minmax(350px,390px);grid-template-areas:"media side""queue queue";align-items:start}[data-stage-grid][data-with-queue]>[data-stage-media]{grid-area:media}[data-stage-grid][data-with-queue]>[data-stage-side]{background:var(--detail-surface);grid-area:side}[data-stage-grid][data-with-queue]>[data-mix-queue]{border-left:0;border-top:1px solid var(--line-soft);background:var(--detail-surface);grid-area:queue;max-height:360px}[data-stage-grid][data-with-queue] [data-mix-queue-actions] [data-queue-close]{display:none}[data-mix-queue]{border-left:1px solid var(--line-soft);background:var(--video-glow,#15202a);flex-direction:column;min-width:0;max-height:76vh;display:flex}@supports (color:color-mix(in lab, red, red)){[data-mix-queue]{background:color-mix(in srgb,var(--video-glow,#15202a) 10%,var(--surface) 90%)}}[data-mix-queue-head]{border-bottom:1px solid var(--line-soft);grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px;min-height:70px;padding:12px 12px 10px 15px;display:grid}[data-mix-queue-head] h2{text-overflow:ellipsis;white-space:nowrap;font-size:var(--fs-lg);margin:0;overflow:hidden}[data-mix-queue-head] span{color:var(--muted);font-size:var(--fs-xs);margin-top:3px;display:block}[data-mix-queue-head] button{border-radius:var(--control-radius);width:36px;height:36px;color:var(--ink);cursor:pointer;background:0 0;border:0;place-items:center;padding:0;display:grid}[data-mix-queue-head] button:hover{background:var(--hover)}[data-mix-queue-head] svg{stroke:currentColor;fill:none;stroke-width:2px;width:20px;height:20px}[data-mix-queue-actions]{align-items:center;gap:2px;display:flex}[data-mix-list]{min-height:0;padding:6px;overflow-y:auto}[data-mix-row]{border-radius:var(--control-radius);grid-template-columns:minmax(0,1fr) auto;align-items:center;display:grid}[data-mix-row]:has([data-mix-item][aria-current=true]){background:var(--hover)}[data-mix-row] [data-mix-item][aria-current=true]{background:0 0}[data-mix-item]{border-radius:var(--control-radius);width:100%;color:var(--ink);text-align:left;cursor:pointer;background:0 0;border:0;grid-template-columns:94px minmax(0,1fr);align-items:center;gap:10px;padding:7px;display:grid}[data-mix-item]:hover{background:var(--overlay-5)}[data-mix-item][aria-current=true]{background:var(--hover)}[data-mix-item-pic]{aspect-ratio:16/9;border-radius:var(--badge-radius);background:#000;position:relative;overflow:hidden}[data-mix-item-pic] img{object-fit:contain;width:100%;height:100%;position:absolute;inset:0}[data-mix-item-pic] [data-mix-item-duration]{bottom:3px;right:4px}[data-mix-item-meta]{align-items:center;gap:10px;min-width:0;display:flex}[data-mix-item-meta] [class~=mav]{cursor:inherit}[data-mix-item-meta] [class~=mav]:hover{box-shadow:none}[data-mix-item-meta] [class~=mavstack] [class~=mav]{box-shadow:0 0 0 2px var(--ground)}[data-mix-item-text]{min-width:0}[data-mix-item-text] b,[data-mix-item-text] span{white-space:nowrap;display:block;overflow:hidden}[data-mix-item-text] [data-truncate-end]{text-overflow:ellipsis}[data-mix-item-text] b{font-size:var(--fs-xs);line-height:1.4}[data-mix-item-text] span{font-size:var(--fs-xs);color:var(--muted);margin-top:3px}[data-mix-row][data-queue-row]{cursor:grab;position:relative}[data-mix-row][data-queue-row]:active{cursor:grabbing}[data-mix-row][class~=dragging]{opacity:.42}[data-mix-row][class~=drop-before]:before,[data-mix-row][class~=drop-after]:after{content:"";z-index:4;border-radius:var(--pill-radius);background:var(--ink);height:2px;position:absolute;left:6px;right:6px}[data-mix-row][class~=drop-before]:before{top:-3px}[data-mix-row][class~=drop-after]:after{bottom:-3px}[data-stage-grid][data-with-queue]>[data-mix-queue]{padding:14px 14px 16px;overflow:hidden}[data-stage-grid][data-with-queue]>[data-mix-queue] [data-mix-queue-head]{border:0;min-height:0;padding:0 0 11px}[data-stage-grid][data-with-queue]>[data-mix-queue] [data-mix-queue-head] h2{font-size:var(--fs-sm);letter-spacing:.06em}[data-stage-grid][data-with-queue]>[data-mix-queue] [data-mix-queue-head] span{text-overflow:ellipsis;white-space:nowrap;max-width:72ch;overflow:hidden}[data-stage-grid][data-with-queue]>[data-mix-queue] [data-mix-list]{overscroll-behavior-inline:contain;scroll-snap-type:x proximity;grid-auto-columns:minmax(190px,220px);grid-auto-flow:column;gap:10px;padding:0 0 3px;display:grid;overflow:auto hidden}[data-stage-grid][data-with-queue]>[data-mix-queue] [data-mix-row]{scroll-snap-align:start;background:0 0;min-width:0;display:block;position:relative}[data-stage-grid][data-with-queue]>[data-mix-queue] [data-mix-item]{flex-direction:column;align-items:stretch;gap:7px;padding:0;display:flex}[data-stage-grid][data-with-queue]>[data-mix-queue] [data-mix-item]:hover,[data-stage-grid][data-with-queue]>[data-mix-queue] [data-mix-item][aria-current=true]{background:0 0}[data-stage-grid][data-with-queue]>[data-mix-queue] [data-mix-item-pic]{border:1px solid #0000;width:100%}[data-stage-grid][data-with-queue]>[data-mix-queue] [data-mix-item][aria-current=true] [data-mix-item-pic]{border-color:var(--ink);box-shadow:0 0 0 1px var(--ink)}[data-stage-grid][data-with-queue]>[data-mix-queue] [data-mix-item-meta]{align-items:flex-start;width:100%;padding:0 2px}[data-stage-grid][data-with-queue]>[data-mix-queue] [data-mix-item-meta] [class~=mav],[data-stage-grid][data-with-queue]>[data-mix-queue] [data-mix-item-meta] [class~=mavstack]{margin-top:2px}[data-stage-grid][data-with-queue]>[data-mix-queue] [data-mix-item-text]{flex:1;min-width:0}[data-stage-grid][data-with-queue]>[data-mix-queue] [data-mix-item-text] b{font-size:var(--fs-sm)}[data-stage-grid][data-with-queue]>[data-mix-queue] [data-mix-item][data-media-kind=image] [data-mix-item-pic] img{object-fit:cover}[data-stage-scroll]>.peach-react{font:inherit;color:inherit;-webkit-font-smoothing:inherit;font-variant-ligatures:inherit;font-kerning:inherit;display:contents}@media (width>=1081px){[data-stage]:not([data-theater])>[data-stage-scroll]{flex-direction:column;max-height:calc(100dvh - 34px);display:flex}[data-stage]:not([data-theater])>[data-stage-scroll]>[data-stage-grid],[data-stage]:not([data-theater])>[data-stage-scroll]>.peach-react>[data-stage-grid]{flex:auto;min-height:0}[data-stage]:not([data-theater]) [data-stage-grid]>[data-stage-media]{min-height:0}[data-stage]:not([data-theater]) [data-stage-media]>.video-js{max-height:min(76vh,100%)}[data-stage][data-theater]>[data-stage-scroll]{overscroll-behavior:contain;max-height:calc(100dvh - 34px);overflow:hidden auto}[data-stage-grid][data-with-queue]>[data-stage-media]{align-self:stretch}[data-stage][data-theater] [data-stage-grid]{grid-template-columns:minmax(0,1fr)}[data-stage][data-theater] [data-stage-grid]:not([data-with-queue])>[data-stage-side]{border-left:0;border-top:1px solid var(--line-soft);grid-column:1}[data-stage][data-theater] [data-stage-grid][data-with-queue]{grid-template-areas:"media""side""queue"}[data-stage][data-theater] [data-stage-side-content]:is(*){height:auto;max-height:none}[data-stage][data-theater] [data-stage-media]>.video-js,[data-stage][data-theater] [data-stage-media]>video{max-height:calc(100vh - var(--topH) - 56px)}}[data-stage-grid][data-with-queue]>[data-mix-queue] [data-mix-queue-head]{grid-template-columns:max-content max-content minmax(0,1fr);gap:5px 8px}[data-stage-grid][data-with-queue]>[data-mix-queue] [data-mix-queue-head]>div:first-child{min-width:0}[data-stage-grid][data-with-queue]>[data-mix-queue] [data-mix-queue-actions]{grid-area:1/2;align-self:center}[data-mix-item-duration]{z-index:2;color:#f2eadf;border-radius:var(--badge-radius);background:#000000b3;padding:2px 6px;transition:opacity .15s;position:absolute;bottom:6px;right:6px}[data-stage-side]{border-left:1px solid var(--line-soft);background:var(--detail-surface);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);align-self:stretch;min-width:0;min-height:0;overflow:hidden}[data-stage-side-content]{box-sizing:border-box;flex-direction:column;gap:0;width:100%;height:100%;max-height:76vh;padding:18px;display:flex;overflow:hidden auto}[data-stage-title]{font-size:var(--fs-lg);word-break:break-all;margin-bottom:8px;line-height:1.4}[data-stage-meta]{color:var(--muted);flex-wrap:wrap;gap:9px;margin-bottom:18px;display:flex}[data-stage-tags]{flex-wrap:wrap;align-items:center;gap:7px;margin:0 0 18px;display:flex;position:relative}[data-stage-actions]{border:1px solid var(--border-10);border-radius:var(--control-radius);background:var(--overlay-5);flex:none;align-items:center;gap:0;width:max-content;margin:0 0 12px;padding:0;display:flex;overflow:hidden}[data-stage-actions] button{border:0;border-right:1px solid var(--border-10);cursor:pointer;width:44px;height:42px;color:var(--muted);background:0 0;border-radius:0;place-items:center;padding:0;transition:transform .14s,color .14s,background .14s;display:grid}[data-stage-actions] button svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:21px;height:21px}[data-stage-actions] button:last-child{border-right:0}[data-stage-actions] button:hover{background:var(--hover);transform:none}[data-stage-actions] [data-stage-action=dislike]:hover,[data-stage-actions] [data-stage-action=dislike][aria-pressed=true]{color:var(--drop);background:var(--drop)}@supports (color:color-mix(in lab, red, red)){[data-stage-actions] [data-stage-action=dislike]:hover,[data-stage-actions] [data-stage-action=dislike][aria-pressed=true]{background:color-mix(in srgb,var(--drop) 12%,transparent)}}[data-stage-actions] [data-stage-action=seen]:hover,[data-stage-actions] [data-stage-action=seen][aria-pressed=true]{color:var(--keep);background:var(--keep)}@supports (color:color-mix(in lab, red, red)){[data-stage-actions] [data-stage-action=seen]:hover,[data-stage-actions] [data-stage-action=seen][aria-pressed=true]{background:color-mix(in srgb,var(--keep) 12%,transparent)}}[data-stage-actions] [data-stage-action=later]:hover,[data-stage-actions] [data-stage-action=later][aria-pressed=true]{color:var(--loupe);background:var(--loupe)}@supports (color:color-mix(in lab, red, red)){[data-stage-actions] [data-stage-action=later]:hover,[data-stage-actions] [data-stage-action=later][aria-pressed=true]{background:color-mix(in srgb,var(--loupe) 12%,transparent)}}[data-stage-grid][data-with-queue]>[data-mix-queue] [class~=mavstack] [class~=mav]:nth-child(n+3){display:none}[data-mix-group-label]{color:var(--ink);font-size:var(--fs-xs);align-items:center;gap:8px;margin:12px 10px 6px;font-weight:600;display:flex}[data-mix-group-label]:first-child{margin-top:4px}[data-mix-group-label] span{color:var(--muted);font-variant-numeric:tabular-nums;font-weight:400}@media (width<=1080px){[data-stage-grid],[data-stage-grid][data-with-queue]{grid-template-columns:minmax(0,1fr)}[data-stage-grid][data-with-queue]{grid-template-areas:"media""side""queue"}[data-stage-side],[data-stage-grid][data-with-queue]>[data-stage-side]{border-left:0;border-top:1px solid var(--line-soft);grid-column:auto}[data-stage-side-content]{height:auto;max-height:none}[data-mix-queue],[data-stage-grid][data-with-queue]>[data-mix-queue]{border-left:0;border-top:1px solid var(--line-soft);max-height:420px}}@media (width<=760px){[data-stage-actions]{width:100%}[data-stage-actions] button{flex:1 1 0;min-width:38px}}[data-miniplayer]{z-index:var(--layer-miniplayer);touch-action:none;will-change:opacity,transform;-webkit-user-select:none;user-select:none;width:min(400px,100vw - 32px);max-height:calc(100dvh - 32px);position:fixed}[data-miniplayer][hidden]{display:none}[data-miniplayer][data-corner=br]{bottom:16px;right:16px}[data-miniplayer][data-corner=bl]{bottom:16px;left:16px}[data-miniplayer][data-corner=tr]{right:16px;top:calc(var(--topH) + 16px)}[data-miniplayer][data-corner=tl]{left:16px;top:calc(var(--topH) + 16px)}[data-miniplayer][data-miniplayer-drag],[data-miniplayer][data-miniplayer-drag] [data-miniplayer-card]{cursor:grabbing}[data-miniplayer][data-miniplayer-snap]{transition:transform .5s cubic-bezier(.05,0,0,1)}@media (prefers-reduced-motion:no-preference){[data-miniplayer][data-miniplayer-enter]{animation:.366s cubic-bezier(.05,0,0,1) both miniplayer-fade-in}}@keyframes miniplayer-fade-in{0%{opacity:0}to{opacity:1}}[data-miniplayer-card]{border-radius:var(--floating-radius);background:var(--surface);box-shadow:0 2px 5px var(--miniplayer-shadow-near),0 3px 6px var(--miniplayer-shadow-far);cursor:grab;flex-direction:column;display:flex;overflow:hidden}[data-miniplayer-frame]{width:100%;aspect-ratio:var(--miniplayer-aspect,16/9);background:#000;max-height:calc(100dvh - 108px);position:relative;overflow:hidden}[data-miniplayer-frame] .video-js{background:#000;font-family:inherit;position:absolute;inset:0;width:100%!important;height:100%!important;padding-top:0!important}[data-miniplayer-frame] .video-js .vjs-tech{object-fit:contain}[data-miniplayer-frame] .video-js :is(.vjs-big-play-button,.vjs-peach-bezel,.vjs-peach-settings-menu,.vjs-peach-tooltip,.vjs-loading-spinner,[data-player-seek-preview],.vjs-text-track-display){display:none!important}[data-miniplayer-frame] .video-js .vjs-control-bar{z-index:2;background:0 0;width:auto;height:5px;padding:0;transition:none;display:flex;position:absolute;inset:auto 0 0;opacity:1!important;visibility:visible!important;pointer-events:auto!important}[data-miniplayer-frame] .video-js .vjs-control-bar>:not(.vjs-progress-control){display:none!important}[data-miniplayer-frame] .video-js .vjs-progress-control{align-items:center;width:auto;min-width:0;height:5px;display:flex;position:absolute;inset:0}[data-miniplayer-frame] .video-js .vjs-progress-control .vjs-progress-holder{background:#fff3;border-radius:0;width:100%;height:5px;margin:0}[data-miniplayer-frame] .video-js .vjs-load-progress{background:#fff6}[data-miniplayer-frame] .video-js .vjs-load-progress div{background:#fff3}[data-miniplayer-frame] .video-js .vjs-play-progress{background:var(--tungsten)}[data-miniplayer-frame] .video-js .vjs-play-progress:before{content:"";background:var(--tungsten);width:12px;height:12px;box-shadow:none;border-radius:50%;font-size:0;position:absolute;top:50%;right:-6px;transform:translateY(-50%)}[data-miniplayer-frame] .video-js .vjs-time-tooltip{font-size:var(--fs-xs);font-family:inherit}[data-miniplayer-scrim]{z-index:1;opacity:0;color:#fff;background:#00000080;justify-content:center;align-items:center;gap:6px;transition:opacity .2s cubic-bezier(.4,0,.2,1) .1s;display:flex;position:absolute;inset:0}[data-miniplayer-frame]:hover [data-miniplayer-scrim],[data-miniplayer-frame]:focus-within [data-miniplayer-scrim],[data-miniplayer][data-miniplayer-drag] [data-miniplayer-scrim]{opacity:1}[data-miniplayer-button],[data-miniplayer-play],[data-miniplayer-seek]{isolation:isolate;color:#fff;cursor:pointer;background:0 0;border:0;place-items:center;margin:0;padding:0;display:grid;position:relative}[data-miniplayer-button]{width:40px;height:40px;position:absolute;top:0}[data-miniplayer-button] svg{z-index:1;stroke:currentColor;fill:none;stroke-width:2px;filter:drop-shadow(0 0 1px #000c);width:24px;height:24px;position:relative}[data-miniplayer-button=expand]{left:0}[data-miniplayer-button=close]{right:0}[data-miniplayer-play]{width:42px;height:42px}[data-miniplayer-play] svg{z-index:1;fill:currentColor;stroke:none;filter:drop-shadow(0 0 1px #000c);width:36px;height:36px;position:relative}[data-miniplayer-seek]{width:36px;height:36px}[data-miniplayer-seek] svg{z-index:1;stroke:currentColor;fill:none;stroke-width:2px;filter:drop-shadow(0 0 1px #000c);width:22px;height:22px;position:relative}[data-miniplayer-button]:after,[data-miniplayer-play]:after,[data-miniplayer-seek]:after{content:"";z-index:0;pointer-events:none;background:0 0;border-radius:50%;transition:background .2s cubic-bezier(.05,0,0,1);position:absolute;inset:4px}[data-miniplayer-button]:hover:after,[data-miniplayer-button]:focus-visible:after,[data-miniplayer-play]:hover:after,[data-miniplayer-play]:focus-visible:after,[data-miniplayer-seek]:hover:after,[data-miniplayer-seek]:focus-visible:after{background:#ffffff1a}[data-miniplayer-button]:active:after,[data-miniplayer-play]:active:after,[data-miniplayer-seek]:active:after{background:#fff3}[data-miniplayer-button]:focus-visible,[data-miniplayer-play]:focus-visible,[data-miniplayer-seek]:focus-visible{outline:0}[data-miniplayer-time]{font-size:var(--fs-xs);text-shadow:0 0 2px #000;pointer-events:none;line-height:15px;position:absolute;bottom:16px;left:12px}[data-miniplayer-info]{box-sizing:border-box;width:100%;min-height:76px;color:var(--ink);text-align:left;font:inherit;cursor:grab;background:0 0;border:0;flex-direction:column;justify-content:center;align-items:flex-start;margin:0;padding:12px 16px;display:flex}[data-miniplayer-info]:focus-visible{outline:2px solid var(--tungsten);outline-offset:-2px}[data-miniplayer-title]{white-space:nowrap;text-overflow:ellipsis;max-width:100%;font-size:var(--fs-md);font-weight:500;line-height:20px;display:block;overflow:hidden}[data-miniplayer-sub]{white-space:nowrap;text-overflow:ellipsis;max-width:100%;font-size:var(--fs-xs);color:var(--muted);margin-top:4px;line-height:18px;display:block;overflow:hidden}[data-miniplayer-sub]:empty{display:none}[data-stage-reveal]>[data-stage-fade]{z-index:2;pointer-events:none;opacity:1;filter:blur();transition:opacity var(--motion-reveal),filter var(--motion-reveal);position:absolute;inset:0;overflow:hidden}[data-stage-reveal][data-stage-revealing]>[data-stage-fade]{opacity:0;filter:blur(2px)}[data-stage-reveal]>:not([data-stage-fade]){animation:skel-reveal-in var(--motion-reveal) backwards}[data-stage]{border:1px solid var(--line);border-radius:var(--surface-radius);background:var(--ground);box-shadow:0 2px 8px var(--stage-shadow);--detail-surface:var(--ground);overflow:clip}[data-stage]:not([data-ambient]){background:var(--ground)}[data-stage] [data-stage-side]{background:var(--ground);-webkit-backdrop-filter:none;backdrop-filter:none;border-color:var(--line-soft)}[data-stage-side-content]{gap:4px;padding:20px}[data-stage-title]{font-weight:500;line-height:1.5}@media (width<=760px){[data-stage-side-content]{padding:16px}[data-stage]{border-radius:12px}[data-stage] [data-stage-side]{border-left:0;border-top:1px solid var(--line-soft)}}@media (width<=1080px){[data-stage]>[data-stage-scroll]{overscroll-behavior:contain;max-height:calc(100dvh - 34px);overflow:hidden auto}[data-stage] [data-stage-media]:has(>.video-js){z-index:3;position:sticky;top:0}}@media (width<=760px){[data-stage]{inset:calc(env(safe-area-inset-top) + 8px) 8px auto;width:calc(100vw - 16px);max-width:calc(100vw - 16px);max-height:calc(100dvh - env(safe-area-inset-top) - 16px);margin:0 auto}[data-stage]>[data-stage-scroll]{max-height:calc(100dvh - env(safe-area-inset-top) - 18px)}[data-stage-media]>.video-js{aspect-ratio:var(--peach-video-ratio,16/9);max-height:56dvh}}[data-stage-close]{background:var(--surface);color:var(--ink);border-radius:50%;place-items:center;padding:0;line-height:1;display:grid}[data-stage-close] svg{place-self:center;margin:0;display:block}[data-stage]{animation:board-dialog-in var(--board-dialog-motion) backwards}[data-stage]::backdrop{animation:.35s cubic-bezier(.4,0,.2,1) both settings-backdrop-in}[data-stage][data-closing]{animation:board-dialog-out var(--board-dialog-motion) both;pointer-events:none}[data-stage][data-closing]::backdrop{animation:.35s cubic-bezier(.4,0,.2,1) both settings-backdrop-out}[data-stage] [data-stage-media]{border-radius:var(--surface-radius);overflow:hidden}[data-stage-side-content] [data-stage-actions]{background:0 0;border:0;flex-wrap:wrap;gap:4px;width:100%;margin:0 0 16px;padding:0;display:flex;overflow:visible}[data-stage-side-content] [data-stage-actions] button{background:var(--surface);border:0;border-radius:8px;flex:0 0 36px;place-items:center;width:36px;min-width:36px;height:36px;padding:0;display:grid}[data-stage-side-content] [data-stage-actions] button svg{width:18px;height:18px;margin:0;display:block}[data-stage-side-content] [data-stage-actions] button[aria-pressed=true]{box-shadow:inset 0 0 0 1px}[data-stage] [data-stage-media]{border-radius:var(--surface-radius) 0 0 0}[data-stage][data-theater] [data-stage-media]{border-radius:var(--surface-radius) var(--surface-radius) 0 0}@media (width<=1080px){[data-stage] [data-stage-media]{border-radius:var(--surface-radius) var(--surface-radius) 0 0}}[data-stage-close],[data-stage-close]:hover{color:#fff;background:#0009}[data-stage-close]:hover:after,[data-stage-close]:focus-visible:after{background:#fff3}[data-stage-close]:active:after{background:#ffffff4d}@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%)}}: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 [class~=overflow-x-auto]{scrollbar-width:none}.peach-react [class~=overflow-x-auto]::-webkit-scrollbar{display:none}.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-filter-glass][data-stuck]:before{content:"";z-index:-1;background:var(--page);pointer-events:none;height:9px;position:absolute;top:-9px;left:-16px;right:-16px;-webkit-mask-image:linear-gradient(90deg,#0000,#000 24px calc(100% - 24px),#0000);mask-image:linear-gradient(90deg,#0000,#000 24px calc(100% - 24px),#0000)}.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}.peach-react [data-tab-indicator]{width:var(--tab-width,0px);transform:translateX(var(--tab-x,0px))}.peach-react [data-tab-indicator][data-ready]{transition:transform calc(var(--spring-pane-ms,200) * 1ms) var(--spring-pane,ease), width calc(var(--spring-pane-ms,200) * 1ms) ease}@media (prefers-reduced-motion:reduce){.peach-react [data-tab-indicator][data-ready]{transition:none}}.peach-react [data-glass-segment][data-selected]{background:linear-gradient(180deg, var(--glass-sheen), transparent 62%), var(--glass-pick-fill);box-shadow:inset 0 0 0 1px var(--glass-rim), var(--glass-pick-shadow)}@media not all and (width>=761px){.peach-react :is([data-index-search],[data-playlist-create]) input{font-size:16px}}.peach-react [data-mix-stack]:before,.peach-react [data-mix-stack]:after{content:"";z-index:0;border-radius:inherit;border:1px solid var(--border-15);background:var(--surface);position:absolute}@supports (color:color-mix(in lab, red, red)){.peach-react [data-mix-stack]:before,.peach-react [data-mix-stack]:after{background:color-mix(in srgb, var(--surface) 84%, var(--video-glow,#15202a))}}.peach-react [data-mix-stack]:before{opacity:.54;inset:0 12px 8px;transform:translateY(-7px)}.peach-react [data-mix-stack]:after{opacity:.78;inset:0 6px 4px;transform:translateY(-4px)}.peach-react [data-mix-cover],.peach-react [data-mix-poster]{background:#000}.peach-react [data-mix-faces]{z-index:2;pointer-events:none;background:#000;position:absolute;inset:0}.peach-react [data-mix-face]{opacity:0;transform-origin:50% 88%;transition:transform .46s cubic-bezier(.34,.02,.24,1),opacity .4s;position:absolute;inset:0;transform:scale(.985)}.peach-react [data-mix-face=on]{opacity:1;z-index:2;transition:none;transform:none}.peach-react [data-mix-face=off]{opacity:0;z-index:3;transform:translateY(-11%)rotate(-3.4deg)scale(.94)}.peach-react [data-mix-face] img{object-fit:contain;background:#000;width:100%;height:100%;display:block}.peach-react [data-mix-badge]{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#0c0808b8}.peach-react [data-mix-avatars]{--lift-motion:calc(var(--spring-press-ms) * 1ms) var(--spring-press);flex:none;max-width:calc(100% - 48px);margin:-4px -2px -2px;padding:6px 2px 2px 5px;display:flex}.peach-react [data-mix-avatars]:has(:is(:hover,:focus-visible)){--lift-motion:var(--board-motion)}.peach-react [data-mix-avatars]>*{box-shadow:0 0 0 2px var(--ground);transform:translate(var(--lift-x,0), var(--lift-y,0)) scale(var(--lift-scale,1));transition:transform var(--lift-motion,var(--board-motion))}.peach-react [data-mix-avatars]>*+*{margin-left:-22px}.peach-react [data-mix-avatars]>:first-child{z-index:5}.peach-react [data-mix-avatars]>:nth-child(2){z-index:4}.peach-react [data-mix-avatars]>:nth-child(3){z-index:3}.peach-react [data-mix-avatars]>:nth-child(4){z-index:2}.peach-react [data-mix-avatars]>:nth-child(5){z-index:1}.peach-react [data-mix-avatars]>:is(:hover,:focus-visible){z-index:6;box-shadow:0 0 0 2px var(--ink-2);--lift-y:-4px;--lift-scale:1.05}.peach-react [data-mix-avatars]>:is(:hover,:focus-visible)+*{--lift-y:-1.8px;--lift-x:10px}.peach-react [data-mix-avatars]>:is(:hover,:focus-visible)+*+*{--lift-y:-.81px;--lift-x:20px}.peach-react [data-mix-avatars]>:is(:hover,:focus-visible)+*+*+*{--lift-x:30px}.peach-react [data-mix-avatars]>:is(:hover,:focus-visible)+*+*+*+*{--lift-x:40px}.peach-react [data-tag-cat]{--tag-color:#7a91a8}.peach-react [data-tag-cat=general],.peach-react [data-tag-cat=r34-general]{--tag-color:#55a7ff}.peach-react [data-tag-cat=artist]{--tag-color:#f1a454}.peach-react [data-tag-cat=meta]{--tag-color:#7f909e}.peach-react [data-tag-cat=relationship]{--tag-color:#f1a454}.peach-react [data-tag-cat=role]{--tag-color:#ed78af}.peach-react [data-tag-cat=appearance]{--tag-color:#a989f5}.peach-react [data-tag-cat=scene]{--tag-color:#53b8a4}.peach-react [data-tag-cat=story]{--tag-color:#e19a5b}.peach-react [data-tag-cat=position]{--tag-color:#d66e8d}.peach-react [data-tag-cat=r34-artist]{--tag-color:#e36c6c}.peach-react [data-tag-cat=r34-character]{--tag-color:#68c76f}.peach-react [data-tag-cat=r34-copyright]{--tag-color:#d675d6}.peach-react [data-tag-cat=r34-metadata]{--tag-color:#f5a24a}.peach-react [data-tag-cat=r34-unknown]{--tag-color:var(--muted)}.peach-react [data-tag-pill][data-tag-cat=all]{--tag-color:initial}.peach-react [data-tag-dot]{background:var(--tag-color,var(--muted))}.peach-react [data-tag-pill][data-tag-cat=all] [data-tag-dot]{background:linear-gradient(135deg,#55a7ff,#d783ff)}.peach-react [data-tag-chip]{border-color:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-tag-chip]{border-color:color-mix(in srgb, var(--tag-color) 32%, transparent)}}.peach-react [data-tag-chip]{background:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-tag-chip]{background:color-mix(in srgb, var(--tag-color) 7%, transparent)}}.peach-react [data-tag-chip]:hover{background:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-tag-chip]:hover{background:color-mix(in srgb, var(--tag-color) 13%, transparent)}}.peach-react [data-tag-chip][aria-pressed=true],.peach-react [data-alpha-tag][aria-pressed=true]{background:var(--picked);color:var(--color-text-primary)}.peach-react [data-tag-pill][aria-pressed=true]{border-color:var(--tag-color,var(--ink))}@supports (color:color-mix(in lab, red, red)){.peach-react [data-tag-pill][aria-pressed=true]{border-color:color-mix(in srgb, var(--tag-color,var(--ink)) 45%, transparent)}}.peach-react [data-tag-pill][aria-pressed=true]{background:var(--tag-color,var(--ink));border-style:solid}@supports (color:color-mix(in lab, red, red)){.peach-react [data-tag-pill][aria-pressed=true]{background:color-mix(in srgb, var(--tag-color,var(--ink)) 12%, transparent)}}.peach-react [data-tag-pill][aria-pressed=true]{color:var(--ink)}.peach-react [data-alpha-tag]:not([aria-pressed=true]):hover{background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-alpha-tag]:not([aria-pressed=true]):hover{background:color-mix(in srgb, var(--ink) 6%, transparent)}}.peach-react [data-alpha-group]{scroll-margin-top:calc(var(--topH) + 124px)}.peach-react [data-source-divider]>*+*{border-top:1px solid var(--color-border-button-default)}.peach-react [data-follow-author-header][data-open]{border-bottom:1px solid var(--color-border-button-default)}.peach-react [data-input-size]>div[data-rac]:not([data-hovered]):not([data-focus-within]){outline:1px solid var(--color-border-button-default);outline-offset:-1px}.peach-react [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)}}
/*$vite$:1*/
\ No newline at end of file
diff --git a/web/dist/peach-react.js b/web/dist/peach-react.js
index 00bcd8287..929120fb1 100644
--- a/web/dist/peach-react.js
+++ b/web/dist/peach-react.js
@@ -19097,13 +19097,13 @@ vg = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/DragAndDrop.mjs
-var yg = /*#__PURE__*/ (0, R.createContext)({}), bg = /*#__PURE__*/ (0, R.createContext)(null), xg = /*#__PURE__*/ (0, R.forwardRef)(function(e, t) {
+var yg = /*#__PURE__*/ (0, R.createContext)({}), bg = /*#__PURE__*/ (0, R.createContext)(null), eee = /*#__PURE__*/ (0, R.forwardRef)(function(e, t) {
let { render: n } = (0, R.useContext)(bg);
return /*#__PURE__*/ R.createElement(R.Fragment, null, n(e, t));
});
-function Sg(e, t) {
+function xg(e, t) {
let n = e?.renderDropIndicator, r = e?.isVirtualDragging?.(), i = (0, R.useCallback)((e) => {
- if (r || t?.isDropTarget(e)) return n ? n(e) : /*#__PURE__*/ R.createElement(xg, { target: e });
+ if (r || t?.isDropTarget(e)) return n ? n(e) : /*#__PURE__*/ R.createElement(eee, { target: e });
}, [
t?.target,
r,
@@ -19111,7 +19111,7 @@ function Sg(e, t) {
]);
return e?.useDropIndicator ? i : void 0;
}
-function Cg(e, t, n) {
+function Sg(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;
@@ -19134,17 +19134,17 @@ function Cg(e, t, n) {
}
//#endregion
//#region node_modules/react-aria-components/dist/private/Header.mjs
-var wg = /*#__PURE__*/ (0, R.createContext)({}), Tg = /*#__PURE__*/ (0, R.createContext)(null);
-function Eg(e) {
+var Cg = /*#__PURE__*/ (0, R.createContext)({}), tee = /*#__PURE__*/ (0, R.createContext)(null);
+function wg(e) {
let t = (0, R.useRef)({});
- return /*#__PURE__*/ R.createElement(Tg.Provider, { value: t }, e.children);
+ return /*#__PURE__*/ R.createElement(tee.Provider, { value: t }, e.children);
}
//#endregion
//#region node_modules/react-aria-components/dist/private/SelectionIndicator.mjs
-var Dg = /*#__PURE__*/ (0, R.createContext)({ isSelected: !1 });
+var Tg = /*#__PURE__*/ (0, R.createContext)({ isSelected: !1 });
//#endregion
//#region node_modules/react-aria/dist/private/separator/useSeparator.mjs
-function Og(e) {
+function nee(e) {
let t = Wp(e, { labelable: !0 }), n;
return e.orientation === "vertical" && (n = "vertical"), e.elementType === "hr" ? { separatorProps: t } : { separatorProps: {
...t,
@@ -19154,7 +19154,7 @@ function Og(e) {
}
//#endregion
//#region node_modules/react-aria-components/dist/private/Separator.mjs
-var kg = /*#__PURE__*/ (0, R.createContext)({}), Ag = /*#__PURE__*/ Ep(class extends Ef {
+var Eg = /*#__PURE__*/ (0, R.createContext)({}), ree = /*#__PURE__*/ Ep(class extends Ef {
static {
this.type = "separator";
}
@@ -19167,10 +19167,10 @@ var kg = /*#__PURE__*/ (0, R.createContext)({}), Ag = /*#__PURE__*/ Ep(class ext
return null;
}
}, function(e, t) {
- [e, t] = iu(e, t, kg);
+ [e, t] = iu(e, t, Eg);
let { elementType: n, orientation: r, style: i, className: a, slot: o, ...s } = e, c = n || "hr";
c === "hr" && r === "vertical" && (c = "div");
- let l = lu[c], { separatorProps: u } = Og({
+ let l = lu[c], { separatorProps: u } = nee({
...s,
elementType: n,
orientation: r
@@ -19183,18 +19183,18 @@ var kg = /*#__PURE__*/ (0, R.createContext)({}), Ag = /*#__PURE__*/ Ep(class ext
ref: t,
slot: o || void 0
});
-}), jg = /* @__PURE__ */ new WeakMap();
-function Mg(e) {
+}), Dg = /* @__PURE__ */ new WeakMap();
+function iee(e) {
return typeof e == "string" ? e.replace(/\s*/g, "") : "" + e;
}
-function Ng(e, t) {
- let n = jg.get(e);
+function aee(e, t) {
+ let n = Dg.get(e);
if (!n) throw Error("Unknown list");
- return `${n.id}-option-${Mg(t)}`;
+ return `${n.id}-option-${iee(t)}`;
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/shadowdom/ShadowTreeWalker.mjs
-var Pg = class {
+var Og = class {
constructor(e, t, n, r) {
this._walkerStack = [], this._currentSetFor = /* @__PURE__ */ new Set(), this._acceptNode = (e) => {
if (e.nodeType === Node.ELEMENT_NODE) {
@@ -19297,45 +19297,45 @@ var Pg = class {
return null;
}
};
-function Fg(e, t, n, r) {
- return xu() ? new Pg(e, t, n, r) : e.createTreeWalker(t, n, r);
+function kg(e, t, n, r) {
+ return xu() ? new Og(e, t, n, r) : e.createTreeWalker(t, n, r);
}
//#endregion
//#region node_modules/react-aria/dist/private/focus/FocusScope.mjs
-var Ig = /*#__PURE__*/ R.createContext(null), Lg = "react-aria-focus-scope-restore", Rg = null;
-function zg(e) {
- let { children: t, contain: n, restoreFocus: r, autoFocus: i } = e, a = (0, R.useRef)(null), o = (0, R.useRef)(null), s = (0, R.useRef)([]), { parentNode: c } = (0, R.useContext)(Ig) || {}, l = (0, R.useMemo)(() => new r_({ scopeRef: s }), [s]);
+var Ag = /*#__PURE__*/ R.createContext(null), jg = "react-aria-focus-scope-restore", Mg = null;
+function Ng(e) {
+ let { children: t, contain: n, restoreFocus: r, autoFocus: i } = e, a = (0, R.useRef)(null), o = (0, R.useRef)(null), s = (0, R.useRef)([]), { parentNode: c } = (0, R.useContext)(Ag) || {}, l = (0, R.useMemo)(() => new qg({ scopeRef: s }), [s]);
Ol(() => {
- let e = c || i_.root;
- if (i_.getTreeNode(e.scopeRef) && Rg && !Xg(Rg, e.scopeRef)) {
- let t = i_.getTreeNode(Rg);
+ let e = c || Jg.root;
+ if (Jg.getTreeNode(e.scopeRef) && Mg && !zg(Mg, e.scopeRef)) {
+ let t = Jg.getTreeNode(Mg);
t && (e = t);
}
- e.addChild(l), i_.addNode(l);
+ e.addChild(l), Jg.addNode(l);
}, [l, c]), Ol(() => {
- let e = i_.getTreeNode(s);
+ let e = Jg.getTreeNode(s);
e && (e.contain = !!n);
}, [n]), Ol(() => {
let e = a.current?.nextSibling, t = [], n = (e) => e.stopPropagation();
- for (; e && e !== o.current;) t.push(e), e.addEventListener(Lg, n), e = e.nextSibling;
+ for (; e && e !== o.current;) t.push(e), e.addEventListener(jg, n), e = e.nextSibling;
return s.current = t, () => {
- for (let e of t) e.removeEventListener(Lg, n);
+ for (let e of t) e.removeEventListener(jg, n);
};
- }, [t]), tee(s, r, n), Gg(s, n), nee(s, r, n), eee(s, i), (0, R.useEffect)(() => {
+ }, [t]), Ug(s, r, n), lee(s, n), fee(s, r, n), dee(s, i), (0, R.useEffect)(() => {
let e = Cu(fu(s.current ? s.current[0] : void 0)), t = null;
- if (qg(e, s.current)) {
- for (let n of i_.traverse()) n.scopeRef && qg(e, n.scopeRef.current) && (t = n);
- t === i_.getTreeNode(s) && (Rg = t.scopeRef);
+ if (Lg(e, s.current)) {
+ for (let n of Jg.traverse()) n.scopeRef && Lg(e, n.scopeRef.current) && (t = n);
+ t === Jg.getTreeNode(s) && (Mg = t.scopeRef);
}
}, [s]), Ol(() => () => {
- let e = i_.getTreeNode(s)?.parent?.scopeRef ?? null;
- (s === Rg || Xg(s, Rg)) && (!e || i_.getTreeNode(e)) && (Rg = e), i_.removeTreeNode(s);
+ let e = Jg.getTreeNode(s)?.parent?.scopeRef ?? null;
+ (s === Mg || zg(s, Mg)) && (!e || Jg.getTreeNode(e)) && (Mg = e), Jg.removeTreeNode(s);
}, [s]);
- let u = (0, R.useMemo)(() => Bg(s), []), d = (0, R.useMemo)(() => ({
+ let u = (0, R.useMemo)(() => oee(s), []), d = (0, R.useMemo)(() => ({
focusManager: u,
parentNode: l
}), [l, u]);
- return /*#__PURE__*/ R.createElement(Ig.Provider, { value: d }, /*#__PURE__*/ R.createElement("span", {
+ return /*#__PURE__*/ R.createElement(Ag.Provider, { value: d }, /*#__PURE__*/ R.createElement("span", {
"data-focus-scope-start": !0,
hidden: !0,
ref: a
@@ -19345,68 +19345,68 @@ function zg(e) {
ref: o
}));
}
-function Bg(e) {
+function oee(e) {
return {
focusNext(t = {}) {
- let n = e.current, { from: r, tabbable: i, wrap: a, accept: o } = t, s = r || Cu(fu(n[0] ?? void 0)), c = n[0].previousElementSibling, l = n_(Vg(n), {
+ let n = e.current, { from: r, tabbable: i, wrap: a, accept: o } = t, s = r || Cu(fu(n[0] ?? void 0)), c = n[0].previousElementSibling, l = Kg(Pg(n), {
tabbable: i,
accept: o
}, n);
- l.currentNode = qg(s, n) ? s : c;
+ l.currentNode = Lg(s, n) ? s : c;
let u = l.nextNode();
- return !u && a && (l.currentNode = c, u = l.nextNode()), u && Zg(u, !0), u;
+ return !u && a && (l.currentNode = c, u = l.nextNode()), u && Bg(u, !0), u;
},
focusPrevious(t = {}) {
- let n = e.current, { from: r, tabbable: i, wrap: a, accept: o } = t, s = r || Cu(fu(n[0] ?? void 0)), c = n[n.length - 1].nextElementSibling, l = n_(Vg(n), {
+ let n = e.current, { from: r, tabbable: i, wrap: a, accept: o } = t, s = r || Cu(fu(n[0] ?? void 0)), c = n[n.length - 1].nextElementSibling, l = Kg(Pg(n), {
tabbable: i,
accept: o
}, n);
- l.currentNode = qg(s, n) ? s : c;
+ l.currentNode = Lg(s, n) ? s : c;
let u = l.previousNode();
- return !u && a && (l.currentNode = c, u = l.previousNode()), u && Zg(u, !0), u;
+ return !u && a && (l.currentNode = c, u = l.previousNode()), u && Bg(u, !0), u;
},
focusFirst(t = {}) {
- let n = e.current, { tabbable: r, accept: i } = t, a = n_(Vg(n), {
+ let n = e.current, { tabbable: r, accept: i } = t, a = Kg(Pg(n), {
tabbable: r,
accept: i
}, n);
a.currentNode = n[0].previousElementSibling;
let o = a.nextNode();
- return o && Zg(o, !0), o;
+ return o && Bg(o, !0), o;
},
focusLast(t = {}) {
- let n = e.current, { tabbable: r, accept: i } = t, a = n_(Vg(n), {
+ let n = e.current, { tabbable: r, accept: i } = t, a = Kg(Pg(n), {
tabbable: r,
accept: i
}, n);
a.currentNode = n[n.length - 1].nextElementSibling;
let o = a.previousNode();
- return o && Zg(o, !0), o;
+ return o && Bg(o, !0), o;
}
};
}
-function Vg(e) {
+function Pg(e) {
return e[0].parentElement;
}
-function Hg(e) {
- let t = i_.getTreeNode(Rg);
+function Fg(e) {
+ let t = Jg.getTreeNode(Mg);
for (; t && t.scopeRef !== e;) {
if (t.contain) return !1;
t = t.parent;
}
return !0;
}
-function Ug(e) {
+function see(e) {
if (!e.form) return Array.from(fu(e).querySelectorAll(`input[type="radio"][name="${CSS.escape(e.name)}"]`)).filter((e) => !e.form);
let t = e.form.elements.namedItem(e.name), n = pu(e);
return t instanceof n.RadioNodeList ? Array.from(t).filter((e) => e instanceof n.HTMLInputElement) : t instanceof n.HTMLInputElement ? [t] : [];
}
-function Wg(e) {
+function cee(e) {
if (e.checked) return !0;
- let t = Ug(e);
+ let t = see(e);
return t.length > 0 && !t.some((e) => e.checked);
}
-function Gg(e, t) {
+function lee(e, t) {
let n = (0, R.useRef)(void 0), r = (0, R.useRef)(void 0);
Ol(() => {
let i = e.current;
@@ -19415,23 +19415,23 @@ function Gg(e, t) {
return;
}
let a = fu(i ? i[0] : void 0), o = (t) => {
- if (t.key !== "Tab" || t.altKey || t.ctrlKey || t.metaKey || !Hg(e) || t.isComposing) return;
+ if (t.key !== "Tab" || t.altKey || t.ctrlKey || t.metaKey || !Fg(e) || t.isComposing) return;
let n = Cu(a), r = e.current;
- if (!r || !qg(n, r)) return;
- let i = n_(Vg(r), { tabbable: !0 }, r);
+ if (!r || !Lg(n, r)) return;
+ let i = Kg(Pg(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 && (Zg(o, !0), o instanceof pu(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 && (Bg(o, !0), o instanceof pu(o).HTMLInputElement && o.select());
}, s = (t) => {
- (!Rg || Xg(Rg, e)) && qg(Y(t), e.current) ? (Rg = e, n.current = Y(t)) : Hg(e) && !Jg(Y(t), e) ? n.current ? Zg(n.current) : Rg && Rg.current && $g(Rg.current) : Hg(e) && (n.current = Y(t));
+ (!Mg || zg(Mg, e)) && Lg(Y(t), e.current) ? (Mg = e, n.current = Y(t)) : Fg(e) && !Rg(Y(t), e) ? n.current ? Bg(n.current) : Mg && Mg.current && Hg(Mg.current) : Fg(e) && (n.current = Y(t));
}, c = (t) => {
r.current && cancelAnimationFrame(r.current), r.current = requestAnimationFrame(() => {
let r = Id(), i = (r === "virtual" || r === null) && od() && ad(), o = Cu(a);
- if (!i && o && Hg(e) && !Jg(o, e)) {
- Rg = e;
+ if (!i && o && Fg(e) && !Rg(o, e)) {
+ Mg = e;
let r = Y(t);
- r && r.isConnected ? (n.current = r, Zg(n.current)) : Rg.current && $g(Rg.current);
+ r && r.isConnected ? (n.current = r, Bg(n.current)) : Mg.current && Hg(Mg.current);
}
});
};
@@ -19442,29 +19442,29 @@ function Gg(e, t) {
r.current && cancelAnimationFrame(r.current);
}, [r]);
}
-function Kg(e) {
- return Jg(e);
+function Ig(e) {
+ return Rg(e);
}
-function qg(e, t) {
+function Lg(e, t) {
return !e || !t ? !1 : t.some((t) => Su(t, e));
}
-function Jg(e, t = null) {
+function Rg(e, t = null) {
if (e instanceof Element && e.closest("[data-react-aria-top-layer]")) return !0;
- for (let { scopeRef: n } of i_.traverse(i_.getTreeNode(t))) if (n && qg(e, n.current)) return !0;
+ for (let { scopeRef: n } of Jg.traverse(Jg.getTreeNode(t))) if (n && Lg(e, n.current)) return !0;
return !1;
}
-function Yg(e) {
- return Jg(e, Rg);
+function uee(e) {
+ return Rg(e, Mg);
}
-function Xg(e, t) {
- let n = i_.getTreeNode(t)?.parent;
+function zg(e, t) {
+ let n = Jg.getTreeNode(t)?.parent;
for (; n;) {
if (n.scopeRef === e) return !0;
n = n.parent;
}
return !1;
}
-function Zg(e, t = !1) {
+function Bg(e, t = !1) {
if (e != null && !t) try {
Uf(e);
} catch {}
@@ -19472,27 +19472,27 @@ function Zg(e, t = !1) {
e.focus();
} catch {}
}
-function Qg(e, t = !0) {
- let n = e[0].previousElementSibling, r = Vg(e), i = n_(r, { tabbable: t }, e);
+function Vg(e, t = !0) {
+ let n = e[0].previousElementSibling, r = Pg(e), i = Kg(r, { tabbable: t }, e);
i.currentNode = n;
let a = i.nextNode();
- return t && !a && (r = Vg(e), i = n_(r, { tabbable: !1 }, e), i.currentNode = n, a = i.nextNode()), a;
+ return t && !a && (r = Pg(e), i = Kg(r, { tabbable: !1 }, e), i.currentNode = n, a = i.nextNode()), a;
}
-function $g(e, t = !0) {
- Zg(Qg(e, t));
+function Hg(e, t = !0) {
+ Bg(Vg(e, t));
}
-function eee(e, t) {
+function dee(e, t) {
let n = R.useRef(t);
(0, R.useEffect)(() => {
- n.current && (Rg = e, !qg(Cu(fu(e.current ? e.current[0] : void 0)), Rg.current) && e.current && $g(e.current)), n.current = !1;
+ n.current && (Mg = e, !Lg(Cu(fu(e.current ? e.current[0] : void 0)), Mg.current) && e.current && Hg(e.current)), n.current = !1;
}, [e]);
}
-function tee(e, t, n) {
+function Ug(e, t, n) {
Ol(() => {
if (t || n) return;
let r = e.current, i = fu(r ? r[0] : void 0), a = (t) => {
let n = Y(t);
- qg(n, e.current) ? Rg = e : Kg(n) || (Rg = null);
+ Lg(n, e.current) ? Mg = e : Ig(n) || (Mg = 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));
@@ -19503,21 +19503,21 @@ function tee(e, t, n) {
n
]);
}
-function e_(e) {
- let t = i_.getTreeNode(Rg);
+function Wg(e) {
+ let t = Jg.getTreeNode(Mg);
for (; t && t.scopeRef !== e;) {
if (t.nodeToRestore) return !1;
t = t.parent;
}
return t?.scopeRef === e;
}
-function nee(e, t, n) {
+function fee(e, t, n) {
let r = (0, R.useRef)(typeof document < "u" ? Cu(fu(e.current ? e.current[0] : void 0)) : null);
Ol(() => {
let r = e.current, i = fu(r ? r[0] : void 0);
if (!t || n) return;
let a = () => {
- (!Rg || Xg(Rg, e)) && qg(Cu(i), e.current) && (Rg = e);
+ (!Mg || zg(Mg, e)) && Lg(Cu(i), e.current) && (Mg = 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));
@@ -19526,20 +19526,20 @@ function nee(e, t, n) {
let r = fu(e.current ? e.current[0] : void 0);
if (!t) return;
let i = (t) => {
- if (t.key !== "Tab" || t.altKey || t.ctrlKey || t.metaKey || !Hg(e) || t.isComposing) return;
+ if (t.key !== "Tab" || t.altKey || t.ctrlKey || t.metaKey || !Fg(e) || t.isComposing) return;
let n = r.activeElement;
- if (!Jg(n, e) || !e_(e)) return;
- let i = i_.getTreeNode(e);
+ if (!Rg(n, e) || !Wg(e)) return;
+ let i = Jg.getTreeNode(e);
if (!i) return;
- let a = i.nodeToRestore, o = n_(r.body, { tabbable: !0 });
+ let a = i.nodeToRestore, o = Kg(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 || !Jg(s, e)) && a) {
+ if ((!a || !a.isConnected || a === r.body) && (a = void 0, i.nodeToRestore = void 0), (!s || !Rg(s, e)) && a) {
o.currentNode = a;
do
s = t.shiftKey ? o.previousNode() : o.nextNode();
- while (Jg(s, e));
- t.preventDefault(), t.stopPropagation(), s ? Zg(s, !0) : Kg(a) ? Zg(a, !0) : n.blur();
+ while (Rg(s, e));
+ t.preventDefault(), t.stopPropagation(), s ? Bg(s, !0) : Ig(a) ? Bg(a, !0) : n.blur();
}
};
return n || r.addEventListener("keydown", i, !0), () => {
@@ -19552,28 +19552,28 @@ function nee(e, t, n) {
]), Ol(() => {
let n = fu(e.current ? e.current[0] : void 0);
if (!t) return;
- let i = i_.getTreeNode(e);
+ let i = Jg.getTreeNode(e);
if (i) return i.nodeToRestore = r.current ?? void 0, () => {
- let r = i_.getTreeNode(e);
+ let r = Jg.getTreeNode(e);
if (!r) return;
let i = r.nodeToRestore, a = Cu(n);
- if (t && i && (a && Jg(a, e) || a === n.body && e_(e))) {
- let t = i_.clone();
+ if (t && i && (a && Rg(a, e) || a === n.body && Wg(e))) {
+ let t = Jg.clone();
requestAnimationFrame(() => {
if (n.activeElement === n.body) {
let n = t.getTreeNode(e);
for (; n;) {
if (n.nodeToRestore && n.nodeToRestore.isConnected) {
- t_(n.nodeToRestore);
+ Gg(n.nodeToRestore);
return;
}
n = n.parent;
}
for (n = t.getTreeNode(e); n;) {
- if (n.scopeRef && n.scopeRef.current && i_.getTreeNode(n.scopeRef)) {
- let e = Qg(n.scopeRef.current, !0);
+ if (n.scopeRef && n.scopeRef.current && Jg.getTreeNode(n.scopeRef)) {
+ let e = Vg(n.scopeRef.current, !0);
if (e) {
- t_(e);
+ Gg(e);
return;
}
}
@@ -19585,21 +19585,21 @@ function nee(e, t, n) {
};
}, [e, t]);
}
-function t_(e) {
- e.dispatchEvent(new CustomEvent(Lg, {
+function Gg(e) {
+ e.dispatchEvent(new CustomEvent(jg, {
bubbles: !0,
cancelable: !0
- })) && Zg(e);
+ })) && Bg(e);
}
-function n_(e, t, n) {
- let r = t?.tabbable ? Uu : Hu, i = fu(e?.nodeType === Node.ELEMENT_NODE ? e : null), a = Fg(i, e || i, NodeFilter.SHOW_ELEMENT, { acceptNode(e) {
- return Su(t?.from, e) || t?.tabbable && e.tagName === "INPUT" && e.getAttribute("type") === "radio" && (!Wg(e) || a.currentNode.tagName === "INPUT" && a.currentNode.type === "radio" && a.currentNode.name === e.name) ? NodeFilter.FILTER_REJECT : r(e) && (!n || qg(e, n)) && (!t?.accept || t.accept(e)) ? NodeFilter.FILTER_ACCEPT : NodeFilter.FILTER_SKIP;
+function Kg(e, t, n) {
+ let r = t?.tabbable ? Uu : Hu, i = fu(e?.nodeType === Node.ELEMENT_NODE ? e : null), a = kg(i, e || i, NodeFilter.SHOW_ELEMENT, { acceptNode(e) {
+ return Su(t?.from, e) || t?.tabbable && e.tagName === "INPUT" && e.getAttribute("type") === "radio" && (!cee(e) || a.currentNode.tagName === "INPUT" && a.currentNode.type === "radio" && a.currentNode.name === e.name) ? NodeFilter.FILTER_REJECT : r(e) && (!n || Lg(e, n)) && (!t?.accept || t.accept(e)) ? NodeFilter.FILTER_ACCEPT : NodeFilter.FILTER_SKIP;
} });
return t?.from && (a.currentNode = t.from), a;
}
-var ree = class e {
+var pee = class e {
constructor() {
- this.fastMap = /* @__PURE__ */ new Map(), this.root = new r_({ scopeRef: null }), this.fastMap.set(null, this.root);
+ this.fastMap = /* @__PURE__ */ new Map(), this.root = new qg({ scopeRef: null }), this.fastMap.set(null, this.root);
}
get size() {
return this.fastMap.size;
@@ -19610,7 +19610,7 @@ var ree = class e {
addTreeNode(e, t, n) {
let r = this.fastMap.get(t ?? null);
if (!r) return;
- let i = new r_({ scopeRef: e });
+ let i = new qg({ scopeRef: e });
r.addChild(i), i.parent = r, this.fastMap.set(e, i), n && (i.nodeToRestore = n);
}
addNode(e) {
@@ -19621,7 +19621,7 @@ var ree = 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 && qg(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 && Lg(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);
}
@@ -19633,7 +19633,7 @@ var ree = class e {
for (let e of this.traverse()) t.addTreeNode(e.scopeRef, e.parent?.scopeRef ?? null, e.nodeToRestore);
return t;
}
-}, r_ = class {
+}, qg = class {
constructor(e) {
this.children = /* @__PURE__ */ new Set(), this.contain = !1, this.scopeRef = e.scopeRef;
}
@@ -19643,28 +19643,28 @@ var ree = class e {
removeChild(e) {
this.children.delete(e), e.parent = void 0;
}
-}, i_ = new ree();
+}, Jg = new pee();
//#endregion
//#region node_modules/react-aria/dist/private/selection/utils.mjs
-function a_(e) {
+function Yg(e) {
return rd() ? e.altKey : e.ctrlKey;
}
-function o_(e, t) {
+function Xg(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 s_ = /* @__PURE__ */ new WeakMap();
-function iee(e) {
+var Zg = /* @__PURE__ */ new WeakMap();
+function mee(e) {
let t = Kl();
- return s_.set(e, t), t;
+ return Zg.set(e, t), t;
}
-function aee(e) {
- return s_.get(e);
+function hee(e) {
+ return Zg.get(e);
}
//#endregion
//#region node_modules/react-aria/dist/private/selection/useTypeSelect.mjs
-var c_ = 1e3;
-function l_(e) {
+var Qg = 1e3;
+function $g(e) {
let { keyboardDelegate: t, selectionManager: n, onTypeSelect: r } = e, i = (0, R.useRef)({
search: "",
timeout: void 0
@@ -19683,11 +19683,11 @@ function l_(e) {
}
clearTimeout(i.current.timeout), i.current.timeout = setTimeout(() => {
i.current.search = "";
- }, c_);
+ }, Qg);
}
} : void 0,
onKeyDown: t.getKeyForSearch ? (e) => {
- let a = oee(e.key);
+ let a = gee(e.key);
if (!(!a || e.ctrlKey || e.metaKey || e.altKey || !Su(e.currentTarget, Y(e)) || i.current.search.length === 0 && a === " ")) {
if (i.current.search += a, t.getKeyForSearch != null) {
let a = t.getKeyForSearch(i.current.search, n.focusedKey);
@@ -19699,17 +19699,17 @@ function l_(e) {
}
clearTimeout(i.current.timeout), i.current.timeout = setTimeout(() => {
i.current.search = "";
- }, c_);
+ }, Qg);
}
} : void 0
} };
}
-function oee(e) {
+function gee(e) {
return e.length === 1 || !/^[A-Z]/i.test(e) ? e : "";
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/useUpdateLayoutEffect.mjs
-function u_(e, t) {
+function e_(e, t) {
let n = (0, R.useRef)(!0), r = (0, R.useRef)(null);
Ol(() => (n.current = !0, () => {
n.current = !1;
@@ -19719,14 +19719,14 @@ function u_(e, t) {
}
//#endregion
//#region node_modules/react-aria/dist/private/selection/useSelectableCollection.mjs
-function d_(e) {
+function t_(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 } = sf(), _ = dd(), v = (e, n, i) => {
if (n != null) {
- if (t.isLink(n) && m === "selection" && l && !a_(e)) {
+ if (t.isLink(n) && m === "selection" && l && !Yg(e)) {
(0, be.flushSync)(() => {
t.setFocusedKey(n, i);
});
- let a = o_(r, n), o = t.getItemProps(n);
+ let a = Xg(r, n), o = t.getItemProps(n);
if (a) {
_.open(a, e, o.href, o.routerOptions);
return;
@@ -19738,7 +19738,7 @@ function d_(e) {
t.extendSelection(n);
return;
}
- if (l && !a_(e)) {
+ if (l && !Yg(e)) {
t.replaceSelection(n);
return;
}
@@ -19838,7 +19838,7 @@ function d_(e) {
return !1;
}, k = () => {
if (!f && r.current) {
- let e = n_(r.current, { tabbable: !0 }), t, n;
+ let e = Kg(r.current, { tabbable: !0 }), t, n;
do
n = e.lastChild(), n && (t = n);
while (n);
@@ -19901,7 +19901,7 @@ function d_(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 = P.current.top, p.current.scrollLeft = P.current.left);
if (t.focusedKey != null && p.current) {
- let e = o_(r, t.focusedKey);
+ let e = Xg(r, t.focusedKey);
e instanceof HTMLElement && (!Tu(e) && !d && Au(e), (i === "keyboard" || h && i === "virtual") && Km(e, { containingElement: r.current }));
}
}, F = (e) => {
@@ -19912,14 +19912,14 @@ function d_(e) {
e.stopPropagation(), t.setFocused(!0), n?.focusStrategy === "first" && (I.current = !0);
} : void 0);
let te = n.getFirstKey?.() ?? null;
- u_(() => {
+ e_(() => {
if (I.current) {
if (te == null) {
let e = Cu();
Eu(r.current), Ou(e, null), t.collection.size > 0 && (I.current = !1);
} else t.setFocusedKey(te), I.current = !1;
}
- }, [te, t.collection.size]), u_(() => {
+ }, [te, t.collection.size]), e_(() => {
t.collection.size > 0 && (I.current = !1);
}, [t.focusedKey]), Jd(r, uu, d ? (e) => {
e.stopPropagation(), t.setFocused(!1), e.detail?.clearFocusKey && t.setFocusedKey(null);
@@ -19942,7 +19942,7 @@ function d_(e) {
let ie = (0, R.useRef)(t.focusedKey), ae = (0, R.useRef)(null);
(0, R.useEffect)(() => {
if (t.isFocused && t.focusedKey != null && (t.focusedKey !== ie.current || re.current) && p.current && r.current) {
- let e = Id(), n = o_(r, t.focusedKey);
+ let e = Id(), n = Xg(r, t.focusedKey);
if (!(n instanceof HTMLElement)) return;
(e === "keyboard" || re.current) && (ae.current && cancelAnimationFrame(ae.current), ae.current = requestAnimationFrame(() => {
p.current && (Wm(p.current, n), e !== "virtual" && Km(n, { containingElement: r.current }));
@@ -19961,14 +19961,14 @@ function d_(e) {
onMouseDown(e) {
p.current === Y(e) && e.preventDefault();
}
- }, { typeSelectProps: se } = l_({
+ }, { typeSelectProps: se } = $g({
keyboardDelegate: n,
selectionManager: t
});
u || (oe = J(se, oe));
let ce;
d || (ce = t.focusedKey == null ? 0 : -1);
- let le = iee(t.collection);
+ let le = mee(t.collection);
return { collectionProps: J(oe, {
tabIndex: ce,
"data-collection": le
@@ -19976,14 +19976,14 @@ function d_(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/selection/DOMLayoutDelegate.mjs
-var f_ = class {
+var n_ = class {
constructor(e) {
this.ref = e;
}
getItemRect(e) {
let t = this.ref.current;
if (!t) return null;
- let n = e == null ? null : o_(this.ref, e);
+ let n = e == null ? null : Xg(this.ref, e);
if (!n) return null;
let r = t.getBoundingClientRect(), i = n.getBoundingClientRect();
return {
@@ -20009,12 +20009,12 @@ var f_ = class {
height: e?.clientHeight ?? 0
};
}
-}, p_ = class {
+}, r_ = 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 f_(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 f_(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 n_(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 n_(this.ref);
this.layout === "stack" && this.orientation === "vertical" && (this.getKeyLeftOf = void 0, this.getKeyRightOf = void 0);
}
isDisabled(e) {
@@ -20054,14 +20054,14 @@ var f_ = class {
return e.x === t.x || e.y !== t.y;
}
isReversed(e) {
- let t = this.getNextKey(e), n = o_(this.ref, e);
+ let t = this.getNextKey(e), n = Xg(this.ref, e);
if (t != null) {
- let e = o_(this.ref, t);
+ let e = Xg(this.ref, t);
return !n || !e ? !1 : n.getBoundingClientRect().top > e.getBoundingClientRect().top;
}
let r = this.getPreviousKey(e);
if (r != null) {
- let e = o_(this.ref, r);
+ let e = Xg(this.ref, r);
return !n || !e ? !1 : e.getBoundingClientRect().top > n.getBoundingClientRect().top;
}
return !1;
@@ -20133,20 +20133,20 @@ var f_ = class {
}
return null;
}
-}, m_ = /* @__PURE__ */ new Map();
-function h_(e) {
+}, i_ = /* @__PURE__ */ new Map();
+function a_(e) {
let { locale: t } = sf(), n = t + (e ? Object.entries(e).sort((e, t) => e[0] < t[0] ? -1 : 1).join() : "");
- if (m_.has(n)) return m_.get(n);
+ if (i_.has(n)) return i_.get(n);
let r = new Intl.Collator(t, e);
- return m_.set(n, r), r;
+ return i_.set(n, r), r;
}
//#endregion
//#region node_modules/react-aria/dist/private/selection/useSelectableList.mjs
-function g_(e) {
- let { selectionManager: t, collection: n, disabledKeys: r, ref: i, keyboardDelegate: a, layoutDelegate: o, orientation: s } = e, c = h_({
+function o_(e) {
+ let { selectionManager: t, collection: n, disabledKeys: r, ref: i, keyboardDelegate: a, layoutDelegate: o, orientation: s } = e, c = a_({
usage: "search",
sensitivity: "base"
- }), l = t.disabledBehavior, u = (0, R.useMemo)(() => a || new p_({
+ }), l = t.disabledBehavior, u = (0, R.useMemo)(() => a || new r_({
collection: n,
disabledKeys: r,
disabledBehavior: l,
@@ -20163,7 +20163,7 @@ function g_(e) {
c,
l,
s
- ]), { collectionProps: d } = d_({
+ ]), { collectionProps: d } = t_({
...e,
ref: i,
selectionManager: t,
@@ -20173,10 +20173,10 @@ function g_(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/listbox/useListBox.mjs
-function see(e, t, n) {
+function _ee(e, t, n) {
let r = Wp(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 } = g_({
+ let { listProps: s } = o_({
...e,
ref: n,
selectionManager: t.selectionManager,
@@ -20188,7 +20188,7 @@ function see(e, t, n) {
onBlurWithin: e.onBlur,
onFocusWithinChange: e.onFocusChange
}), l = Kl(e.id);
- jg.set(t, {
+ Dg.set(t, {
id: l,
shouldUseVirtualFocus: e.shouldUseVirtualFocus,
shouldSelectOnPressUp: e.shouldSelectOnPressUp,
@@ -20214,9 +20214,9 @@ function see(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/interactions/useLongPress.mjs
-var cee = 500;
-function __(e) {
- let { isDisabled: t, pointerType: n, onLongPressStart: r, onLongPressEnd: i, onLongPress: a, threshold: o = cee, accessibilityDescription: s } = e, c = (0, R.useRef)(void 0), { addGlobalListener: l, removeAllGlobalListeners: u } = em(), d = (e) => n ? e.pointerType === n : e.pointerType === "mouse" || e.pointerType === "touch", { pressProps: f } = om({
+var vee = 500;
+function s_(e) {
+ let { isDisabled: t, pointerType: n, onLongPressStart: r, onLongPressEnd: i, onLongPress: a, threshold: o = vee, accessibilityDescription: s } = e, c = (0, R.useRef)(void 0), { addGlobalListener: l, removeAllGlobalListeners: u } = em(), d = (e) => n ? e.pointerType === n : e.pointerType === "mouse" || e.pointerType === "touch", { pressProps: f } = om({
isDisabled: t,
onPressStart(e) {
if (e.continuePropagation(), d(e)) {
@@ -20248,11 +20248,11 @@ function __(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/selection/useSelectableItem.mjs
-function v_(e) {
+function c_(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 = dd();
t = Kl(t);
let p = (e) => {
- if (e.pointerType === "keyboard" && a_(e)) n.toggleSelection(r);
+ if (e.pointerType === "keyboard" && Yg(e)) n.toggleSelection(r);
else {
if (n.selectionMode === "none") return;
if (n.isLink(r)) {
@@ -20295,22 +20295,22 @@ function v_(e) {
l && (l(), i.current?.dispatchEvent(new CustomEvent("react-aria-item-action", { bubbles: !0 }))), _ && i.current && f.open(i.current, e, D.href, D.routerOptions);
}, k = { ref: i };
a ? (k.onPressStart = (e) => {
- C.current = e.pointerType, T.current = w, e.pointerType === "keyboard" && (!S || b_(e.key)) && p(e);
+ C.current = e.pointerType, T.current = w, e.pointerType === "keyboard" && (!S || u_(e.key)) && p(e);
}, u ? (k.onPressUp = b ? void 0 : (e) => {
e.pointerType === "mouse" && v && p(e);
}, k.onPress = b ? O : (e) => {
e.pointerType !== "keyboard" && e.pointerType !== "mouse" && v && p(e);
}) : k.onPress = (e) => {
if (b || x && e.pointerType !== "mouse") {
- if (e.pointerType === "keyboard" && !y_(e.key)) return;
+ if (e.pointerType === "keyboard" && !l_(e.key)) return;
O(e);
} else e.pointerType !== "keyboard" && v && p(e);
}) : (k.onPressStart = (e) => {
- C.current = e.pointerType, T.current = w, E.current = b, v && (e.pointerType === "mouse" && !b || e.pointerType === "keyboard" && (!y || b_(e.key))) && p(e);
+ C.current = e.pointerType, T.current = w, E.current = b, v && (e.pointerType === "mouse" && !b || e.pointerType === "keyboard" && (!y || u_(e.key))) && p(e);
}, k.onPress = (e) => {
- (e.pointerType === "touch" || e.pointerType === "pen" || e.pointerType === "virtual" || e.pointerType === "keyboard" && S && y_(e.key) || e.pointerType === "mouse" && E.current) && (S ? O(e) : v && p(e));
+ (e.pointerType === "touch" || e.pointerType === "pen" || e.pointerType === "virtual" || e.pointerType === "keyboard" && S && l_(e.key) || e.pointerType === "mouse" && E.current) && (S ? O(e) : v && p(e));
});
- let A = aee(n.collection);
+ let A = hee(n.collection);
if (m["data-collection"] = A, m["data-key"] = r, k.preventFocusOnPress = o, o && (k = J(k, {
onPressStart(e) {
e.pointerType !== "touch" && (n.setFocused(!0), n.setFocusedKey(r));
@@ -20328,7 +20328,7 @@ function v_(e) {
]) D[e] && (k[e] = Dl(k[e], D[e]));
let { pressProps: j, isPressed: M } = om(k), N = x ? (e) => {
C.current === "mouse" && (e.stopPropagation(), e.preventDefault(), O(e));
- } : void 0, { longPressProps: P } = __({
+ } : void 0, { longPressProps: P } = s_({
isDisabled: !w,
onLongPress(e) {
e.pointerType === "touch" && (p(e), n.setSelectionBehavior("toggle"));
@@ -20377,21 +20377,21 @@ function v_(e) {
hasAction: S
};
}
-function y_(e) {
+function l_(e) {
return e === "Enter";
}
-function b_(e) {
+function u_(e) {
return e === " ";
}
//#endregion
//#region node_modules/react-stately/dist/private/collections/getChildNodes.mjs
-function x_(e, t) {
+function d_(e, t) {
return typeof t.getChildren == "function" ? t.getChildren(e.key) : e.childNodes;
}
-function S_(e) {
- return C_(e, 0);
+function f_(e) {
+ return p_(e, 0);
}
-function C_(e, t) {
+function p_(e, t) {
if (t < 0) return;
let n = 0;
for (let r of e) {
@@ -20399,36 +20399,36 @@ function C_(e, t) {
n++;
}
}
-function w_(e) {
+function m_(e) {
let t;
for (let n of e) t = n;
return t;
}
-function T_(e, t, n) {
+function h_(e, t, n) {
if (t.parentKey === n.parentKey) return t.index - n.index;
- let r = [...E_(e, t), t], i = [...E_(e, n), n], a = r.slice(0, i.length).findIndex((e, t) => e !== i[t]);
+ let r = [...g_(e, t), t], i = [...g_(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 E_(e, t) {
+function g_(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 D_ = /* @__PURE__ */ new WeakMap();
-function O_(e) {
- let t = D_.get(e);
+var __ = /* @__PURE__ */ new WeakMap();
+function v_(e) {
+ let t = __.get(e);
if (t != null) return t;
let n = 0, r = (t) => {
- for (let i of t) i.type === "section" ? r(x_(i, e)) : i.type === "item" && n++;
+ for (let i of t) i.type === "section" ? r(d_(i, e)) : i.type === "item" && n++;
};
- return r(e), D_.set(e, n), n;
+ return r(e), __.set(e, n), n;
}
//#endregion
//#region node_modules/react-aria/dist/private/listbox/useOption.mjs
-function lee(e, t, n) {
- let { key: r } = e, i = jg.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 = Jl(), f = Jl(), p = {
+function yee(e, t, n) {
+ let { key: r } = e, i = Dg.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 = Jl(), f = Jl(), p = {
role: "option",
"aria-disabled": a || void 0,
"aria-selected": t.selectionManager.selectionMode === "none" ? void 0 : o,
@@ -20438,9 +20438,9 @@ function lee(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"] = O_(t.collection);
+ p["aria-posinset"] = Number.isNaN(e) ? void 0 : e + 1, p["aria-setsize"] = v_(t.collection);
}
- let h = i?.onAction ? () => i?.onAction?.(r) : void 0, g = Ng(t, r), { itemProps: _, isPressed: v, isFocused: y, hasAction: b, allowsSelection: x } = v_({
+ let h = i?.onAction ? () => i?.onAction?.(r) : void 0, g = aee(t, r), { itemProps: _, isPressed: v, isFocused: y, hasAction: b, allowsSelection: x } = c_({
selectionManager: t.selectionManager,
key: r,
ref: n,
@@ -20480,7 +20480,7 @@ function lee(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/listbox/useListBoxSection.mjs
-function uee(e) {
+function bee(e) {
let { heading: t, "aria-label": n } = e, r = Kl();
return {
itemProps: { role: "presentation" },
@@ -20500,13 +20500,13 @@ function uee(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/inertValue.mjs
-function k_(e) {
+function y_(e) {
let t = R.version.split(".");
return parseInt(t[0], 10) >= 19 ? e : e ? "true" : void 0;
}
//#endregion
//#region node_modules/react-stately/dist/private/list/ListCollection.mjs
-var A_ = class {
+var b_ = class {
constructor(e) {
this.keyMap = /* @__PURE__ */ new Map(), this.firstKey = null, this.lastKey = null, this.iterable = e;
let t = (e) => {
@@ -20550,20 +20550,20 @@ var A_ = class {
getChildren(e) {
return this.keyMap.get(e)?.childNodes || [];
}
-}, j_ = class e extends Set {
+}, x_ = 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 dee(e, t) {
+function S_(e, t) {
if (e.size !== t.size) return !1;
for (let n of e) if (!t.has(n)) return !1;
return !0;
}
-function M_(e) {
- let { selectionMode: t = "none", disallowEmptySelection: n = !1, allowDuplicateSelectionEvents: r, selectionBehavior: i = "toggle", disabledBehavior: a = "all" } = e, o = (0, R.useRef)(!1), [, s] = (0, R.useState)(!1), c = (0, R.useRef)(null), l = (0, R.useRef)(null), [, u] = (0, R.useState)(null), [d, f] = Cf((0, R.useMemo)(() => N_(e.selectedKeys), [e.selectedKeys]), (0, R.useMemo)(() => N_(e.defaultSelectedKeys, new j_()), [e.defaultSelectedKeys]), e.onSelectionChange), p = (0, R.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), [m, h] = (0, R.useState)(i);
+function C_(e) {
+ let { selectionMode: t = "none", disallowEmptySelection: n = !1, allowDuplicateSelectionEvents: r, selectionBehavior: i = "toggle", disabledBehavior: a = "all" } = e, o = (0, R.useRef)(!1), [, s] = (0, R.useState)(!1), c = (0, R.useRef)(null), l = (0, R.useRef)(null), [, u] = (0, R.useState)(null), [d, f] = Cf((0, R.useMemo)(() => w_(e.selectedKeys), [e.selectedKeys]), (0, R.useMemo)(() => w_(e.defaultSelectedKeys, new x_()), [e.defaultSelectedKeys]), e.onSelectionChange), p = (0, R.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), [m, h] = (0, R.useState)(i);
i === "replace" && m === "toggle" && typeof d == "object" && d.size === 0 && h("replace");
let g = (0, R.useRef)(i);
return (0, R.useEffect)(() => {
@@ -20590,18 +20590,18 @@ function M_(e) {
},
selectedKeys: d,
setSelectedKeys(e) {
- (r || !dee(e, d)) && f(e);
+ (r || !S_(e, d)) && f(e);
},
disabledKeys: p,
disabledBehavior: a
};
}
-function N_(e, t) {
- return e ? e === "all" ? "all" : new j_(e) : t;
+function w_(e, t) {
+ return e ? e === "all" ? "all" : new x_(e) : t;
}
//#endregion
//#region node_modules/react-stately/dist/private/selection/SelectionManager.mjs
-var P_ = class e {
+var T_ = 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;
}
@@ -20657,7 +20657,7 @@ var P_ = class e {
let e = null;
for (let t of this.state.selectedKeys) {
let n = this.collection.getItem(t);
- (!e || n && T_(this.collection, n, e) < 0) && (e = n);
+ (!e || n && h_(this.collection, n, e) < 0) && (e = n);
}
return e?.key ?? null;
}
@@ -20665,7 +20665,7 @@ var P_ = class e {
let e = null;
for (let t of this.state.selectedKeys) {
let n = this.collection.getItem(t);
- (!e || n && T_(this.collection, n, e) > 0) && (e = n);
+ (!e || n && h_(this.collection, n, e) > 0) && (e = n);
}
return e?.key ?? null;
}
@@ -20684,10 +20684,10 @@ var P_ = class e {
let t = this.getKey(e);
if (t == null) return;
let n;
- if (this.state.selectedKeys === "all") n = new j_([t], t, t);
+ if (this.state.selectedKeys === "all") n = new x_([t], t, t);
else {
let e = this.state.selectedKeys, r = e.anchorKey ?? t;
- n = new j_(e, r, t);
+ n = new x_(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);
}
@@ -20695,7 +20695,7 @@ var P_ = class e {
}
getKeyRange(e, t) {
let n = this.collection.getItem(e), r = this.collection.getItem(t);
- return n && r ? T_(this.collection, n, r) <= 0 ? this.getKeyRangeInternal(e, t) : this.getKeyRangeInternal(t, e) : [];
+ return n && r ? h_(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);
@@ -20721,19 +20721,19 @@ var P_ = class e {
}
let t = this.getKey(e);
if (t == null) return;
- let n = new j_(this.state.selectedKeys === "all" ? this.getSelectAllKeys() : this.state.selectedKeys);
+ let n = new x_(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 j_([t], t, t) : new j_();
+ let n = this.canSelectItem(t) ? new x_([t], t, t) : new x_();
this.state.setSelectedKeys(n);
}
setSelectedKeys(e) {
if (this.selectionMode === "none") return;
- let t = new j_();
+ let t = new x_();
for (let n of e) {
let e = this.getKey(n);
if (e != null && (t.add(e), this.selectionMode === "single")) break;
@@ -20745,7 +20745,7 @@ var P_ = 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(S_(x_(i, e))?.key ?? null);
+ i?.type === "item" && t.push(r), i?.hasChildNodes && (this.allowsCellSelection || i.type !== "item") && n(f_(d_(i, e))?.key ?? null);
}
r = e.getKeyAfter(r);
}
@@ -20756,7 +20756,7 @@ var P_ = 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 j_());
+ !this.disallowEmptySelection && (this.state.selectedKeys === "all" || this.state.selectedKeys.size > 0) && this.state.setSelectedKeys(new x_());
}
toggleSelectAll() {
this.isSelectAll ? this.clearSelection() : this.selectAll();
@@ -20797,9 +20797,9 @@ var P_ = class e {
fullCollection: this.fullCollection ?? this.collection
});
}
-}, fee = class {
+}, xee = class {
build(e, t) {
- return this.context = t, F_(() => this.iterateCollection(e));
+ return this.context = t, E_(() => this.iterateCollection(e));
}
*iterateCollection(e) {
let { children: t, items: n } = e;
@@ -20881,10 +20881,10 @@ var P_ = class e {
...a,
key: l,
index: s,
- wrapper: pee(e.wrapper, a.wrapper)
+ wrapper: See(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 <${I_(t.type)}> in <${I_(r?.type ?? "unknown parent type")}>. Only <${I_(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 <${D_(t.type)}> in <${D_(r?.type ?? "unknown parent type")}>. Only <${D_(e.type)}> is supported.`);
s++, yield t;
}
c = o.next(u);
@@ -20906,7 +20906,7 @@ var P_ = class e {
wrapper: e.wrapper,
shouldInvalidate: e.shouldInvalidate,
hasChildNodes: e.hasChildNodes || !1,
- childNodes: F_(function* () {
+ childNodes: E_(function* () {
if (!e.hasChildNodes || !e.childNodes) return;
let n = 0;
for (let r of e.childNodes()) {
@@ -20925,7 +20925,7 @@ var P_ = class e {
this.cache = /* @__PURE__ */ new WeakMap();
}
};
-function F_(e) {
+function E_(e) {
let t = [], n = null;
return { *[Symbol.iterator]() {
for (let e of t) yield e;
@@ -20933,18 +20933,18 @@ function F_(e) {
for (let e of n) t.push(e), yield e;
} };
}
-function pee(e, t) {
+function See(e, t) {
if (e && t) return (n) => e(t(n));
if (e) return e;
if (t) return t;
}
-function I_(e) {
+function D_(e) {
return e[0].toUpperCase() + e.slice(1);
}
//#endregion
//#region node_modules/react-stately/dist/private/collections/useCollection.mjs
-function L_(e, t, n) {
- let r = (0, R.useMemo)(() => new fee(), []), { children: i, items: a, collection: o } = e;
+function O_(e, t, n) {
+ let r = (0, R.useMemo)(() => new xee(), []), { children: i, items: a, collection: o } = e;
return (0, R.useMemo)(() => o || t(r.build({
children: i,
items: a
@@ -20959,27 +20959,27 @@ function L_(e, t, n) {
}
//#endregion
//#region node_modules/react-stately/dist/private/list/useListState.mjs
-function R_(e) {
- let { filter: t, layoutDelegate: n } = e, r = M_(e), i = (0, R.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), a = L_(e, (0, R.useCallback)((e) => t ? new A_(t(e)) : new A_(e), [t]), (0, R.useMemo)(() => ({ suppressTextValueWarning: e.suppressTextValueWarning }), [e.suppressTextValueWarning])), o = (0, R.useMemo)(() => new P_(a, r, { layoutDelegate: n }), [
+function k_(e) {
+ let { filter: t, layoutDelegate: n } = e, r = C_(e), i = (0, R.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), a = O_(e, (0, R.useCallback)((e) => t ? new b_(t(e)) : new b_(e), [t]), (0, R.useMemo)(() => ({ suppressTextValueWarning: e.suppressTextValueWarning }), [e.suppressTextValueWarning])), o = (0, R.useMemo)(() => new T_(a, r, { layoutDelegate: n }), [
a,
r,
n
]);
- return z_(a, o), {
+ return A_(a, o), {
collection: a,
disabledKeys: i,
selectionManager: o
};
}
-function mee(e, t) {
+function Cee(e, t) {
let n = (0, R.useMemo)(() => t ? e.collection.filter(t) : e.collection, [e.collection, t]), r = e.selectionManager.withCollection(n);
- return z_(n, r), {
+ return A_(n, r), {
collection: n,
selectionManager: r,
disabledKeys: e.disabledKeys
};
}
-function z_(e, t) {
+function A_(e, t) {
let n = (0, R.useRef)(null);
(0, R.useEffect)(() => {
if (t.focusedKey != null && !e.getItem(t.focusedKey) && n.current) {
@@ -21007,7 +21007,7 @@ function z_(e, t) {
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/useLoadMoreSentinel.mjs
-function B_(e, t) {
+function j_(e, t) {
let { collection: n, onLoadMore: r, scrollOffset: i = 1, direction: a = "end" } = e, o = (0, R.useRef)(null), s = qd((e) => {
for (let t of e) t.isIntersecting && r && r();
});
@@ -21031,42 +21031,42 @@ function B_(e, t) {
}
//#endregion
//#region node_modules/react-aria-components/dist/private/ListBox.mjs
-var V_ = /*#__PURE__*/ (0, R.createContext)(null), H_ = /*#__PURE__*/ (0, R.createContext)(null), hee = /*#__PURE__*/ (0, R.forwardRef)(function(e, t) {
- [e, t] = iu(e, t, V_);
- let n = (0, R.useContext)(H_);
- return n ? /*#__PURE__*/ R.createElement(U_, {
+var M_ = /*#__PURE__*/ (0, R.createContext)(null), N_ = /*#__PURE__*/ (0, R.createContext)(null), wee = /*#__PURE__*/ (0, R.forwardRef)(function(e, t) {
+ [e, t] = iu(e, t, M_);
+ let n = (0, R.useContext)(N_);
+ return n ? /*#__PURE__*/ R.createElement(P_, {
state: n,
props: e,
listBoxRef: t
- }) : /*#__PURE__*/ R.createElement(vp, { content: /*#__PURE__*/ R.createElement(Ap, e) }, (n) => /*#__PURE__*/ R.createElement(gee, {
+ }) : /*#__PURE__*/ R.createElement(vp, { content: /*#__PURE__*/ R.createElement(Ap, e) }, (n) => /*#__PURE__*/ R.createElement(Tee, {
props: e,
listBoxRef: t,
collection: n
}));
});
-function gee({ props: e, listBoxRef: t, collection: n }) {
+function Tee({ props: e, listBoxRef: t, collection: n }) {
e = {
...e,
collection: n,
children: null,
items: null
};
- let { layoutDelegate: r } = (0, R.useContext)(Ip), i = R_({
+ let { layoutDelegate: r } = (0, R.useContext)(Ip), i = k_({
...e,
layoutDelegate: r
});
- return /*#__PURE__*/ R.createElement(U_, {
+ return /*#__PURE__*/ R.createElement(P_, {
state: i,
props: e,
listBoxRef: t
});
}
-function U_({ state: e, props: t, listBoxRef: n }) {
+function P_({ state: e, props: t, listBoxRef: n }) {
[t, n] = iu(t, n, wf);
- let { dragAndDropHooks: r, layout: i = "stack", orientation: a = "vertical", filter: o } = t, s = mee(e, o), { collection: c, selectionManager: l } = s, u = !!r?.useDraggableCollectionState, d = !!r?.useDroppableCollectionState, { direction: f } = sf(), { disabledBehavior: p, disabledKeys: m } = l, h = h_({
+ let { dragAndDropHooks: r, layout: i = "stack", orientation: a = "vertical", filter: o } = t, s = Cee(e, o), { collection: c, selectionManager: l } = s, u = !!r?.useDraggableCollectionState, d = !!r?.useDroppableCollectionState, { direction: f } = sf(), { disabledBehavior: p, disabledKeys: m } = l, h = a_({
usage: "search",
sensitivity: "base"
- }), { isVirtualized: g, layoutDelegate: _, dropTargetDelegate: v, CollectionRoot: y } = (0, R.useContext)(Ip), b = (0, R.useMemo)(() => t.keyboardDelegate || new p_({
+ }), { isVirtualized: g, layoutDelegate: _, dropTargetDelegate: v, CollectionRoot: y } = (0, R.useContext)(Ip), b = (0, R.useMemo)(() => t.keyboardDelegate || new r_({
collection: c,
collator: h,
ref: n,
@@ -21087,7 +21087,7 @@ function U_({ state: e, props: t, listBoxRef: n }) {
t.keyboardDelegate,
i,
_
- ]), { listBoxProps: x } = see({
+ ]), { listBoxProps: x } = _ee({
...t,
shouldSelectOnPressUp: u || t.shouldSelectOnPressUp,
keyboardDelegate: b,
@@ -21138,7 +21138,7 @@ function U_({ state: e, props: t, listBoxRef: n }) {
style: { display: "contents" }
}, t.renderEmptyState(M)));
let ee = Wp(t, { global: !0 });
- return /*#__PURE__*/ R.createElement(zg, null, /*#__PURE__*/ R.createElement(lu.div, {
+ return /*#__PURE__*/ R.createElement(Ng, null, /*#__PURE__*/ R.createElement(lu.div, {
...J(ee, N, x, O, w?.collectionProps),
ref: n,
slot: t.slot || void 0,
@@ -21150,28 +21150,28 @@ function U_({ state: e, props: t, listBoxRef: n }) {
"data-layout": t.layout || "stack",
"data-orientation": a
}, /*#__PURE__*/ R.createElement(tu, { values: [
- [V_, t],
- [H_, s],
+ [M_, t],
+ [N_, s],
[yg, {
dragAndDropHooks: r,
dragState: S,
dropState: C
}],
- [kg, { elementType: "div" }],
- [bg, { render: yee }],
+ [Eg, { elementType: "div" }],
+ [bg, { render: Oee }],
[Mp, {
name: "ListBoxSection",
- render: _ee
+ render: Eee
}]
- ] }, /*#__PURE__*/ R.createElement(Eg, null, /*#__PURE__*/ R.createElement(y, {
+ ] }, /*#__PURE__*/ R.createElement(wg, null, /*#__PURE__*/ R.createElement(y, {
collection: c,
scrollRef: n,
- persistedKeys: Cg(l, r, C),
- renderDropIndicator: Sg(r, C)
+ persistedKeys: Sg(l, r, C),
+ renderDropIndicator: xg(r, C)
}))), P, E));
}
-function _ee(e, t, n, r = "react-aria-ListBoxSection") {
- let i = (0, R.useContext)(H_), { dragAndDropHooks: a, dropState: o } = (0, R.useContext)(yg), { CollectionBranch: s } = (0, R.useContext)(Ip), [c, l] = au(), { headingProps: u, groupProps: d } = uee({
+function Eee(e, t, n, r = "react-aria-ListBoxSection") {
+ let i = (0, R.useContext)(N_), { dragAndDropHooks: a, dropState: o } = (0, R.useContext)(yg), { CollectionBranch: s } = (0, R.useContext)(Ip), [c, l] = au(), { headingProps: u, groupProps: d } = bee({
heading: l,
"aria-label": e["aria-label"] ?? void 0
}), f = nu({
@@ -21184,17 +21184,17 @@ function _ee(e, t, n, r = "react-aria-ListBoxSection") {
return delete p.id, /*#__PURE__*/ R.createElement(lu.section, {
...J(p, f, d),
ref: t
- }, /*#__PURE__*/ R.createElement(wg.Provider, { value: {
+ }, /*#__PURE__*/ R.createElement(Cg.Provider, { value: {
...u,
ref: c
} }, /*#__PURE__*/ R.createElement(s, {
collection: i.collection,
parent: n,
- renderDropIndicator: Sg(a, o)
+ renderDropIndicator: xg(a, o)
})));
}
-var vee = /*#__PURE__*/ Ep(kf, function(e, t, n) {
- let r = $l(t), i = (0, R.useContext)(H_), { dragAndDropHooks: a, dragState: o, dropState: s } = (0, R.useContext)(yg), c = o && !(o.isDisabled || o.selectionManager.isDisabled(n.key)), { optionProps: l, labelProps: u, descriptionProps: d, ...f } = lee({
+var Dee = /*#__PURE__*/ Ep(kf, function(e, t, n) {
+ let r = $l(t), i = (0, R.useContext)(N_), { dragAndDropHooks: a, dragState: o, dropState: s } = (0, R.useContext)(yg), c = o && !(o.isDisabled || o.selectionManager.isDisabled(n.key)), { optionProps: l, labelProps: u, descriptionProps: d, ...f } = yee({
key: n.key,
"aria-label": e?.["aria-label"]
}, i, r), { hoverProps: p, isHovered: m } = xm({
@@ -21249,19 +21249,19 @@ var vee = /*#__PURE__*/ Ep(kf, function(e, t, n) {
[eu]: u,
label: u,
description: d
- } }], [Dg, { isSelected: f.isSelected }]] }, b.children));
+ } }], [Tg, { isSelected: f.isSelected }]] }, b.children));
});
-function yee(e, t) {
+function Oee(e, t) {
t = $l(t);
let { dragAndDropHooks: n, dropState: r } = (0, R.useContext)(yg), { dropIndicatorProps: i, isHidden: a, isDropTarget: o } = n.useDropIndicator(e, r, t);
- return a ? null : /*#__PURE__*/ R.createElement(xee, {
+ return a ? null : /*#__PURE__*/ R.createElement(Aee, {
...e,
dropIndicatorProps: i,
isDropTarget: o,
ref: t
});
}
-function bee(e, t) {
+function kee(e, t) {
let { dropIndicatorProps: n, isDropTarget: r, ...i } = e, a = nu({
...i,
defaultClassName: "react-aria-DropIndicator",
@@ -21275,10 +21275,10 @@ function bee(e, t) {
"data-drop-target": r || void 0
}));
}
-var xee = /*#__PURE__*/ (0, R.forwardRef)(bee);
+var Aee = /*#__PURE__*/ (0, R.forwardRef)(kee);
Ep(Of, function(e, t, n) {
- let r = (0, R.useContext)(H_), { isLoading: i, onLoadMore: a, scrollOffset: o, ...s } = e, c = (0, R.useRef)(null);
- B_((0, R.useMemo)(() => ({
+ let r = (0, R.useContext)(N_), { isLoading: i, onLoadMore: a, scrollOffset: o, ...s } = e, c = (0, R.useRef)(null);
+ j_((0, R.useMemo)(() => ({
onLoadMore: a,
collection: r?.collection,
sentinelRef: c,
@@ -21301,7 +21301,7 @@ Ep(Of, function(e, t, n) {
width: 0,
height: 0
},
- inert: k_(!0)
+ inert: y_(!0)
}, /*#__PURE__*/ R.createElement("div", {
"data-testid": "loadMoreSentinel",
ref: c,
@@ -21319,13 +21319,13 @@ Ep(Of, function(e, t, n) {
});
//#endregion
//#region node_modules/react-aria-components/dist/private/OverlayArrow.mjs
-var See = /*#__PURE__*/ (0, R.createContext)({ placement: "bottom" }), Cee = typeof HTMLElement < "u" && "inert" in HTMLElement.prototype;
-function W_(e) {
+var jee = /*#__PURE__*/ (0, R.createContext)({ placement: "bottom" }), Mee = typeof HTMLElement < "u" && "inert" in HTMLElement.prototype;
+function F_(e) {
return e.dataset.liveAnnouncer === "true" || e.dataset.reactAriaTopLayer !== void 0;
}
-var G_ = /* @__PURE__ */ new WeakMap(), K_ = [];
-function q_(e, t) {
- let n = pu(e?.[0]), r = t instanceof n.Element ? { root: t } : t, i = r?.root ?? document.body, a = r?.shouldUseInert && Cee, 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 I_ = /* @__PURE__ */ new WeakMap(), L_ = [];
+function R_(e, t) {
+ let n = pu(e?.[0]), r = t instanceof n.Element ? { root: t } : t, i = r?.root ?? document.body, a = r?.shouldUseInert && Mee, 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 (xu()) {
@@ -21341,19 +21341,19 @@ function q_(e, t) {
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 (Su(e, t)) return NodeFilter.FILTER_SKIP;
return NodeFilter.FILTER_ACCEPT;
- }, n = Fg(fu(e), e, NodeFilter.SHOW_ELEMENT, { acceptNode: t }), r = t(e);
+ }, n = kg(fu(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 = G_.get(e) ?? 0;
- c(e) && t === 0 || (t === 0 && l(e, !0), s.add(e), G_.set(e, t + 1));
+ let t = I_.get(e) ?? 0;
+ c(e) && t === 0 || (t === 0 && l(e, !0), s.add(e), I_.set(e, t + 1));
};
- K_.length && K_[K_.length - 1].disconnect(), d(i);
+ L_.length && L_[L_.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) => Su(e, t.target))) for (let e of t.addedNodes) (e instanceof HTMLElement || e instanceof SVGElement) && W_(e) ? o.add(e) : e instanceof Element && d(e);
+ if (t.target.isConnected && ![...o, ...s].some((e) => Su(e, t.target))) for (let e of t.addedNodes) (e instanceof HTMLElement || e instanceof SVGElement) && F_(e) ? o.add(e) : e instanceof Element && d(e);
if (xu()) {
for (let e of u) if (!e.isConnected) {
p.disconnect();
@@ -21370,7 +21370,7 @@ function q_(e, t) {
if (xu()) 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) => Su(e, t.target))) for (let e of t.addedNodes) (e instanceof HTMLElement || e instanceof SVGElement) && W_(e) ? o.add(e) : e instanceof Element && d(e);
+ if (t.target.isConnected && ![...o, ...s].some((e) => Su(e, t.target))) for (let e of t.addedNodes) (e instanceof HTMLElement || e instanceof SVGElement) && F_(e) ? o.add(e) : e instanceof Element && d(e);
if (xu()) {
for (let e of u) if (!e.isConnected) {
p.disconnect();
@@ -21397,49 +21397,49 @@ function q_(e, t) {
p.disconnect();
}
};
- return K_.push(h), () => {
+ return L_.push(h), () => {
if (p.disconnect(), xu()) for (let e of m) e.disconnect();
for (let e of s) {
- let t = G_.get(e);
- t != null && (t === 1 ? (l(e, !1), G_.delete(e)) : G_.set(e, t - 1));
+ let t = I_.get(e);
+ t != null && (t === 1 ? (l(e, !1), I_.delete(e)) : I_.set(e, t - 1));
}
- h === K_[K_.length - 1] ? (K_.pop(), K_.length && K_[K_.length - 1].observe()) : K_.splice(K_.indexOf(h), 1);
+ h === L_[L_.length - 1] ? (L_.pop(), L_.length && L_[L_.length - 1].observe()) : L_.splice(L_.indexOf(h), 1);
};
}
-function wee(e) {
- let t = K_[K_.length - 1];
+function Nee(e) {
+ let t = L_[L_.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/overlays/calculatePosition.mjs
-var J_ = {
+var z_ = {
top: "top",
bottom: "top",
left: "left",
right: "left"
-}, Y_ = {
+}, B_ = {
top: "bottom",
bottom: "top",
left: "right",
right: "left"
-}, Tee = {
+}, Pee = {
top: "left",
left: "top"
-}, X_ = {
+}, V_ = {
top: "height",
left: "width"
-}, Z_ = {
+}, H_ = {
width: "totalWidth",
height: "totalHeight"
-}, Q_ = {}, Eee = () => typeof document < "u" ? window.visualViewport : null;
-function $_(e, t) {
+}, U_ = {}, Fee = () => typeof document < "u" ? window.visualViewport : null;
+function W_(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} = av(e, !1)), c.top = e.scrollTop, c.left = e.scrollLeft, i = n, a = r;
+ } else ({width: n, height: r, top: o, left: s} = Q_(e, !1)), c.top = e.scrollTop, c.left = e.scrollLeft, i = n, a = r;
return id() && (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,
@@ -21450,7 +21450,7 @@ function $_(e, t) {
left: s
};
}
-function Dee(e) {
+function Iee(e) {
return {
top: e.scrollTop,
left: e.scrollLeft,
@@ -21458,11 +21458,11 @@ function Dee(e) {
height: e.scrollHeight
};
}
-function ev(e, t, n, r, i, a, o) {
- let s = i.scroll[e] ?? 0, c = r[X_[e]], l = o[e] + r.scroll[J_[e]] + a, u = o[e] + r.scroll[J_[e]] + c - a, d = t - s + r.scroll[J_[e]] + o[e] - r[J_[e]], f = t - s + n + r.scroll[J_[e]] + o[e] - r[J_[e]];
+function G_(e, t, n, r, i, a, o) {
+ let s = i.scroll[e] ?? 0, c = r[V_[e]], l = o[e] + r.scroll[z_[e]] + a, u = o[e] + r.scroll[z_[e]] + c - a, d = t - s + r.scroll[z_[e]] + o[e] - r[z_[e]], f = t - s + n + r.scroll[z_[e]] + o[e] - r[z_[e]];
return d < l ? l - d : f > u ? Math.max(u - f, l - d) : 0;
}
-function Oee(e) {
+function K_(e) {
let t = window.getComputedStyle(e);
return {
top: parseInt(t.marginTop, 10) || 0,
@@ -21471,55 +21471,55 @@ function Oee(e) {
right: parseInt(t.marginRight, 10) || 0
};
}
-function tv(e) {
- if (Q_[e]) return Q_[e];
- let [t, n] = e.split(" "), r = J_[t] || "right", i = Tee[r];
- J_[n] || (n = "center");
- let a = X_[r], o = X_[i];
- return Q_[e] = {
+function q_(e) {
+ if (U_[e]) return U_[e];
+ let [t, n] = e.split(" "), r = z_[t] || "right", i = Pee[r];
+ z_[n] || (n = "center");
+ let a = V_[r], o = V_[i];
+ return U_[e] = {
placement: t,
crossPlacement: n,
axis: r,
crossAxis: i,
size: a,
crossSize: o
- }, Q_[e];
+ }, U_[e];
}
-function nv(e, t, n, r, i, a, o, s, c, l, u) {
+function J_(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] = Tm(_[m], v, y), d === p) {
- let t = s ? u[h] : u[Z_[h]];
- _[Y_[p]] = Math.floor(t - e[p] + i);
+ let t = s ? u[h] : u[H_[h]];
+ _[B_[p]] = Math.floor(t - e[p] + i);
} else _[p] = Math.floor(e[p] + e[h] + i);
return _;
}
-function kee(e, t, n, r, i, a, o, s, c, l, u) {
- let d = (e.top == null ? c[Z_.height] - (e.bottom ?? 0) - o : e.top) - (c.scroll.top ?? 0), f = l ? n.top : 0, p = {
+function Y_(e, t, n, r, i, a, o, s, c, l, u) {
+ let d = (e.top == null ? c[H_.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 rv(e, t, n, r, i, a, o, s) {
+function X_(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[Y_[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[Y_[l]] - i);
+ return c === l ? Math.max(0, n[l] - (o.scroll[l] ?? 0) - (e[l] + (s ? t[l] : 0)) - (r[l] ?? 0) - r[B_[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[B_[l]] - i);
}
-function Aee(e, t, n, r, i, a, o, s, c, l, u, d, f, p, m, h, g, _) {
- let v = tv(e), { size: y, crossAxis: b, crossSize: x, placement: S, crossPlacement: C } = v, w = nv(t, s, n, v, u, d, l, f, m, h, c), T = u, E = rv(s, l, t, i, a + u, v, c, g);
+function Lee(e, t, n, r, i, a, o, s, c, l, u, d, f, p, m, h, g, _) {
+ let v = q_(e), { size: y, crossAxis: b, crossSize: x, placement: S, crossPlacement: C } = v, w = J_(t, s, n, v, u, d, l, f, m, h, c), T = u, E = X_(s, l, t, i, a + u, v, c, g);
if (o && n[y] > E) {
- let e = tv(`${Y_[S]} ${C}`), r = nv(t, s, n, e, u, d, l, f, m, h, c);
- rv(s, l, t, i, a + u, e, c, g) > E && (v = e, w = r, T = u);
+ let e = q_(`${B_[S]} ${C}`), r = J_(t, s, n, e, u, d, l, f, m, h, c);
+ X_(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 = ev(b, w[b], n[x], s, c, a, l);
+ let O = G_(b, w[b], n[x], s, c, a, l);
w[b] += O;
- let k = kee(w, s, l, f, i, a, n.height, D, c, g, _);
- p && p < k && (k = p), n.height = Math.min(n.height, k), w = nv(t, s, n, v, T, d, l, f, m, h, c), O = ev(b, w[b], n[x], s, c, a, l), w[b] += O;
- let A = {}, j = t[b] - w[b] - i[J_[b]], M = j + .5 * t[x], N = m / 2 + h, P = J_[b] === "left" ? (i.left ?? 0) + (i.right ?? 0) : (i.top ?? 0) + (i.bottom ?? 0), ee = n[x] - P - m / 2 - h;
- A[b] = Tm(Tm(M, t[b] + m / 2 - (w[b] + i[J_[b]]), t[b] + t[x] - m / 2 - (w[b] + i[J_[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 = Y_(w, s, l, f, i, a, n.height, D, c, g, _);
+ p && p < k && (k = p), n.height = Math.min(n.height, k), w = J_(t, s, n, v, T, d, l, f, m, h, c), O = G_(b, w[b], n[x], s, c, a, l), w[b] += O;
+ let A = {}, j = t[b] - w[b] - i[z_[b]], M = j + .5 * t[x], N = m / 2 + h, P = z_[b] === "left" ? (i.left ?? 0) + (i.right ?? 0) : (i.top ?? 0) + (i.bottom ?? 0), ee = n[x] - P - m / 2 - h;
+ A[b] = Tm(Tm(M, t[b] + m / 2 - (w[b] + i[z_[b]]), t[b] + t[x] - m / 2 - (w[b] + i[z_[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, I = {
x: S === "top" || S === "bottom" ? j : F,
y: S === "left" || S === "right" ? j : F
@@ -21533,17 +21533,17 @@ function Aee(e, t, n, r, i, a, o, s, c, l, u, d, f, p, m, h, g, _) {
triggerAnchorPoint: I
};
}
-function jee(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 = Eee(), h = r instanceof HTMLElement ? Mee(r) : document.documentElement, g = h === document.documentElement, _ = window.getComputedStyle(h).position, v = !!_ && _ !== "static", y = g ? av(n, !1, p) : ov(n, h, !1, p);
+function Ree(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 = Fee(), h = r instanceof HTMLElement ? zee(r) : document.documentElement, g = h === document.documentElement, _ = window.getComputedStyle(h).position, v = !!_ && _ !== "static", y = g ? Q_(n, !1, p) : $_(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 = av(r, !0), x = Oee(r);
+ let b = Q_(r, !0), x = K_(r);
b.width += (x.left ?? 0) + (x.right ?? 0), b.height += (x.top ?? 0) + (x.bottom ?? 0);
- let S = Dee(i), C = $_(s, m), w = $_(h, m), T;
+ let S = Iee(i), C = W_(s, m), w = W_(h, m), T;
if ((s.tagName === "BODY" || s.tagName === "HTML") && !g) {
- let e = iv(h, !1);
+ let e = Z_(h, !1);
T = {
top: -(e.top - C.top),
left: -(e.left - C.left),
@@ -21555,11 +21555,11 @@ function jee(e) {
left: 0,
width: 0,
height: 0
- } : ov(s, h, !1);
+ } : $_(s, h, !1);
let E = Su(s, h);
- return Aee(t, y, b, S, x, a, o, C, w, T, c, l, v, u, d, f, E, m);
+ return Lee(t, y, b, S, x, a, o, C, w, T, c, l, v, u, d, f, E, m);
}
-function iv(e, t) {
+function Z_(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,
@@ -21568,8 +21568,8 @@ function iv(e, t) {
height: a
};
}
-function av(e, t, n) {
- let { top: r, left: i, width: a, height: o } = n || iv(e, t), { scrollTop: s, scrollLeft: c, clientTop: l, clientLeft: u } = document.documentElement;
+function Q_(e, t, n) {
+ let { top: r, left: i, width: a, height: o } = n || Z_(e, t), { scrollTop: s, scrollLeft: c, clientTop: l, clientLeft: u } = document.documentElement;
return {
top: r + s - l,
left: i + c - u,
@@ -21577,34 +21577,34 @@ function av(e, t, n) {
height: o
};
}
-function ov(e, t, n, r) {
+function $_(e, t, n, r) {
let i = window.getComputedStyle(e), a;
- if (i.position === "fixed") a = r || iv(e, n);
+ if (i.position === "fixed") a = r || Z_(e, n);
else {
- a = av(e, n, r);
- let i = av(t, n), o = window.getComputedStyle(t);
+ a = Q_(e, n, r);
+ let i = Q_(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 Mee(e) {
+function zee(e) {
let t = e.offsetParent;
- if (t && t === document.body && window.getComputedStyle(t).position === "static" && !sv(t) && (t = document.documentElement), t == null) for (t = e.parentElement; t && !sv(t);) t = t.parentElement;
+ if (t && t === document.body && window.getComputedStyle(t).position === "static" && !ev(t) && (t = document.documentElement), t == null) for (t = e.parentElement; t && !ev(t);) t = t.parentElement;
return t || document.documentElement;
}
-function sv(e) {
+function ev(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/useCloseOnScroll.mjs
-var cv = /* @__PURE__ */ new WeakMap();
-function Nee(e) {
+var tv = /* @__PURE__ */ new WeakMap();
+function Bee(e) {
let { triggerRef: t, isOpen: n, onClose: r } = e;
(0, R.useEffect)(() => !n || r === null ? void 0 : vu(wu(t.current), "scroll", (e) => {
let n = Y(e);
if (!t.current || n instanceof Node && !Su(n, t.current) || n instanceof HTMLInputElement || n instanceof HTMLTextAreaElement) return;
- let i = r || cv.get(t.current);
+ let i = r || tv.get(t.current);
i && i();
}, !0), [
n,
@@ -21614,15 +21614,15 @@ function Nee(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/useResizeObserver.mjs
-function Pee() {
+function Vee() {
return window.ResizeObserver !== void 0;
}
-function lv(e) {
+function nv(e) {
let { ref: t, box: n, onResize: r } = e, i = qd(r);
(0, R.useEffect)(() => {
let e = t?.current;
if (e) {
- if (Pee()) {
+ if (Vee()) {
let t = new window.ResizeObserver((e) => {
e.length && i();
});
@@ -21638,8 +21638,8 @@ function lv(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/overlays/useOverlayPosition.mjs
-var uv = typeof document < "u" ? window.visualViewport : null;
-function Fee(e) {
+var rv = typeof document < "u" ? window.visualViewport : null;
+function Hee(e) {
let { direction: t } = sf(), { arrowSize: n, targetRef: r, overlayRef: i, arrowRef: a, scrollRef: o = i, placement: s = "bottom", containerPadding: c = 12, shouldFlip: l = !0, boundaryElement: u = typeof document < "u" ? document.body : null, offset: d = 0, crossOffset: f = 0, shouldUpdatePosition: p = !0, isOpen: m = !0, onClose: h, maxHeight: g, arrowBoundaryOffset: _ = 0, getTargetRect: v } = e, [y, b] = (0, R.useState)(null), x = [
p,
s,
@@ -21657,12 +21657,12 @@ function Fee(e) {
g,
_,
n
- ], S = (0, R.useRef)(uv?.scale);
+ ], S = (0, R.useRef)(rv?.scale);
(0, R.useEffect)(() => {
- m && (S.current = uv?.scale);
+ m && (S.current = rv?.scale);
}, [m]);
let C = (0, R.useCallback)(() => {
- if (p === !1 || !m || !i.current || !r.current || !u || uv?.scale !== S.current) return;
+ if (p === !1 || !m || !i.current || !r.current || !u || rv?.scale !== S.current) return;
let e = null;
if (o.current && Tu(o.current)) {
let t = Cu()?.getBoundingClientRect(), n = o.current.getBoundingClientRect();
@@ -21673,8 +21673,8 @@ function Fee(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 = jee({
- placement: Lee(s, t),
+ let y = Ree({
+ placement: Wee(s, t),
overlayNode: i.current,
targetNode: r.current,
scrollNode: o.current || i.current,
@@ -21684,7 +21684,7 @@ function Fee(e) {
offset: d,
crossOffset: f,
maxHeight: g,
- arrowSize: n ?? (a?.current ? iv(a.current, !0).width : 0),
+ arrowSize: n ?? (a?.current ? Z_(a.current, !0).width : 0),
arrowBoundaryOffset: _,
targetRect: v?.(r.current)
});
@@ -21697,10 +21697,10 @@ function Fee(e) {
}
b(y);
}, x);
- Ol(C, x), Iee(C), lv({
+ Ol(C, x), Uee(C), nv({
ref: i,
onResize: C
- }), lv({
+ }), nv({
ref: r,
onResize: C
});
@@ -21713,16 +21713,16 @@ function Fee(e) {
}, n = () => {
w.current && t();
};
- uv?.addEventListener("resize", t), uv?.addEventListener("scroll", n);
+ rv?.addEventListener("resize", t), rv?.addEventListener("scroll", n);
let r = vu(wu(window), "scroll", n);
return () => {
- uv?.removeEventListener("resize", t), uv?.removeEventListener("scroll", n), r();
+ rv?.removeEventListener("resize", t), rv?.removeEventListener("scroll", n), r();
};
}, [C]);
let T = (0, R.useCallback)(() => {
w.current || h?.();
}, [h, w]);
- return Nee({
+ return Bee({
triggerRef: r,
isOpen: m,
onClose: h && T
@@ -21748,22 +21748,22 @@ function Fee(e) {
updatePosition: C
};
}
-function Iee(e) {
+function Uee(e) {
Ol(() => (window.addEventListener("resize", e, !1), () => {
window.removeEventListener("resize", e, !1);
}), [e]);
}
-function Lee(e, t) {
+function Wee(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/interactions/useInteractOutside.mjs
-function Ree(e) {
+function Gee(e) {
let { ref: t, onInteractOutside: n, isDisabled: r, onInteractOutsideStart: i } = e, a = (0, R.useRef)({
isPointerDown: !1,
ignoreEmulatedMouseEvents: !1
}), o = qd((e) => {
- n && dv(e, t) && (i && i(e), a.current.isPointerDown = !0);
+ n && iv(e, t) && (i && i(e), a.current.isPointerDown = !0);
}), s = qd((e) => {
n && n(e);
});
@@ -21773,7 +21773,7 @@ function Ree(e) {
let n = t.current, i = fu(n);
if (typeof PointerEvent < "u") {
let n = (n) => {
- e.isPointerDown && dv(n, t) && s(n), e.isPointerDown = !1;
+ e.isPointerDown && iv(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);
@@ -21781,7 +21781,7 @@ function Ree(e) {
}
}, [t, r]);
}
-function dv(e, t) {
+function iv(e, t) {
if (e.button > 0) return !1;
let n = Y(e);
if (n) {
@@ -21792,22 +21792,22 @@ function dv(e, t) {
}
//#endregion
//#region node_modules/react-aria/dist/private/overlays/useOverlay.mjs
-var fv = [];
-function pv(e, t) {
+var av = [];
+function ov(e, t) {
let { onClose: n, shouldCloseOnBlur: r, isOpen: i, isDismissable: a = !1, isKeyboardDismissDisabled: o = !1, shouldCloseOnInteractOutside: s } = e, c = (0, R.useRef)(void 0);
(0, R.useEffect)(() => {
- if (i && !fv.includes(t)) return fv.push(t), () => {
- let e = fv.indexOf(t);
- e >= 0 && fv.splice(e, 1);
+ if (i && !av.includes(t)) return av.push(t), () => {
+ let e = av.indexOf(t);
+ e >= 0 && av.splice(e, 1);
};
}, [i, t]);
let l = () => {
- fv[fv.length - 1] === t && n && n();
+ av[av.length - 1] === t && n && n();
}, u = (e) => {
- let n = fv[fv.length - 1];
+ let n = av[av.length - 1];
c.current = n, (!s || s(Y(e))) && n === t && e.stopPropagation();
}, d = (e) => {
- (!s || s(Y(e))) && (fv[fv.length - 1] === t && e.stopPropagation(), c.current === t && l()), c.current = void 0;
+ (!s || s(Y(e))) && (av[av.length - 1] === t && e.stopPropagation(), c.current === t && l()), c.current = void 0;
}, { keyboardProps: f } = ip({ shortcuts: { Escape: () => {
if (!o) {
l();
@@ -21815,7 +21815,7 @@ function pv(e, t) {
}
return !1;
} } });
- Ree({
+ Gee({
ref: t,
onInteractOutside: a && i ? d : void 0,
onInteractOutsideStart: u
@@ -21823,7 +21823,7 @@ function pv(e, t) {
let { focusWithinProps: p } = mm({
isDisabled: !r,
onBlurWithin: (e) => {
- !e.relatedTarget || Yg(e.relatedTarget) || (!s || s(e.relatedTarget)) && n?.();
+ !e.relatedTarget || uee(e.relatedTarget) || (!s || s(e.relatedTarget)) && n?.();
}
});
return {
@@ -21836,20 +21836,20 @@ function pv(e, t) {
}
//#endregion
//#region node_modules/react-aria/dist/private/overlays/usePreventScroll.mjs
-var mv = typeof document < "u" && window.visualViewport, hv = 0, gv;
-function _v(e = {}) {
+var sv = typeof document < "u" && window.visualViewport, cv = 0, lv;
+function uv(e = {}) {
let { isDisabled: t } = e;
Ol(() => {
- if (!t) return hv++, hv === 1 && (gv = nd() && id() ? Bee() : zee()), () => {
- hv--, hv === 0 && gv();
+ if (!t) return cv++, cv === 1 && (lv = nd() && id() ? qee() : Kee()), () => {
+ cv--, cv === 0 && lv();
};
}, [t]);
}
-function zee() {
+function Kee() {
let e = window.innerWidth - document.documentElement.clientWidth;
return Dl(e > 0 && ("scrollbarGutter" in document.documentElement.style ? yu(document.documentElement, "scrollbar-gutter", "stable") : yu(document.documentElement, "padding-right", `${e}px`)), yu(document.documentElement, "overflow", "hidden"));
}
-function Bee() {
+function qee() {
let e = yu(document.documentElement, "overflow", "hidden"), t, n = !1, r = (e) => {
let r = Y(e);
t = Vm(r) ? r : Hm(r, !0), n = !1;
@@ -21867,7 +21867,7 @@ function Bee() {
}
}, s = (e) => {
let t = Y(e), n = e.relatedTarget;
- n && Gd(n) ? (n.focus({ preventScroll: !0 }), vv(n, Gd(t))) : n || (t.parentElement?.closest("[tabindex]"))?.focus({ preventScroll: !0 });
+ n && Gd(n) ? (n.focus({ preventScroll: !0 }), dv(n, Gd(t))) : n || (t.parentElement?.closest("[tabindex]"))?.focus({ preventScroll: !0 });
}, c = HTMLElement.prototype.focus;
Reflect.defineProperty(HTMLElement.prototype, "focus", {
configurable: !0,
@@ -21877,7 +21877,7 @@ function Bee() {
c.call(this, {
...e,
preventScroll: !0
- }), (!e || !e.preventScroll) && vv(this, n);
+ }), (!e || !e.preventScroll) && dv(this, n);
}
});
let l = Dl(vu(document, "touchstart", r, {
@@ -21895,10 +21895,10 @@ function Bee() {
});
};
}
-function vv(e, t) {
- t || !mv ? yv(e) : mv.addEventListener("resize", () => yv(e), { once: !0 });
+function dv(e, t) {
+ t || !sv ? fv(e) : sv.addEventListener("resize", () => fv(e), { once: !0 });
}
-function yv(e) {
+function fv(e) {
let t = document.scrollingElement || document.documentElement, n = e;
for (; n && n !== t;) {
let e = Hm(n);
@@ -21906,7 +21906,7 @@ function yv(e) {
let t = e.getBoundingClientRect(), r = n.getBoundingClientRect();
if (r.top < t.top || r.bottom > t.top + n.clientHeight) {
let n = t.bottom;
- mv && (n = Math.min(n, mv.offsetTop + mv.height));
+ sv && (n = Math.min(n, sv.offsetTop + sv.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)),
@@ -21919,15 +21919,15 @@ function yv(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/overlays/usePopover.mjs
-function Vee(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 } = pv({
+function Jee(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 } = ov({
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 } = Fee({
+ }, i ?? r), { overlayProps: f, arrowProps: p, placement: m, triggerAnchorPoint: h } = Hee({
...c,
targetRef: n,
overlayRef: r,
@@ -21935,8 +21935,8 @@ function Vee(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)
});
- _v({ isDisabled: a || !t.isOpen }), (0, R.useEffect)(() => {
- if (t.isOpen && r.current) return a ? wee(i?.current ?? r.current) : q_([i?.current ?? r.current], { shouldUseInert: !0 });
+ uv({ isDisabled: a || !t.isOpen }), (0, R.useEffect)(() => {
+ if (t.isOpen && r.current) return a ? Nee(i?.current ?? r.current) : R_([i?.current ?? r.current], { shouldUseInert: !0 });
}, [
a,
t.isOpen,
@@ -21954,186 +21954,186 @@ function Vee(e, t) {
}
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/ar-AE.mjs
-var bv = {};
-bv = { dismiss: "تجاهل" };
+var pv = {};
+pv = { dismiss: "تجاهل" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/bg-BG.mjs
-var xv = {};
-xv = { dismiss: "Отхвърляне" };
+var mv = {};
+mv = { dismiss: "Отхвърляне" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/cs-CZ.mjs
-var Sv = {};
-Sv = { dismiss: "Odstranit" };
+var hv = {};
+hv = { dismiss: "Odstranit" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/da-DK.mjs
-var Cv = {};
-Cv = { dismiss: "Luk" };
+var gv = {};
+gv = { dismiss: "Luk" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/de-DE.mjs
-var wv = {};
-wv = { dismiss: "Schließen" };
+var _v = {};
+_v = { dismiss: "Schließen" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/el-GR.mjs
-var Tv = {};
-Tv = { dismiss: "Απόρριψη" };
+var vv = {};
+vv = { dismiss: "Απόρριψη" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/en-US.mjs
-var Ev = {};
-Ev = { dismiss: "Dismiss" };
+var yv = {};
+yv = { dismiss: "Dismiss" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/es-ES.mjs
-var Dv = {};
-Dv = { dismiss: "Descartar" };
+var bv = {};
+bv = { dismiss: "Descartar" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/et-EE.mjs
-var Ov = {};
-Ov = { dismiss: "Lõpeta" };
+var xv = {};
+xv = { dismiss: "Lõpeta" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/fi-FI.mjs
-var kv = {};
-kv = { dismiss: "Hylkää" };
+var Sv = {};
+Sv = { dismiss: "Hylkää" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/fr-FR.mjs
-var Av = {};
-Av = { dismiss: "Rejeter" };
+var Cv = {};
+Cv = { dismiss: "Rejeter" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/he-IL.mjs
-var jv = {};
-jv = { dismiss: "התעלם" };
+var wv = {};
+wv = { dismiss: "התעלם" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/hr-HR.mjs
-var Mv = {};
-Mv = { dismiss: "Odbaci" };
+var Tv = {};
+Tv = { dismiss: "Odbaci" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/hu-HU.mjs
-var Nv = {};
-Nv = { dismiss: "Elutasítás" };
+var Ev = {};
+Ev = { dismiss: "Elutasítás" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/it-IT.mjs
-var Pv = {};
-Pv = { dismiss: "Ignora" };
+var Dv = {};
+Dv = { dismiss: "Ignora" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/ja-JP.mjs
-var Fv = {};
-Fv = { dismiss: "閉じる" };
+var Ov = {};
+Ov = { dismiss: "閉じる" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/ko-KR.mjs
-var Iv = {};
-Iv = { dismiss: "무시" };
+var kv = {};
+kv = { dismiss: "무시" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/lt-LT.mjs
-var Lv = {};
-Lv = { dismiss: "Atmesti" };
+var Av = {};
+Av = { dismiss: "Atmesti" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/lv-LV.mjs
-var Rv = {};
-Rv = { dismiss: "Nerādīt" };
+var jv = {};
+jv = { dismiss: "Nerādīt" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/nb-NO.mjs
-var zv = {};
-zv = { dismiss: "Lukk" };
+var Mv = {};
+Mv = { dismiss: "Lukk" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/nl-NL.mjs
-var Bv = {};
-Bv = { dismiss: "Negeren" };
+var Nv = {};
+Nv = { dismiss: "Negeren" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/pl-PL.mjs
-var Vv = {};
-Vv = { dismiss: "Zignoruj" };
+var Pv = {};
+Pv = { dismiss: "Zignoruj" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/pt-BR.mjs
-var Hv = {};
-Hv = { dismiss: "Descartar" };
+var Fv = {};
+Fv = { dismiss: "Descartar" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/pt-PT.mjs
-var Uv = {};
-Uv = { dismiss: "Dispensar" };
+var Iv = {};
+Iv = { dismiss: "Dispensar" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/ro-RO.mjs
-var Wv = {};
-Wv = { dismiss: "Revocare" };
+var Lv = {};
+Lv = { dismiss: "Revocare" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/ru-RU.mjs
-var Gv = {};
-Gv = { dismiss: "Пропустить" };
+var Rv = {};
+Rv = { dismiss: "Пропустить" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/sk-SK.mjs
-var Kv = {};
-Kv = { dismiss: "Zrušiť" };
+var zv = {};
+zv = { dismiss: "Zrušiť" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/sl-SI.mjs
-var qv = {};
-qv = { dismiss: "Opusti" };
+var Bv = {};
+Bv = { dismiss: "Opusti" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/sr-SP.mjs
-var Jv = {};
-Jv = { dismiss: "Odbaci" };
+var Vv = {};
+Vv = { dismiss: "Odbaci" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/sv-SE.mjs
-var Yv = {};
-Yv = { dismiss: "Avvisa" };
+var Hv = {};
+Hv = { dismiss: "Avvisa" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/tr-TR.mjs
-var Xv = {};
-Xv = { dismiss: "Kapat" };
+var Uv = {};
+Uv = { dismiss: "Kapat" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/uk-UA.mjs
-var Zv = {};
-Zv = { dismiss: "Скасувати" };
+var Wv = {};
+Wv = { dismiss: "Скасувати" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/zh-CN.mjs
-var Qv = {};
-Qv = { dismiss: "取消" };
+var Gv = {};
+Gv = { dismiss: "取消" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/zh-TW.mjs
-var $v = {};
-$v = { dismiss: "關閉" };
+var Kv = {};
+Kv = { dismiss: "關閉" };
//#endregion
//#region node_modules/react-aria/dist/private/overlays/intlStrings.mjs
-var ey = {};
-ey = {
- "ar-AE": bv,
- "bg-BG": xv,
- "cs-CZ": Sv,
- "da-DK": Cv,
- "de-DE": wv,
- "el-GR": Tv,
- "en-US": Ev,
- "es-ES": Dv,
- "et-EE": Ov,
- "fi-FI": kv,
- "fr-FR": Av,
- "he-IL": jv,
- "hr-HR": Mv,
- "hu-HU": Nv,
- "it-IT": Pv,
- "ja-JP": Fv,
- "ko-KR": Iv,
- "lt-LT": Lv,
- "lv-LV": Rv,
- "nb-NO": zv,
- "nl-NL": Bv,
- "pl-PL": Vv,
- "pt-BR": Hv,
- "pt-PT": Uv,
- "ro-RO": Wv,
- "ru-RU": Gv,
- "sk-SK": Kv,
- "sl-SI": qv,
- "sr-SP": Jv,
- "sv-SE": Yv,
- "tr-TR": Xv,
- "uk-UA": Zv,
- "zh-CN": Qv,
- "zh-TW": $v
+var qv = {};
+qv = {
+ "ar-AE": pv,
+ "bg-BG": mv,
+ "cs-CZ": hv,
+ "da-DK": gv,
+ "de-DE": _v,
+ "el-GR": vv,
+ "en-US": yv,
+ "es-ES": bv,
+ "et-EE": xv,
+ "fi-FI": Sv,
+ "fr-FR": Cv,
+ "he-IL": wv,
+ "hr-HR": Tv,
+ "hu-HU": Ev,
+ "it-IT": Dv,
+ "ja-JP": Ov,
+ "ko-KR": kv,
+ "lt-LT": Av,
+ "lv-LV": jv,
+ "nb-NO": Mv,
+ "nl-NL": Nv,
+ "pl-PL": Pv,
+ "pt-BR": Fv,
+ "pt-PT": Iv,
+ "ro-RO": Lv,
+ "ru-RU": Rv,
+ "sk-SK": zv,
+ "sl-SI": Bv,
+ "sr-SP": Vv,
+ "sv-SE": Hv,
+ "tr-TR": Uv,
+ "uk-UA": Wv,
+ "zh-CN": Gv,
+ "zh-TW": Kv
};
//#endregion
//#region node_modules/react-aria/dist/private/overlays/DismissButton.mjs
-function Hee(e) {
+function Yee(e) {
return e && e.__esModule ? e.default : e;
}
-function ty(e) {
- let { onDismiss: t, ...n } = e, r = Yd(n, xf(Hee(ey), "@react-aria/overlays").format("dismiss")), i = () => {
+function Jv(e) {
+ let { onDismiss: t, ...n } = e, r = Yd(n, xf(Yee(qv), "@react-aria/overlays").format("dismiss")), i = () => {
t && t();
};
return /*#__PURE__*/ R.createElement(Qm, null, /*#__PURE__*/ R.createElement("button", {
@@ -22148,7 +22148,7 @@ function ty(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/interactions/PressResponder.mjs
-var ny = /*#__PURE__*/ R.forwardRef(({ children: e, ...t }, n) => {
+var Xee = /*#__PURE__*/ R.forwardRef(({ children: e, ...t }, n) => {
let r = (0, R.useRef)(!1), i = (0, R.useContext)($p), a = J(i || {}, {
...t,
register() {
@@ -22159,44 +22159,44 @@ var ny = /*#__PURE__*/ R.forwardRef(({ children: e, ...t }, n) => {
r.current ||= !0;
}, []), /*#__PURE__*/ R.createElement($p.Provider, { value: a }, e);
});
-function ry({ children: e }) {
+function Zee({ children: e }) {
let t = (0, R.useMemo)(() => ({ register: () => {} }), []);
return /*#__PURE__*/ R.createElement($p.Provider, { value: t }, e);
}
//#endregion
//#region node_modules/react-aria/dist/private/overlays/PortalProvider.mjs
-var iy = /*#__PURE__*/ (0, R.createContext)({});
-function ay(e) {
- let { getContainer: t } = e, { getContainer: n } = oy();
- return /*#__PURE__*/ R.createElement(iy.Provider, { value: { getContainer: t === null ? void 0 : t ?? n } }, e.children);
+var Yv = /*#__PURE__*/ (0, R.createContext)({});
+function Xv(e) {
+ let { getContainer: t } = e, { getContainer: n } = Zv();
+ return /*#__PURE__*/ R.createElement(Yv.Provider, { value: { getContainer: t === null ? void 0 : t ?? n } }, e.children);
}
-function oy() {
- return (0, R.useContext)(iy) ?? {};
+function Zv() {
+ return (0, R.useContext)(Yv) ?? {};
}
//#endregion
//#region node_modules/react-aria/dist/private/overlays/Overlay.mjs
-var sy = /*#__PURE__*/ R.createContext(null);
-function cy(e) {
+var Qv = /*#__PURE__*/ R.createContext(null);
+function $v(e) {
let t = Bl(), { portalContainer: n = t ? null : document.body, isExiting: r } = e, [i, a] = (0, R.useState)(!1), o = (0, R.useMemo)(() => ({
contain: i,
setContain: a
- }), [i, a]), { getContainer: s } = oy();
+ }), [i, a]), { getContainer: s } = Zv();
if (!e.portalContainer && s && (n = s()), !n) return null;
let c = e.children;
- return e.disableFocusManagement || (c = /*#__PURE__*/ R.createElement(zg, {
+ return e.disableFocusManagement || (c = /*#__PURE__*/ R.createElement(Ng, {
restoreFocus: !0,
contain: (e.shouldContainFocus || i) && !r
- }, c)), c = /*#__PURE__*/ R.createElement(sy.Provider, { value: o }, /*#__PURE__*/ R.createElement(ry, null, /*#__PURE__*/ R.createElement(op.Provider, { value: null }, c))), /*#__PURE__*/ be.createPortal(c, n);
+ }, c)), c = /*#__PURE__*/ R.createElement(Qv.Provider, { value: o }, /*#__PURE__*/ R.createElement(Zee, null, /*#__PURE__*/ R.createElement(op.Provider, { value: null }, c))), /*#__PURE__*/ be.createPortal(c, n);
}
-function ly() {
- let e = (0, R.useContext)(sy)?.setContain;
+function ey() {
+ let e = (0, R.useContext)(Qv)?.setContain;
Ol(() => {
e?.(!0);
}, [e]);
}
//#endregion
//#region node_modules/react-stately/dist/private/overlays/useOverlayTriggerState.mjs
-function uy(e) {
+function ty(e) {
let [t, n] = Cf(e.isOpen, e.defaultOpen || !1, e.onOpenChange), [r, i] = (0, R.useState)(null);
return {
isOpen: t,
@@ -22216,13 +22216,13 @@ function uy(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/animation.mjs
-function dy(e, t = !0) {
+function ny(e, t = !0) {
let [n, r] = (0, R.useState)(!0), i = n && t;
return Ol(() => {
if (i && e.current && "getAnimations" in e.current) for (let t of e.current.getAnimations()) t instanceof CSSTransition && t.cancel();
- }, [e, i]), py(e, i, (0, R.useCallback)(() => r(!1), [])), i;
+ }, [e, i]), iy(e, i, (0, R.useCallback)(() => r(!1), [])), i;
}
-function fy(e, t) {
+function ry(e, t) {
let [n, r] = (0, R.useState)(t ? "open" : "closed");
switch (n) {
case "open":
@@ -22232,11 +22232,11 @@ function fy(e, t) {
case "exiting": t && r("open");
}
let i = n === "exiting";
- return py(e, i, (0, R.useCallback)(() => {
+ return iy(e, i, (0, R.useCallback)(() => {
r((e) => e === "exiting" ? "closed" : e);
}, [])), i;
}
-function py(e, t, n) {
+function iy(e, t, n) {
Ol(() => {
if (t && e.current) {
if (!("getAnimations" in e.current)) {
@@ -22265,9 +22265,9 @@ function py(e, t, n) {
}
//#endregion
//#region node_modules/react-aria-components/dist/private/Popover.mjs
-var my = /*#__PURE__*/ (0, R.createContext)(null), hy = /*#__PURE__*/ (0, R.createContext)(null), gy = /*#__PURE__*/ (0, R.forwardRef)(function(e, t) {
- [e, t] = iu(e, t, my);
- let n = (0, R.useContext)(lb), r = uy(e), i = e.isOpen != null || e.defaultOpen != null || !n ? r : n, a = fy(t, i.isOpen), o = e.isExiting || !e.shouldSkipAnimation && a || !1, s = fp(), { direction: c } = sf();
+var ay = /*#__PURE__*/ (0, R.createContext)(null), oy = /*#__PURE__*/ (0, R.createContext)(null), sy = /*#__PURE__*/ (0, R.forwardRef)(function(e, t) {
+ [e, t] = iu(e, t, ay);
+ let n = (0, R.useContext)(eb), r = ty(e), i = e.isOpen != null || e.defaultOpen != null || !n ? r : n, a = ry(t, i.isOpen), o = e.isExiting || !e.shouldSkipAnimation && a || !1, s = fp(), { direction: c } = sf();
if (s) {
let t = e.children;
return typeof t == "function" && (t = t({
@@ -22278,7 +22278,7 @@ var my = /*#__PURE__*/ (0, R.createContext)(null), hy = /*#__PURE__*/ (0, R.crea
defaultChildren: null
})), /*#__PURE__*/ R.createElement(R.Fragment, null, t);
}
- return i && !i.isOpen && !o ? null : /*#__PURE__*/ R.createElement(Uee, {
+ return i && !i.isOpen && !o ? null : /*#__PURE__*/ R.createElement(Qee, {
...e,
triggerRef: e.triggerRef,
state: i,
@@ -22287,13 +22287,13 @@ var my = /*#__PURE__*/ (0, R.createContext)(null), hy = /*#__PURE__*/ (0, R.crea
dir: c
});
});
-function Uee({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContexts: r, ...i }) {
- let a = (0, R.useRef)(null), o = (0, R.useRef)(null), s = (0, R.useContext)(hy), c = s && i.trigger === "SubmenuTrigger", { popoverProps: l, underlayProps: u, arrowProps: d, placement: f, triggerAnchorPoint: p } = Vee({
+function Qee({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContexts: r, ...i }) {
+ let a = (0, R.useRef)(null), o = (0, R.useRef)(null), s = (0, R.useContext)(oy), c = s && i.trigger === "SubmenuTrigger", { popoverProps: l, underlayProps: u, arrowProps: d, placement: f, triggerAnchorPoint: p } = Jee({
...i,
offset: i.offset ?? 8,
arrowRef: a,
groupRef: c ? s : o
- }, e), m = i.popoverRef, h = dy(m, !!f), g = i.isEntering || !i.shouldSkipAnimation && h || !1, _ = nu({
+ }, e), m = i.popoverRef, h = ny(m, !!f), g = i.isEntering || !i.shouldSkipAnimation && h || !1, _ = nu({
...i,
defaultClassName: "react-aria-Popover",
values: {
@@ -22319,7 +22319,7 @@ function Uee({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContext
}, [_.children, r]), [S, C] = (0, R.useState)(null), w = (0, R.useCallback)(() => {
i.triggerRef.current && C(i.triggerRef.current.getBoundingClientRect().width + "px");
}, [i.triggerRef]);
- Ol(w, [w]), lv({
+ Ol(w, [w]), nv({
ref: _.style?.["--trigger-width"] ? void 0 : i.triggerRef,
onResize: w
});
@@ -22344,17 +22344,17 @@ function Uee({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContext
"data-placement": f,
"data-entering": g || void 0,
"data-exiting": t || void 0
- }, !i.isNonModal && /*#__PURE__*/ R.createElement(ty, { onDismiss: e.close }), /*#__PURE__*/ R.createElement(See.Provider, { value: {
+ }, !i.isNonModal && /*#__PURE__*/ R.createElement(Jv, { onDismiss: e.close }), /*#__PURE__*/ R.createElement(jee.Provider, { value: {
...d,
placement: f,
ref: a
- } }, x), /*#__PURE__*/ R.createElement(ty, { onDismiss: e.close }));
- return c ? /*#__PURE__*/ R.createElement(cy, {
+ } }, x), /*#__PURE__*/ R.createElement(Jv, { onDismiss: e.close }));
+ return c ? /*#__PURE__*/ R.createElement($v, {
...i,
shouldContainFocus: y && i.trigger !== "PreviewTrigger",
isExiting: t,
portalContainer: n ?? s?.current ?? void 0
- }, E) : /*#__PURE__*/ R.createElement(cy, {
+ }, E) : /*#__PURE__*/ R.createElement($v, {
...i,
shouldContainFocus: y && i.trigger !== "PreviewTrigger",
isExiting: t,
@@ -22369,187 +22369,187 @@ function Uee({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContext
}), /*#__PURE__*/ R.createElement("div", {
ref: o,
style: { display: "contents" }
- }, /*#__PURE__*/ R.createElement(hy.Provider, { value: o }, E)));
+ }, /*#__PURE__*/ R.createElement(oy.Provider, { value: o }, E)));
}
//#endregion
//#region node_modules/react-aria-components/dist/private/Keyboard.mjs
-var Wee = /*#__PURE__*/ (0, R.createContext)({}), _y = {};
-_y = { longPressMessage: "اضغط مطولاً أو اضغط على Alt + السهم لأسفل لفتح القائمة" };
+var $ee = /*#__PURE__*/ (0, R.createContext)({}), cy = {};
+cy = { longPressMessage: "اضغط مطولاً أو اضغط على Alt + السهم لأسفل لفتح القائمة" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/bg-BG.mjs
-var vy = {};
-vy = { longPressMessage: "Натиснете продължително или натиснете Alt+ стрелка надолу, за да отворите менюто" };
+var ly = {};
+ly = { longPressMessage: "Натиснете продължително или натиснете Alt+ стрелка надолу, за да отворите менюто" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/cs-CZ.mjs
-var yy = {};
-yy = { longPressMessage: "Dlouhým stiskem nebo stisknutím kláves Alt + šipka dolů otevřete nabídku" };
+var uy = {};
+uy = { 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 by = {};
-by = { longPressMessage: "Langt tryk eller tryk på Alt + pil ned for at åbne menuen" };
+var dy = {};
+dy = { 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 xy = {};
-xy = { longPressMessage: "Drücken Sie lange oder drücken Sie Alt + Nach-unten, um das Menü zu öffnen" };
+var fy = {};
+fy = { 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 Sy = {};
-Sy = { longPressMessage: "Πιέστε παρατεταμένα ή πατήστε Alt + κάτω βέλος για να ανοίξετε το μενού" };
+var py = {};
+py = { longPressMessage: "Πιέστε παρατεταμένα ή πατήστε Alt + κάτω βέλος για να ανοίξετε το μενού" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/en-US.mjs
-var Cy = {};
-Cy = { longPressMessage: "Long press or press Alt + ArrowDown to open menu" };
+var my = {};
+my = { longPressMessage: "Long press or press Alt + ArrowDown to open menu" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/es-ES.mjs
-var wy = {};
-wy = { longPressMessage: "Mantenga pulsado o pulse Alt + flecha abajo para abrir el menú" };
+var hy = {};
+hy = { 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 Ty = {};
-Ty = { longPressMessage: "Menüü avamiseks vajutage pikalt või vajutage klahve Alt + allanool" };
+var gy = {};
+gy = { 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 Ey = {};
-Ey = { longPressMessage: "Avaa valikko painamalla pohjassa tai näppäinyhdistelmällä Alt + Alanuoli" };
+var _y = {};
+_y = { 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 Dy = {};
-Dy = { longPressMessage: "Appuyez de manière prolongée ou appuyez sur Alt\xA0+\xA0Flèche vers le bas pour ouvrir le menu." };
+var vy = {};
+vy = { 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 Oy = {};
-Oy = { longPressMessage: "לחץ לחיצה ארוכה או הקש Alt + ArrowDown כדי לפתוח את התפריט" };
+var yy = {};
+yy = { longPressMessage: "לחץ לחיצה ארוכה או הקש Alt + ArrowDown כדי לפתוח את התפריט" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/hr-HR.mjs
-var ky = {};
-ky = { longPressMessage: "Dugo pritisnite ili pritisnite Alt + strelicu prema dolje za otvaranje izbornika" };
+var by = {};
+by = { 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 Ay = {};
-Ay = { longPressMessage: "Nyomja meg hosszan, vagy nyomja meg az Alt + lefele nyíl gombot a menü megnyitásához" };
+var xy = {};
+xy = { 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 jy = {};
-jy = { longPressMessage: "Premi a lungo o premi Alt + Freccia giù per aprire il menu" };
+var Sy = {};
+Sy = { 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 My = {};
-My = { longPressMessage: "長押しまたは Alt+下矢印キーでメニューを開く" };
+var Cy = {};
+Cy = { longPressMessage: "長押しまたは Alt+下矢印キーでメニューを開く" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/ko-KR.mjs
-var Ny = {};
-Ny = { longPressMessage: "길게 누르거나 Alt + 아래쪽 화살표를 눌러 메뉴 열기" };
+var wy = {};
+wy = { longPressMessage: "길게 누르거나 Alt + 아래쪽 화살표를 눌러 메뉴 열기" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/lt-LT.mjs
-var Py = {};
-Py = { longPressMessage: "Norėdami atidaryti meniu, nuspaudę palaikykite arba paspauskite „Alt + ArrowDown“." };
+var Ty = {};
+Ty = { 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 Fy = {};
-Fy = { longPressMessage: "Lai atvērtu izvēlni, turiet nospiestu vai nospiediet taustiņu kombināciju Alt + lejupvērstā bultiņa" };
+var Ey = {};
+Ey = { 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 Iy = {};
-Iy = { longPressMessage: "Langt trykk eller trykk Alt + PilNed for å åpne menyen" };
+var Dy = {};
+Dy = { longPressMessage: "Langt trykk eller trykk Alt + PilNed for å åpne menyen" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/nl-NL.mjs
-var Ly = {};
-Ly = { longPressMessage: "Druk lang op Alt + pijl-omlaag of druk op Alt om het menu te openen" };
+var Oy = {};
+Oy = { 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 Ry = {};
-Ry = { longPressMessage: "Naciśnij i przytrzymaj lub naciśnij klawisze Alt + Strzałka w dół, aby otworzyć menu" };
+var ky = {};
+ky = { 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 zy = {};
-zy = { longPressMessage: "Pressione e segure ou pressione Alt + Seta para baixo para abrir o menu" };
+var Ay = {};
+Ay = { 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 By = {};
-By = { longPressMessage: "Prima continuamente ou prima Alt + Seta Para Baixo para abrir o menu" };
+var jy = {};
+jy = { 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 Vy = {};
-Vy = { longPressMessage: "Apăsați lung sau apăsați pe Alt + săgeată în jos pentru a deschide meniul" };
+var My = {};
+My = { 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 Hy = {};
-Hy = { longPressMessage: "Нажмите и удерживайте или нажмите Alt + Стрелка вниз, чтобы открыть меню" };
+var Ny = {};
+Ny = { longPressMessage: "Нажмите и удерживайте или нажмите Alt + Стрелка вниз, чтобы открыть меню" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/sk-SK.mjs
-var Uy = {};
-Uy = { longPressMessage: "Ponuku otvoríte dlhým stlačením alebo stlačením klávesu Alt + klávesu so šípkou nadol" };
+var Py = {};
+Py = { 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 Wy = {};
-Wy = { longPressMessage: "Za odprtje menija pritisnite in držite gumb ali pritisnite Alt+puščica navzdol" };
+var Fy = {};
+Fy = { 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 Gy = {};
-Gy = { longPressMessage: "Dugo pritisnite ili pritisnite Alt + strelicu prema dole da otvorite meni" };
+var Iy = {};
+Iy = { 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 Ky = {};
-Ky = { longPressMessage: "Håll nedtryckt eller tryck på Alt + pil nedåt för att öppna menyn" };
+var Ly = {};
+Ly = { 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 qy = {};
-qy = { longPressMessage: "Menüyü açmak için uzun basın veya Alt + Aşağı Ok tuşuna basın" };
+var Ry = {};
+Ry = { 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 Jy = {};
-Jy = { longPressMessage: "Довго або звичайно натисніть комбінацію клавіш Alt і стрілка вниз, щоб відкрити меню" };
+var zy = {};
+zy = { longPressMessage: "Довго або звичайно натисніть комбінацію клавіш Alt і стрілка вниз, щоб відкрити меню" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/zh-CN.mjs
-var Yy = {};
-Yy = { longPressMessage: "长按或按 Alt + 向下方向键以打开菜单" };
+var By = {};
+By = { longPressMessage: "长按或按 Alt + 向下方向键以打开菜单" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/zh-TW.mjs
-var Xy = {};
-Xy = { longPressMessage: "長按或按 Alt+向下鍵以開啟功能表" };
+var Vy = {};
+Vy = { longPressMessage: "長按或按 Alt+向下鍵以開啟功能表" };
//#endregion
//#region node_modules/react-aria/dist/private/menu/intlStrings.mjs
-var Zy = {};
-Zy = {
- "ar-AE": _y,
- "bg-BG": vy,
- "cs-CZ": yy,
- "da-DK": by,
- "de-DE": xy,
- "el-GR": Sy,
- "en-US": Cy,
- "es-ES": wy,
- "et-EE": Ty,
- "fi-FI": Ey,
- "fr-FR": Dy,
- "he-IL": Oy,
- "hr-HR": ky,
- "hu-HU": Ay,
- "it-IT": jy,
- "ja-JP": My,
- "ko-KR": Ny,
- "lt-LT": Py,
- "lv-LV": Fy,
- "nb-NO": Iy,
- "nl-NL": Ly,
- "pl-PL": Ry,
- "pt-BR": zy,
- "pt-PT": By,
- "ro-RO": Vy,
- "ru-RU": Hy,
- "sk-SK": Uy,
- "sl-SI": Wy,
- "sr-SP": Gy,
- "sv-SE": Ky,
- "tr-TR": qy,
- "uk-UA": Jy,
- "zh-CN": Yy,
- "zh-TW": Xy
+var Hy = {};
+Hy = {
+ "ar-AE": cy,
+ "bg-BG": ly,
+ "cs-CZ": uy,
+ "da-DK": dy,
+ "de-DE": fy,
+ "el-GR": py,
+ "en-US": my,
+ "es-ES": hy,
+ "et-EE": gy,
+ "fi-FI": _y,
+ "fr-FR": vy,
+ "he-IL": yy,
+ "hr-HR": by,
+ "hu-HU": xy,
+ "it-IT": Sy,
+ "ja-JP": Cy,
+ "ko-KR": wy,
+ "lt-LT": Ty,
+ "lv-LV": Ey,
+ "nb-NO": Dy,
+ "nl-NL": Oy,
+ "pl-PL": ky,
+ "pt-BR": Ay,
+ "pt-PT": jy,
+ "ro-RO": My,
+ "ru-RU": Ny,
+ "sk-SK": Py,
+ "sl-SI": Fy,
+ "sr-SP": Iy,
+ "sv-SE": Ly,
+ "tr-TR": Ry,
+ "uk-UA": zy,
+ "zh-CN": By,
+ "zh-TW": Vy
};
//#endregion
//#region node_modules/react-aria/dist/private/interactions/useContextMenu.mjs
-function Gee(e) {
- let { onContextMenu: t } = e, n = (0, R.useRef)(!1), { longPressProps: r } = __({
+function ete(e) {
+ let { onContextMenu: t } = e, n = (0, R.useRef)(!1), { longPressProps: r } = s_({
onLongPressStart() {
n.current = !1;
},
@@ -22592,10 +22592,10 @@ function Gee(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/overlays/useOverlayTrigger.mjs
-function Kee(e, t, n) {
+function tte(e, t, n) {
let { type: r } = e, { isOpen: i } = t;
(0, R.useEffect)(() => {
- n && n.current && cv.set(n.current, t.close);
+ n && n.current && tv.set(n.current, t.close);
});
let a;
r === "menu" ? a = !0 : r === "listbox" && (a = "listbox");
@@ -22612,11 +22612,11 @@ function Kee(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/menu/useMenuTrigger.mjs
-function qee(e) {
+function nte(e) {
return e && e.__esModule ? e.default : e;
}
-function Qy(e, t, n) {
- let { type: r = "menu", isDisabled: i, trigger: a = "press" } = e, o = Kl(), { triggerProps: s, overlayProps: c } = Kee({ type: r }, t, n), l = (e, n, r = "first") => {
+function Uy(e, t, n) {
+ let { type: r = "menu", isDisabled: i, trigger: a = "press" } = e, o = Kl(), { triggerProps: s, overlayProps: c } = tte({ type: r }, t, n), l = (e, n, r = "first") => {
if (!e || n.isDefaultPrevented()) return !1;
t.toggle(r);
}, { keyboardProps: u } = ip({
@@ -22631,7 +22631,7 @@ function Qy(e, t, n) {
"Alt+ArrowDown": (e) => l(!0, e, "first"),
"Alt+ArrowUp": (e) => l(!0, e, "last")
}
- }), d = xf(qee(Zy), "@react-aria/menu"), { longPressProps: f } = __({
+ }), d = xf(nte(Hy), "@react-aria/menu"), { longPressProps: f } = s_({
isDisabled: i || a !== "longPress",
accessibilityDescription: d.format("longPressMessage"),
onLongPressStart() {
@@ -22650,7 +22650,7 @@ function Qy(e, t, n) {
}
};
delete s.onPress;
- let { contextMenuProps: m } = Gee({ onContextMenu(e) {
+ let { contextMenuProps: m } = ete({ onContextMenu(e) {
let n = e.target.getBoundingClientRect();
t.setPoint({
x: n.x + e.x,
@@ -22695,13 +22695,13 @@ function Qy(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/menu/utils.mjs
-var $y = /* @__PURE__ */ new WeakMap();
+var Wy = /* @__PURE__ */ new WeakMap();
//#endregion
//#region node_modules/react-aria/dist/private/menu/useMenu.mjs
-function Jee(e, t, n) {
+function rte(e, t, n) {
let { shouldFocusWrap: r = !0, onKeyDown: i, onKeyUp: a, ...o } = e;
!e["aria-label"] && e["aria-labelledby"];
- let s = Wp(e, { labelable: !0 }), { listProps: c } = g_({
+ let s = Wp(e, { labelable: !0 }), { listProps: c } = o_({
...o,
ref: n,
selectionManager: t.selectionManager,
@@ -22710,7 +22710,7 @@ function Jee(e, t, n) {
shouldFocusWrap: r,
linkBehavior: "override"
});
- return $y.set(t, {
+ return Wy.set(t, {
onClose: e.onClose,
onAction: e.onAction,
shouldUseVirtualFocus: e.shouldUseVirtualFocus
@@ -22727,8 +22727,8 @@ function Jee(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/menu/useMenuItem.mjs
-function Yee(e, t, n) {
- let { id: r, key: i, closeOnSelect: a, shouldCloseOnSelect: o, isVirtualized: s, "aria-haspopup": c, onPressStart: l, onPressUp: u, onPress: d, onPressChange: f, onPressEnd: p, onClick: m, onHoverStart: h, onHoverChange: g, onHoverEnd: _, onKeyDown: v, onKeyUp: y, onFocus: b, onFocusChange: x, onBlur: S, selectionManager: C = t.selectionManager } = e, w = !!c, T = w && e["aria-expanded"] === "true", E = e.isDisabled ?? C.isDisabled(i), D = e.isSelected ?? C.isSelected(i), O = $y.get(t), k = t.collection.getItem(i), A = e.onClose || O.onClose, j = dd(), M = () => {
+function ite(e, t, n) {
+ let { id: r, key: i, closeOnSelect: a, shouldCloseOnSelect: o, isVirtualized: s, "aria-haspopup": c, onPressStart: l, onPressUp: u, onPress: d, onPressChange: f, onPressEnd: p, onClick: m, onHoverStart: h, onHoverChange: g, onHoverEnd: _, onKeyDown: v, onKeyUp: y, onFocus: b, onFocusChange: x, onBlur: S, selectionManager: C = t.selectionManager } = e, w = !!c, T = w && e["aria-expanded"] === "true", E = e.isDisabled ?? C.isDisabled(i), D = e.isSelected ?? C.isSelected(i), O = Wy.get(t), k = t.collection.getItem(i), A = e.onClose || O.onClose, j = dd(), M = () => {
if (!w && (k?.props?.onAction ? k.props.onAction() : e.onAction && e.onAction(i), O.onAction)) {
let e = O.onAction;
e(i, k?.value);
@@ -22752,7 +22752,7 @@ function Yee(e, t, n) {
};
if (C.selectionMode !== "none" && !w && (I["aria-checked"] = D), s) {
let e = Number(k?.index);
- I["aria-posinset"] = Number.isNaN(e) ? void 0 : e + 1, I["aria-setsize"] = O_(t.collection);
+ I["aria-posinset"] = Number.isNaN(e) ? void 0 : e + 1, I["aria-setsize"] = v_(t.collection);
}
let te = (0, R.useRef)(!1), ne = (e) => {
f?.(e), te.current = e;
@@ -22762,7 +22762,7 @@ function Yee(e, t, n) {
m?.(e), M(), vd(e, j, k.props.href, k?.props.routerOptions);
let t = re.current?.pointerType === "keyboard" ? re.current?.key === "Enter" || C.selectionMode === "none" || C.isLink(i) : C.selectionMode !== "multiple" || C.isLink(i);
t = o ?? a ?? t, A && !w && t && A(), re.current = null;
- }, { itemProps: oe, isFocused: se } = v_({
+ }, { itemProps: oe, isFocused: se } = c_({
id: r,
selectionManager: C,
key: i,
@@ -22840,7 +22840,7 @@ function Yee(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/menu/useMenuSection.mjs
-function Xee(e) {
+function ate(e) {
let { heading: t, "aria-label": n } = e, r = Kl();
return {
itemProps: { role: "presentation" },
@@ -22857,8 +22857,8 @@ function Xee(e) {
}
//#endregion
//#region node_modules/react-stately/dist/private/menu/useMenuTriggerState.mjs
-function eb(e) {
- let t = uy(e), [n, r] = (0, R.useState)(null), [i, a] = (0, R.useState)([]), o = () => {
+function Gy(e) {
+ let t = ty(e), [n, r] = (0, R.useState)(null), [i, a] = (0, R.useState)([]), o = () => {
a([]), t.close();
}, s = (e, t) => {
a((n) => t > n.length ? n : [...n.slice(0, t), e]);
@@ -22884,7 +22884,7 @@ function eb(e) {
}
//#endregion
//#region node_modules/react-stately/dist/private/tree/TreeCollection.mjs
-var Zee = class {
+var ote = 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) => {
@@ -22928,8 +22928,8 @@ var Zee = class {
};
//#endregion
//#region node_modules/react-stately/dist/private/tree/useTreeState.mjs
-function Qee(e) {
- let { onExpandedChange: t } = e, [n, r] = Cf(e.expandedKeys ? new Set(e.expandedKeys) : void 0, e.defaultExpandedKeys ? new Set(e.defaultExpandedKeys) : /* @__PURE__ */ new Set(), t), i = M_(e), a = (0, R.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), o = L_(e, (0, R.useCallback)((e) => new Zee(e, { expandedKeys: n }), [n]), null);
+function ste(e) {
+ let { onExpandedChange: t } = e, [n, r] = Cf(e.expandedKeys ? new Set(e.expandedKeys) : void 0, e.defaultExpandedKeys ? new Set(e.defaultExpandedKeys) : /* @__PURE__ */ new Set(), t), i = C_(e), a = (0, R.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), o = O_(e, (0, R.useCallback)((e) => new ote(e, { expandedKeys: n }), [n]), null);
return (0, R.useEffect)(() => {
i.focusedKey != null && !o.getItem(i.focusedKey) && i.setFocusedKey(null);
}, [o, i.focusedKey]), {
@@ -22937,32 +22937,32 @@ function Qee(e) {
expandedKeys: n,
disabledKeys: a,
toggleKey: (e) => {
- r($ee(n, e));
+ r(cte(n, e));
},
setExpandedKeys: r,
- selectionManager: new P_(o, i)
+ selectionManager: new T_(o, i)
};
}
-function $ee(e, t) {
+function cte(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 tb = /*#__PURE__*/ (0, R.createContext)(null), nb = /*#__PURE__*/ (0, R.createContext)(null), rb = /*#__PURE__*/ (0, R.createContext)(null), ib = /*#__PURE__*/ (0, R.createContext)(null);
-function ete(e) {
- let t = eb(e), n = (0, R.useRef)(null), { menuTriggerProps: r, menuProps: i } = Qy({
+var Ky = /*#__PURE__*/ (0, R.createContext)(null), qy = /*#__PURE__*/ (0, R.createContext)(null), Jy = /*#__PURE__*/ (0, R.createContext)(null), Yy = /*#__PURE__*/ (0, R.createContext)(null);
+function lte(e) {
+ let t = Gy(e), n = (0, R.useRef)(null), { menuTriggerProps: r, menuProps: i } = Uy({
...e,
type: "menu"
}, t, n), a = (0, R.useRef)(null);
return fp() ? null : /*#__PURE__*/ R.createElement(tu, { values: [
- [tb, {
+ [Ky, {
...i,
ref: a
}],
- [lb, t],
- [rb, t],
- [my, {
+ [eb, t],
+ [Jy, t],
+ [ay, {
trigger: "MenuTrigger",
triggerRef: n,
scrollRef: a,
@@ -22970,13 +22970,13 @@ function ete(e) {
"aria-labelledby": i["aria-labelledby"],
offset: e.trigger === "contextMenu" ? 0 : void 0
}]
- ] }, /*#__PURE__*/ R.createElement(ny, {
+ ] }, /*#__PURE__*/ R.createElement(Xee, {
...r,
ref: n,
isPressed: t.isOpen
}, e.children));
}
-var tte = /*#__PURE__*/ (0, R.createContext)(null);
+var ute = /*#__PURE__*/ (0, R.createContext)(null);
(class extends Ef {
static {
this.type = "submenutrigger";
@@ -22990,20 +22990,20 @@ var tte = /*#__PURE__*/ (0, R.createContext)(null);
return null;
}
});
-var nte = /*#__PURE__*/ (0, R.forwardRef)(function(e, t) {
- return [e, t] = iu(e, t, tb), /*#__PURE__*/ R.createElement(vp, { content: /*#__PURE__*/ R.createElement(Ap, e) }, (n) => /*#__PURE__*/ R.createElement(rte, {
+var dte = /*#__PURE__*/ (0, R.forwardRef)(function(e, t) {
+ return [e, t] = iu(e, t, Ky), /*#__PURE__*/ R.createElement(vp, { content: /*#__PURE__*/ R.createElement(Ap, e) }, (n) => /*#__PURE__*/ R.createElement(fte, {
props: e,
collection: n,
menuRef: t
}));
});
-function rte({ props: e, collection: t, menuRef: n }) {
+function fte({ props: e, collection: t, menuRef: n }) {
[e, n] = iu(e, n, wf);
- let { filter: r, ...i } = e, a = (0, R.useMemo)(() => r ? t.filter(r) : t, [t, r]), o = Qee({
+ let { filter: r, ...i } = e, a = (0, R.useMemo)(() => r ? t.filter(r) : t, [t, r]), o = ste({
...e,
collection: a,
children: void 0
- }), s = (0, R.useContext)(rb), { isVirtualized: c, CollectionRoot: l } = (0, R.useContext)(Ip), { menuProps: u } = Jee({
+ }), s = (0, R.useContext)(Jy), { isVirtualized: c, CollectionRoot: l } = (0, R.useContext)(Ip), { menuProps: u } = rte({
...e,
isVirtualized: c,
onClose: e.onClose || s?.close
@@ -23018,35 +23018,35 @@ function rte({ props: e, collection: t, menuRef: n }) {
style: { display: "contents" }
}, e.renderEmptyState()));
let p = Wp(e, { global: !0 });
- return /*#__PURE__*/ R.createElement(zg, null, /*#__PURE__*/ R.createElement(lu.div, {
+ return /*#__PURE__*/ R.createElement(Ng, null, /*#__PURE__*/ R.createElement(lu.div, {
...J(p, d, u),
ref: n,
slot: e.slot || void 0,
"data-empty": o.collection.size === 0 || void 0,
onScroll: e.onScroll
}, /*#__PURE__*/ R.createElement(tu, { values: [
- [nb, o],
- [kg, { elementType: "div" }],
+ [qy, o],
+ [Eg, { elementType: "div" }],
[Mp, {
name: "MenuSection",
- render: ab
+ render: Xy
}],
- [tte, {
+ [ute, {
parentMenuRef: n,
shouldUseVirtualFocus: i?.shouldUseVirtualFocus
}],
- [sb, { shouldCloseOnSelect: e.shouldCloseOnSelect }],
+ [Qy, { shouldCloseOnSelect: e.shouldCloseOnSelect }],
[wf, null],
[Tf, null],
- [ib, o.selectionManager],
- [rb, s ?? eb({})]
- ] }, /*#__PURE__*/ R.createElement(Eg, null, /*#__PURE__*/ R.createElement(l, {
+ [Yy, o.selectionManager],
+ [Jy, s ?? Gy({})]
+ ] }, /*#__PURE__*/ R.createElement(wg, null, /*#__PURE__*/ R.createElement(l, {
collection: o.collection,
persistedKeys: Lp(o.selectionManager.focusedKey),
scrollRef: n
}))), f));
}
-var ite = class extends P_ {
+var pte = class extends T_ {
constructor(e, t) {
super(e.collection, t), this.parent = e;
}
@@ -23066,8 +23066,8 @@ var ite = class extends P_ {
return this.parent.childFocusStrategy;
}
};
-function ab(e, t, n, r = "react-aria-MenuSection") {
- let i = (0, R.useContext)(nb), { CollectionBranch: a } = (0, R.useContext)(Ip), [o, s] = au(), { headingProps: c, groupProps: l } = Xee({
+function Xy(e, t, n, r = "react-aria-MenuSection") {
+ let i = (0, R.useContext)(qy), { CollectionBranch: a } = (0, R.useContext)(Ip), [o, s] = au(), { headingProps: c, groupProps: l } = ate({
heading: s,
"aria-label": n.props["aria-label"] ?? void 0
}), u = nu({
@@ -23078,25 +23078,25 @@ function ab(e, t, n, r = "react-aria-MenuSection") {
className: n.props?.className,
style: n.props?.style,
values: void 0
- }), d = (0, R.useContext)(ib), f = M_(e), p = e.selectionMode == null ? d : new ite(d, f), m = ru(sb)?.shouldCloseOnSelect, h = Wp(e, { global: !0 });
+ }), d = (0, R.useContext)(Yy), f = C_(e), p = e.selectionMode == null ? d : new pte(d, f), m = ru(Qy)?.shouldCloseOnSelect, h = Wp(e, { global: !0 });
return delete h.id, /*#__PURE__*/ R.createElement(lu.section, {
...J(h, u, l),
ref: t
}, /*#__PURE__*/ R.createElement(tu, { values: [
- [wg, {
+ [Cg, {
...c,
ref: o
}],
- [ib, p],
- [sb, { shouldCloseOnSelect: e.shouldCloseOnSelect ?? m }]
+ [Yy, p],
+ [Qy, { shouldCloseOnSelect: e.shouldCloseOnSelect ?? m }]
] }, /*#__PURE__*/ R.createElement(a, {
collection: i.collection,
parent: n
})));
}
-var ob = /*#__PURE__*/ Dp(Af, ab), sb = /*#__PURE__*/ (0, R.createContext)(null), cb = /*#__PURE__*/ Ep(kf, function(e, t, n) {
- [e, t] = iu(e, t, sb);
- let r = ru(sb)?.id, i = (0, R.useContext)(nb), a = $l(t), o = (0, R.useContext)(ib), { isVirtualized: s } = (0, R.useContext)(Ip), { menuItemProps: c, labelProps: l, descriptionProps: u, keyboardShortcutProps: d, ...f } = Yee({
+var Zy = /*#__PURE__*/ Dp(Af, Xy), Qy = /*#__PURE__*/ (0, R.createContext)(null), $y = /*#__PURE__*/ Ep(kf, function(e, t, n) {
+ [e, t] = iu(e, t, Qy);
+ let r = ru(Qy)?.id, i = (0, R.useContext)(qy), a = $l(t), o = (0, R.useContext)(Yy), { isVirtualized: s } = (0, R.useContext)(Ip), { menuItemProps: c, labelProps: l, descriptionProps: u, keyboardShortcutProps: d, ...f } = ite({
...e,
id: r,
key: n.key,
@@ -23135,13 +23135,13 @@ var ob = /*#__PURE__*/ Dp(Af, ab), sb = /*#__PURE__*/ (0, R.createContext)(null)
label: l,
description: u
} }],
- [Wee, d],
- [Dg, { isSelected: f.isSelected }]
+ [$ee, d],
+ [Tg, { isSelected: f.isSelected }]
] }, h.children));
});
Ep(Of, function(e, t, n) {
- let r = (0, R.useContext)(nb), { isLoading: i, onLoadMore: a, scrollOffset: o, ...s } = e, c = (0, R.useRef)(null);
- B_((0, R.useMemo)(() => ({
+ let r = (0, R.useContext)(qy), { isLoading: i, onLoadMore: a, scrollOffset: o, ...s } = e, c = (0, R.useRef)(null);
+ j_((0, R.useMemo)(() => ({
onLoadMore: a,
collection: r?.collection,
sentinelRef: c,
@@ -23164,7 +23164,7 @@ Ep(Of, function(e, t, n) {
width: 0,
height: 0
},
- inert: k_(!0)
+ inert: y_(!0)
}, /*#__PURE__*/ R.createElement("div", {
"data-testid": "loadMoreSentinel",
ref: c,
@@ -23182,7 +23182,7 @@ Ep(Of, function(e, t, n) {
});
//#endregion
//#region node_modules/react-aria/dist/private/dialog/useDialog.mjs
-function ate(e, t) {
+function mte(e, t) {
let { role: n = "dialog" } = e, r = Jl();
r = e["aria-label"] ? void 0 : r;
let i = Jl();
@@ -23198,7 +23198,7 @@ function ate(e, t) {
clearTimeout(e);
};
}
- }, [t]), ly(), (0, R.useRef)(!1), (0, R.useEffect)(() => {});
+ }, [t]), ey(), (0, R.useRef)(!1), (0, R.useEffect)(() => {});
let o = e["aria-describedby"] ?? i;
return {
dialogProps: {
@@ -23217,13 +23217,13 @@ function ate(e, t) {
}
//#endregion
//#region node_modules/react-aria-components/dist/private/Dialog.mjs
-var ote = /*#__PURE__*/ (0, R.createContext)(null), lb = /*#__PURE__*/ (0, R.createContext)(null), ub = /*#__PURE__*/ (0, R.forwardRef)(function(e, t) {
+var hte = /*#__PURE__*/ (0, R.createContext)(null), eb = /*#__PURE__*/ (0, R.createContext)(null), tb = /*#__PURE__*/ (0, R.forwardRef)(function(e, t) {
let n = e["aria-labelledby"];
- [e, t] = iu(e, t, ote);
- let { dialogProps: r, titleProps: i, contentProps: a } = ate({
+ [e, t] = iu(e, t, hte);
+ let { dialogProps: r, titleProps: i, contentProps: a } = mte({
...e,
"aria-labelledby": n
- }, t), o = (0, R.useContext)(lb);
+ }, t), o = (0, R.useContext)(eb);
!r["aria-label"] && !r["aria-labelledby"] && e["aria-labelledby"] && (r["aria-labelledby"] = e["aria-labelledby"]);
let s = nu({
defaultClassName: "react-aria-Dialog",
@@ -23257,14 +23257,14 @@ var ote = /*#__PURE__*/ (0, R.createContext)(null), lb = /*#__PURE__*/ (0, R.cre
});
//#endregion
//#region node_modules/react-aria/dist/private/i18n/useListFormatter.mjs
-function ste(e = {}) {
+function gte(e = {}) {
let { locale: t } = sf();
return (0, R.useMemo)(() => new Intl.ListFormat(t, e), [t, e]);
}
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/ar-AE.mjs
-var db = {};
-db = {
+var nb = {};
+nb = {
deselectedItem: (e) => `${e.item} \u{63A}\u{64A}\u{631} \u{627}\u{644}\u{645}\u{62D}\u{62F}\u{62F}`,
longPressToSelect: "اضغط مطولًا للدخول إلى وضع التحديد.",
select: "تحديد",
@@ -23278,8 +23278,8 @@ db = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/bg-BG.mjs
-var fb = {};
-fb = {
+var rb = {};
+rb = {
deselectedItem: (e) => `${e.item} \u{43D}\u{435} \u{435} \u{438}\u{437}\u{431}\u{440}\u{430}\u{43D}.`,
longPressToSelect: "Натиснете и задръжте за да влезете в избирателен режим.",
select: "Изберете",
@@ -23293,8 +23293,8 @@ fb = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/cs-CZ.mjs
-var pb = {};
-pb = {
+var ib = {};
+ib = {
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",
@@ -23308,8 +23308,8 @@ pb = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/da-DK.mjs
-var mb = {};
-mb = {
+var ab = {};
+ab = {
deselectedItem: (e) => `${e.item} ikke valgt.`,
longPressToSelect: "Lav et langt tryk for at aktivere valgtilstand.",
select: "Vælg",
@@ -23323,8 +23323,8 @@ mb = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/de-DE.mjs
-var hb = {};
-hb = {
+var ob = {};
+ob = {
deselectedItem: (e) => `${e.item} nicht ausgew\xe4hlt.`,
longPressToSelect: "Gedrückt halten, um Auswahlmodus zu öffnen.",
select: "Auswählen",
@@ -23338,8 +23338,8 @@ hb = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/el-GR.mjs
-var gb = {};
-gb = {
+var sb = {};
+sb = {
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: "Επιλογή",
@@ -23353,8 +23353,8 @@ gb = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/en-US.mjs
-var _b = {};
-_b = {
+var cb = {};
+cb = {
deselectedItem: (e) => `${e.item} not selected.`,
select: "Select",
selectedCount: (e, t) => `${t.plural(e.count, {
@@ -23368,8 +23368,8 @@ _b = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/es-ES.mjs
-var vb = {};
-vb = {
+var lb = {};
+lb = {
deselectedItem: (e) => `${e.item} no seleccionado.`,
longPressToSelect: "Mantenga pulsado para abrir el modo de selección.",
select: "Seleccionar",
@@ -23383,8 +23383,8 @@ vb = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/et-EE.mjs
-var yb = {};
-yb = {
+var ub = {};
+ub = {
deselectedItem: (e) => `${e.item} pole valitud.`,
longPressToSelect: "Valikurežiimi sisenemiseks vajutage pikalt.",
select: "Vali",
@@ -23398,8 +23398,8 @@ yb = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/fi-FI.mjs
-var bb = {};
-bb = {
+var db = {};
+db = {
deselectedItem: (e) => `Kohdetta ${e.item} ei valittu.`,
longPressToSelect: "Siirry valintatilaan painamalla pitkään.",
select: "Valitse",
@@ -23413,8 +23413,8 @@ bb = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/fr-FR.mjs
-var xb = {};
-xb = {
+var fb = {};
+fb = {
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",
@@ -23428,8 +23428,8 @@ xb = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/he-IL.mjs
-var Sb = {};
-Sb = {
+var pb = {};
+pb = {
deselectedItem: (e) => `${e.item} \u{5DC}\u{5D0} \u{5E0}\u{5D1}\u{5D7}\u{5E8}.`,
longPressToSelect: "הקשה ארוכה לכניסה למצב בחירה.",
select: "בחר",
@@ -23443,8 +23443,8 @@ Sb = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/hr-HR.mjs
-var Cb = {};
-Cb = {
+var mb = {};
+mb = {
deselectedItem: (e) => `Stavka ${e.item} nije odabrana.`,
longPressToSelect: "Dugo pritisnite za ulazak u način odabira.",
select: "Odaberite",
@@ -23458,8 +23458,8 @@ Cb = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/hu-HU.mjs
-var wb = {};
-wb = {
+var hb = {};
+hb = {
deselectedItem: (e) => `${e.item} nincs kijel\xf6lve.`,
longPressToSelect: "Nyomja hosszan a kijelöléshez.",
select: "Kijelölés",
@@ -23473,8 +23473,8 @@ wb = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/it-IT.mjs
-var Tb = {};
-Tb = {
+var gb = {};
+gb = {
deselectedItem: (e) => `${e.item} non selezionato.`,
longPressToSelect: "Premi a lungo per passare alla modalità di selezione.",
select: "Seleziona",
@@ -23488,8 +23488,8 @@ Tb = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/ja-JP.mjs
-var Eb = {};
-Eb = {
+var _b = {};
+_b = {
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: "選択",
@@ -23503,8 +23503,8 @@ Eb = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/ko-KR.mjs
-var Db = {};
-Db = {
+var vb = {};
+vb = {
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: "선택",
@@ -23518,8 +23518,8 @@ Db = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/lt-LT.mjs
-var Ob = {};
-Ob = {
+var yb = {};
+yb = {
deselectedItem: (e) => `${e.item} nepasirinkta.`,
longPressToSelect: "Norėdami įjungti pasirinkimo režimą, paspauskite ir palaikykite.",
select: "Pasirinkti",
@@ -23533,8 +23533,8 @@ Ob = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/lv-LV.mjs
-var kb = {};
-kb = {
+var bb = {};
+bb = {
deselectedItem: (e) => `Vienums ${e.item} nav atlas\u{12B}ts.`,
longPressToSelect: "Ilgi turiet nospiestu. lai ieslēgtu atlases režīmu.",
select: "Atlasīt",
@@ -23548,8 +23548,8 @@ kb = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/nb-NO.mjs
-var Ab = {};
-Ab = {
+var xb = {};
+xb = {
deselectedItem: (e) => `${e.item} er ikke valgt.`,
longPressToSelect: "Bruk et langt trykk for å gå inn i valgmodus.",
select: "Velg",
@@ -23563,8 +23563,8 @@ Ab = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/nl-NL.mjs
-var jb = {};
-jb = {
+var Sb = {};
+Sb = {
deselectedItem: (e) => `${e.item} niet geselecteerd.`,
longPressToSelect: "Druk lang om de selectiemodus te openen.",
select: "Selecteren",
@@ -23578,8 +23578,8 @@ jb = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/pl-PL.mjs
-var Mb = {};
-Mb = {
+var Cb = {};
+Cb = {
deselectedItem: (e) => `Nie zaznaczono ${e.item}.`,
longPressToSelect: "Naciśnij i przytrzymaj, aby wejść do trybu wyboru.",
select: "Zaznacz",
@@ -23593,8 +23593,8 @@ Mb = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/pt-BR.mjs
-var Nb = {};
-Nb = {
+var wb = {};
+wb = {
deselectedItem: (e) => `${e.item} n\xe3o selecionado.`,
longPressToSelect: "Mantenha pressionado para entrar no modo de seleção.",
select: "Selecionar",
@@ -23608,8 +23608,8 @@ Nb = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/pt-PT.mjs
-var Pb = {};
-Pb = {
+var Tb = {};
+Tb = {
deselectedItem: (e) => `${e.item} n\xe3o selecionado.`,
longPressToSelect: "Prima continuamente para entrar no modo de seleção.",
select: "Selecionar",
@@ -23623,8 +23623,8 @@ Pb = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/ro-RO.mjs
-var Fb = {};
-Fb = {
+var Eb = {};
+Eb = {
deselectedItem: (e) => `${e.item} neselectat.`,
longPressToSelect: "Apăsați lung pentru a intra în modul de selectare.",
select: "Selectare",
@@ -23638,8 +23638,8 @@ Fb = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/ru-RU.mjs
-var Ib = {};
-Ib = {
+var Db = {};
+Db = {
deselectedItem: (e) => `${e.item} \u{43D}\u{435} \u{432}\u{44B}\u{431}\u{440}\u{430}\u{43D}\u{43E}.`,
longPressToSelect: "Нажмите и удерживайте для входа в режим выбора.",
select: "Выбрать",
@@ -23653,8 +23653,8 @@ Ib = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/sk-SK.mjs
-var Lb = {};
-Lb = {
+var Ob = {};
+Ob = {
deselectedItem: (e) => `Nevybrat\xe9 polo\u{17E}ky: ${e.item}.`,
longPressToSelect: "Dlhším stlačením prejdite do režimu výberu.",
select: "Vybrať",
@@ -23668,8 +23668,8 @@ Lb = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/sl-SI.mjs
-var Rb = {};
-Rb = {
+var kb = {};
+kb = {
deselectedItem: (e) => `Element ${e.item} ni izbran.`,
longPressToSelect: "Za izbirni način pritisnite in dlje časa držite.",
select: "Izberite",
@@ -23683,8 +23683,8 @@ Rb = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/sr-SP.mjs
-var zb = {};
-zb = {
+var Ab = {};
+Ab = {
deselectedItem: (e) => `${e.item} nije izabrano.`,
longPressToSelect: "Dugo pritisnite za ulazak u režim biranja.",
select: "Izaberite",
@@ -23698,8 +23698,8 @@ zb = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/sv-SE.mjs
-var Bb = {};
-Bb = {
+var jb = {};
+jb = {
deselectedItem: (e) => `${e.item} ej markerat.`,
longPressToSelect: "Tryck länge när du vill öppna väljarläge.",
select: "Markera",
@@ -23713,8 +23713,8 @@ Bb = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/tr-TR.mjs
-var Vb = {};
-Vb = {
+var Mb = {};
+Mb = {
deselectedItem: (e) => `${e.item} se\xe7ilmedi.`,
longPressToSelect: "Seçim moduna girmek için uzun basın.",
select: "Seç",
@@ -23728,8 +23728,8 @@ Vb = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/uk-UA.mjs
-var Hb = {};
-Hb = {
+var Nb = {};
+Nb = {
deselectedItem: (e) => `${e.item} \u{43D}\u{435} \u{432}\u{438}\u{431}\u{440}\u{430}\u{43D}\u{43E}.`,
longPressToSelect: "Виконайте довге натиснення, щоб перейти в режим вибору.",
select: "Вибрати",
@@ -23743,8 +23743,8 @@ Hb = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/zh-CN.mjs
-var Ub = {};
-Ub = {
+var Pb = {};
+Pb = {
deselectedItem: (e) => `\u{672A}\u{9009}\u{62E9} ${e.item}\u{3002}`,
longPressToSelect: "长按以进入选择模式。",
select: "选择",
@@ -23758,8 +23758,8 @@ Ub = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/zh-TW.mjs
-var Wb = {};
-Wb = {
+var Fb = {};
+Fb = {
deselectedItem: (e) => `\u{672A}\u{9078}\u{53D6}\u{300C}${e.item}\u{300D}\u{3002}`,
longPressToSelect: "長按以進入選擇模式。",
select: "選取",
@@ -23773,55 +23773,55 @@ Wb = {
};
//#endregion
//#region node_modules/react-aria/dist/private/grid/intlStrings.mjs
-var Gb = {};
-Gb = {
- "ar-AE": db,
- "bg-BG": fb,
- "cs-CZ": pb,
- "da-DK": mb,
- "de-DE": hb,
- "el-GR": gb,
- "en-US": _b,
- "es-ES": vb,
- "et-EE": yb,
- "fi-FI": bb,
- "fr-FR": xb,
- "he-IL": Sb,
- "hr-HR": Cb,
- "hu-HU": wb,
- "it-IT": Tb,
- "ja-JP": Eb,
- "ko-KR": Db,
- "lt-LT": Ob,
- "lv-LV": kb,
- "nb-NO": Ab,
- "nl-NL": jb,
- "pl-PL": Mb,
- "pt-BR": Nb,
- "pt-PT": Pb,
- "ro-RO": Fb,
- "ru-RU": Ib,
- "sk-SK": Lb,
- "sl-SI": Rb,
- "sr-SP": zb,
- "sv-SE": Bb,
- "tr-TR": Vb,
- "uk-UA": Hb,
- "zh-CN": Ub,
- "zh-TW": Wb
+var Ib = {};
+Ib = {
+ "ar-AE": nb,
+ "bg-BG": rb,
+ "cs-CZ": ib,
+ "da-DK": ab,
+ "de-DE": ob,
+ "el-GR": sb,
+ "en-US": cb,
+ "es-ES": lb,
+ "et-EE": ub,
+ "fi-FI": db,
+ "fr-FR": fb,
+ "he-IL": pb,
+ "hr-HR": mb,
+ "hu-HU": hb,
+ "it-IT": gb,
+ "ja-JP": _b,
+ "ko-KR": vb,
+ "lt-LT": yb,
+ "lv-LV": bb,
+ "nb-NO": xb,
+ "nl-NL": Sb,
+ "pl-PL": Cb,
+ "pt-BR": wb,
+ "pt-PT": Tb,
+ "ro-RO": Eb,
+ "ru-RU": Db,
+ "sk-SK": Ob,
+ "sl-SI": kb,
+ "sr-SP": Ab,
+ "sv-SE": jb,
+ "tr-TR": Mb,
+ "uk-UA": Nb,
+ "zh-CN": Pb,
+ "zh-TW": Fb
};
//#endregion
//#region node_modules/react-aria/dist/private/grid/useGridSelectionAnnouncement.mjs
-function cte(e) {
+function _te(e) {
return e && e.__esModule ? e.default : e;
}
-function lte(e, t) {
- let { getRowText: n = (e) => t.collection.getTextValue?.(e) ?? t.collection.getItem(e)?.textValue } = e, r = xf(cte(Gb), "@react-aria/grid"), i = t.selectionManager.rawSelection, a = (0, R.useRef)(i), o = (0, R.useCallback)(() => {
+function vte(e, t) {
+ let { getRowText: n = (e) => t.collection.getTextValue?.(e) ?? t.collection.getItem(e)?.textValue } = e, r = xf(_te(Ib), "@react-aria/grid"), i = t.selectionManager.rawSelection, a = (0, R.useRef)(i), o = (0, R.useCallback)(() => {
if (!t.selectionManager.isFocused || i === a.current) {
a.current = i;
return;
}
- let e = Kb(i, a.current), o = Kb(a.current, i), s = t.selectionManager.selectionBehavior === "replace", c = [];
+ let e = Lb(i, a.current), o = Lb(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)) {
@@ -23860,7 +23860,7 @@ function lte(e, t) {
}
}, [i, t.selectionManager.isFocused]);
}
-function Kb(e, t) {
+function Lb(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);
@@ -23868,13 +23868,13 @@ function Kb(e, t) {
}
//#endregion
//#region node_modules/react-aria/dist/private/focus/useHasTabbableChild.mjs
-function qb(e, t) {
+function Rb(e, t) {
let n = t?.isDisabled, [r, i] = (0, R.useState)(!1);
return Ol(() => {
if (e?.current && !n) {
let t = () => {
if (e.current) {
- let t = n_(e.current, { tabbable: !0 });
+ let t = Kg(e.current, { tabbable: !0 });
i(!!t.nextNode());
}
};
@@ -23893,11 +23893,11 @@ function qb(e, t) {
}
//#endregion
//#region node_modules/react-aria/dist/private/grid/useHighlightSelectionDescription.mjs
-function ute(e) {
+function zb(e) {
return e && e.__esModule ? e.default : e;
}
-function dte(e) {
- let t = xf(ute(Gb), "@react-aria/grid"), n = Rd(), r = (n === "pointer" || n === "virtual" || n == null) && typeof window < "u" && "ontouchstart" in window;
+function Bb(e) {
+ let t = xf(zb(Ib), "@react-aria/grid"), n = Rd(), r = (n === "pointer" || n === "virtual" || n == null) && typeof window < "u" && "ontouchstart" in window;
return Ym((0, R.useMemo)(() => {
let n = e.selectionManager.selectionMode, i = e.selectionManager.selectionBehavior, a;
return r && (a = t.format("longPressToSelect")), i === "replace" && n !== "none" && e.hasItemActions ? a : void 0;
@@ -23911,14 +23911,14 @@ function dte(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/grid/useGridSelectionCheckbox.mjs
-function fte(e) {
+function Vb(e) {
return e && e.__esModule ? e.default : e;
}
-function pte(e, t) {
+function Hb(e, t) {
let { key: n } = e, r = t.selectionManager, i = Kl(), a = !t.selectionManager.canSelectItem(n), o = t.selectionManager.isSelected(n);
return { checkboxProps: {
id: i,
- "aria-label": xf(fte(Gb), "@react-aria/grid").format("select"),
+ "aria-label": xf(Vb(Ib), "@react-aria/grid").format("select"),
isSelected: o,
isDisabled: a,
onChange: () => r.toggleSelection(n)
@@ -23926,14 +23926,14 @@ function pte(e, t) {
}
//#endregion
//#region node_modules/react-aria/dist/private/overlays/useModalOverlay.mjs
-function mte(e, t, n) {
- let { overlayProps: r, underlayProps: i } = pv({
+function Ub(e, t, n) {
+ let { overlayProps: r, underlayProps: i } = ov({
...e,
isOpen: t.isOpen,
onClose: t.close
}, n);
- return _v({ isDisabled: !t.isOpen }), ly(), (0, R.useEffect)(() => {
- if (t.isOpen && n.current) return q_([n.current], { shouldUseInert: !0 });
+ return uv({ isDisabled: !t.isOpen }), ey(), (0, R.useEffect)(() => {
+ if (t.isOpen && n.current) return R_([n.current], { shouldUseInert: !0 });
}, [t.isOpen, n]), {
modalProps: J(r),
underlayProps: i
@@ -23941,19 +23941,19 @@ function mte(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/useViewportSize.mjs
-var Jb = typeof document < "u" && window.visualViewport;
-function hte() {
+var Wb = typeof document < "u" && window.visualViewport;
+function Gb() {
let e = Bl(), [t, n] = (0, R.useState)(() => e ? {
width: 0,
height: 0
- } : Yb());
+ } : Kb());
return (0, R.useEffect)(() => {
let e = (e) => {
n((t) => e.width === t.width && e.height === t.height ? t : e);
}, t = () => {
- Jb && Jb.scale > 1 || e(Yb());
+ Wb && Wb.scale > 1 || e(Kb());
}, r, i = (t) => {
- Jb && Jb.scale > 1 || Gd(Y(t)) && (r = requestAnimationFrame(() => {
+ Wb && Wb.scale > 1 || Gd(Y(t)) && (r = requestAnimationFrame(() => {
let t = Cu();
(!t || !Gd(t)) && e({
width: document.documentElement.clientWidth,
@@ -23961,21 +23961,21 @@ function hte() {
});
}));
};
- return e(Yb()), nd() && id() && window.addEventListener("blur", i, !0), Jb ? Jb.addEventListener("resize", t) : window.addEventListener("resize", t), () => {
- cancelAnimationFrame(r), nd() && id() && window.removeEventListener("blur", i, !0), Jb ? Jb.removeEventListener("resize", t) : window.removeEventListener("resize", t);
+ return e(Kb()), nd() && id() && window.addEventListener("blur", i, !0), Wb ? Wb.addEventListener("resize", t) : window.addEventListener("resize", t), () => {
+ cancelAnimationFrame(r), nd() && id() && window.removeEventListener("blur", i, !0), Wb ? Wb.removeEventListener("resize", t) : window.removeEventListener("resize", t);
};
}, []), t;
}
-function Yb() {
+function Kb() {
return {
- width: Jb ? Math.min(Jb.width * Jb.scale, document.documentElement.clientWidth) : document.documentElement.clientWidth,
- height: Jb ? Jb.height * Jb.scale : document.documentElement.clientHeight
+ width: Wb ? Math.min(Wb.width * Wb.scale, document.documentElement.clientWidth) : document.documentElement.clientWidth,
+ height: Wb ? Wb.height * Wb.scale : document.documentElement.clientHeight
};
}
//#endregion
//#region node_modules/react-aria-components/dist/private/Modal.mjs
-var gte = /*#__PURE__*/ (0, R.createContext)(null), Xb = /*#__PURE__*/ (0, R.createContext)(null), _te = /*#__PURE__*/ (0, R.forwardRef)(function(e, t) {
- if ((0, R.useContext)(Xb)) return /*#__PURE__*/ R.createElement(Qb, {
+var qb = /*#__PURE__*/ (0, R.createContext)(null), Jb = /*#__PURE__*/ (0, R.createContext)(null), Yb = /*#__PURE__*/ (0, R.forwardRef)(function(e, t) {
+ if ((0, R.useContext)(Jb)) return /*#__PURE__*/ R.createElement($b, {
...e,
modalRef: t
}, e.children);
@@ -23990,15 +23990,15 @@ var gte = /*#__PURE__*/ (0, R.createContext)(null), Xb = /*#__PURE__*/ (0, R.cre
isExiting: l,
UNSTABLE_portalContainer: u,
shouldCloseOnInteractOutside: d
- }, /*#__PURE__*/ R.createElement(Qb, {
+ }, /*#__PURE__*/ R.createElement($b, {
...f,
modalRef: t
}, s));
});
-function vte(e, t) {
- [e, t] = iu(e, t, gte);
- let n = (0, R.useContext)(lb), r = uy(e), i = e.isOpen != null || e.defaultOpen != null || !n ? r : n, a = $l(t), o = (0, R.useRef)(null), s = fy(a, i.isOpen), c = fy(o, i.isOpen), l = s || c || e.isExiting || !1, u = Bl();
- return !i.isOpen && !l || u ? null : /*#__PURE__*/ R.createElement(yte, {
+function Xb(e, t) {
+ [e, t] = iu(e, t, qb);
+ let n = (0, R.useContext)(eb), r = ty(e), i = e.isOpen != null || e.defaultOpen != null || !n ? r : n, a = $l(t), o = (0, R.useRef)(null), s = ry(a, i.isOpen), c = ry(o, i.isOpen), l = s || c || e.isExiting || !1, u = Bl();
+ return !i.isOpen && !l || u ? null : /*#__PURE__*/ R.createElement(Qb, {
...e,
state: i,
isExiting: l,
@@ -24006,9 +24006,9 @@ function vte(e, t) {
modalRef: o
});
}
-var Zb = /*#__PURE__*/ (0, R.forwardRef)(vte);
-function yte({ UNSTABLE_portalContainer: e, ...t }) {
- let n = t.modalRef, { state: r } = t, { modalProps: i, underlayProps: a } = mte(t, r, n), o = dy(t.overlayRef) || t.isEntering || !1, s = nu({
+var Zb = /*#__PURE__*/ (0, R.forwardRef)(Xb);
+function Qb({ UNSTABLE_portalContainer: e, ...t }) {
+ let n = t.modalRef, { state: r } = t, { modalProps: i, underlayProps: a } = Ub(t, r, n), o = ny(t.overlayRef) || t.isEntering || !1, s = nu({
...t,
defaultClassName: "react-aria-ModalOverlay",
values: {
@@ -24016,7 +24016,7 @@ function yte({ UNSTABLE_portalContainer: e, ...t }) {
isExiting: t.isExiting,
state: r
}
- }), c = hte(), l, u;
+ }), c = Gb(), l, u;
if (typeof document < "u") {
let e = Vm(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;
@@ -24028,7 +24028,7 @@ function yte({ UNSTABLE_portalContainer: e, ...t }) {
"--page-width": l === void 0 ? void 0 : l + "px",
"--page-height": u === void 0 ? void 0 : u + "px"
};
- return /*#__PURE__*/ R.createElement(cy, {
+ return /*#__PURE__*/ R.createElement($v, {
isExiting: t.isExiting,
portalContainer: e
}, /*#__PURE__*/ R.createElement(lu.div, {
@@ -24038,15 +24038,15 @@ function yte({ UNSTABLE_portalContainer: e, ...t }) {
ref: t.overlayRef,
"data-entering": o || void 0,
"data-exiting": t.isExiting || void 0
- }, /*#__PURE__*/ R.createElement(tu, { values: [[Xb, {
+ }, /*#__PURE__*/ R.createElement(tu, { values: [[Jb, {
modalProps: i,
modalRef: n,
isExiting: t.isExiting,
isDismissable: t.isDismissable
- }], [lb, r]] }, s.children)));
+ }], [eb, r]] }, s.children)));
}
-function Qb(e) {
- let { modalProps: t, modalRef: n, isExiting: r, isDismissable: i } = (0, R.useContext)(Xb), a = (0, R.useContext)(lb), o = $l((0, R.useMemo)(() => Yl(e.modalRef, n), [e.modalRef, n])), s = dy(o), c = nu({
+function $b(e) {
+ let { modalProps: t, modalRef: n, isExiting: r, isDismissable: i } = (0, R.useContext)(Jb), a = (0, R.useContext)(eb), o = $l((0, R.useMemo)(() => Yl(e.modalRef, n), [e.modalRef, n])), s = ny(o), c = nu({
...e,
defaultClassName: "react-aria-Modal",
values: {
@@ -24061,14 +24061,14 @@ function Qb(e) {
ref: o,
"data-entering": s || void 0,
"data-exiting": r || void 0
- }, i && /*#__PURE__*/ R.createElement(ty, { onDismiss: a.close }), c.children);
+ }, i && /*#__PURE__*/ R.createElement(Jv, { onDismiss: a.close }), c.children);
}
//#endregion
//#region node_modules/react-aria/dist/private/radio/utils.mjs
-var $b = /* @__PURE__ */ new WeakMap();
+var ex = /* @__PURE__ */ new WeakMap();
//#endregion
//#region node_modules/react-aria/dist/private/radio/useRadio.mjs
-function bte(e, t, n) {
+function yte(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: _ } = om({
@@ -24091,7 +24091,7 @@ function bte(e, t, n) {
}
}), { focusableProps: b } = cp(J(e, { onFocus: () => t.setLastFocusedValue(r) }), n), x = J(g, b), S = Wp(e, { labelable: !0 }), C = -1;
t.selectedValue == null ? (t.lastFocusedValue === r || t.lastFocusedValue == null) && (C = 0) : t.selectedValue === r && (C = 0), p && (C = void 0);
- let { name: w, form: T, descriptionId: E, errorMessageId: D, validationBehavior: O } = $b.get(t);
+ let { name: w, form: T, descriptionId: E, errorMessageId: D, validationBehavior: O } = ex.get(t);
mh(n, t.defaultSelectedValue, t.setSelectedValue), hh({ validationBehavior: O }, t, n);
let k = bh();
return {
@@ -24125,7 +24125,7 @@ function bte(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/radio/useRadioGroup.mjs
-function xte(e, t) {
+function bte(e, t) {
let { name: n, form: r, isReadOnly: i, isRequired: a, isDisabled: o, orientation: s = "vertical", validationBehavior: c = "aria" } = e, { direction: l } = sf(), { isInvalid: u, validationErrors: d, validationDetails: f } = t.displayValidation, { labelProps: p, fieldProps: m, descriptionProps: h, errorMessageProps: g } = ph({
...e,
labelElementType: "span",
@@ -24139,7 +24139,7 @@ function xte(e, t) {
onFocusWithinChange: e.onFocusChange
});
function y(e, n) {
- let r = n_(n.currentTarget, {
+ let r = Kg(n.currentTarget, {
from: Y(n),
accept: (e) => e instanceof pu(e).HTMLInputElement && e.type === "radio"
}), i;
@@ -24154,7 +24154,7 @@ function xte(e, t) {
},
allowRepeats: !0
}), x = Kl(n);
- return $b.set(t, {
+ return ex.set(t, {
name: x,
form: r,
descriptionId: h.id,
@@ -24183,9 +24183,9 @@ function xte(e, t) {
}
//#endregion
//#region node_modules/react-stately/dist/private/radio/useRadioGroupState.mjs
-var Ste = Math.round(Math.random() * 1e10), Cte = 0;
-function wte(e) {
- let t = (0, R.useMemo)(() => e.name || `radio-group-${Ste}-${++Cte}`, [e.name]), [n, r] = Cf(e.value, e.defaultValue ?? null, e.onChange), [i] = (0, R.useState)(n), [a, o] = (0, R.useState)(null), s = ah({
+var xte = Math.round(Math.random() * 1e10), Ste = 0;
+function Cte(e) {
+ let t = (0, R.useMemo)(() => e.name || `radio-group-${xte}-${++Ste}`, [e.name]), [n, r] = Cf(e.value, e.defaultValue ?? null, e.onChange), [i] = (0, R.useState)(n), [a, o] = (0, R.useState)(null), s = ah({
...e,
value: n
}), c = (t) => {
@@ -24208,12 +24208,12 @@ function wte(e) {
}
//#endregion
//#region node_modules/react-aria-components/dist/private/RadioGroup.mjs
-var Tte = /*#__PURE__*/ (0, R.createContext)(null), Ete = /*#__PURE__*/ (0, R.createContext)(null), ex = /*#__PURE__*/ (0, R.createContext)(null), tx = /*#__PURE__*/ (0, R.forwardRef)(function(e, t) {
- [e, t] = iu(e, t, Tte);
- let { validationBehavior: n } = ru(dh) || {}, r = e.validationBehavior ?? n ?? "native", i = wte({
+var wte = /*#__PURE__*/ (0, R.createContext)(null), Tte = /*#__PURE__*/ (0, R.createContext)(null), tx = /*#__PURE__*/ (0, R.createContext)(null), nx = /*#__PURE__*/ (0, R.forwardRef)(function(e, t) {
+ [e, t] = iu(e, t, wte);
+ let { validationBehavior: n } = ru(dh) || {}, r = e.validationBehavior ?? n ?? "native", i = Cte({
...e,
validationBehavior: r
- }), [a, o] = au(!e["aria-label"] && !e["aria-labelledby"]), { radioGroupProps: s, labelProps: c, descriptionProps: l, errorMessageProps: u, ...d } = xte({
+ }), [a, o] = au(!e["aria-label"] && !e["aria-labelledby"]), { radioGroupProps: s, labelProps: c, descriptionProps: l, errorMessageProps: u, ...d } = bte({
...e,
label: o,
validationBehavior: r
@@ -24239,7 +24239,7 @@ var Tte = /*#__PURE__*/ (0, R.createContext)(null), Ete = /*#__PURE__*/ (0, R.cr
"data-readonly": i.isReadOnly || void 0,
"data-required": i.isRequired || void 0
}, /*#__PURE__*/ R.createElement(tu, { values: [
- [ex, i],
+ [tx, i],
[Sm, {
...c,
ref: a,
@@ -24250,24 +24250,24 @@ var Tte = /*#__PURE__*/ (0, R.createContext)(null), Ete = /*#__PURE__*/ (0, R.cr
errorMessage: u
} }],
[$m, d]
- ] }, /*#__PURE__*/ R.createElement(Eg, null, f.children)));
-}), nx = /*#__PURE__*/ (0, R.forwardRef)(function(e, t) {
+ ] }, /*#__PURE__*/ R.createElement(wg, null, f.children)));
+}), rx = /*#__PURE__*/ (0, R.forwardRef)(function(e, t) {
let { inputRef: n = null, ...r } = e;
- [e, t] = iu(r, t, Ete);
- let i = R.useContext(ex), a = $l((0, R.useMemo)(() => Yl(n, e.inputRef === void 0 ? null : e.inputRef), [n, e.inputRef])), o = bte({
+ [e, t] = iu(r, t, Tte);
+ let i = R.useContext(tx), a = $l((0, R.useMemo)(() => Yl(n, e.inputRef === void 0 ? null : e.inputRef), [n, e.inputRef])), o = yte({
...ou(e),
children: typeof e.children == "function" || e.children
}, i, a);
- return /*#__PURE__*/ R.createElement(rx.Provider, { value: {
+ return /*#__PURE__*/ R.createElement(ix.Provider, { value: {
...o,
inputRef: a,
defaultClassName: "react-aria-Radio"
- } }, /*#__PURE__*/ R.createElement(Dte, {
+ } }, /*#__PURE__*/ R.createElement(Ete, {
...e,
ref: t
}));
-}), rx = /*#__PURE__*/ (0, R.createContext)(null), Dte = /*#__PURE__*/ (0, R.forwardRef)(function(e, t) {
- let { labelProps: n, inputProps: r, isSelected: i, isDisabled: a, isPressed: o, defaultClassName: s, inputRef: c } = (0, R.useContext)(rx), l = R.useContext(ex), { isFocused: u, isFocusVisible: d, focusProps: f } = hm(), p = a || l.isReadOnly, { hoverProps: m, isHovered: h } = xm({
+}), ix = /*#__PURE__*/ (0, R.createContext)(null), Ete = /*#__PURE__*/ (0, R.forwardRef)(function(e, t) {
+ let { labelProps: n, inputProps: r, isSelected: i, isDisabled: a, isPressed: o, defaultClassName: s, inputRef: c } = (0, R.useContext)(ix), l = R.useContext(tx), { isFocused: u, isFocusVisible: d, focusProps: f } = hm(), p = a || l.isReadOnly, { hoverProps: m, isHovered: h } = xm({
...e,
isDisabled: p
}), g = nu({
@@ -24301,18 +24301,18 @@ var Tte = /*#__PURE__*/ (0, R.createContext)(null), Ete = /*#__PURE__*/ (0, R.cr
...J(r, f),
ref: c
})), g.children);
-}), ix = /* @__PURE__ */ new WeakMap();
-function Ote(e, t, n) {
- let { keyboardDelegate: r, isDisabled: i, isRequired: a, name: o, form: s, validationBehavior: c = "aria" } = e, l = h_({
+}), ax = /* @__PURE__ */ new WeakMap();
+function Dte(e, t, n) {
+ let { keyboardDelegate: r, isDisabled: i, isRequired: a, name: o, form: s, validationBehavior: c = "aria" } = e, l = a_({
usage: "search",
sensitivity: "base"
- }), u = (0, R.useMemo)(() => r || new p_(t.collection, t.disabledKeys, n, l), [
+ }), u = (0, R.useMemo)(() => r || new r_(t.collection, t.disabledKeys, n, l), [
r,
t.collection,
t.disabledKeys,
l,
n
- ]), { menuTriggerProps: d, menuProps: f } = Qy({
+ ]), { menuTriggerProps: d, menuProps: f } = Uy({
isDisabled: i,
type: "listbox"
}, t, n), { keyboardProps: p } = ip({
@@ -24331,7 +24331,7 @@ function Ote(e, t, n) {
allowRepeats: !0,
onKeyDown: e.onKeyDown,
onKeyUp: e.onKeyUp
- }), { typeSelectProps: m } = l_({
+ }), { typeSelectProps: m } = $g({
keyboardDelegate: u,
selectionManager: t.selectionManager,
onTypeSelect(e) {
@@ -24345,7 +24345,7 @@ function Ote(e, t, n) {
});
t.selectionManager.selectionMode === "multiple" && (m = {});
let S = Wp(e, { labelable: !0 }), C = J(m, d, y), w = Kl();
- return ix.set(t, {
+ return ax.set(t, {
isDisabled: i,
isRequired: a,
name: o,
@@ -24406,8 +24406,8 @@ function Ote(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/select/HiddenSelect.mjs
-function kte(e, t, n) {
- let r = ix.get(t) || {}, { autoComplete: i, name: a = r.name, form: o = r.form, isDisabled: s = r.isDisabled } = e, { validationBehavior: c, isRequired: l } = r, { visuallyHiddenProps: u } = Zm({ style: {
+function Ote(e, t, n) {
+ let r = ax.get(t) || {}, { autoComplete: i, name: a = r.name, form: o = r.form, isDisabled: s = r.isDisabled } = e, { validationBehavior: c, isRequired: l } = r, { visuallyHiddenProps: u } = Zm({ style: {
position: "fixed",
top: 0,
left: 0
@@ -24442,8 +24442,8 @@ function kte(e, t, n) {
}
};
}
-function Ate(e) {
- let { state: t, triggerRef: n, label: r, name: i, form: a, isDisabled: o } = e, s = (0, R.useRef)(null), c = (0, R.useRef)(null), { containerProps: l, selectProps: u } = kte({
+function kte(e) {
+ let { state: t, triggerRef: n, label: r, name: i, form: a, isDisabled: o } = e, s = (0, R.useRef)(null), c = (0, R.useRef)(null), { containerProps: l, selectProps: u } = Ote({
...e,
selectRef: t.collection.size <= 300 ? s : c
}, t, n), d = Array.isArray(t.value) ? t.value : [t.value];
@@ -24467,7 +24467,7 @@ function Ate(e) {
value: e ?? ""
})))));
if (i) {
- let { validationBehavior: e } = ix.get(t) || {};
+ let { validationBehavior: e } = ax.get(t) || {};
d.length === 0 && (d = [null]);
let n = d.map((t, n) => {
let r = {
@@ -24498,8 +24498,8 @@ function Ate(e) {
}
//#endregion
//#region node_modules/react-stately/dist/private/select/useSelectState.mjs
-function jte(e) {
- let { selectionMode: t = "single", shouldCloseOnSelect: n = t === "single" } = e, r = uy(e), [i, a] = (0, R.useState)(null), o = (0, R.useMemo)(() => e.defaultValue === void 0 ? t === "single" ? e.defaultSelectedKey ?? null : [] : e.defaultValue, [
+function Ate(e) {
+ let { selectionMode: t = "single", shouldCloseOnSelect: n = t === "single" } = e, r = ty(e), [i, a] = (0, R.useState)(null), o = (0, R.useMemo)(() => e.defaultValue === void 0 ? t === "single" ? e.defaultSelectedKey ?? null : [] : e.defaultValue, [
e.defaultValue,
e.defaultSelectedKey,
t
@@ -24515,12 +24515,12 @@ function jte(e) {
let e = [];
Array.isArray(n) ? e = n : n != null && (e = [n]), c(e);
}
- }, d = R_({
+ }, d = k_({
...e,
selectionMode: t,
disallowEmptySelection: t === "single",
allowDuplicateSelectionEvents: !0,
- selectedKeys: (0, R.useMemo)(() => Mte(l), [l]),
+ selectedKeys: (0, R.useMemo)(() => jte(l), [l]),
onSelectionChange: (e) => {
if (e !== "all") {
if (t === "single") {
@@ -24557,16 +24557,16 @@ function jte(e) {
setFocused: g
};
}
-function Mte(e) {
+function jte(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 Nte(e) {
+function Mte(e) {
return e && e.__esModule ? e.default : e;
}
-var ax = /*#__PURE__*/ (0, R.createContext)(null), ox = /*#__PURE__*/ (0, R.createContext)(null), Pte = /*#__PURE__*/ dp(function(e, t) {
- [e, t] = iu(e, t, ax);
+var ox = /*#__PURE__*/ (0, R.createContext)(null), sx = /*#__PURE__*/ (0, R.createContext)(null), Nte = /*#__PURE__*/ dp(function(e, t) {
+ [e, t] = iu(e, t, ox);
let { children: n, isDisabled: r = !1, isInvalid: i = !1, isRequired: a = !1 } = e, o = (0, R.useMemo)(() => typeof n == "function" ? n({
isOpen: !1,
isDisabled: r,
@@ -24581,23 +24581,23 @@ var ax = /*#__PURE__*/ (0, R.createContext)(null), ox = /*#__PURE__*/ (0, R.crea
i,
a
]);
- return /*#__PURE__*/ R.createElement(vp, { content: o }, (n) => /*#__PURE__*/ R.createElement(Ite, {
+ return /*#__PURE__*/ R.createElement(vp, { content: o }, (n) => /*#__PURE__*/ R.createElement(Fte, {
props: e,
collection: n,
selectRef: t
}));
-}), Fte = [
+}), Pte = [
Sm,
Mm,
Rm
];
-function Ite({ props: e, selectRef: t, collection: n }) {
- let { validationBehavior: r } = ru(dh) || {}, i = e.validationBehavior ?? r ?? "native", a = jte({
+function Fte({ props: e, selectRef: t, collection: n }) {
+ let { validationBehavior: r } = ru(dh) || {}, i = e.validationBehavior ?? r ?? "native", a = Ate({
...e,
collection: n,
children: void 0,
validationBehavior: i
- }), { isFocusVisible: o, focusProps: s } = hm({ within: !0 }), c = (0, R.useRef)(null), [l, u] = au(!e["aria-label"] && !e["aria-labelledby"]), { labelProps: d, triggerProps: f, valueProps: p, menuProps: m, descriptionProps: h, errorMessageProps: g, hiddenSelectProps: _, ...v } = Ote({
+ }), { isFocusVisible: o, focusProps: s } = hm({ within: !0 }), c = (0, R.useRef)(null), [l, u] = au(!e["aria-label"] && !e["aria-labelledby"]), { labelProps: d, triggerProps: f, valueProps: p, menuProps: m, descriptionProps: h, errorMessageProps: g, hiddenSelectProps: _, ...v } = Dte({
...ou(e),
label: u,
validationBehavior: i
@@ -24623,9 +24623,9 @@ function Ite({ props: e, selectRef: t, collection: n }) {
delete x.id;
let S = (0, R.useRef)(null);
return /*#__PURE__*/ R.createElement(tu, { values: [
- [ax, e],
- [ox, a],
- [sx, p],
+ [ox, e],
+ [sx, a],
+ [cx, p],
[Sm, {
...d,
ref: l,
@@ -24637,20 +24637,20 @@ function Ite({ props: e, selectRef: t, collection: n }) {
isPressed: a.isOpen,
autoFocus: e.autoFocus
}],
- [lb, a],
- [my, {
+ [eb, a],
+ [ay, {
trigger: "Select",
triggerRef: c,
scrollRef: S,
placement: "bottom start",
"aria-labelledby": m["aria-labelledby"],
- clearContexts: Fte
+ clearContexts: Pte
}],
- [V_, {
+ [M_, {
...m,
ref: S
}],
- [H_, a],
+ [N_, a],
[Rm, { slots: {
description: h,
errorMessage: g
@@ -24666,14 +24666,14 @@ function Ite({ props: e, selectRef: t, collection: n }) {
"data-disabled": e.isDisabled || void 0,
"data-invalid": v.isInvalid || void 0,
"data-required": e.isRequired || void 0
- }, b.children, /*#__PURE__*/ R.createElement(Ate, {
+ }, b.children, /*#__PURE__*/ R.createElement(kte, {
..._,
autoComplete: e.autoComplete
})));
}
-var sx = /*#__PURE__*/ (0, R.createContext)(null), Lte = /*#__PURE__*/ dp(function(e, t) {
- [e, t] = iu(e, t, sx);
- let n = (0, R.useContext)(ox), { placeholder: r } = ru(ax), i = n.selectedItems.map((e) => {
+var cx = /*#__PURE__*/ (0, R.createContext)(null), Ite = /*#__PURE__*/ dp(function(e, t) {
+ [e, t] = iu(e, t, cx);
+ let n = (0, R.useContext)(sx), { placeholder: r } = ru(ox), i = n.selectedItems.map((e) => {
let t = e.props?.children;
return typeof t == "function" && (t = t({
isHovered: !1,
@@ -24685,7 +24685,7 @@ var sx = /*#__PURE__*/ (0, R.createContext)(null), Lte = /*#__PURE__*/ dp(functi
selectionMode: "single",
selectionBehavior: "toggle"
})), t;
- }), a = ste(), o = (0, R.useMemo)(() => n.selectedItems.map((e) => e?.textValue), [n.selectedItems]), s = n.selectionManager.selectionMode, c = (0, R.useMemo)(() => s === "single" ? o[0] ?? "" : a.format(o), [
+ }), a = gte(), o = (0, R.useMemo)(() => n.selectedItems.map((e) => e?.textValue), [n.selectedItems]), s = n.selectionManager.selectionMode, c = (0, R.useMemo)(() => s === "single" ? o[0] ?? "" : a.format(o), [
s,
a,
o
@@ -24700,7 +24700,7 @@ var sx = /*#__PURE__*/ (0, R.createContext)(null), Lte = /*#__PURE__*/ dp(functi
a,
o,
i
- ]), u = xf(Nte(vg), "react-aria-components"), d = nu({
+ ]), u = xf(Mte(vg), "react-aria-components"), d = nu({
...e,
defaultChildren: l ?? r ?? u.format("selectPlaceholder"),
defaultClassName: "react-aria-SelectValue",
@@ -24721,7 +24721,7 @@ var sx = /*#__PURE__*/ (0, R.createContext)(null), Lte = /*#__PURE__*/ dp(functi
});
//#endregion
//#region node_modules/react-aria/dist/private/switch/useSwitch.mjs
-function Rte(e, t, n) {
+function Lte(e, t, n) {
let { labelProps: r, inputProps: i, isSelected: a, ...o } = xh(e, t, n);
return {
labelProps: r,
@@ -24734,23 +24734,23 @@ function Rte(e, t, n) {
...o
};
}
-for (var zte = /*#__PURE__*/ (0, R.createContext)(null), cx = /*#__PURE__*/ (0, R.createContext)(null), Bte = /*#__PURE__*/ (0, R.forwardRef)(function(e, t) {
+for (var Rte = /*#__PURE__*/ (0, R.createContext)(null), lx = /*#__PURE__*/ (0, R.createContext)(null), zte = /*#__PURE__*/ (0, R.forwardRef)(function(e, t) {
let { inputRef: n = null, ...r } = e;
- [e, t] = iu(r, t, zte);
- let i = $l((0, R.useMemo)(() => Yl(n, e.inputRef === void 0 ? null : e.inputRef), [n, e.inputRef])), a = Ch(e), o = Rte({
+ [e, t] = iu(r, t, Rte);
+ let i = $l((0, R.useMemo)(() => Yl(n, e.inputRef === void 0 ? null : e.inputRef), [n, e.inputRef])), a = Ch(e), o = Lte({
...ou(e),
children: typeof e.children == "function" || e.children
}, a, i);
- return /*#__PURE__*/ R.createElement(tu, { values: [[cx, a], [lx, {
+ return /*#__PURE__*/ R.createElement(tu, { values: [[lx, a], [ux, {
...o,
inputRef: i,
defaultClassName: "react-aria-Switch"
- }]] }, /*#__PURE__*/ R.createElement(Vte, {
+ }]] }, /*#__PURE__*/ R.createElement(Bte, {
...e,
ref: t
}));
-}), lx = /*#__PURE__*/ (0, R.createContext)(null), Vte = /*#__PURE__*/ (0, R.forwardRef)(function(e, t) {
- let { labelProps: n, inputProps: r, isSelected: i, isDisabled: a, isReadOnly: o, isPressed: s, isInvalid: c, inputRef: l, defaultClassName: u, isRequired: d } = (0, R.useContext)(lx), { isFocused: f, isFocusVisible: p, focusProps: m } = hm(), h = a || o, g = (0, R.useContext)(cx), { hoverProps: _, isHovered: v } = xm({
+}), ux = /*#__PURE__*/ (0, R.createContext)(null), Bte = /*#__PURE__*/ (0, R.forwardRef)(function(e, t) {
+ let { labelProps: n, inputProps: r, isSelected: i, isDisabled: a, isReadOnly: o, isPressed: s, isInvalid: c, inputRef: l, defaultClassName: u, isRequired: d } = (0, R.useContext)(ux), { isFocused: f, isFocusVisible: p, focusProps: m } = hm(), h = a || o, g = (0, R.useContext)(lx), { hoverProps: _, isHovered: v } = xm({
...e,
isDisabled: h
}), y = nu({
@@ -24786,7 +24786,7 @@ for (var zte = /*#__PURE__*/ (0, R.createContext)(null), cx = /*#__PURE__*/ (0,
...J(r, m),
ref: l
})), y.children);
-}), ux = 10, dx = 5, Hte = class {
+}), dx = 10, fx = 5, Vte = class {
setup(e, t, n) {
this.delegate = e, this.state = t, this.direction = n;
}
@@ -24796,7 +24796,7 @@ for (var zte = /*#__PURE__*/ (0, R.createContext)(null), cx = /*#__PURE__*/ (0,
}
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) > dx && (s = a > 0 ? "down" : "up", i.yDirection = s, i.lastY = n), Math.abs(o) > ux && (c = o > 0 ? "right" : "left", i.xDirection = c, i.lastX = t), e.dropPosition === "before") {
+ if (Math.abs(a) > fx && (s = a > 0 ? "down" : "up", i.yDirection = s, i.lastY = n), Math.abs(o) > dx && (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);
@@ -24875,11 +24875,11 @@ for (var zte = /*#__PURE__*/ (0, R.createContext)(null), cx = /*#__PURE__*/ (0,
lastSwitchX: n
});
let c = o.boundaryContext, l = Math.abs(n - c.lastSwitchX);
- if (Math.abs(r - c.lastSwitchY) > dx && i) {
+ if (Math.abs(r - c.lastSwitchY) > fx && 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 > ux && a) {
+ if (l > dx && 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;
}
@@ -24894,7 +24894,7 @@ for (var zte = /*#__PURE__*/ (0, R.createContext)(null), cx = /*#__PURE__*/ (0,
boundaryContext: null
};
}
-}, Ute = class {
+}, Hte = class {
constructor(e) {
this.keyMap = /* @__PURE__ */ new Map(), this.keyMap = /* @__PURE__ */ new Map(), this.columnCount = e?.columnCount, this.rows = [];
let t = (r) => {
@@ -24964,8 +24964,8 @@ for (var zte = /*#__PURE__*/ (0, R.createContext)(null), cx = /*#__PURE__*/ (0,
getChildren(e) {
return this.keyMap.get(e)?.childNodes || [];
}
-}, fx = "row-header-column-" + Math.random().toString(36).slice(2), px = "row-header-column-" + Math.random().toString(36).slice(2); fx === px;) px = "row-header-column-" + Math.random().toString(36).slice(2);
-function mx(e, t) {
+}, px = "row-header-column-" + Math.random().toString(36).slice(2), mx = "row-header-column-" + Math.random().toString(36).slice(2); px === mx;) mx = "row-header-column-" + Math.random().toString(36).slice(2);
+function hx(e, t) {
if (t.length === 0) return [];
let n = [], r = /* @__PURE__ */ new Map();
for (let i of t) {
@@ -25049,13 +25049,13 @@ function mx(e, t) {
textValue: ""
}));
}
-var Wte = class extends Ute {
+var Ute = class extends Hte {
constructor(e, t, n) {
let r = /* @__PURE__ */ new Set(), i = null, a = [];
if (n?.showSelectionCheckboxes) {
let e = {
type: "column",
- key: fx,
+ key: px,
value: null,
textValue: "",
level: 0,
@@ -25070,7 +25070,7 @@ var Wte = class extends Ute {
if (n?.showDragButtons) {
let e = {
type: "column",
- key: px,
+ key: mx,
value: null,
textValue: "",
level: 0,
@@ -25097,7 +25097,7 @@ var Wte = class extends Ute {
for (let t of e.childNodes) c(t);
};
for (let t of e) c(t);
- let l = mx(s, a);
+ let l = hx(s, a);
if (l.forEach((e, t) => o.splice(t, 0, e)), super({
columnCount: a.length,
items: o,
@@ -25123,10 +25123,10 @@ var Wte = class extends Ute {
return this.keyMap.get(e)?.nextKey ?? null;
}
getFirstKey() {
- return S_(this.body.childNodes)?.key ?? null;
+ return f_(this.body.childNodes)?.key ?? null;
}
getLastKey() {
- return w_(this.body.childNodes)?.key ?? null;
+ return m_(this.body.childNodes)?.key ?? null;
}
getItem(e) {
return e === this.body.key ? this.body : this.keyMap.get(e) ?? null;
@@ -25158,19 +25158,19 @@ var Wte = class extends Ute {
};
//#endregion
//#region node_modules/react-stately/dist/private/grid/useGridState.mjs
-function Gte(e) {
- let { collection: t, focusMode: n } = e, r = e.UNSAFE_selectionState || M_(e), i = (0, R.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), a = r.setFocusedKey;
+function Wte(e) {
+ let { collection: t, focusMode: n } = e, r = e.UNSAFE_selectionState || C_(e), i = (0, R.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), a = r.setFocusedKey;
r.setFocusedKey = (e, r) => {
if (n === "cell" && e != null) {
let n = t.getItem(e);
if (n?.type === "item") {
- let i = x_(n, t);
- e = r === "last" ? w_(i)?.key ?? null : S_(i)?.key ?? null;
+ let i = d_(n, t);
+ e = r === "last" ? m_(i)?.key ?? null : f_(i)?.key ?? null;
}
}
a(e, r);
};
- let o = (0, R.useMemo)(() => new P_(t, r), [t, r]), s = (0, R.useRef)(null);
+ let o = (0, R.useMemo)(() => new T_(t, r), [t, r]), s = (0, R.useRef)(null);
return (0, R.useEffect)(() => {
if (r.focusedKey != null && s.current && !t.getItem(r.focusedKey)) {
let e = s.current.getItem(r.focusedKey), n = e?.parentKey != null && (e.type === "cell" || e.type === "rowheader" || e.type === "column") ? s.current.getItem(e.parentKey) : e;
@@ -25190,7 +25190,7 @@ function Gte(e) {
}
}
if (u) {
- let i = u.hasChildNodes ? [...x_(u, t)] : [], a = u.hasChildNodes && n !== e && e && e.index < i.length ? i[e.index].key : u.key;
+ let i = u.hasChildNodes ? [...d_(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);
}
@@ -25209,11 +25209,11 @@ function Gte(e) {
}
//#endregion
//#region node_modules/react-stately/dist/private/table/useTableState.mjs
-var Kte = {
+var Gte = {
ascending: "descending",
descending: "ascending"
};
-function qte(e) {
+function Kte(e) {
let [t, n] = (0, R.useState)(!1), { selectionMode: r = "none", showSelectionCheckboxes: i, showDragButtons: a, treeColumn: o = null } = e, s = (0, R.useMemo)(() => ({
showSelectionCheckboxes: i && r !== "none",
showDragButtons: a,
@@ -25224,7 +25224,7 @@ function qte(e) {
i,
r,
a
- ]), c = L_(e, (0, R.useCallback)((e) => new Wte(e, null, s), [s]), s), { disabledKeys: l, selectionManager: u } = Gte({
+ ]), c = O_(e, (0, R.useCallback)((e) => new Ute(e, null, s), [s]), s), { disabledKeys: l, selectionManager: u } = Wte({
...e,
collection: c,
disabledBehavior: e.disabledBehavior || "selection"
@@ -25240,7 +25240,7 @@ function qte(e) {
sort(t, n) {
e.onSortChange?.({
column: t,
- direction: n ?? (e.sortDescriptor?.column === t ? Kte[e.sortDescriptor.direction] : "ascending")
+ direction: n ?? (e.sortDescriptor?.column === t ? Gte[e.sortDescriptor.direction] : "ascending")
});
},
expandedKeys: d,
@@ -25253,7 +25253,7 @@ function qte(e) {
treeColumn: o
};
}
-function Jte(e, t) {
+function qte(e, t) {
let n = (0, R.useMemo)(() => t ? e.collection.filter(t) : e.collection, [e.collection, t]), r = e.selectionManager.withCollection(n);
return {
...e,
@@ -25263,10 +25263,10 @@ function Jte(e, t) {
}
//#endregion
//#region node_modules/react-aria/dist/private/grid/GridKeyboardDelegate.mjs
-var hx = class {
+var gx = 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 Yte(e.layout) : new f_(e.ref)), this.focusMode = e.focusMode ?? "row";
+ this.layoutDelegate = e.layoutDelegate || (e.layout ? new Jte(e.layout) : new n_(e.ref)), this.focusMode = e.focusMode ?? "row";
}
isCell(e) {
return e.type === "cell";
@@ -25302,7 +25302,7 @@ var hx = class {
let n = this.collection.getItem(e);
if (!n) return null;
let r = 0;
- for (let e of x_(n, this.collection)) {
+ for (let e of d_(n, this.collection)) {
if (e.colSpan && e.colSpan + r > t || (e.colSpan && (r = r + e.colSpan - 1), r === t)) return e.key ?? null;
r++;
}
@@ -25336,13 +25336,13 @@ var hx = class {
let t = this.collection.getItem(e);
if (!t) return null;
if (this.isRow(t)) {
- let e = x_(t, this.collection);
- return (this.direction === "rtl" ? w_(e)?.key : S_(e)?.key) ?? null;
+ let e = d_(t, this.collection);
+ return (this.direction === "rtl" ? m_(e)?.key : f_(e)?.key) ?? null;
}
if (this.isCell(t) && t.parentKey != null) {
let n = this.collection.getItem(t.parentKey);
if (!n) return null;
- let r = x_(n, this.collection), i = (this.direction === "rtl" ? C_(r, t.index - 1) : C_(r, t.index + 1)) ?? null;
+ let r = d_(n, this.collection), i = (this.direction === "rtl" ? p_(r, t.index - 1) : p_(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;
@@ -25351,13 +25351,13 @@ var hx = class {
let t = this.collection.getItem(e);
if (!t) return null;
if (this.isRow(t)) {
- let e = x_(t, this.collection);
- return (this.direction === "rtl" ? S_(e)?.key : w_(e)?.key) ?? null;
+ let e = d_(t, this.collection);
+ return (this.direction === "rtl" ? f_(e)?.key : m_(e)?.key) ?? null;
}
if (this.isCell(t) && t.parentKey != null) {
let n = this.collection.getItem(t.parentKey);
if (!n) return null;
- let r = x_(n, this.collection), i = (this.direction === "rtl" ? C_(r, t.index + 1) : C_(r, t.index - 1)) ?? null;
+ let r = d_(n, this.collection), i = (this.direction === "rtl" ? p_(r, t.index + 1) : p_(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;
@@ -25368,13 +25368,13 @@ var hx = 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 ? S_(x_(e, this.collection))?.key ?? null : null;
+ return e ? f_(d_(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 = S_(x_(e, this.collection))?.key ?? null;
+ n = f_(d_(e, this.collection))?.key ?? null;
}
return n;
}
@@ -25384,13 +25384,13 @@ var hx = 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 ? w_(x_(e, this.collection))?.key ?? null : null;
+ return e ? m_(d_(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 = w_(x_(e, this.collection))?.key ?? null;
+ n = m_(d_(e, this.collection))?.key ?? null;
}
return n;
}
@@ -25426,13 +25426,13 @@ var hx = 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" ? S_(x_(t, this.collection))?.key ?? null : t.key;
+ if (this.collator.compare(n, e) === 0) return this.isRow(t) && this.focusMode === "cell" ? f_(d_(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;
}
-}, Yte = class {
+}, Jte = class {
constructor(e) {
this.layout = e;
}
@@ -25445,16 +25445,16 @@ var hx = class {
getVisibleRect() {
return this.layout.virtualizer.visibleRect;
}
-}, gx = /* @__PURE__ */ new WeakMap();
+}, _x = /* @__PURE__ */ new WeakMap();
//#endregion
//#region node_modules/react-aria/dist/private/grid/useGrid.mjs
-function Xte(e, t, n) {
+function Yte(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 = h_({
+ let h = a_({
usage: "search",
sensitivity: "base"
- }), { direction: g } = sf(), _ = t.selectionManager.disabledBehavior, v = (0, R.useMemo)(() => a || new hx({
+ }), { direction: g } = sf(), _ = t.selectionManager.disabledBehavior, v = (0, R.useMemo)(() => a || new gx({
collection: t.collection,
disabledKeys: t.disabledKeys,
disabledBehavior: _,
@@ -25471,7 +25471,7 @@ function Xte(e, t, n) {
g,
h,
o
- ]), { collectionProps: y } = d_({
+ ]), { collectionProps: y } = t_({
ref: n,
selectionManager: m,
keyboardDelegate: v,
@@ -25480,7 +25480,7 @@ function Xte(e, t, n) {
disallowTypeAhead: i,
escapeKeyBehavior: d
}), b = Kl(e.id);
- gx.set(t, {
+ _x.set(t, {
keyboardDelegate: v,
actions: {
onRowAction: l,
@@ -25489,7 +25489,7 @@ function Xte(e, t, n) {
shouldSelectOnPressUp: f,
keyboardNavigationBehavior: p
});
- let x = dte({
+ let x = Bb({
selectionManager: m,
hasItemActions: !!(l || u)
}), S = Wp(e, { labelable: !0 }), C = (0, R.useCallback)((e) => {
@@ -25501,36 +25501,36 @@ function Xte(e, t, n) {
}, [m]), w = (0, R.useMemo)(() => ({
onBlur: y.onBlur,
onFocus: C
- }), [C, y.onBlur]), T = qb(n, { isDisabled: t.collection.size !== 0 }), E = J(S, {
+ }), [C, y.onBlur]), T = Rb(n, { isDisabled: t.collection.size !== 0 }), E = J(S, {
role: "grid",
id: b,
"aria-multiselectable": m.selectionMode === "multiple" ? "true" : void 0
}, t.isKeyboardNavigationDisabled ? w : y, t.collection.size === 0 && { tabIndex: T ? -1 : 0 } || void 0, x);
- return r && (E["aria-rowcount"] = t.collection.size, E["aria-colcount"] = t.collection.columnCount), lte({ getRowText: c }, t), { gridProps: E };
+ return r && (E["aria-rowcount"] = t.collection.size, E["aria-colcount"] = t.collection.columnCount), vte({ getRowText: c }, t), { gridProps: E };
}
//#endregion
//#region node_modules/react-aria/dist/private/table/utils.mjs
-var _x = /* @__PURE__ */ new WeakMap();
-function vx(e) {
+var vx = /* @__PURE__ */ new WeakMap();
+function yx(e) {
return typeof e == "string" ? e.replace(/\s*/g, "") : "" + e;
}
-function Zte(e, t) {
- let n = _x.get(e);
+function Xte(e, t) {
+ let n = vx.get(e);
if (!n) throw Error("Unknown grid");
- return `${n}-${vx(t)}`;
+ return `${n}-${yx(t)}`;
}
-function yx(e, t, n) {
- let r = _x.get(e);
+function bx(e, t, n) {
+ let r = vx.get(e);
if (!r) throw Error("Unknown grid");
- return `${r}-${vx(t)}-${vx(n)}`;
+ return `${r}-${yx(t)}-${yx(n)}`;
}
-function bx(e, t) {
- return [...e.collection.rowHeaderColumnKeys].map((n) => yx(e, t, n)).join(" ");
+function xx(e, t) {
+ return [...e.collection.rowHeaderColumnKeys].map((n) => bx(e, t, n)).join(" ");
}
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/ar-AE.mjs
-var xx = {};
-xx = {
+var Sx = {};
+Sx = {
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: "طي",
@@ -25545,8 +25545,8 @@ xx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/bg-BG.mjs
-var Sx = {};
-Sx = {
+var Cx = {};
+Cx = {
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: "Свиване",
@@ -25561,8 +25561,8 @@ Sx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/cs-CZ.mjs
-var Cx = {};
-Cx = {
+var wx = {};
+wx = {
ascending: "vzestupně",
ascendingSort: (e) => `\u{159}azeno vzestupn\u{11B} podle sloupce ${e.columnName}`,
collapse: "Sbalit",
@@ -25577,8 +25577,8 @@ Cx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/da-DK.mjs
-var wx = {};
-wx = {
+var Tx = {};
+Tx = {
ascending: "stigende",
ascendingSort: (e) => `sorteret efter kolonne ${e.columnName} i stigende r\xe6kkef\xf8lge`,
collapse: "Skjul",
@@ -25593,8 +25593,8 @@ wx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/de-DE.mjs
-var Tx = {};
-Tx = {
+var Ex = {};
+Ex = {
ascending: "aufsteigend",
ascendingSort: (e) => `sortiert nach Spalte ${e.columnName} in aufsteigender Reihenfolge`,
collapse: "Reduzieren",
@@ -25609,8 +25609,8 @@ Tx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/el-GR.mjs
-var Ex = {};
-Ex = {
+var Dx = {};
+Dx = {
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: "Σύμπτυξη",
@@ -25625,8 +25625,8 @@ Ex = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/en-US.mjs
-var Dx = {};
-Dx = {
+var Ox = {};
+Ox = {
select: "Select",
selectAll: "Select All",
sortable: "sortable column",
@@ -25641,8 +25641,8 @@ Dx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/es-ES.mjs
-var Ox = {};
-Ox = {
+var kx = {};
+kx = {
ascending: "ascendente",
ascendingSort: (e) => `ordenado por columna ${e.columnName} en sentido ascendente`,
collapse: "Contraer",
@@ -25657,8 +25657,8 @@ Ox = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/et-EE.mjs
-var kx = {};
-kx = {
+var Ax = {};
+Ax = {
ascending: "tõusev järjestus",
ascendingSort: (e) => `sorditud veeru j\xe4rgi ${e.columnName} t\xf5usvas j\xe4rjestuses`,
collapse: "Ahenda",
@@ -25673,8 +25673,8 @@ kx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/fi-FI.mjs
-var Ax = {};
-Ax = {
+var jx = {};
+jx = {
ascending: "nouseva",
ascendingSort: (e) => `lajiteltu sarakkeen ${e.columnName} mukaan nousevassa j\xe4rjestyksess\xe4`,
collapse: "Pienennä",
@@ -25689,8 +25689,8 @@ Ax = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/fr-FR.mjs
-var jx = {};
-jx = {
+var Mx = {};
+Mx = {
ascending: "croissant",
ascendingSort: (e) => `tri\xe9 en fonction de la colonne\xa0${e.columnName} par ordre croissant`,
collapse: "Réduire",
@@ -25705,8 +25705,8 @@ jx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/he-IL.mjs
-var Mx = {};
-Mx = {
+var Nx = {};
+Nx = {
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: "כווץ",
@@ -25721,8 +25721,8 @@ Mx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/hr-HR.mjs
-var Nx = {};
-Nx = {
+var Px = {};
+Px = {
ascending: "rastući",
ascendingSort: (e) => `razvrstano po stupcima ${e.columnName} rastu\u{107}em redoslijedom`,
collapse: "Sažmi",
@@ -25737,8 +25737,8 @@ Nx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/hu-HU.mjs
-var Px = {};
-Px = {
+var Fx = {};
+Fx = {
ascending: "növekvő",
ascendingSort: (e) => `rendezve a(z) ${e.columnName} oszlop szerint, n\xf6vekv\u{151} sorrendben`,
collapse: "Összecsukás",
@@ -25753,8 +25753,8 @@ Px = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/it-IT.mjs
-var Fx = {};
-Fx = {
+var Ix = {};
+Ix = {
ascending: "crescente",
ascendingSort: (e) => `in ordine crescente in base alla colonna ${e.columnName}`,
collapse: "Comprimi",
@@ -25769,8 +25769,8 @@ Fx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/ja-JP.mjs
-var Ix = {};
-Ix = {
+var Lx = {};
+Lx = {
ascending: "昇順",
ascendingSort: (e) => `\u{5217} ${e.columnName} \u{3092}\u{6607}\u{9806}\u{3067}\u{4E26}\u{3079}\u{66FF}\u{3048}`,
collapse: "折りたたむ",
@@ -25785,8 +25785,8 @@ Ix = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/ko-KR.mjs
-var Lx = {};
-Lx = {
+var Rx = {};
+Rx = {
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: "접기",
@@ -25801,8 +25801,8 @@ Lx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/lt-LT.mjs
-var Rx = {};
-Rx = {
+var zx = {};
+zx = {
ascending: "didėjančia tvarka",
ascendingSort: (e) => `surikiuota pagal stulpel\u{12F} ${e.columnName} did\u{117}jan\u{10D}ia tvarka`,
collapse: "Sutraukti",
@@ -25817,8 +25817,8 @@ Rx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/lv-LV.mjs
-var zx = {};
-zx = {
+var Bx = {};
+Bx = {
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",
@@ -25833,8 +25833,8 @@ zx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/nb-NO.mjs
-var Bx = {};
-Bx = {
+var Vx = {};
+Vx = {
ascending: "stigende",
ascendingSort: (e) => `sortert etter kolonne ${e.columnName} i stigende rekkef\xf8lge`,
collapse: "Skjul",
@@ -25849,8 +25849,8 @@ Bx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/nl-NL.mjs
-var Vx = {};
-Vx = {
+var Hx = {};
+Hx = {
ascending: "oplopend",
ascendingSort: (e) => `gesorteerd in oplopende volgorde in kolom ${e.columnName}`,
collapse: "Samenvouwen",
@@ -25865,8 +25865,8 @@ Vx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/pl-PL.mjs
-var Hx = {};
-Hx = {
+var Ux = {};
+Ux = {
ascending: "rosnąco",
ascendingSort: (e) => `posortowano wed\u{142}ug kolumny ${e.columnName} w porz\u{105}dku rosn\u{105}cym`,
collapse: "Zwiń",
@@ -25881,8 +25881,8 @@ Hx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/pt-BR.mjs
-var Ux = {};
-Ux = {
+var Wx = {};
+Wx = {
ascending: "crescente",
ascendingSort: (e) => `classificado pela coluna ${e.columnName} em ordem crescente`,
collapse: "Recolher",
@@ -25897,8 +25897,8 @@ Ux = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/pt-PT.mjs
-var Wx = {};
-Wx = {
+var Gx = {};
+Gx = {
ascending: "ascendente",
ascendingSort: (e) => `Ordenar por coluna ${e.columnName} em ordem ascendente`,
collapse: "Colapsar",
@@ -25913,8 +25913,8 @@ Wx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/ro-RO.mjs
-var Gx = {};
-Gx = {
+var Kx = {};
+Kx = {
ascending: "crescătoare",
ascendingSort: (e) => `sortate dup\u{103} coloana ${e.columnName} \xeen ordine cresc\u{103}toare`,
collapse: "Restrângeți",
@@ -25929,8 +25929,8 @@ Gx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/ru-RU.mjs
-var Kx = {};
-Kx = {
+var qx = {};
+qx = {
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: "Свернуть",
@@ -25945,8 +25945,8 @@ Kx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/sk-SK.mjs
-var qx = {};
-qx = {
+var Jx = {};
+Jx = {
ascending: "vzostupne",
ascendingSort: (e) => `zoraden\xe9 zostupne pod\u{13E}a st\u{13A}pca ${e.columnName}`,
collapse: "Zbaliť",
@@ -25961,8 +25961,8 @@ qx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/sl-SI.mjs
-var Jx = {};
-Jx = {
+var Yx = {};
+Yx = {
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",
@@ -25977,8 +25977,8 @@ Jx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/sr-SP.mjs
-var Yx = {};
-Yx = {
+var Xx = {};
+Xx = {
ascending: "rastući",
ascendingSort: (e) => `sortirano po kolonama ${e.columnName} rastu\u{107}im redosledom`,
collapse: "Skupi",
@@ -25993,8 +25993,8 @@ Yx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/sv-SE.mjs
-var Xx = {};
-Xx = {
+var Zx = {};
+Zx = {
ascending: "stigande",
ascendingSort: (e) => `sorterat p\xe5 kolumn ${e.columnName} i stigande ordning`,
collapse: "Dölj",
@@ -26009,8 +26009,8 @@ Xx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/tr-TR.mjs
-var Zx = {};
-Zx = {
+var Qx = {};
+Qx = {
ascending: "artan sırada",
ascendingSort: (e) => `${e.columnName} s\xfctuna g\xf6re artan d\xfczende s\u{131}rala`,
collapse: "Daralt",
@@ -26025,8 +26025,8 @@ Zx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/uk-UA.mjs
-var Qx = {};
-Qx = {
+var $x = {};
+$x = {
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: "Згорнути",
@@ -26041,8 +26041,8 @@ Qx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/zh-CN.mjs
-var $x = {};
-$x = {
+var eS = {};
+eS = {
ascending: "升序",
ascendingSort: (e) => `\u{6309}\u{5217} ${e.columnName} \u{5347}\u{5E8F}\u{6392}\u{5E8F}`,
collapse: "折叠",
@@ -26057,8 +26057,8 @@ $x = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/zh-TW.mjs
-var eS = {};
-eS = {
+var tS = {};
+tS = {
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: "收合",
@@ -26073,46 +26073,46 @@ eS = {
};
//#endregion
//#region node_modules/react-aria/dist/private/table/intlStrings.mjs
-var tS = {};
-tS = {
- "ar-AE": xx,
- "bg-BG": Sx,
- "cs-CZ": Cx,
- "da-DK": wx,
- "de-DE": Tx,
- "el-GR": Ex,
- "en-US": Dx,
- "es-ES": Ox,
- "et-EE": kx,
- "fi-FI": Ax,
- "fr-FR": jx,
- "he-IL": Mx,
- "hr-HR": Nx,
- "hu-HU": Px,
- "it-IT": Fx,
- "ja-JP": Ix,
- "ko-KR": Lx,
- "lt-LT": Rx,
- "lv-LV": zx,
- "nb-NO": Bx,
- "nl-NL": Vx,
- "pl-PL": Hx,
- "pt-BR": Ux,
- "pt-PT": Wx,
- "ro-RO": Gx,
- "ru-RU": Kx,
- "sk-SK": qx,
- "sl-SI": Jx,
- "sr-SP": Yx,
- "sv-SE": Xx,
- "tr-TR": Zx,
- "uk-UA": Qx,
- "zh-CN": $x,
- "zh-TW": eS
+var nS = {};
+nS = {
+ "ar-AE": Sx,
+ "bg-BG": Cx,
+ "cs-CZ": wx,
+ "da-DK": Tx,
+ "de-DE": Ex,
+ "el-GR": Dx,
+ "en-US": Ox,
+ "es-ES": kx,
+ "et-EE": Ax,
+ "fi-FI": jx,
+ "fr-FR": Mx,
+ "he-IL": Nx,
+ "hr-HR": Px,
+ "hu-HU": Fx,
+ "it-IT": Ix,
+ "ja-JP": Lx,
+ "ko-KR": Rx,
+ "lt-LT": zx,
+ "lv-LV": Bx,
+ "nb-NO": Vx,
+ "nl-NL": Hx,
+ "pl-PL": Ux,
+ "pt-BR": Wx,
+ "pt-PT": Gx,
+ "ro-RO": Kx,
+ "ru-RU": qx,
+ "sk-SK": Jx,
+ "sl-SI": Yx,
+ "sr-SP": Xx,
+ "sv-SE": Zx,
+ "tr-TR": Qx,
+ "uk-UA": $x,
+ "zh-CN": eS,
+ "zh-TW": tS
};
//#endregion
//#region node_modules/react-aria/dist/private/table/TableKeyboardDelegate.mjs
-var Qte = class extends hx {
+var Zte = class extends gx {
isCell(e) {
return e.type === "cell" || e.type === "rowheader" || e.type === "column";
}
@@ -26120,7 +26120,7 @@ var Qte = class extends hx {
let n = this.collection.getItem(e);
if (!n) return null;
if (n.type === "column") {
- let e = S_(x_(n, this.collection));
+ let e = f_(d_(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);
@@ -26141,13 +26141,13 @@ var Qte = class extends hx {
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 x_(n, this.collection)) if (e.type === "column") return e.key;
+ for (let e of d_(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 = [...x_(n, this.collection)];
+ let n = this.collection.headerRows[e.level], r = [...d_(n, this.collection)];
for (let e = r.length - 1; e >= 0; e--) {
let t = r[e];
if (t.type === "column") return t.key;
@@ -26176,7 +26176,7 @@ var Qte = class extends hx {
let t = o.textValue.slice(0, e.length);
if (this.collator.compare(t, e) === 0) return o.key;
}
- for (let r of x_(o, this.collection)) {
+ for (let r of d_(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);
@@ -26190,14 +26190,14 @@ var Qte = class extends hx {
};
//#endregion
//#region node_modules/react-aria/dist/private/table/useTable.mjs
-function $te(e) {
+function Qte(e) {
return e && e.__esModule ? e.default : e;
}
-function ene(e, t, n) {
- let { keyboardDelegate: r, isVirtualized: i, layoutDelegate: a, layout: o } = e, s = h_({
+function $te(e, t, n) {
+ let { keyboardDelegate: r, isVirtualized: i, layoutDelegate: a, layout: o } = e, s = a_({
usage: "search",
sensitivity: "base"
- }), { direction: c } = sf(), l = t.selectionManager.disabledBehavior, u = (0, R.useMemo)(() => r || new Qte({
+ }), { direction: c } = sf(), l = t.selectionManager.disabledBehavior, u = (0, R.useMemo)(() => r || new Zte({
collection: t.collection,
disabledKeys: t.disabledKeys,
disabledBehavior: l,
@@ -26217,14 +26217,14 @@ function ene(e, t, n) {
a,
o
]), d = Kl(e.id);
- _x.set(t, d);
- let { gridProps: f } = Xte({
+ vx.set(t, d);
+ let { gridProps: f } = Yte({
...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 = xf($te(tS), "@react-aria/table"), g = (0, R.useMemo)(() => {
+ let { column: p, direction: m } = t.sortDescriptor || {}, h = xf(Qte(nS), "@react-aria/table"), g = (0, R.useMemo)(() => {
let e = t.collection.columns.find((e) => e.key === p)?.textValue ?? "";
return m && p ? h.format(`${m}Sort`, { columnName: e }) : void 0;
}, [
@@ -26238,13 +26238,13 @@ function ene(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/grid/useGridCell.mjs
-function nS(e, t, n) {
- let { node: r, isVirtualized: i, focusMode: a, allowsArrowNavigation: o, shouldSelectOnPressUp: s, onAction: c } = e, { direction: l } = sf(), { keyboardDelegate: u, actions: { onCellAction: d }, keyboardNavigationBehavior: f } = gx.get(t), p = a ?? (f === "tab" ? "cell" : "child"), m = (0, R.useRef)(null), h = () => {
+function rS(e, t, n) {
+ let { node: r, isVirtualized: i, focusMode: a, allowsArrowNavigation: o, shouldSelectOnPressUp: s, onAction: c } = e, { direction: l } = sf(), { keyboardDelegate: u, actions: { onCellAction: d }, keyboardNavigationBehavior: f } = _x.get(t), p = a ?? (f === "tab" ? "cell" : "child"), m = (0, R.useRef)(null), h = () => {
if (n.current) {
- let e = n_(n.current);
+ let e = Kg(n.current);
if (p === "child") {
if (Tu(n.current) && n.current !== Cu(fu(n.current))) return;
- let r = t.selectionManager.childFocusStrategy === "last" ? rS(e) : e.firstChild();
+ let r = t.selectionManager.childFocusStrategy === "last" ? iS(e) : e.firstChild();
if (r) {
Uf(r);
return;
@@ -26252,7 +26252,7 @@ function nS(e, t, n) {
}
(m.current != null && r.key !== m.current || !Tu(n.current)) && Uf(n.current);
}
- }, { itemProps: g, isPressed: _ } = v_({
+ }, { itemProps: g, isPressed: _ } = c_({
selectionManager: t.selectionManager,
key: r.key,
ref: n,
@@ -26266,7 +26266,7 @@ function nS(e, t, n) {
onKeyDownCapture: f !== "tab" || o ? (e) => {
let i = Cu(fu(n.current));
if (!Su(e.currentTarget, Y(e)) || t.isKeyboardNavigationDisabled || !n.current || !i) return;
- let a = n_(n.current);
+ let a = Kg(n.current);
switch (a.currentNode = i, e.key) {
case "ArrowLeft": {
let t = l === "rtl" ? a.nextNode() : a.previousNode();
@@ -26276,7 +26276,7 @@ function nS(e, t, n) {
n.current.parentElement?.dispatchEvent(new KeyboardEvent(e.nativeEvent.type, e.nativeEvent));
break;
}
- p === "cell" && l === "rtl" ? (Uf(n.current), Km(n.current, { containingElement: Hm(n.current) })) : (a.currentNode = n.current, t = l === "rtl" ? a.firstChild() : rS(a), t && (Uf(t), Km(t, { containingElement: Hm(n.current) })));
+ p === "cell" && l === "rtl" ? (Uf(n.current), Km(n.current, { containingElement: Hm(n.current) })) : (a.currentNode = n.current, t = l === "rtl" ? a.firstChild() : iS(a), t && (Uf(t), Km(t, { containingElement: Hm(n.current) })));
}
break;
}
@@ -26288,7 +26288,7 @@ function nS(e, t, n) {
n.current.parentElement?.dispatchEvent(new KeyboardEvent(e.nativeEvent.type, e.nativeEvent));
break;
}
- p === "cell" && l === "ltr" ? (Uf(n.current), Km(n.current, { containingElement: Hm(n.current) })) : (a.currentNode = n.current, t = l === "rtl" ? rS(a) : a.firstChild(), t && (Uf(t), Km(t, { containingElement: Hm(n.current) })));
+ p === "cell" && l === "ltr" ? (Uf(n.current), Km(n.current, { containingElement: Hm(n.current) })) : (a.currentNode = n.current, t = l === "rtl" ? iS(a) : a.firstChild(), t && (Uf(t), Km(t, { containingElement: Hm(n.current) })));
}
break;
}
@@ -26304,7 +26304,7 @@ function nS(e, t, n) {
return;
}
if (e.key === "Tab" && f === "tab") {
- let t = n_(n.current, { tabbable: !0 });
+ let t = Kg(n.current, { tabbable: !0 });
t.currentNode = r, (e.shiftKey ? t.previousNode() : t.nextNode()) && e.stopPropagation();
}
}
@@ -26333,7 +26333,7 @@ function nS(e, t, n) {
isPressed: _
};
}
-function rS(e) {
+function iS(e) {
let t = null, n = null;
do
n = e.lastChild(), n && (t = n);
@@ -26342,11 +26342,11 @@ function rS(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/table/useTableColumnHeader.mjs
-function tne(e) {
+function ene(e) {
return e && e.__esModule ? e.default : e;
}
-function nne(e, t, n) {
- let { node: r } = e, i = r.props.allowsSorting, { gridCellProps: a } = nS({
+function tne(e, t, n) {
+ let { node: r } = e, i = r.props.allowsSorting, { gridCellProps: a } = rS({
focusMode: "child",
...e
}, t, n), o = r.props.isSelectionCell && t.selectionManager.selectionMode === "single", { pressProps: s, isPressed: c } = om({
@@ -26357,7 +26357,7 @@ function nne(e, t, n) {
ref: n
}), { focusableProps: l } = cp({}, n), u, d = t.sortDescriptor?.column === r.key, f = t.sortDescriptor?.direction;
r.props.allowsSorting && !od() && (u = d ? f : "none");
- let p = xf(tne(tS), "@react-aria/table"), m;
+ let p = xf(ene(nS), "@react-aria/table"), m;
i && (m = `${p.format("sortable")}`, d && f && od() && (m = `${m}, ${p.format(f)}`));
let h = Ym(m), g = t.collection.size === 0;
return (0, R.useEffect)(() => {
@@ -26370,7 +26370,7 @@ function nne(e, t, n) {
columnHeaderProps: {
...J(l, a, s, h, g ? { tabIndex: -1 } : null),
role: "columnheader",
- id: Zte(t, r.key),
+ id: Xte(t, r.key),
"aria-colspan": r.colSpan && r.colSpan > 1 ? r.colSpan : void 0,
"aria-sort": u
},
@@ -26379,8 +26379,8 @@ function nne(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/grid/useGridRow.mjs
-function rne(e, t, n) {
- let { node: r, isVirtualized: i, shouldSelectOnPressUp: a, onAction: o } = e, { actions: s, shouldSelectOnPressUp: c } = gx.get(t), l = s.onRowAction ? () => s.onRowAction?.(r.key) : o, { itemProps: u, ...d } = v_({
+function nne(e, t, n) {
+ let { node: r, isVirtualized: i, shouldSelectOnPressUp: a, onAction: o } = e, { actions: s, shouldSelectOnPressUp: c } = _x.get(t), l = s.onRowAction ? () => s.onRowAction?.(r.key) : o, { itemProps: u, ...d } = c_({
selectionManager: t.selectionManager,
key: r.key,
ref: n,
@@ -26401,10 +26401,10 @@ function rne(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/table/useTableRow.mjs
-function ine(e) {
+function rne(e) {
return e && e.__esModule ? e.default : e;
}
-var iS = {
+var aS = {
expand: {
ltr: "ArrowRight",
rtl: "ArrowLeft"
@@ -26414,21 +26414,21 @@ var iS = {
rtl: "ArrowRight"
}
};
-function ane(e, t, n) {
- let { node: r, isVirtualized: i } = e, { rowProps: a, ...o } = rne(e, t, n), { direction: s } = sf();
+function ine(e, t, n) {
+ let { node: r, isVirtualized: i } = e, { rowProps: a, ...o } = nne(e, t, n), { direction: s } = sf();
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 = xf(ine(tS), "@react-aria/table"), u = Yd({
+ let c = t.treeColumn != null && (t.expandedKeys === "all" || t.expandedKeys.has(r.key)), l = xf(rne(nS), "@react-aria/table"), u = Yd({
"aria-label": c ? l.format("collapse") : l.format("expand"),
- "aria-labelledby": bx(t, r.key)
+ "aria-labelledby": xx(t, r.key)
}), d = {}, f = {};
if (t.treeColumn != null) {
let e = t.collection.getItem(r.key);
if (e != null) {
- let n = aS(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 = aS(t.collection, a);
+ let n = oS(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 = oS(t.collection, a);
for (; l && l.type !== "item" && l.prevKey != null;) l = t.collection.getItem(l.prevKey);
d = {
onKeyDown: (n) => {
- n.key === iS.expand[s] && t.selectionManager.focusedKey === e.key && i && t.expandedKeys !== "all" && !t.expandedKeys.has(e.key) ? (t.toggleKey(e.key), n.stopPropagation()) : n.key === iS.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 === aS.expand[s] && t.selectionManager.focusedKey === e.key && i && t.expandedKeys !== "all" && !t.expandedKeys.has(e.key) ? (t.toggleKey(e.key), n.stopPropagation()) : n.key === aS.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,
@@ -26450,46 +26450,46 @@ function ane(e, t, n) {
return {
rowProps: {
...J(a, d, m),
- "aria-labelledby": bx(t, r.key)
+ "aria-labelledby": xx(t, r.key)
},
expandButtonProps: f,
...o
};
}
-function aS(e, t) {
+function oS(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/table/useTableHeaderRow.mjs
-function one(e, t, n) {
+function ane(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/table/useTableCell.mjs
-function sne(e, t, n) {
- let { gridCellProps: r, isPressed: i } = nS(e, t, n), a = e.node.column?.key;
- return a != null && t.collection.rowHeaderColumnKeys.has(a) && (r.role = "rowheader", r.id = yx(t, e.node.parentKey, a)), {
+function one(e, t, n) {
+ let { gridCellProps: r, isPressed: i } = rS(e, t, n), a = e.node.column?.key;
+ return a != null && t.collection.rowHeaderColumnKeys.has(a) && (r.role = "rowheader", r.id = bx(t, e.node.parentKey, a)), {
gridCellProps: r,
isPressed: i
};
}
//#endregion
//#region node_modules/react-aria/dist/private/table/useTableSelectionCheckbox.mjs
-function cne(e) {
+function sne(e) {
return e && e.__esModule ? e.default : e;
}
-function lne(e, t) {
- let { key: n } = e, { checkboxProps: r } = pte(e, t);
+function cne(e, t) {
+ let { key: n } = e, { checkboxProps: r } = Hb(e, t);
return { checkboxProps: {
...r,
- "aria-labelledby": `${r.id} ${bx(t, n)}`
+ "aria-labelledby": `${r.id} ${xx(t, n)}`
} };
}
-function une(e) {
+function lne(e) {
let { isEmpty: t, isSelectAll: n, selectionMode: r } = e.selectionManager;
return { checkboxProps: {
- "aria-label": xf(cne(tS), "@react-aria/table").format(r === "single" ? "select" : "selectAll"),
+ "aria-label": xf(sne(nS), "@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,
@@ -26498,17 +26498,17 @@ function une(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/grid/useGridRowGroup.mjs
-function dne() {
+function une() {
return { rowGroupProps: { role: "rowgroup" } };
}
//#endregion
//#region node_modules/react-aria/dist/private/table/useTableRowGroup.mjs
-function oS() {
- return dne();
+function sS() {
+ return une();
}
//#endregion
//#region node_modules/react-aria-components/dist/private/Table.mjs
-var fne = class extends jf {
+var dne = class extends jf {
withExpandedKeys(e) {
let t = this.clone();
return t.expandedKeys = e, t.frozen = this.frozen, t.rows = Array.from(t.getRows()), t;
@@ -26523,7 +26523,7 @@ var fne = class extends jf {
}
get body() {
for (let e of this) if (e.type === "tablebody") return e;
- return new pS(-2);
+ return new mS(-2);
}
commit(e, t, n = !1) {
this.updateColumns(n), this.firstKey = e, this.lastKey = t, this.rows = [];
@@ -26549,7 +26549,7 @@ var fne = class extends jf {
for (let t of this.getChildren(e.key)) n(t);
};
for (let e of this.getChildren(this.head.key)) n(e);
- if (this.headerRows = mx(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 = hx(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;
@@ -26630,11 +26630,11 @@ var fne = class extends jf {
return r.join(" ");
}
constructor(...e) {
- super(...e), this.headerRows = [], this.columns = [], this.rows = [], this.rowHeaderColumnKeys = /* @__PURE__ */ new Set(), this.head = new uS(-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 dS(-1), this.columnsDirty = !0, this.expandedKeys = /* @__PURE__ */ new Set();
}
-}, pne = /*#__PURE__*/ (0, R.createContext)(null), mne = /*#__PURE__*/ (0, R.createContext)(null), sS = /*#__PURE__*/ (0, R.createContext)(null), cS = /*#__PURE__*/ (0, R.createContext)(null), hne = /*#__PURE__*/ (0, R.forwardRef)(function(e, t) {
- [e, t] = iu(e, t, mne);
- let n = M_(e), { selectionBehavior: r, selectionMode: i, disallowEmptySelection: a } = n, o = !!e.dragAndDropHooks?.useDraggableCollectionState, s = (0, R.useMemo)(() => ({
+}, fne = /*#__PURE__*/ (0, R.createContext)(null), pne = /*#__PURE__*/ (0, R.createContext)(null), cS = /*#__PURE__*/ (0, R.createContext)(null), lS = /*#__PURE__*/ (0, R.createContext)(null), mne = /*#__PURE__*/ (0, R.forwardRef)(function(e, t) {
+ [e, t] = iu(e, t, pne);
+ let n = C_(e), { selectionBehavior: r, selectionMode: i, disallowEmptySelection: a } = n, o = !!e.dragAndDropHooks?.useDraggableCollectionState, s = (0, R.useMemo)(() => ({
selectionBehavior: i === "none" ? null : r,
selectionMode: i,
disallowEmptySelection: a,
@@ -26644,17 +26644,17 @@ var fne = class extends jf {
i,
a,
o
- ]), c = /*#__PURE__*/ R.createElement(vne.Provider, { value: s }, /*#__PURE__*/ R.createElement(Ap, e));
+ ]), c = /*#__PURE__*/ R.createElement(_ne.Provider, { value: s }, /*#__PURE__*/ R.createElement(Ap, e));
return /*#__PURE__*/ R.createElement(vp, {
content: c,
- createCollection: () => new fne()
- }, (r) => /*#__PURE__*/ R.createElement(_ne, {
+ createCollection: () => new dne()
+ }, (r) => /*#__PURE__*/ R.createElement(gne, {
props: e,
forwardedRef: t,
selectionState: n,
collection: r
}));
-}), gne = /*#__PURE__*/ (0, R.forwardRef)(function(e, t) {
+}), hne = /*#__PURE__*/ (0, R.forwardRef)(function(e, t) {
let { isVirtualized: n } = (0, R.useContext)(Ip);
return n ? /*#__PURE__*/ R.createElement(lu.div, {
...e,
@@ -26663,7 +26663,7 @@ var fne = class extends jf {
...e,
ref: t
});
-}), lS = {
+}), uS = {
expand: {
ltr: "ArrowRight",
rtl: "ArrowLeft"
@@ -26673,26 +26673,26 @@ var fne = class extends jf {
rtl: "ArrowRight"
}
};
-function _ne({ props: e, forwardedRef: t, selectionState: n, collection: r }) {
+function gne({ props: e, forwardedRef: t, selectionState: n, collection: r }) {
[e, t] = iu(e, t, wf);
- let { shouldUseVirtualFocus: i, disallowTypeAhead: a, filter: o, ...s } = e, c = (0, R.useContext)(pne);
+ let { shouldUseVirtualFocus: i, disallowTypeAhead: a, filter: o, ...s } = e, c = (0, R.useContext)(fne);
t = $l((0, R.useMemo)(() => Yl(t, c?.tableRef), [t, c?.tableRef]));
let [l, u] = Cf(e.expandedKeys ? new Set(e.expandedKeys) : void 0, e.defaultExpandedKeys ? new Set(e.defaultExpandedKeys) : /* @__PURE__ */ new Set(), e.onExpandedChange);
r = (0, R.useMemo)(() => r.withExpandedKeys(l), [r, l]);
- let d = qte({
+ let d = Kte({
...s,
collection: r,
children: void 0,
UNSAFE_selectionState: n,
expandedKeys: l,
onExpandedChange: u
- }), f = Jte(d, o), { isVirtualized: p, layoutDelegate: m, dropTargetDelegate: h, CollectionRoot: g } = (0, R.useContext)(Ip), { dragAndDropHooks: _ } = e, { gridProps: v } = ene({
+ }), f = qte(d, o), { isVirtualized: p, layoutDelegate: m, dropTargetDelegate: h, CollectionRoot: g } = (0, R.useContext)(Ip), { dragAndDropHooks: _ } = e, { gridProps: v } = $te({
...s,
layoutDelegate: m,
isVirtualized: p
}, f, t), y = f.selectionManager, b = !!_?.useDraggableCollectionState, x = !!_?.useDroppableCollectionState;
(0, R.useRef)(b), (0, R.useRef)(x), (0, R.useEffect)(() => {}, [b, x]);
- let S, C, w, T = !1, E = null, D = (0, R.useRef)(null), { direction: O } = sf(), [k] = (0, R.useState)(() => new Hte());
+ let S, C, w, T = !1, E = null, D = (0, R.useRef)(null), { direction: O } = sf(), [k] = (0, R.useState)(() => new Vte());
if (b && _) {
S = _.useDraggableCollectionState({
collection: f.collection,
@@ -26707,7 +26707,7 @@ function _ne({ props: e, forwardedRef: t, selectionState: n, collection: r }) {
collection: f.collection,
selectionManager: y
});
- let e = new p_({
+ let e = new r_({
collection: f.collection,
disabledKeys: y.disabledKeys,
disabledBehavior: y.disabledBehavior,
@@ -26727,7 +26727,7 @@ function _ne({ props: e, forwardedRef: t, selectionState: n, collection: r }) {
let t = C?.target;
if (t && t.type === "item" && t.dropPosition === "on") {
let n = d.collection.getItem(t.key);
- (e.key === lS.expand[O] && n?.hasChildNodes && !d.expandedKeys.has(t.key) || e.key === lS.collapse[O] && n?.hasChildNodes && d.expandedKeys.has(t.key)) && d.toggleKey(t.key);
+ (e.key === uS.expand[O] && n?.hasChildNodes && !d.expandedKeys.has(t.key) || e.key === uS.collapse[O] && n?.hasChildNodes && d.expandedKeys.has(t.key)) && d.toggleKey(t.key);
}
}
}, C, t), T = C.isDropTarget({ type: "root" });
@@ -26750,17 +26750,17 @@ function _ne({ props: e, forwardedRef: t, selectionState: n, collection: r }) {
}));
let I = Wp(e, { global: !0 });
return /*#__PURE__*/ R.createElement(tu, { values: [
- [sS, f],
- [cS, F],
+ [cS, f],
+ [lS, F],
[yg, {
dragAndDropHooks: _,
dragState: S,
dropState: C
}],
- [bg, { render: One }],
+ [bg, { render: xS }],
[wf, null],
[Tf, null]
- ] }, /*#__PURE__*/ R.createElement(zg, null, /*#__PURE__*/ R.createElement(gne, {
+ ] }, /*#__PURE__*/ R.createElement(Ng, null, /*#__PURE__*/ R.createElement(hne, {
...J(I, N, v, A, w?.collectionProps),
style: ee,
ref: t,
@@ -26770,17 +26770,17 @@ function _ne({ props: e, forwardedRef: t, selectionState: n, collection: r }) {
"data-drop-target": T || void 0,
"data-focused": j || void 0,
"data-focus-visible": M || void 0
- }, /*#__PURE__*/ R.createElement(Eg, null, /*#__PURE__*/ R.createElement(g, {
+ }, /*#__PURE__*/ R.createElement(wg, null, /*#__PURE__*/ R.createElement(g, {
collection: f.collection,
scrollRef: c?.scrollRef ?? t,
- persistedKeys: Cg(y, _, C)
+ persistedKeys: Sg(y, _, C)
})))), E);
}
-var vne = /*#__PURE__*/ (0, R.createContext)(null), uS = class extends Ef {
+var _ne = /*#__PURE__*/ (0, R.createContext)(null), dS = class extends Ef {
static {
this.type = "tableheader";
}
-}, yne = /*#__PURE__*/ (0, R.forwardRef)(function(e, t) {
+}, vne = /*#__PURE__*/ (0, R.forwardRef)(function(e, t) {
let { isVirtualized: n } = (0, R.useContext)(Ip);
return n ? /*#__PURE__*/ R.createElement(lu.div, {
...e,
@@ -26789,16 +26789,16 @@ var vne = /*#__PURE__*/ (0, R.createContext)(null), uS = class extends Ef {
...e,
ref: t
});
-}), dS = /*#__PURE__*/ Dp(uS, (e, t) => {
- let n = (0, R.useContext)(sS).collection, r = If({
+}), fS = /*#__PURE__*/ Dp(dS, (e, t) => {
+ let n = (0, R.useContext)(cS).collection, r = If({
items: n.headerRows,
children: (0, R.useCallback)((e) => {
switch (e.type) {
- case "headerrow": return /*#__PURE__*/ R.createElement(xne, { item: e });
+ case "headerrow": return /*#__PURE__*/ R.createElement(bne, { item: e });
default: throw Error("Unsupported node type in TableHeader: " + e.type);
}
}, [])
- }), { rowGroupProps: i } = oS(), { hoverProps: a, isHovered: o } = xm({
+ }), { rowGroupProps: i } = sS(), { hoverProps: a, isHovered: o } = xm({
onHoverStart: e.onHoverStart,
onHoverChange: e.onHoverChange,
onHoverEnd: e.onHoverEnd
@@ -26808,7 +26808,7 @@ var vne = /*#__PURE__*/ (0, R.createContext)(null), uS = class extends Ef {
defaultClassName: "react-aria-TableHeader",
values: { isHovered: o }
});
- return /*#__PURE__*/ R.createElement(yne, {
+ return /*#__PURE__*/ R.createElement(vne, {
...J(Wp(e, { global: !0 }), i, a),
...s,
ref: t,
@@ -26817,7 +26817,7 @@ var vne = /*#__PURE__*/ (0, R.createContext)(null), uS = class extends Ef {
}, (e) => /*#__PURE__*/ R.createElement(Ap, {
dependencies: e.dependencies,
items: e.columns
-}, e.children)), bne = /*#__PURE__*/ (0, R.forwardRef)(function(e, t) {
+}, e.children)), yne = /*#__PURE__*/ (0, R.forwardRef)(function(e, t) {
let { isVirtualized: n } = (0, R.useContext)(Ip);
return n ? /*#__PURE__*/ R.createElement("div", {
...e,
@@ -26827,12 +26827,12 @@ var vne = /*#__PURE__*/ (0, R.createContext)(null), uS = class extends Ef {
ref: t
});
});
-function xne({ item: e }) {
- let t = (0, R.useRef)(null), n = (0, R.useContext)(sS), { isVirtualized: r, CollectionBranch: i } = (0, R.useContext)(Ip), { rowProps: a } = one({
+function bne({ item: e }) {
+ let t = (0, R.useRef)(null), n = (0, R.useContext)(cS), { isVirtualized: r, CollectionBranch: i } = (0, R.useContext)(Ip), { rowProps: a } = ane({
node: e,
isVirtualized: r
- }, n, t), { checkboxProps: o } = une(n);
- return /*#__PURE__*/ R.createElement(bne, {
+ }, n, t), { checkboxProps: o } = lne(n);
+ return /*#__PURE__*/ R.createElement(yne, {
...a,
ref: t
}, /*#__PURE__*/ R.createElement(tu, { values: [[Th, { slots: { selection: o } }], [Eh, { slots: { selection: o } }]] }, /*#__PURE__*/ R.createElement(i, {
@@ -26840,11 +26840,11 @@ function xne({ item: e }) {
parent: e
})));
}
-var Sne = class extends Ef {
+var xne = class extends Ef {
static {
this.type = "column";
}
-}, Cne = /*#__PURE__*/ (0, R.forwardRef)(function(e, t) {
+}, Sne = /*#__PURE__*/ (0, R.forwardRef)(function(e, t) {
let { isVirtualized: n } = (0, R.useContext)(Ip);
return n ? /*#__PURE__*/ R.createElement(lu.div, {
...e,
@@ -26853,13 +26853,13 @@ var Sne = class extends Ef {
...e,
ref: t
});
-}), fS = /*#__PURE__*/ Ep(Sne, (e, t, n) => {
- let r = $l(t), i = (0, R.useContext)(sS), { isVirtualized: a } = (0, R.useContext)(Ip), { columnHeaderProps: o, isPressed: s } = nne({
+}), pS = /*#__PURE__*/ Ep(xne, (e, t, n) => {
+ let r = $l(t), i = (0, R.useContext)(cS), { isVirtualized: a } = (0, R.useContext)(Ip), { columnHeaderProps: o, isPressed: s } = tne({
node: n,
isVirtualized: a,
focusMode: e.focusMode,
allowsArrowNavigation: e.allowsArrowNavigation
- }, i, r), { isFocused: c, isFocusVisible: l, focusProps: u } = hm(), d = (0, R.useContext)(cS), f = !1;
+ }, i, r), { isFocused: c, isFocusVisible: l, focusProps: u } = hm(), d = (0, R.useContext)(lS), f = !1;
d && (f = d.resizingColumn === n.key);
let { hoverProps: p, isHovered: m } = xm({ isDisabled: !e.allowsSorting }), h = nu({
...e,
@@ -26888,7 +26888,7 @@ var Sne = class extends Ef {
width: d.getColumnWidth(n.key)
});
let _ = Wp(e, { global: !0 });
- return delete _.id, /*#__PURE__*/ R.createElement(Cne, {
+ return delete _.id, /*#__PURE__*/ R.createElement(Sne, {
...J(_, o, u, p),
...h,
style: g,
@@ -26900,15 +26900,15 @@ var Sne = class extends Ef {
"data-resizing": f || void 0,
"data-allows-sorting": n.props.allowsSorting || void 0,
"data-sort-direction": i.sortDescriptor?.column === n.key ? i.sortDescriptor.direction : void 0
- }, /*#__PURE__*/ R.createElement(tu, { values: [[wne, {
+ }, /*#__PURE__*/ R.createElement(tu, { values: [[Cne, {
column: n,
triggerRef: r
}], [Ip, Np]] }, h.children));
-}), wne = /*#__PURE__*/ (0, R.createContext)(null), pS = class extends Df {
+}), Cne = /*#__PURE__*/ (0, R.createContext)(null), mS = class extends Df {
static {
this.type = "tablebody";
}
-}, Tne = /*#__PURE__*/ (0, R.forwardRef)(function(e, t) {
+}, wne = /*#__PURE__*/ (0, R.forwardRef)(function(e, t) {
let { isVirtualized: n } = (0, R.useContext)(Ip);
return n ? /*#__PURE__*/ R.createElement(lu.div, {
...e,
@@ -26917,8 +26917,8 @@ var Sne = class extends Ef {
...e,
ref: t
});
-}), mS = /*#__PURE__*/ Dp(pS, (e, t, n) => {
- let r = (0, R.useContext)(sS), { isVirtualized: i } = (0, R.useContext)(Ip), a = r.collection, { CollectionBranch: o } = (0, R.useContext)(Ip), { dragAndDropHooks: s, dropState: c } = (0, R.useContext)(yg), l = !!s?.useDroppableCollectionState && !c?.isDisabled, u = l && !!c && (c.isDropTarget({ type: "root" }) ?? !1), d = a.size === 0, f = {
+}), hS = /*#__PURE__*/ Dp(mS, (e, t, n) => {
+ let r = (0, R.useContext)(cS), { isVirtualized: i } = (0, R.useContext)(Ip), a = r.collection, { CollectionBranch: o } = (0, R.useContext)(Ip), { dragAndDropHooks: s, dropState: c } = (0, R.useContext)(yg), l = !!s?.useDroppableCollectionState && !c?.isDisabled, u = l && !!c && (c.isDropTarget({ type: "root" }) ?? !1), d = a.size === 0, f = {
isDropTarget: u,
isEmpty: d
}, p = nu({
@@ -26930,25 +26930,25 @@ var Sne = class extends Ef {
}), m, h = a.columnCount;
if (d && e.renderEmptyState && r) {
let t = {}, n = {}, r = {};
- i ? (n["aria-colspan"] = h, r = { display: "contents" }) : n.colSpan = h, m = /*#__PURE__*/ R.createElement(gS, {
+ i ? (n["aria-colspan"] = h, r = { display: "contents" }) : n.colSpan = h, m = /*#__PURE__*/ R.createElement(_S, {
role: "row",
...t,
style: r
- }, /*#__PURE__*/ R.createElement(vS, {
+ }, /*#__PURE__*/ R.createElement(yS, {
role: "rowheader",
...n,
style: r
}, e.renderEmptyState(f)));
}
- let { rowGroupProps: g } = oS(), _ = Wp(e, { global: !0 });
- return /*#__PURE__*/ R.createElement(Tne, {
+ let { rowGroupProps: g } = sS(), _ = Wp(e, { global: !0 });
+ return /*#__PURE__*/ R.createElement(wne, {
...J(_, p, g),
ref: t,
"data-empty": d || void 0
- }, l && /*#__PURE__*/ R.createElement(Nne, null), /*#__PURE__*/ R.createElement(o, {
+ }, l && /*#__PURE__*/ R.createElement(ES, null), /*#__PURE__*/ R.createElement(o, {
collection: a,
parent: n,
- renderDropIndicator: Sg(s, c)
+ renderDropIndicator: xg(s, c)
}), m);
});
(class extends Df {
@@ -26956,7 +26956,7 @@ var Sne = class extends Ef {
this.type = "tablefooter";
}
});
-var hS = /*#__PURE__*/ (0, R.createContext)({ isFocusVisibleWithinRow: !1 }), Ene = class extends Ef {
+var gS = /*#__PURE__*/ (0, R.createContext)({ isFocusVisibleWithinRow: !1 }), Tne = class extends Ef {
static {
this.type = "item";
}
@@ -26968,7 +26968,7 @@ var hS = /*#__PURE__*/ (0, R.createContext)({ isFocusVisibleWithinRow: !1 }), En
}
return null;
}
-}, gS = /*#__PURE__*/ (0, R.forwardRef)(function(e, t) {
+}, _S = /*#__PURE__*/ (0, R.forwardRef)(function(e, t) {
let { isVirtualized: n } = (0, R.useContext)(Ip);
return n ? /*#__PURE__*/ R.createElement(lu.div, {
...e,
@@ -26977,8 +26977,8 @@ var hS = /*#__PURE__*/ (0, R.createContext)({ isFocusVisibleWithinRow: !1 }), En
...e,
ref: t
});
-}), _S = /*#__PURE__*/ Dp(Ene, (e, t, n) => {
- let r = $l(t), i = (0, R.useContext)(sS), { dragAndDropHooks: a, dragState: o, dropState: s } = (0, R.useContext)(yg), { isVirtualized: c, CollectionBranch: l } = (0, R.useContext)(Ip), u = o && !(o.isDisabled || o.selectionManager.isDisabled(n.key)), { rowProps: d, expandButtonProps: f, ...p } = ane({
+}), vS = /*#__PURE__*/ Dp(Tne, (e, t, n) => {
+ let r = $l(t), i = (0, R.useContext)(cS), { dragAndDropHooks: a, dragState: o, dropState: s } = (0, R.useContext)(yg), { isVirtualized: c, CollectionBranch: l } = (0, R.useContext)(Ip), u = o && !(o.isDisabled || o.selectionManager.isDisabled(n.key)), { rowProps: d, expandButtonProps: f, ...p } = ine({
node: n,
shouldSelectOnPressUp: !!o,
isVirtualized: c
@@ -26987,7 +26987,7 @@ var hS = /*#__PURE__*/ (0, R.createContext)({ isFocusVisibleWithinRow: !1 }), En
onHoverStart: e.onHoverStart,
onHoverChange: e.onHoverChange,
onHoverEnd: e.onHoverEnd
- }), { checkboxProps: x } = lne({ key: n.key }, i), S;
+ }), { checkboxProps: x } = cne({ key: n.key }, i), S;
o && a && (S = a.useDraggableItem({
key: n.key,
hasDragButton: !0
@@ -27024,10 +27024,10 @@ var hS = /*#__PURE__*/ (0, R.createContext)({ isFocusVisibleWithinRow: !1 }), En
level: n.level + 1
}
}), N = Wp(e, { global: !0 });
- return delete N.id, delete N.onClick, /*#__PURE__*/ R.createElement(R.Fragment, null, C && !C.isHidden && /*#__PURE__*/ R.createElement(gS, {
+ return delete N.id, delete N.onClick, /*#__PURE__*/ R.createElement(R.Fragment, null, C && !C.isHidden && /*#__PURE__*/ R.createElement(_S, {
role: "row",
style: { height: 0 }
- }, /*#__PURE__*/ R.createElement(vS, {
+ }, /*#__PURE__*/ R.createElement(yS, {
role: "gridcell",
colSpan: i.collection.columnCount,
style: { padding: 0 }
@@ -27036,7 +27036,7 @@ var hS = /*#__PURE__*/ (0, R.createContext)({ isFocusVisibleWithinRow: !1 }), En
...T,
...C.dropIndicatorProps,
ref: w
- }))), /*#__PURE__*/ R.createElement(gS, {
+ }))), /*#__PURE__*/ R.createElement(_S, {
...J(N, M, d, g, y, S?.dragProps, v),
ref: r,
"data-disabled": p.isDisabled || void 0,
@@ -27070,8 +27070,8 @@ var hS = /*#__PURE__*/ (0, R.createContext)({ isFocusVisibleWithinRow: !1 }), En
style: { pointerEvents: "none" }
}
} }],
- [Dg, { isSelected: p.isSelected }],
- [hS, { isFocusVisibleWithinRow: _ }]
+ [Tg, { isSelected: p.isSelected }],
+ [gS, { isFocusVisibleWithinRow: _ }]
] }, /*#__PURE__*/ R.createElement(l, {
collection: i.collection,
parent: n
@@ -27084,11 +27084,11 @@ var hS = /*#__PURE__*/ (0, R.createContext)({ isFocusVisibleWithinRow: !1 }), En
items: e.columns,
idScope: e.id
}, e.children);
-}), Dne = class extends Ef {
+}), Ene = class extends Ef {
static {
this.type = "cell";
}
-}, vS = /*#__PURE__*/ (0, R.forwardRef)(function(e, t) {
+}, yS = /*#__PURE__*/ (0, R.forwardRef)(function(e, t) {
let { isVirtualized: n } = (0, R.useContext)(Ip);
return n ? /*#__PURE__*/ R.createElement(lu.div, {
...e,
@@ -27097,16 +27097,16 @@ var hS = /*#__PURE__*/ (0, R.createContext)({ isFocusVisibleWithinRow: !1 }), En
...e,
ref: t
});
-}), yS = /*#__PURE__*/ Ep(Dne, (e, t, n) => {
- let r = $l(t), i = (0, R.useContext)(sS), { dragState: a } = (0, R.useContext)(yg), { isVirtualized: o } = (0, R.useContext)(Ip);
+}), bS = /*#__PURE__*/ Ep(Ene, (e, t, n) => {
+ let r = $l(t), i = (0, R.useContext)(cS), { dragState: a } = (0, R.useContext)(yg), { isVirtualized: o } = (0, R.useContext)(Ip);
n.column = i.collection.columns[n.index];
- let { gridCellProps: s, isPressed: c } = sne({
+ let { gridCellProps: s, isPressed: c } = one({
node: n,
shouldSelectOnPressUp: !!a,
isVirtualized: o,
focusMode: e.focusMode,
allowsArrowNavigation: e.allowsArrowNavigation
- }, i, r), { isFocused: l, isFocusVisible: u, focusProps: d } = hm(), { hoverProps: f, isHovered: p } = xm({}), { isFocusVisibleWithinRow: m } = (0, R.useContext)(hS), h = n.parentKey != null && i.selectionManager.isSelected(n.parentKey), g = n.colIndex || n.index, _ = i.collection.getItem(n.parentKey), v = _.props.hasChildItems || i.collection.getItem(_.lastChildKey)?.type !== "cell", y = v && i.expandedKeys.has(n.parentKey), b = i.selectionManager.isDisabled(n.parentKey), x = nu({
+ }, i, r), { isFocused: l, isFocusVisible: u, focusProps: d } = hm(), { hoverProps: f, isHovered: p } = xm({}), { isFocusVisibleWithinRow: m } = (0, R.useContext)(gS), h = n.parentKey != null && i.selectionManager.isSelected(n.parentKey), g = n.colIndex || n.index, _ = i.collection.getItem(n.parentKey), v = _.props.hasChildItems || i.collection.getItem(_.lastChildKey)?.type !== "cell", y = v && i.expandedKeys.has(n.parentKey), b = i.selectionManager.isDisabled(n.parentKey), x = nu({
...e,
id: void 0,
defaultClassName: "react-aria-Cell",
@@ -27126,7 +27126,7 @@ var hS = /*#__PURE__*/ (0, R.createContext)({ isFocusVisibleWithinRow: !1 }), En
isTreeColumn: n.column.key === i.treeColumn
}
}), S = Wp(e, { global: !0 });
- return delete S.id, /*#__PURE__*/ R.createElement(vS, {
+ return delete S.id, /*#__PURE__*/ R.createElement(yS, {
...J(S, x, s, d, f),
ref: r,
"data-focused": l || void 0,
@@ -27142,12 +27142,12 @@ var hS = /*#__PURE__*/ (0, R.createContext)({ isFocusVisibleWithinRow: !1 }), En
"data-disabled": b || void 0
}, /*#__PURE__*/ R.createElement(Ip.Provider, { value: Np }, x.children));
});
-function One(e, t) {
+function xS(e, t) {
t = $l(t);
let { dragAndDropHooks: n, dropState: r } = (0, R.useContext)(yg), i = (0, R.useRef)(null), { dropIndicatorProps: a, isHidden: o, isDropTarget: s } = n.useDropIndicator(e, r, i);
if (o) return null;
let c = r && e.target.type === "item" ? (r.collection.getItem(e.target.key)?.level || 0) + 1 : 1;
- return /*#__PURE__*/ R.createElement(Mne, {
+ return /*#__PURE__*/ R.createElement(TS, {
...e,
dropIndicatorProps: a,
isDropTarget: s,
@@ -27156,7 +27156,7 @@ function One(e, t) {
ref: t
});
}
-var kne = /*#__PURE__*/ (0, R.forwardRef)(function(e, t) {
+var SS = /*#__PURE__*/ (0, R.forwardRef)(function(e, t) {
let { isVirtualized: n } = (0, R.useContext)(Ip);
return n ? /*#__PURE__*/ R.createElement(lu.div, {
...e,
@@ -27165,7 +27165,7 @@ var kne = /*#__PURE__*/ (0, R.forwardRef)(function(e, t) {
...e,
ref: t
});
-}), Ane = /*#__PURE__*/ (0, R.forwardRef)(function(e, t) {
+}), CS = /*#__PURE__*/ (0, R.forwardRef)(function(e, t) {
let { isVirtualized: n } = (0, R.useContext)(Ip);
return n ? /*#__PURE__*/ R.createElement(lu.div, {
...e,
@@ -27175,21 +27175,21 @@ var kne = /*#__PURE__*/ (0, R.forwardRef)(function(e, t) {
ref: t
});
});
-function jne(e, t) {
- let { dropIndicatorProps: n, isDropTarget: r, buttonRef: i, level: a, ...o } = e, s = (0, R.useContext)(sS), { visuallyHiddenProps: c } = Zm(), l = nu({
+function wS(e, t) {
+ let { dropIndicatorProps: n, isDropTarget: r, buttonRef: i, level: a, ...o } = e, s = (0, R.useContext)(cS), { visuallyHiddenProps: c } = Zm(), l = nu({
...o,
defaultClassName: "react-aria-DropIndicator",
defaultStyle: { "--table-row-level": a + 1 },
values: { isDropTarget: r }
});
- return /*#__PURE__*/ R.createElement(kne, {
+ return /*#__PURE__*/ R.createElement(SS, {
...Wp(e, { global: !0 }),
...l,
role: "row",
ref: t,
"data-drop-target": r || void 0,
"aria-level": a
- }, /*#__PURE__*/ R.createElement(Ane, {
+ }, /*#__PURE__*/ R.createElement(CS, {
role: "gridcell",
colSpan: s.collection.columnCount,
style: { padding: 0 }
@@ -27200,14 +27200,14 @@ function jne(e, t) {
ref: i
}), l.children));
}
-var Mne = /*#__PURE__*/ (0, R.forwardRef)(jne);
-function Nne() {
- let e = (0, R.useContext)(sS), { dragAndDropHooks: t, dropState: n } = (0, R.useContext)(yg), r = (0, R.useRef)(null), { dropIndicatorProps: i } = t.useDropIndicator({ target: { type: "root" } }, n, r), a = n.isDropTarget({ type: "root" }), { visuallyHiddenProps: o } = Zm();
- return !a && i["aria-hidden"] ? null : /*#__PURE__*/ R.createElement(gS, {
+var TS = /*#__PURE__*/ (0, R.forwardRef)(wS);
+function ES() {
+ let e = (0, R.useContext)(cS), { dragAndDropHooks: t, dropState: n } = (0, R.useContext)(yg), r = (0, R.useRef)(null), { dropIndicatorProps: i } = t.useDropIndicator({ target: { type: "root" } }, n, r), a = n.isDropTarget({ type: "root" }), { visuallyHiddenProps: o } = Zm();
+ return !a && i["aria-hidden"] ? null : /*#__PURE__*/ R.createElement(_S, {
role: "row",
"aria-hidden": i["aria-hidden"],
style: { height: 0 }
- }, /*#__PURE__*/ R.createElement(vS, {
+ }, /*#__PURE__*/ R.createElement(yS, {
role: "gridcell",
colSpan: e.collection.columnCount,
style: { padding: 0 }
@@ -27219,8 +27219,8 @@ function Nne() {
})));
}
Ep(Of, function(e, t, n) {
- let r = (0, R.useContext)(sS), { isVirtualized: i } = (0, R.useContext)(Ip), { isLoading: a, onLoadMore: o, scrollOffset: s, ...c } = e, l = r.collection.columns.length, u = (0, R.useRef)(null);
- B_((0, R.useMemo)(() => ({
+ let r = (0, R.useContext)(cS), { isVirtualized: i } = (0, R.useContext)(Ip), { isLoading: a, onLoadMore: o, scrollOffset: s, ...c } = e, l = r.collection.columns.length, u = (0, R.useRef)(null);
+ j_((0, R.useMemo)(() => ({
onLoadMore: o,
collection: r?.collection,
sentinelRef: u,
@@ -27238,10 +27238,10 @@ Ep(Of, function(e, t, n) {
defaultStyle: { "--table-row-level": n.level + 1 },
values: void 0
}), f = {}, p = {}, m = {};
- return i ? (p["aria-colspan"] = l, m = { display: "contents" }) : p.colSpan = l, /*#__PURE__*/ R.createElement(R.Fragment, null, /*#__PURE__*/ R.createElement(gS, {
+ return i ? (p["aria-colspan"] = l, m = { display: "contents" }) : p.colSpan = l, /*#__PURE__*/ R.createElement(R.Fragment, null, /*#__PURE__*/ R.createElement(_S, {
style: { height: 0 },
- inert: k_(!0)
- }, /*#__PURE__*/ R.createElement(vS, { style: {
+ inert: y_(!0)
+ }, /*#__PURE__*/ R.createElement(yS, { style: {
padding: 0,
border: 0
} }, /*#__PURE__*/ R.createElement("div", {
@@ -27252,14 +27252,14 @@ Ep(Of, function(e, t, n) {
height: 1,
width: 1
}
- }))), a && d.children && /*#__PURE__*/ R.createElement(gS, {
+ }))), a && d.children && /*#__PURE__*/ R.createElement(_S, {
...J(Wp(e, { global: !0 }), f),
...d,
role: "row",
ref: t,
"aria-level": n.level + 1,
"data-level": n.level + 1
- }, /*#__PURE__*/ R.createElement(vS, {
+ }, /*#__PURE__*/ R.createElement(yS, {
role: "rowheader",
...p,
style: m
@@ -27267,21 +27267,21 @@ Ep(Of, function(e, t, n) {
});
//#endregion
//#region node_modules/react-aria/dist/private/tabs/utils.mjs
-var bS = /* @__PURE__ */ new WeakMap();
-function xS(e, t, n) {
- return e ? (typeof t == "string" && (t = t.replace(/\s+/g, "")), `${bS.get(e)}-${n}-${t}`) : "";
+var DS = /* @__PURE__ */ new WeakMap();
+function OS(e, t, n) {
+ return e ? (typeof t == "string" && (t = t.replace(/\s+/g, "")), `${DS.get(e)}-${n}-${t}`) : "";
}
//#endregion
//#region node_modules/react-aria/dist/private/tabs/useTab.mjs
-function SS(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 } = v_({
+function kS(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 } = c_({
selectionManager: o,
key: r,
ref: n,
isDisabled: l,
shouldSelectOnPressUp: a ?? u?.props.href != null,
linkBehavior: "selection"
- }), p = xS(t, r, "tab"), m = xS(t, r, "tabpanel"), { tabIndex: h } = d, g = Wp(u?.props, { labelable: !0 });
+ }), p = OS(t, r, "tab"), m = OS(t, r, "tabpanel"), { tabIndex: h } = d, g = Wp(u?.props, { labelable: !0 });
delete g.id;
let _ = _d(u?.props), { focusableProps: v } = cp({
...u?.props,
@@ -27303,12 +27303,12 @@ function SS(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/tabs/useTabPanel.mjs
-function CS(e, t, n) {
- let r = qb(n) ? void 0 : 0, i = xS(t, e.id ?? t?.selectedKey, "tabpanel");
+function AS(e, t, n) {
+ let r = Rb(n) ? void 0 : 0, i = OS(t, e.id ?? t?.selectedKey, "tabpanel");
return { tabPanelProps: J(Yd({
...e,
id: i,
- "aria-labelledby": xS(t, t?.selectedKey, "tab")
+ "aria-labelledby": OS(t, t?.selectedKey, "tab")
}), {
tabIndex: r,
role: "tabpanel",
@@ -27318,7 +27318,7 @@ function CS(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/tabs/TabsKeyboardDelegate.mjs
-var wS = class {
+var jS = class {
constructor(e, t, n, r = /* @__PURE__ */ new Set()) {
this.collection = e, this.flipDirection = t === "rtl", this.disabledKeys = r, this.tabDirection = n === "horizontal";
}
@@ -27362,11 +27362,11 @@ var wS = class {
};
//#endregion
//#region node_modules/react-aria/dist/private/tabs/useTabList.mjs
-function TS(e, t, n) {
- let { orientation: r = "horizontal", keyboardActivation: i = "automatic" } = e, { collection: a, selectionManager: o, disabledKeys: s } = t, { direction: c } = sf(), { collectionProps: l } = d_({
+function MS(e, t, n) {
+ let { orientation: r = "horizontal", keyboardActivation: i = "automatic" } = e, { collection: a, selectionManager: o, disabledKeys: s } = t, { direction: c } = sf(), { collectionProps: l } = t_({
ref: n,
selectionManager: o,
- keyboardDelegate: (0, R.useMemo)(() => new wS(a, c, r, s), [
+ keyboardDelegate: (0, R.useMemo)(() => new jS(a, c, r, s), [
a,
s,
r,
@@ -27377,7 +27377,7 @@ function TS(e, t, n) {
scrollRef: n,
linkBehavior: "selection"
}), u = Kl();
- return bS.set(t, u), { tabListProps: {
+ return DS.set(t, u), { tabListProps: {
...J(l, Yd({
...e,
id: u
@@ -27389,8 +27389,8 @@ function TS(e, t, n) {
}
//#endregion
//#region node_modules/react-stately/dist/private/list/useSingleSelectListState.mjs
-function ES(e) {
- let [t, n] = Cf(e.selectedKey, e.defaultSelectedKey ?? null, e.onSelectionChange), r = (0, R.useMemo)(() => t == null ? [] : [t], [t]), { collection: i, disabledKeys: a, selectionManager: o } = R_({
+function NS(e) {
+ let [t, n] = Cf(e.selectedKey, e.defaultSelectedKey ?? null, e.onSelectionChange), r = (0, R.useMemo)(() => t == null ? [] : [t], [t]), { collection: i, disabledKeys: a, selectionManager: o } = k_({
...e,
selectionMode: "single",
disallowEmptySelection: !0,
@@ -27413,24 +27413,24 @@ function ES(e) {
}
//#endregion
//#region node_modules/react-stately/dist/private/tabs/useTabListState.mjs
-function DS(e) {
- let t = ES({
+function PS(e) {
+ let t = NS({
...e,
onSelectionChange: e.onSelectionChange ? (t) => {
t != null && e.onSelectionChange?.(t);
} : void 0,
suppressTextValueWarning: !0,
- defaultSelectedKey: e.defaultSelectedKey ?? OS(e.collection, e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set()) ?? void 0
+ defaultSelectedKey: e.defaultSelectedKey ?? FS(e.collection, e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set()) ?? void 0
}), { selectionManager: n, collection: r, selectedKey: i } = t, a = (0, R.useRef)(i);
return (0, R.useEffect)(() => {
let o = i;
- e.selectedKey == null && (n.isEmpty || o == null || !r.getItem(o)) && (o = OS(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 = FS(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 OS(e, t) {
+function FS(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);
@@ -27440,20 +27440,20 @@ function OS(e, t) {
}
//#endregion
//#region node_modules/react-aria-components/dist/private/Tabs.mjs
-var kS = /*#__PURE__*/ (0, R.createContext)(null), AS = /*#__PURE__*/ (0, R.createContext)(null), jS = /*#__PURE__*/ (0, R.forwardRef)(function(e, t) {
- [e, t] = iu(e, t, kS);
+var IS = /*#__PURE__*/ (0, R.createContext)(null), LS = /*#__PURE__*/ (0, R.createContext)(null), RS = /*#__PURE__*/ (0, R.forwardRef)(function(e, t) {
+ [e, t] = iu(e, t, IS);
let { children: n, orientation: r = "horizontal" } = e;
return n = (0, R.useMemo)(() => typeof n == "function" ? n({
orientation: r,
defaultChildren: null
- }) : n, [n, r]), /*#__PURE__*/ R.createElement(vp, { content: n }, (n) => /*#__PURE__*/ R.createElement(MS, {
+ }) : n, [n, r]), /*#__PURE__*/ R.createElement(vp, { content: n }, (n) => /*#__PURE__*/ R.createElement(zS, {
props: e,
collection: n,
tabsRef: t
}));
});
-function MS({ props: e, tabsRef: t, collection: n }) {
- let { orientation: r = "horizontal" } = e, i = DS({
+function zS({ props: e, tabsRef: t, collection: n }) {
+ let { orientation: r = "horizontal" } = e, i = PS({
...e,
collection: n,
children: void 0
@@ -27478,16 +27478,16 @@ function MS({ props: e, tabsRef: t, collection: n }) {
"data-orientation": r,
"data-focus-visible": s || void 0,
"data-disabled": i.isDisabled || void 0
- }, /*#__PURE__*/ R.createElement(tu, { values: [[kS, e], [AS, i]] }, l.children));
+ }, /*#__PURE__*/ R.createElement(tu, { values: [[IS, e], [LS, i]] }, l.children));
}
-var NS = /*#__PURE__*/ (0, R.forwardRef)(function(e, t) {
- return (0, R.useContext)(AS) ? /*#__PURE__*/ R.createElement(PS, {
+var BS = /*#__PURE__*/ (0, R.forwardRef)(function(e, t) {
+ return (0, R.useContext)(LS) ? /*#__PURE__*/ R.createElement(VS, {
props: e,
forwardedRef: t
}) : /*#__PURE__*/ R.createElement(Ap, e);
});
-function PS({ props: e, forwardedRef: t }) {
- let n = (0, R.useContext)(AS), { CollectionRoot: r } = (0, R.useContext)(Ip), { orientation: i = "horizontal", keyboardActivation: a = "automatic" } = ru(kS), o = $l(t), { tabListProps: s } = TS({
+function VS({ props: e, forwardedRef: t }) {
+ let n = (0, R.useContext)(LS), { CollectionRoot: r } = (0, R.useContext)(Ip), { orientation: i = "horizontal", keyboardActivation: a = "automatic" } = ru(IS), o = $l(t), { tabListProps: s } = MS({
...e,
orientation: i,
keyboardActivation: a
@@ -27504,17 +27504,17 @@ function PS({ props: e, forwardedRef: t }) {
...J(l, c, s),
ref: o,
"data-orientation": i || void 0
- }, /*#__PURE__*/ R.createElement(Eg, null, /*#__PURE__*/ R.createElement(r, {
+ }, /*#__PURE__*/ R.createElement(wg, null, /*#__PURE__*/ R.createElement(r, {
collection: n.collection,
persistedKeys: Lp(n.selectionManager.focusedKey)
})));
}
-var FS = /*#__PURE__*/ Ep(class extends Ef {
+var HS = /*#__PURE__*/ Ep(class extends Ef {
static {
this.type = "item";
}
}, (e, t, n) => {
- let r = (0, R.useContext)(AS), i = $l(t), { tabProps: a, isSelected: o, isDisabled: s, isPressed: c } = SS({
+ let r = (0, R.useContext)(LS), i = $l(t), { tabProps: a, isSelected: o, isDisabled: s, isPressed: c } = kS({
key: n.key,
...e
}, r, i), { focusProps: l, isFocused: u, isFocusVisible: d } = hm(), { hoverProps: f, isHovered: p } = xm({
@@ -27545,26 +27545,26 @@ var FS = /*#__PURE__*/ Ep(class extends Ef {
"data-focus-visible": d || void 0,
"data-pressed": c || void 0,
"data-hovered": p || void 0
- }, /*#__PURE__*/ R.createElement(Dg.Provider, { value: { isSelected: o } }, m.children));
-}), IS = /*#__PURE__*/ dp(function(e, t) {
- let n = (0, R.useContext)(AS), r = $l(t), i = n.selectedKey === e.id, [a, o] = (0, R.useState)(n.selectedKey == null ? null : i);
+ }, /*#__PURE__*/ R.createElement(Tg.Provider, { value: { isSelected: o } }, m.children));
+}), US = /*#__PURE__*/ dp(function(e, t) {
+ let n = (0, R.useContext)(LS), r = $l(t), i = n.selectedKey === e.id, [a, o] = (0, R.useState)(n.selectedKey == null ? null : i);
a == null && n.selectedKey != null ? o(i) : !i && a && o(!1);
- let s = fy(r, i);
- return !i && !e.shouldForceMount && !s ? null : /*#__PURE__*/ R.createElement(LS, {
+ let s = ry(r, i);
+ return !i && !e.shouldForceMount && !s ? null : /*#__PURE__*/ R.createElement(WS, {
...e,
tabPanelRef: r,
isInitiallySelected: a || !1,
isExiting: s
});
});
-function LS(e) {
- let t = (0, R.useContext)(AS), { id: n, tabPanelRef: r, isInitiallySelected: i, isExiting: a, ...o } = e, { tabPanelProps: s } = CS(e, t, r), { focusProps: c, isFocused: l, isFocusVisible: u } = hm(), d = t.selectedKey === e.id, f = dy(r) && !i, p = nu({
+function WS(e) {
+ let t = (0, R.useContext)(LS), { id: n, tabPanelRef: r, isInitiallySelected: i, isExiting: a, ...o } = e, { tabPanelProps: s } = AS(e, t, r), { focusProps: c, isFocused: l, isFocusVisible: u } = hm(), d = t.selectedKey === e.id, f = ny(r) && !i, p = nu({
...e,
defaultClassName: "react-aria-TabPanel",
values: {
isFocused: l,
isFocusVisible: u,
- isInert: k_(!d),
+ isInert: y_(!d),
isEntering: f,
isExiting: a,
state: t
@@ -27577,16 +27577,16 @@ function LS(e) {
ref: r,
"data-focused": l || void 0,
"data-focus-visible": u || void 0,
- inert: k_(!d || e.inert),
+ inert: y_(!d || e.inert),
"data-inert": d ? void 0 : "true",
"data-entering": f || void 0,
"data-exiting": a || void 0
- }, /*#__PURE__*/ R.createElement(tu, { values: [[kS, null], [AS, null]] }, /*#__PURE__*/ R.createElement(Ip.Provider, { value: Np }, p.children)));
+ }, /*#__PURE__*/ R.createElement(tu, { values: [[IS, null], [LS, null]] }, /*#__PURE__*/ R.createElement(Ip.Provider, { value: Np }, p.children)));
}
//#endregion
//#region node_modules/react-aria-components/dist/private/TextArea.mjs
-var RS = /*#__PURE__*/ (0, R.createContext)({}), zS = /*#__PURE__*/ (0, R.createContext)(null), BS = /*#__PURE__*/ dp(function(e, t) {
- [e, t] = iu(e, t, zS);
+var GS = /*#__PURE__*/ (0, R.createContext)({}), KS = /*#__PURE__*/ (0, R.createContext)(null), qS = /*#__PURE__*/ dp(function(e, t) {
+ [e, t] = iu(e, t, KS);
let { validationBehavior: n } = ru(dh) || {}, r = e.validationBehavior ?? n ?? "native", i = (0, R.useRef)(null);
[e, i] = iu(e, i, Tf);
let [a, o] = au(!e["aria-label"] && !e["aria-labelledby"]), [s, c] = (0, R.useState)("input"), { labelProps: l, inputProps: u, descriptionProps: d, errorMessageProps: f, ...p } = Lh({
@@ -27624,7 +27624,7 @@ var RS = /*#__PURE__*/ (0, R.createContext)({}), zS = /*#__PURE__*/ (0, R.create
...u,
ref: m
}],
- [RS, {
+ [GS, {
...u,
ref: m
}],
@@ -27642,34 +27642,34 @@ var RS = /*#__PURE__*/ (0, R.createContext)({}), zS = /*#__PURE__*/ (0, R.create
});
//#endregion
//#region node_modules/motion-utils/dist/es/array.mjs
-function VS(e, t) {
+function JS(e, t) {
e.indexOf(t) === -1 && e.push(t);
}
-function HS(e, t) {
+function YS(e, t) {
let n = e.indexOf(t);
n > -1 && e.splice(n, 1);
}
//#endregion
//#region node_modules/motion-utils/dist/es/clamp.mjs
-var US = (e, t, n) => n > t ? t : n < e ? e : n, WS = {}, GS = (e) => /^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e), KS = (e) => typeof e == "object" && !!e, qS = (e) => /^0[^.\s]+$/u.test(e);
+var XS = (e, t, n) => n > t ? t : n < e ? e : n, ZS = {}, QS = (e) => /^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e), $S = (e) => typeof e == "object" && !!e, eC = (e) => /^0[^.\s]+$/u.test(e);
//#endregion
//#region node_modules/motion-utils/dist/es/memo.mjs
/*#__NO_SIDE_EFFECTS__*/
-function JS(e) {
+function tC(e) {
let t;
return () => (t === void 0 && (t = e()), t);
}
//#endregion
//#region node_modules/motion-utils/dist/es/noop.mjs
-var YS = /* @__NO_SIDE_EFFECTS__ */ (e) => e, XS = (...e) => e.reduce((e, t) => (n) => t(e(n))), ZS = /* @__NO_SIDE_EFFECTS__ */ (e, t, n) => {
+var nC = /* @__NO_SIDE_EFFECTS__ */ (e) => e, rC = (...e) => e.reduce((e, t) => (n) => t(e(n))), iC = /* @__NO_SIDE_EFFECTS__ */ (e, t, n) => {
let r = t - e;
return r ? (n - e) / r : 1;
-}, QS = class {
+}, aC = class {
constructor() {
this.subscriptions = [];
}
add(e) {
- return VS(this.subscriptions, e), () => HS(this.subscriptions, e);
+ return JS(this.subscriptions, e), () => YS(this.subscriptions, e);
}
notify(e, t, n) {
let r = this.subscriptions.length;
@@ -27687,41 +27687,41 @@ var YS = /* @__NO_SIDE_EFFECTS__ */ (e) => e, XS = (...e) => e.reduce((e, t) =>
clear() {
this.subscriptions.length = 0;
}
-}, $S = /* @__NO_SIDE_EFFECTS__ */ (e) => e * 1e3, eC = /* @__NO_SIDE_EFFECTS__ */ (e) => e / 1e3, tC = /* @__NO_SIDE_EFFECTS__ */ (e, t) => t ? 1e3 / t * e : 0, nC = (e, t, n) => (((1 - 3 * n + 3 * t) * e + (3 * n - 6 * t)) * e + 3 * t) * e, rC = 1e-7, iC = 12;
-function aC(e, t, n, r, i) {
+}, oC = /* @__NO_SIDE_EFFECTS__ */ (e) => e * 1e3, sC = /* @__NO_SIDE_EFFECTS__ */ (e) => e / 1e3, cC = /* @__NO_SIDE_EFFECTS__ */ (e, t) => t ? 1e3 / t * e : 0, lC = (e, t, n) => (((1 - 3 * n + 3 * t) * e + (3 * n - 6 * t)) * e + 3 * t) * e, Dne = 1e-7, One = 12;
+function kne(e, t, n, r, i) {
let a, o, s = 0;
do
- o = t + (n - t) / 2, a = nC(o, r, i) - e, a > 0 ? n = o : t = o;
- while (Math.abs(a) > rC && ++s < iC);
+ o = t + (n - t) / 2, a = lC(o, r, i) - e, a > 0 ? n = o : t = o;
+ while (Math.abs(a) > Dne && ++s < One);
return o;
}
/*#__NO_SIDE_EFFECTS__*/
-function oC(e, t, n, r) {
- if (e === t && n === r) return YS;
- let i = (t) => aC(t, 0, 1, e, n);
- return (e) => e === 0 || e === 1 ? e : nC(i(e), t, r);
+function uC(e, t, n, r) {
+ if (e === t && n === r) return nC;
+ let i = (t) => kne(t, 0, 1, e, n);
+ return (e) => e === 0 || e === 1 ? e : lC(i(e), t, r);
}
//#endregion
//#region node_modules/motion-utils/dist/es/easing/modifiers/mirror.mjs
-var sC = /* @__NO_SIDE_EFFECTS__ */ (e) => (t) => t <= .5 ? e(2 * t) / 2 : (2 - e(2 * (1 - t))) / 2, cC = /* @__NO_SIDE_EFFECTS__ */ (e) => (t) => 1 - e(1 - t), lC = /*@__PURE__*/ oC(.33, 1.53, .69, .99), uC = /*@__PURE__*/ cC(lC), dC = /*@__PURE__*/ sC(uC), fC = (e) => e >= 1 ? 1 : (e *= 2) < 1 ? .5 * uC(e) : .5 * (2 - 2 ** (-10 * (e - 1))), pC = (e) => 1 - Math.sin(Math.acos(e)), mC = /* @__PURE__ */ cC(pC), hC = /* @__PURE__ */ sC(pC), gC = /*@__PURE__*/ oC(.42, 0, 1, 1), _C = /*@__PURE__*/ oC(0, 0, .58, 1), vC = /*@__PURE__*/ oC(.42, 0, .58, 1), yC = /* @__NO_SIDE_EFFECTS__ */ (e) => Array.isArray(e) && typeof e[0] != "number", bC = /* @__NO_SIDE_EFFECTS__ */ (e) => Array.isArray(e) && typeof e[0] == "number", xC = {
- linear: YS,
- easeIn: gC,
- easeInOut: vC,
- easeOut: _C,
- circIn: pC,
- circInOut: hC,
- circOut: mC,
- backIn: uC,
- backInOut: dC,
- backOut: lC,
- anticipate: fC
-}, SC = (e) => typeof e == "string", CC = (e) => {
- if (/* @__PURE__ */ bC(e)) {
+var dC = /* @__NO_SIDE_EFFECTS__ */ (e) => (t) => t <= .5 ? e(2 * t) / 2 : (2 - e(2 * (1 - t))) / 2, fC = /* @__NO_SIDE_EFFECTS__ */ (e) => (t) => 1 - e(1 - t), pC = /*@__PURE__*/ uC(.33, 1.53, .69, .99), mC = /*@__PURE__*/ fC(pC), hC = /*@__PURE__*/ dC(mC), gC = (e) => e >= 1 ? 1 : (e *= 2) < 1 ? .5 * mC(e) : .5 * (2 - 2 ** (-10 * (e - 1))), _C = (e) => 1 - Math.sin(Math.acos(e)), vC = /* @__PURE__ */ fC(_C), yC = /* @__PURE__ */ dC(_C), Ane = /*@__PURE__*/ uC(.42, 0, 1, 1), jne = /*@__PURE__*/ uC(0, 0, .58, 1), bC = /*@__PURE__*/ uC(.42, 0, .58, 1), Mne = /* @__NO_SIDE_EFFECTS__ */ (e) => Array.isArray(e) && typeof e[0] != "number", xC = /* @__NO_SIDE_EFFECTS__ */ (e) => Array.isArray(e) && typeof e[0] == "number", SC = {
+ linear: nC,
+ easeIn: Ane,
+ easeInOut: bC,
+ easeOut: jne,
+ circIn: _C,
+ circInOut: yC,
+ circOut: vC,
+ backIn: mC,
+ backInOut: hC,
+ backOut: pC,
+ anticipate: gC
+}, Nne = (e) => typeof e == "string", CC = (e) => {
+ if (/* @__PURE__ */ xC(e)) {
e.length;
let [t, n, r, i] = e;
- return /* @__PURE__ */ oC(t, n, r, i);
+ return /* @__PURE__ */ uC(t, n, r, i);
}
- return SC(e) ? (xC[e], `${e}`, xC[e]) : e;
+ return Nne(e) ? (SC[e], `${e}`, SC[e]) : e;
}, wC = [
"setup",
"read",
@@ -27734,7 +27734,7 @@ var sC = /* @__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 TC(e) {
+function Pne(e) {
let t = /* @__PURE__ */ new Set(), n = /* @__PURE__ */ new Set(), r = !1, i = !1, a = /* @__PURE__ */ new WeakSet(), o = {
delta: 0,
timestamp: 0,
@@ -27765,15 +27765,15 @@ function TC(e) {
}
//#endregion
//#region node_modules/motion-dom/dist/es/frameloop/batcher.mjs
-var EC = 40;
-function DC(e, t) {
+var Fne = 40;
+function TC(e, t) {
let n = !1, r = !0, i = {
delta: 0,
timestamp: 0,
isProcessing: !1
- }, a = () => n = !0, o = wC.reduce((e, t) => (e[t] = TC(a), e), {}), { setup: s, read: c, resolveKeyframes: l, preUpdate: u, update: d, preRender: f, render: p, postRender: m } = o, h = () => {
- let a = WS.useManualTiming, o = a ? i.timestamp : performance.now();
- n = !1, a || (i.delta = r ? 1e3 / 60 : Math.max(Math.min(o - i.timestamp, EC), 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 = wC.reduce((e, t) => (e[t] = Pne(a), e), {}), { setup: s, read: c, resolveKeyframes: l, preUpdate: u, update: d, preRender: f, render: p, postRender: m } = o, h = () => {
+ let a = ZS.useManualTiming, o = a ? i.timestamp : performance.now();
+ n = !1, a || (i.delta = r ? 1e3 / 60 : Math.max(Math.min(o - i.timestamp, Fne), 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);
};
@@ -27791,59 +27791,59 @@ function DC(e, t) {
}
//#endregion
//#region node_modules/motion-dom/dist/es/frameloop/frame.mjs
-var { schedule: OC, cancel: kC, state: AC, steps: jC } = /* @__PURE__ */ DC(typeof requestAnimationFrame < "u" ? requestAnimationFrame : YS, !0), MC;
-function NC() {
- MC = void 0;
+var { schedule: EC, cancel: DC, state: OC, steps: kC } = /* @__PURE__ */ TC(typeof requestAnimationFrame < "u" ? requestAnimationFrame : nC, !0), AC;
+function Ine() {
+ AC = void 0;
}
-var PC = {
- now: () => (MC === void 0 && PC.set(AC.isProcessing || WS.useManualTiming ? AC.timestamp : performance.now()), MC),
+var jC = {
+ now: () => (AC === void 0 && jC.set(OC.isProcessing || ZS.useManualTiming ? OC.timestamp : performance.now()), AC),
set: (e) => {
- MC = e, queueMicrotask(NC);
+ AC = e, queueMicrotask(Ine);
}
-}, FC = (e) => (t) => typeof t == "string" && t.startsWith(e), IC = /*@__PURE__*/ FC("--"), LC = /*@__PURE__*/ FC("var(--"), RC = (e) => LC(e) ? zC.test(e.split("/*")[0].trim()) : !1, zC = /var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;
-function BC(e) {
+}, MC = (e) => (t) => typeof t == "string" && t.startsWith(e), NC = /*@__PURE__*/ MC("--"), Lne = /*@__PURE__*/ MC("var(--"), PC = (e) => Lne(e) ? Rne.test(e.split("/*")[0].trim()) : !1, Rne = /var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;
+function FC(e) {
return typeof e == "string" && e.split("/*")[0].includes("var(--");
}
//#endregion
//#region node_modules/motion-dom/dist/es/value/types/numbers/index.mjs
-var VC = {
+var IC = {
test: (e) => typeof e == "number",
parse: parseFloat,
transform: (e) => e
-}, HC = {
- ...VC,
- transform: (e) => US(0, 1, e)
-}, UC = {
- ...VC,
+}, LC = {
+ ...IC,
+ transform: (e) => XS(0, 1, e)
+}, RC = {
+ ...IC,
default: 1
-}, WC = (e) => Math.round(e * 1e5) / 1e5, GC = /-?(?:\d+(?:\.\d+)?|\.\d+)/gu;
+}, zC = (e) => Math.round(e * 1e5) / 1e5, BC = /-?(?:\d+(?:\.\d+)?|\.\d+)/gu;
//#endregion
//#region node_modules/motion-dom/dist/es/value/types/utils/is-nullish.mjs
-function KC(e) {
+function zne(e) {
return e == null;
}
//#endregion
//#region node_modules/motion-dom/dist/es/value/types/utils/single-color-regex.mjs
-var qC = /^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu, JC = (e, t) => (n) => !!(typeof n == "string" && qC.test(n) && n.startsWith(e) || t && !KC(n) && Object.prototype.hasOwnProperty.call(n, t)), YC = (e, t, n) => (r) => {
+var Bne = /^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu, VC = (e, t) => (n) => !!(typeof n == "string" && Bne.test(n) && n.startsWith(e) || t && !zne(n) && Object.prototype.hasOwnProperty.call(n, t)), HC = (e, t, n) => (r) => {
if (typeof r != "string") return r;
- let [i, a, o, s] = r.match(GC);
+ let [i, a, o, s] = r.match(BC);
return {
[e]: parseFloat(i),
[t]: parseFloat(a),
[n]: parseFloat(o),
alpha: s === void 0 ? 1 : parseFloat(s)
};
-}, Pne = (e) => US(0, 255, e), XC = {
- ...VC,
- transform: (e) => Math.round(Pne(e))
-}, ZC = {
- test: /*@__PURE__*/ JC("rgb", "red"),
- parse: /*@__PURE__*/ YC("red", "green", "blue"),
- transform: ({ red: e, green: t, blue: n, alpha: r = 1 }) => "rgba(" + XC.transform(e) + ", " + XC.transform(t) + ", " + XC.transform(n) + ", " + WC(HC.transform(r)) + ")"
+}, Vne = (e) => XS(0, 255, e), UC = {
+ ...IC,
+ transform: (e) => Math.round(Vne(e))
+}, WC = {
+ test: /*@__PURE__*/ VC("rgb", "red"),
+ parse: /*@__PURE__*/ HC("red", "green", "blue"),
+ transform: ({ red: e, green: t, blue: n, alpha: r = 1 }) => "rgba(" + UC.transform(e) + ", " + UC.transform(t) + ", " + UC.transform(n) + ", " + zC(LC.transform(r)) + ")"
};
//#endregion
//#region node_modules/motion-dom/dist/es/value/types/color/hex.mjs
-function Fne(e) {
+function Hne(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),
@@ -27852,38 +27852,38 @@ function Fne(e) {
alpha: i ? parseInt(i, 16) / 255 : 1
};
}
-var QC = {
- test: /*@__PURE__*/ JC("#"),
- parse: Fne,
- transform: ZC.transform
-}, $C = /* @__NO_SIDE_EFFECTS__ */ (e) => ({
+var GC = {
+ test: /*@__PURE__*/ VC("#"),
+ parse: Hne,
+ transform: WC.transform
+}, KC = /* @__NO_SIDE_EFFECTS__ */ (e) => ({
test: (t) => typeof t == "string" && t.endsWith(e) && t.split(" ").length === 1,
parse: parseFloat,
transform: (t) => `${t}${e}`
-}), ew = /*@__PURE__*/ $C("deg"), tw = /*@__PURE__*/ $C("%"), X = /*@__PURE__*/ $C("px"), Ine = /*@__PURE__*/ $C("vh"), Lne = /*@__PURE__*/ $C("vw"), nw = {
- ...tw,
- parse: (e) => tw.parse(e) / 100,
- transform: (e) => tw.transform(e * 100)
-}, rw = {
- test: /*@__PURE__*/ JC("hsl", "hue"),
- parse: /*@__PURE__*/ YC("hue", "saturation", "lightness"),
- transform: ({ hue: e, saturation: t, lightness: n, alpha: r = 1 }) => "hsla(" + Math.round(e) + ", " + tw.transform(WC(t)) + ", " + tw.transform(WC(n)) + ", " + WC(HC.transform(r)) + ")"
-}, iw = {
- test: (e) => ZC.test(e) || QC.test(e) || rw.test(e),
- parse: (e) => ZC.test(e) ? ZC.parse(e) : rw.test(e) ? rw.parse(e) : QC.parse(e),
- transform: (e) => typeof e == "string" ? e : e.hasOwnProperty("red") ? ZC.transform(e) : rw.transform(e),
+}), qC = /*@__PURE__*/ KC("deg"), JC = /*@__PURE__*/ KC("%"), X = /*@__PURE__*/ KC("px"), Une = /*@__PURE__*/ KC("vh"), Wne = /*@__PURE__*/ KC("vw"), YC = {
+ ...JC,
+ parse: (e) => JC.parse(e) / 100,
+ transform: (e) => JC.transform(e * 100)
+}, XC = {
+ test: /*@__PURE__*/ VC("hsl", "hue"),
+ parse: /*@__PURE__*/ HC("hue", "saturation", "lightness"),
+ transform: ({ hue: e, saturation: t, lightness: n, alpha: r = 1 }) => "hsla(" + Math.round(e) + ", " + JC.transform(zC(t)) + ", " + JC.transform(zC(n)) + ", " + zC(LC.transform(r)) + ")"
+}, ZC = {
+ test: (e) => WC.test(e) || GC.test(e) || XC.test(e),
+ parse: (e) => WC.test(e) ? WC.parse(e) : XC.test(e) ? XC.parse(e) : GC.parse(e),
+ transform: (e) => typeof e == "string" ? e : e.hasOwnProperty("red") ? WC.transform(e) : XC.transform(e),
getAnimatableNone: (e) => {
- let t = iw.parse(e);
- return t.alpha = 0, iw.transform(t);
+ let t = ZC.parse(e);
+ return t.alpha = 0, ZC.transform(t);
}
-}, Rne = /(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;
+}, Gne = /(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;
//#endregion
//#region node_modules/motion-dom/dist/es/value/types/complex/index.mjs
-function zne(e) {
- return isNaN(e) && typeof e == "string" && (e.match(GC)?.length || 0) + (e.match(Rne)?.length || 0) > 0;
+function Kne(e) {
+ return isNaN(e) && typeof e == "string" && (e.match(BC)?.length || 0) + (e.match(Gne)?.length || 0) > 0;
}
-var aw = "number", ow = "color", Bne = "var", Vne = "var(", sw = "${}", Hne = /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 cw(e) {
+var QC = "number", $C = "color", qne = "var", Jne = "var(", ew = "${}", Yne = /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 tw(e) {
let t = e.toString(), n = [], r = {
color: [],
number: [],
@@ -27891,51 +27891,51 @@ function cw(e) {
}, i = [], a = 0;
return {
values: n,
- split: t.replace(Hne, (e) => (iw.test(e) ? (r.color.push(a), i.push(ow), n.push(iw.parse(e))) : e.startsWith(Vne) ? (r.var.push(a), i.push(Bne), n.push(e)) : (r.number.push(a), i.push(aw), n.push(parseFloat(e))), ++a, sw)).split(sw),
+ split: t.replace(Yne, (e) => (ZC.test(e) ? (r.color.push(a), i.push($C), n.push(ZC.parse(e))) : e.startsWith(Jne) ? (r.var.push(a), i.push(qne), n.push(e)) : (r.number.push(a), i.push(QC), n.push(parseFloat(e))), ++a, ew)).split(ew),
indexes: r,
types: i
};
}
-function Une(e) {
- return cw(e).values;
+function Xne(e) {
+ return tw(e).values;
}
-function lw({ split: e, types: t }) {
+function nw({ 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 === aw ? WC(r[a]) : e === ow ? iw.transform(r[a]) : r[a];
+ i += e === QC ? zC(r[a]) : e === $C ? ZC.transform(r[a]) : r[a];
}
return i;
};
}
-function Wne(e) {
- return lw(cw(e));
+function Zne(e) {
+ return nw(tw(e));
}
-var Gne = (e) => typeof e == "number" ? 0 : iw.test(e) ? iw.getAnimatableNone(e) : e, Kne = (e, t) => typeof e == "number" ? t?.trim().endsWith("/") ? e : 0 : Gne(e);
-function qne(e) {
- let t = cw(e);
- return lw(t)(t.values.map((e, n) => Kne(e, t.split[n])));
+var Qne = (e) => typeof e == "number" ? 0 : ZC.test(e) ? ZC.getAnimatableNone(e) : e, $ne = (e, t) => typeof e == "number" ? t?.trim().endsWith("/") ? e : 0 : Qne(e);
+function ere(e) {
+ let t = tw(e);
+ return nw(t)(t.values.map((e, n) => $ne(e, t.split[n])));
}
-var uw = {
- test: zne,
- parse: Une,
- createTransformer: Wne,
- getAnimatableNone: qne
+var rw = {
+ test: Kne,
+ parse: Xne,
+ createTransformer: Zne,
+ getAnimatableNone: ere
};
//#endregion
//#region node_modules/motion-dom/dist/es/value/types/color/hsla-to-rgba.mjs
-function dw(e, t, n) {
+function iw(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 Jne({ hue: e, saturation: t, lightness: n, alpha: r }) {
+function tre({ 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 = dw(s, r, e + 1 / 3), a = dw(s, r, e), o = dw(s, r, e - 1 / 3);
+ i = iw(s, r, e + 1 / 3), a = iw(s, r, e), o = iw(s, r, e - 1 / 3);
}
return {
red: Math.round(i * 255),
@@ -27946,61 +27946,61 @@ function Jne({ hue: e, saturation: t, lightness: n, alpha: r }) {
}
//#endregion
//#region node_modules/motion-dom/dist/es/utils/mix/immediate.mjs
-function fw(e, t) {
+function aw(e, t) {
return (n) => n > 0 ? t : e;
}
//#endregion
//#region node_modules/motion-dom/dist/es/utils/mix/number.mjs
-var pw = (e, t, n) => e + (t - e) * n, mw = (e, t, n) => {
+var ow = (e, t, n) => e + (t - e) * n, sw = (e, t, n) => {
let r = e * e, i = n * (t * t - r) + r;
return i < 0 ? 0 : Math.sqrt(i);
-}, Yne = [
- QC,
- ZC,
- rw
-], Xne = (e) => Yne.find((t) => t.test(e));
-function hw(e) {
- let t = Xne(e);
+}, nre = [
+ GC,
+ WC,
+ XC
+], rre = (e) => nre.find((t) => t.test(e));
+function cw(e) {
+ let t = rre(e);
if (`${e}`, !t) return !1;
let n = t.parse(e);
- return t === rw && (n = Jne(n)), n;
+ return t === XC && (n = tre(n)), n;
}
-var gw = (e, t) => {
- let n = hw(e), r = hw(t);
- if (!n || !r) return fw(e, t);
+var lw = (e, t) => {
+ let n = cw(e), r = cw(t);
+ if (!n || !r) return aw(e, t);
let i = { ...n };
- return (e) => (i.red = mw(n.red, r.red, e), i.green = mw(n.green, r.green, e), i.blue = mw(n.blue, r.blue, e), i.alpha = pw(n.alpha, r.alpha, e), ZC.transform(i));
-}, _w = /* @__PURE__ */ new Set(["none", "hidden"]);
-function Zne(e, t) {
- return _w.has(e) ? (n) => n <= 0 ? e : t : (n) => n >= 1 ? t : e;
+ return (e) => (i.red = sw(n.red, r.red, e), i.green = sw(n.green, r.green, e), i.blue = sw(n.blue, r.blue, e), i.alpha = ow(n.alpha, r.alpha, e), WC.transform(i));
+}, uw = /* @__PURE__ */ new Set(["none", "hidden"]);
+function ire(e, t) {
+ return uw.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 Qne(e, t) {
- return (n) => pw(e, t, n);
+function are(e, t) {
+ return (n) => ow(e, t, n);
}
-function vw(e) {
- return typeof e == "number" ? Qne : typeof e == "string" ? RC(e) ? fw : iw.test(e) ? gw : tre : Array.isArray(e) ? yw : typeof e == "object" ? iw.test(e) ? gw : $ne : fw;
+function dw(e) {
+ return typeof e == "number" ? are : typeof e == "string" ? PC(e) ? aw : ZC.test(e) ? lw : cre : Array.isArray(e) ? fw : typeof e == "object" ? ZC.test(e) ? lw : ore : aw;
}
-function yw(e, t) {
- let n = [...e], r = n.length, i = e.map((e, n) => vw(e)(e, t[n]));
+function fw(e, t) {
+ let n = [...e], r = n.length, i = e.map((e, n) => dw(e)(e, t[n]));
return (e) => {
for (let t = 0; t < r; t++) n[t] = i[t](e);
return n;
};
}
-function $ne(e, t) {
+function ore(e, t) {
let n = {
...e,
...t
}, r = {};
- for (let i in n) e[i] !== void 0 && t[i] !== void 0 && (r[i] = vw(e[i])(e[i], t[i]));
+ for (let i in n) e[i] !== void 0 && t[i] !== void 0 && (r[i] = dw(e[i])(e[i], t[i]));
return (e) => {
for (let t in r) n[t] = r[t](e);
return n;
};
}
-function ere(e, t) {
+function sre(e, t) {
let n = [], r = {
color: 0,
var: 0,
@@ -28012,50 +28012,50 @@ function ere(e, t) {
}
return n;
}
-var tre = (e, t) => {
- let n = uw.createTransformer(t), r = cw(e), i = cw(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 ? _w.has(e) && !i.values.length || _w.has(t) && !r.values.length ? Zne(e, t) : XS(yw(ere(r, i), i.values), n) : (`${e}${t}`, fw(e, t));
+var cre = (e, t) => {
+ let n = rw.createTransformer(t), r = tw(e), i = tw(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 ? uw.has(e) && !i.values.length || uw.has(t) && !r.values.length ? ire(e, t) : rC(fw(sre(r, i), i.values), n) : (`${e}${t}`, aw(e, t));
};
//#endregion
//#region node_modules/motion-dom/dist/es/utils/mix/index.mjs
-function bw(e, t, n) {
- return typeof e == "number" && typeof t == "number" && typeof n == "number" ? pw(e, t, n) : vw(e)(e, t);
+function pw(e, t, n) {
+ return typeof e == "number" && typeof t == "number" && typeof n == "number" ? ow(e, t, n) : dw(e)(e, t);
}
//#endregion
//#region node_modules/motion-dom/dist/es/animation/drivers/frame.mjs
-var nre = (e) => {
+var lre = (e) => {
let t = ({ timestamp: t }) => e(t);
return {
- start: (e = !0) => OC.update(t, e),
- stop: () => kC(t),
- now: () => AC.isProcessing ? AC.timestamp : PC.now()
+ start: (e = !0) => EC.update(t, e),
+ stop: () => DC(t),
+ now: () => OC.isProcessing ? OC.timestamp : jC.now()
};
-}, xw = (e, t, n = 10) => {
+}, mw = (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)})`;
-}, Sw = 2e4;
-function Cw(e) {
+}, hw = 2e4;
+function gw(e) {
let t = 0, n = e.next(t);
for (; !n.done && t < 2e4;) t += 50, n = e.next(t);
return t >= 2e4 ? Infinity : t;
}
//#endregion
//#region node_modules/motion-dom/dist/es/animation/generators/utils/create-generator-easing.mjs
-function rre(e, t = 100, n) {
+function ure(e, t = 100, n) {
let r = n({
...e,
keyframes: [0, t]
- }), i = Math.min(Cw(r), Sw);
+ }), i = Math.min(gw(r), hw);
return {
type: "keyframes",
ease: (e) => r.next(i * e).value / t,
- duration: /* @__PURE__ */ eC(i)
+ duration: /* @__PURE__ */ sC(i)
};
}
//#endregion
//#region node_modules/motion-dom/dist/es/animation/generators/spring.mjs
-var ww = {
+var _w = {
stiffness: 100,
damping: 10,
mass: 1,
@@ -28076,31 +28076,31 @@ var ww = {
minDamping: .05,
maxDamping: 1
};
-function Tw(e, t) {
+function vw(e, t) {
return e * Math.sqrt(1 - t * t);
}
-var ire = 12;
-function are(e, t, n) {
+var dre = 12;
+function fre(e, t, n) {
let r = n;
- for (let n = 1; n < ire; n++) r -= e(r) / t(r);
+ for (let n = 1; n < dre; n++) r -= e(r) / t(r);
return r;
}
-var Ew = .001;
-function ore({ duration: e = ww.duration, bounce: t = ww.bounce, velocity: n = ww.velocity, mass: r = ww.mass }) {
+var yw = .001;
+function pre({ duration: e = _w.duration, bounce: t = _w.bounce, velocity: n = _w.velocity, mass: r = _w.mass }) {
let i, a;
- ww.maxDuration;
+ _w.maxDuration;
let o = 1 - t;
- o = US(ww.minDamping, ww.maxDamping, o), e = US(ww.minDuration, ww.maxDuration, /* @__PURE__ */ eC(e)), o < 1 ? (i = (t) => {
- let r = t * o, i = r * e, a = r - n, s = Tw(t, o), c = Math.exp(-i);
- return Ew - a / s * c;
+ o = XS(_w.minDamping, _w.maxDamping, o), e = XS(_w.minDuration, _w.maxDuration, /* @__PURE__ */ sC(e)), o < 1 ? (i = (t) => {
+ let r = t * o, i = r * e, a = r - n, s = vw(t, o), c = Math.exp(-i);
+ return yw - a / s * c;
}, a = (t) => {
- let r = t * o * e, a = r * n + n, s = o ** 2 * t ** 2 * e, c = Math.exp(-r), l = Tw(t ** 2, o);
- return (-i(t) + Ew > 0 ? -1 : 1) * ((a - s) * c) / l;
+ let r = t * o * e, a = r * n + n, s = o ** 2 * t ** 2 * e, c = Math.exp(-r), l = vw(t ** 2, o);
+ return (-i(t) + yw > 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 = are(i, a, s);
- if (e = /* @__PURE__ */ $S(e), isNaN(c)) return {
- stiffness: ww.stiffness,
- damping: ww.damping,
+ let s = 5 / e, c = fre(i, a, s);
+ if (e = /* @__PURE__ */ oC(e), isNaN(c)) return {
+ stiffness: _w.stiffness,
+ damping: _w.damping,
duration: e
};
{
@@ -28112,47 +28112,47 @@ function ore({ duration: e = ww.duration, bounce: t = ww.bounce, velocity: n = w
};
}
}
-var sre = ["duration", "bounce"], cre = [
+var mre = ["duration", "bounce"], hre = [
"stiffness",
"damping",
"mass"
];
-function Dw(e, t) {
+function bw(e, t) {
return t.some((t) => e[t] !== void 0);
}
-function lre(e) {
+function gre(e) {
let t = {
- velocity: ww.velocity,
- stiffness: ww.stiffness,
- damping: ww.damping,
- mass: ww.mass,
+ velocity: _w.velocity,
+ stiffness: _w.stiffness,
+ damping: _w.damping,
+ mass: _w.mass,
isResolvedFromDuration: !1,
...e
};
- if (!Dw(e, cre) && Dw(e, sre)) {
+ if (!bw(e, hre) && bw(e, mre)) {
if (t.velocity = 0, e.visualDuration) {
- let n = e.visualDuration, r = 2 * Math.PI / (n * 1.2), i = r * r, a = 2 * US(.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 * XS(.05, 1, 1 - (e.bounce || 0)) * Math.sqrt(i);
t = {
...t,
- mass: ww.mass,
+ mass: _w.mass,
stiffness: i,
damping: a
};
} else {
- let n = ore({
+ let n = pre({
...e,
velocity: 0
});
t = {
...t,
...n,
- mass: ww.mass
+ mass: _w.mass
}, t.isResolvedFromDuration = !0;
}
}
return t;
}
-function Ow(e = ww.visualDuration, t = ww.bounce) {
+function xw(e = _w.visualDuration, t = _w.bounce) {
let n = typeof e == "object" ? e : {
visualDuration: e,
keyframes: [0, 1],
@@ -28160,13 +28160,13 @@ function Ow(e = ww.visualDuration, t = ww.bounce) {
}, { restSpeed: r, restDelta: i } = n, a = n.keyframes[0], o = n.keyframes[n.keyframes.length - 1], s = {
done: !1,
value: a
- }, { stiffness: c, damping: l, mass: u, duration: d, velocity: f, isResolvedFromDuration: p } = lre({
+ }, { stiffness: c, damping: l, mass: u, duration: d, velocity: f, isResolvedFromDuration: p } = gre({
...n,
- velocity: -/* @__PURE__ */ eC(n.velocity || 0)
- }), m = f || 0, h = l / (2 * Math.sqrt(c * u)), g = o - a, _ = /* @__PURE__ */ eC(Math.sqrt(c / u)), v = Math.abs(g) < 5;
- r ||= v ? ww.restSpeed.granular : ww.restSpeed.default, i ||= v ? ww.restDelta.granular : ww.restDelta.default;
+ velocity: -/* @__PURE__ */ sC(n.velocity || 0)
+ }), m = f || 0, h = l / (2 * Math.sqrt(c * u)), g = o - a, _ = /* @__PURE__ */ sC(Math.sqrt(c / u)), v = Math.abs(g) < 5;
+ r ||= v ? _w.restSpeed.granular : _w.restSpeed.default, i ||= v ? _w.restDelta.granular : _w.restDelta.default;
let y, b, x, S, C, w;
- if (h < 1) x = Tw(_, h), S = (m + h * _ * g) / x, y = (e) => {
+ if (h < 1) x = vw(_, h), S = (m + h * _ * g) / x, y = (e) => {
let t = Math.exp(-h * _ * e);
return o - t * (S * Math.sin(x * e) + g * Math.cos(x * e));
}, C = h * _ * S + g * x, w = h * _ * g - S * x, b = (e) => Math.exp(-h * _ * e) * (C * Math.sin(x * e) + w * Math.cos(x * e));
@@ -28188,42 +28188,42 @@ function Ow(e = ww.visualDuration, t = ww.bounce) {
}
let T = {
calculatedDuration: p && d || null,
- velocity: (e) => /* @__PURE__ */ $S(b(e)),
+ velocity: (e) => /* @__PURE__ */ oC(b(e)),
next: (e) => {
if (!p && h < 1) {
- let t = Math.exp(-h * _ * e), n = Math.sin(x * e), a = Math.cos(x * e), c = o - t * (S * n + g * a), l = /* @__PURE__ */ $S(t * (C * n + w * a));
+ let t = Math.exp(-h * _ * e), n = Math.sin(x * e), a = Math.cos(x * e), c = o - t * (S * n + g * a), l = /* @__PURE__ */ oC(t * (C * n + w * a));
return s.done = Math.abs(l) <= r && Math.abs(o - c) <= i, s.value = s.done ? o : c, s;
}
let t = y(e);
if (p) s.done = e >= d;
else {
- let n = /* @__PURE__ */ $S(b(e));
+ let n = /* @__PURE__ */ oC(b(e));
s.done = Math.abs(n) <= r && Math.abs(o - t) <= i;
}
return s.value = s.done ? o : t, s;
},
toString: () => {
- let e = Math.min(Cw(T), Sw), t = xw((t) => T.next(e * t).value, e, 30);
+ let e = Math.min(gw(T), hw), t = mw((t) => T.next(e * t).value, e, 30);
return e + "ms " + t;
},
toTransition: () => {}
};
return T;
}
-Ow.applyToOptions = (e) => {
- let t = rre(e, 100, Ow);
- return e.ease = t.ease, e.duration = /* @__PURE__ */ $S(t.duration), e.type = "keyframes", e;
+xw.applyToOptions = (e) => {
+ let t = ure(e, 100, xw);
+ return e.ease = t.ease, e.duration = /* @__PURE__ */ oC(t.duration), e.type = "keyframes", e;
};
//#endregion
//#region node_modules/motion-dom/dist/es/animation/generators/utils/velocity.mjs
-var ure = 5;
-function kw(e, t, n) {
- let r = Math.max(t - ure, 0);
- return /* @__PURE__ */ tC(n - e(r), t - r);
+var _re = 5;
+function Sw(e, t, n) {
+ let r = Math.max(t - _re, 0);
+ return /* @__PURE__ */ cC(n - e(r), t - r);
}
//#endregion
//#region node_modules/motion-dom/dist/es/animation/generators/inertia.mjs
-function Aw({ 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 Cw({ 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
@@ -28233,9 +28233,9 @@ function Aw({ keyframes: e, velocity: t = 0, power: n = .8, timeConstant: r = 32
let t = v(e), n = y(e);
f.done = Math.abs(t) <= l, f.value = f.done ? _ : n;
}, x, S, C = (e) => {
- p(f.value) && (x = e, S = Ow({
+ p(f.value) && (x = e, S = xw({
keyframes: [f.value, m(f.value)],
- velocity: kw(y, e, f.value),
+ velocity: Sw(y, e, f.value),
damping: i,
stiffness: a,
restDelta: l,
@@ -28252,59 +28252,59 @@ function Aw({ keyframes: e, velocity: t = 0, power: n = .8, timeConstant: r = 32
}
//#endregion
//#region node_modules/motion-dom/dist/es/utils/interpolate.mjs
-function dre(e, t, n) {
- let r = [], i = n || WS.mix || bw, a = e.length - 1;
+function vre(e, t, n) {
+ let r = [], i = n || ZS.mix || pw, a = e.length - 1;
for (let n = 0; n < a; n++) {
let a = i(e[n], e[n + 1]);
- t && (a = XS(Array.isArray(t) ? t[n] || YS : t, a)), r.push(a);
+ t && (a = rC(Array.isArray(t) ? t[n] || nC : t, a)), r.push(a);
}
return r;
}
-function jw(e, t, { clamp: n = !0, ease: r, mixer: i } = {}) {
+function ww(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 = dre(t, r, i), c = s.length, l = (n) => {
+ let s = vre(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__ */ ZS(e[r], e[r + 1], n);
+ let i = /* @__PURE__ */ iC(e[r], e[r + 1], n);
return s[r](i);
};
- return n ? (t) => l(US(e[0], e[a - 1], t)) : l;
+ return n ? (t) => l(XS(e[0], e[a - 1], t)) : l;
}
//#endregion
//#region node_modules/motion-dom/dist/es/animation/keyframes/offsets/fill.mjs
-function fre(e, t) {
+function yre(e, t) {
let n = e[e.length - 1];
for (let r = 1; r <= t; r++) {
- let i = /* @__PURE__ */ ZS(0, t, r);
- e.push(pw(n, 1, i));
+ let i = /* @__PURE__ */ iC(0, t, r);
+ e.push(ow(n, 1, i));
}
}
//#endregion
//#region node_modules/motion-dom/dist/es/animation/keyframes/offsets/default.mjs
-function pre(e) {
+function bre(e) {
let t = [0];
- return fre(t, e.length - 1), t;
+ return yre(t, e.length - 1), t;
}
//#endregion
//#region node_modules/motion-dom/dist/es/animation/keyframes/offsets/time.mjs
-function mre(e, t) {
+function xre(e, t) {
return e.map((e) => e * t);
}
//#endregion
//#region node_modules/motion-dom/dist/es/animation/generators/keyframes.mjs
-function hre(e, t) {
- return e.map(() => t || vC).splice(0, e.length - 1);
+function Sre(e, t) {
+ return e.map(() => t || bC).splice(0, e.length - 1);
}
-function Mw({ duration: e = 300, keyframes: t, times: n, ease: r = "easeInOut" }) {
- let i = /* @__PURE__ */ yC(r) ? r.map(CC) : CC(r), a = {
+function Tw({ duration: e = 300, keyframes: t, times: n, ease: r = "easeInOut" }) {
+ let i = /* @__PURE__ */ Mne(r) ? r.map(CC) : CC(r), a = {
done: !1,
value: t[0]
- }, o = jw(mre(n && n.length === t.length ? n : pre(t), e), t, { ease: Array.isArray(i) ? i : hre(t, i) });
+ }, o = ww(xre(n && n.length === t.length ? n : bre(t), e), t, { ease: Array.isArray(i) ? i : Sre(t, i) });
return {
calculatedDuration: e,
next: (t) => (a.value = o(t), a.done = t >= e, a)
@@ -28312,26 +28312,26 @@ function Mw({ duration: e = 300, keyframes: t, times: n, ease: r = "easeInOut" }
}
//#endregion
//#region node_modules/motion-dom/dist/es/animation/keyframes/get-final.mjs
-var gre = (e) => e !== null;
-function Nw(e, { repeat: t, repeatType: n = "loop" }, r, i = 1) {
- let a = e.filter(gre), o = i < 0 || t && n !== "loop" && t % 2 == 1 ? 0 : a.length - 1;
+var Cre = (e) => e !== null;
+function Ew(e, { repeat: t, repeatType: n = "loop" }, r, i = 1) {
+ let a = e.filter(Cre), 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 _re = {
- decay: Aw,
- inertia: Aw,
- tween: Mw,
- keyframes: Mw,
- spring: Ow
+var wre = {
+ decay: Cw,
+ inertia: Cw,
+ tween: Tw,
+ keyframes: Tw,
+ spring: xw
};
-function Pw(e) {
- typeof e.type == "string" && (e.type = _re[e.type]);
+function Dw(e) {
+ typeof e.type == "string" && (e.type = wre[e.type]);
}
//#endregion
//#region node_modules/motion-dom/dist/es/animation/utils/WithPromise.mjs
-var Fw = class {
+var Ow = class {
constructor() {
this.updateFinished();
}
@@ -28349,21 +28349,21 @@ var Fw = class {
then(e, t) {
return this.finished.then(e, t);
}
-}, vre = (e) => e / 100, Iw = class extends Fw {
+}, Tre = (e) => e / 100, kw = class extends Ow {
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 !== PC.now() && this.tick(PC.now()), this.isStopped = !0, this.state !== "idle" && (this.teardown(), this.options.onStop?.());
+ e && e.updatedAt !== jC.now() && this.tick(jC.now()), this.isStopped = !0, this.state !== "idle" && (this.teardown(), this.options.onStop?.());
}, this.options = e, this.initAnimation(), this.play(), e.autoplay === !1 && this.pause();
}
initAnimation() {
let { options: e } = this;
- Pw(e);
- let { type: t = Mw, repeat: n = 0, repeatDelay: r = 0, repeatType: i, velocity: a = 0 } = e, { keyframes: o } = e, s = t || Mw;
- s !== Mw && typeof o[0] != "number" && (this.mixKeyframes = XS(vre, bw(o[0], o[1])), o = [0, 100]);
+ Dw(e);
+ let { type: t = Tw, repeat: n = 0, repeatDelay: r = 0, repeatType: i, velocity: a = 0 } = e, { keyframes: o } = e, s = t || Tw;
+ s !== Tw && typeof o[0] != "number" && (this.mixKeyframes = rC(Tre, pw(o[0], o[1])), o = [0, 100]);
let c = s({
...e,
keyframes: o
@@ -28372,7 +28372,7 @@ var Fw = class {
...e,
keyframes: [...o].reverse(),
velocity: -a
- })), c.calculatedDuration === null && (c.calculatedDuration = Cw(c));
+ })), c.calculatedDuration === null && (c.calculatedDuration = gw(c));
let { calculatedDuration: l } = c;
this.calculatedDuration = l, this.resolvedDuration = l + r, this.totalDuration = this.resolvedDuration * (n + 1) - r, this.generator = c;
}
@@ -28390,54 +28390,54 @@ var Fw = 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 = US(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 = XS(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 !== Aw && (b.value = Nw(l, this.options, h, this.speed)), m && m(b.value), S && this.finish(), b;
+ return S && p !== Cw && (b.value = Ew(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__ */ eC(this.calculatedDuration);
+ return /* @__PURE__ */ sC(this.calculatedDuration);
}
get iterationDuration() {
let { delay: e = 0 } = this.options || {};
- return this.duration + /* @__PURE__ */ eC(e);
+ return this.duration + /* @__PURE__ */ sC(e);
}
get time() {
- return /* @__PURE__ */ eC(this.currentTime);
+ return /* @__PURE__ */ sC(this.currentTime);
}
set time(e) {
- e = /* @__PURE__ */ $S(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__ */ oC(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() {
let e = this.currentTime;
if (e <= 0) return this.options.velocity || 0;
if (this.generator.velocity) return this.generator.velocity(e);
let t = this.generator.next(e).value;
- return kw((e) => this.generator.next(e).value, e, t);
+ return Sw((e) => this.generator.next(e).value, e, t);
}
get speed() {
return this.playbackSpeed;
}
set speed(e) {
let t = this.playbackSpeed !== e;
- t && this.driver && this.updateTime(PC.now()), this.playbackSpeed = e, t && this.driver && (this.time = /* @__PURE__ */ eC(this.currentTime));
+ t && this.driver && this.updateTime(jC.now()), this.playbackSpeed = e, t && this.driver && (this.time = /* @__PURE__ */ sC(this.currentTime));
}
play() {
if (this.isStopped) return;
- let { driver: e = nre, startTime: t } = this.options;
+ let { driver: e = lre, 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(PC.now()), this.holdTime = this.currentTime;
+ this.state = "paused", this.updateTime(jC.now()), this.holdTime = this.currentTime;
}
complete() {
this.state !== "running" && this.play(), this.state = "finished", this.holdTime = null;
@@ -28463,12 +28463,12 @@ var Fw = class {
};
//#endregion
//#region node_modules/motion-dom/dist/es/animation/keyframes/utils/fill-wildcards.mjs
-function Lw(e) {
+function Aw(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 Rw = (e) => e * 180 / Math.PI, zw = (e) => Bw(Rw(Math.atan2(e[1], e[0]))), yre = {
+var jw = (e) => e * 180 / Math.PI, Mw = (e) => Nw(jw(Math.atan2(e[1], e[0]))), Ere = {
x: 4,
y: 5,
translateX: 4,
@@ -28476,54 +28476,54 @@ var Rw = (e) => e * 180 / Math.PI, zw = (e) => Bw(Rw(Math.atan2(e[1], e[0]))), y
scaleX: 0,
scaleY: 3,
scale: (e) => (Math.abs(e[0]) + Math.abs(e[3])) / 2,
- rotate: zw,
- rotateZ: zw,
- skewX: (e) => Rw(Math.atan(e[1])),
- skewY: (e) => Rw(Math.atan(e[2])),
+ rotate: Mw,
+ rotateZ: Mw,
+ skewX: (e) => jw(Math.atan(e[1])),
+ skewY: (e) => jw(Math.atan(e[2])),
skew: (e) => (Math.abs(e[1]) + Math.abs(e[2])) / 2
-}, Bw = (e) => (e %= 360, e < 0 && (e += 360), e), Vw = zw, Hw = (e) => Math.sqrt(e[0] * e[0] + e[1] * e[1]), Uw = (e) => Math.sqrt(e[4] * e[4] + e[5] * e[5]), bre = {
+}, Nw = (e) => (e %= 360, e < 0 && (e += 360), e), Pw = Mw, Fw = (e) => Math.sqrt(e[0] * e[0] + e[1] * e[1]), Iw = (e) => Math.sqrt(e[4] * e[4] + e[5] * e[5]), Dre = {
x: 12,
y: 13,
z: 14,
translateX: 12,
translateY: 13,
translateZ: 14,
- scaleX: Hw,
- scaleY: Uw,
- scale: (e) => (Hw(e) + Uw(e)) / 2,
- rotateX: (e) => Bw(Rw(Math.atan2(e[6], e[5]))),
- rotateY: (e) => Bw(Rw(Math.atan2(-e[2], e[0]))),
- rotateZ: Vw,
- rotate: Vw,
- skewX: (e) => Rw(Math.atan(e[4])),
- skewY: (e) => Rw(Math.atan(e[1])),
+ scaleX: Fw,
+ scaleY: Iw,
+ scale: (e) => (Fw(e) + Iw(e)) / 2,
+ rotateX: (e) => Nw(jw(Math.atan2(e[6], e[5]))),
+ rotateY: (e) => Nw(jw(Math.atan2(-e[2], e[0]))),
+ rotateZ: Pw,
+ rotate: Pw,
+ skewX: (e) => jw(Math.atan(e[4])),
+ skewY: (e) => jw(Math.atan(e[1])),
skew: (e) => (Math.abs(e[1]) + Math.abs(e[4])) / 2
};
-function Ww(e) {
+function Lw(e) {
return +!!e.includes("scale");
}
-function Gw(e, t) {
- if (!e || e === "none") return Ww(t);
+function Rw(e, t) {
+ if (!e || e === "none") return Lw(t);
let n = e.match(/^matrix3d\(([-\d.e\s,]+)\)$/u), r, i;
- if (n) r = bre, i = n;
+ if (n) r = Dre, i = n;
else {
let t = e.match(/^matrix\(([-\d.e\s,]+)\)$/u);
- r = yre, i = t;
+ r = Ere, i = t;
}
- if (!i) return Ww(t);
- let a = r[t], o = i[1].split(",").map(Sre);
+ if (!i) return Lw(t);
+ let a = r[t], o = i[1].split(",").map(kre);
return typeof a == "function" ? a(o) : o[a];
}
-var xre = (e, t) => {
+var Ore = (e, t) => {
let { transform: n = "none" } = getComputedStyle(e);
- return Gw(n, t);
+ return Rw(n, t);
};
-function Sre(e) {
+function kre(e) {
return parseFloat(e.trim());
}
//#endregion
//#region node_modules/motion-dom/dist/es/render/utils/keys-transform.mjs
-var Kw = [
+var zw = [
"transformPerspective",
"x",
"y",
@@ -28541,19 +28541,19 @@ var Kw = [
"skew",
"skewX",
"skewY"
-], qw = /* @__PURE__ */ new Set([...Kw, "pathRotation"]), Jw = (e) => e === VC || e === X, Cre = /* @__PURE__ */ new Set([
+], Bw = /* @__PURE__ */ new Set([...zw, "pathRotation"]), Vw = (e) => e === IC || e === X, Are = /* @__PURE__ */ new Set([
"x",
"y",
"z"
-]), wre = Kw.filter((e) => !Cre.has(e));
-function Tre(e) {
+]), jre = zw.filter((e) => !Are.has(e));
+function Mre(e) {
let t = [];
- return wre.forEach((n) => {
+ return jre.forEach((n) => {
let r = e.getValue(n);
r !== void 0 && (t.push([n, r.get()]), r.set(+!!n.startsWith("scale")));
}), t;
}
-var Yw = {
+var Hw = {
width: ({ x: e }, { paddingLeft: t = "0", paddingRight: n = "0", boxSizing: r }) => {
let i = e.max - e.min;
return r === "border-box" ? i : i - parseFloat(t) - parseFloat(n);
@@ -28566,18 +28566,18 @@ var Yw = {
left: (e, { left: t }) => parseFloat(t),
bottom: ({ y: e }, { top: t }) => parseFloat(t) + (e.max - e.min),
right: ({ x: e }, { left: t }) => parseFloat(t) + (e.max - e.min),
- x: (e, { transform: t }) => Gw(t, "x"),
- y: (e, { transform: t }) => Gw(t, "y")
+ x: (e, { transform: t }) => Rw(t, "x"),
+ y: (e, { transform: t }) => Rw(t, "y")
};
-Yw.translateX = Yw.x, Yw.translateY = Yw.y;
+Hw.translateX = Hw.x, Hw.translateY = Hw.y;
//#endregion
//#region node_modules/motion-dom/dist/es/animation/keyframes/KeyframesResolver.mjs
-var Xw = /* @__PURE__ */ new Set(), Zw = !1, Qw = !1, $w = !1;
-function eT() {
- if (Qw) {
- let e = Array.from(Xw).filter((e) => e.needsMeasurement), t = new Set(e.map((e) => e.element)), n = /* @__PURE__ */ new Map();
+var Uw = /* @__PURE__ */ new Set(), Ww = !1, Gw = !1, Kw = !1;
+function qw() {
+ if (Gw) {
+ let e = Array.from(Uw).filter((e) => e.needsMeasurement), t = new Set(e.map((e) => e.element)), n = /* @__PURE__ */ new Map();
t.forEach((e) => {
- let t = Tre(e);
+ let t = Mre(e);
t.length && (n.set(e, t), e.render());
}), e.forEach((e) => e.measureInitialState()), t.forEach((e) => {
e.render();
@@ -28589,22 +28589,22 @@ function eT() {
e.suspendedScrollY !== void 0 && window.scrollTo(0, e.suspendedScrollY);
});
}
- Qw = !1, Zw = !1, Xw.forEach((e) => e.complete($w)), Xw.clear();
+ Gw = !1, Ww = !1, Uw.forEach((e) => e.complete(Kw)), Uw.clear();
}
-function tT() {
- Xw.forEach((e) => {
- e.readKeyframes(), e.needsMeasurement && (Qw = !0);
+function Jw() {
+ Uw.forEach((e) => {
+ e.readKeyframes(), e.needsMeasurement && (Gw = !0);
});
}
-function Ere() {
- $w = !0, tT(), eT(), $w = !1;
+function Nre() {
+ Kw = !0, Jw(), qw(), Kw = !1;
}
-var nT = class {
+var Yw = 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 ? (Xw.add(this), Zw || (Zw = !0, OC.read(tT), OC.resolveKeyframes(eT))) : (this.readKeyframes(), this.complete());
+ this.state = "scheduled", this.isAsync ? (Uw.add(this), Ww || (Ww = !0, EC.read(Jw), EC.resolveKeyframes(qw))) : (this.readKeyframes(), this.complete());
}
readKeyframes() {
let { unresolvedKeyframes: e, name: t, element: n, motionValue: r } = this;
@@ -28617,70 +28617,70 @@ var nT = class {
}
e[0] === void 0 && (e[0] = a), r && i === void 0 && r.set(e[0]);
}
- Lw(e);
+ Aw(e);
}
setFinalKeyframe() {}
measureInitialState() {}
renderEndStyles() {}
measureEndState() {}
complete(e = !1) {
- this.state = "complete", this.onComplete(this.unresolvedKeyframes, this.finalKeyframe, e), Xw.delete(this);
+ this.state = "complete", this.onComplete(this.unresolvedKeyframes, this.finalKeyframe, e), Uw.delete(this);
}
cancel() {
- this.state === "scheduled" && (Xw.delete(this), this.state = "pending");
+ this.state === "scheduled" && (Uw.delete(this), this.state = "pending");
}
resume() {
this.state === "pending" && this.scheduleResolve();
}
-}, rT = (e) => e.startsWith("--");
+}, Xw = (e) => e.startsWith("--");
//#endregion
//#region node_modules/motion-dom/dist/es/render/dom/style-set.mjs
-function iT(e, t, n) {
- rT(t) ? e.style.setProperty(t, n) : e.style[t] = n;
+function Zw(e, t, n) {
+ Xw(t) ? e.style.setProperty(t, n) : e.style[t] = n;
}
//#endregion
//#region node_modules/motion-dom/dist/es/utils/supports/flags.mjs
-var Dre = {};
+var Pre = {};
//#endregion
//#region node_modules/motion-dom/dist/es/utils/supports/memo.mjs
-function aT(e, t) {
- let n = /* @__PURE__ */ JS(e);
- return () => Dre[t] ?? n();
+function Qw(e, t) {
+ let n = /* @__PURE__ */ tC(e);
+ return () => Pre[t] ?? n();
}
//#endregion
//#region node_modules/motion-dom/dist/es/utils/supports/scroll-timeline.mjs
-var Ore = /* @__PURE__ */ aT(() => window.ScrollTimeline !== void 0, "scrollTimeline"), oT = /*@__PURE__*/ aT(() => {
+var Fre = /* @__PURE__ */ Qw(() => window.ScrollTimeline !== void 0, "scrollTimeline"), $w = /*@__PURE__*/ Qw(() => {
try {
document.createElement("div").animate({ opacity: 0 }, { easing: "linear(0, 1)" });
} catch {
return !1;
}
return !0;
-}, "linearEasing"), sT = ([e, t, n, r]) => `cubic-bezier(${e}, ${t}, ${n}, ${r})`, cT = {
+}, "linearEasing"), eT = ([e, t, n, r]) => `cubic-bezier(${e}, ${t}, ${n}, ${r})`, tT = {
linear: "linear",
ease: "ease",
easeIn: "ease-in",
easeOut: "ease-out",
easeInOut: "ease-in-out",
- circIn: /*@__PURE__*/ sT([
+ circIn: /*@__PURE__*/ eT([
0,
.65,
.55,
1
]),
- circOut: /*@__PURE__*/ sT([
+ circOut: /*@__PURE__*/ eT([
.55,
0,
1,
.45
]),
- backIn: /*@__PURE__*/ sT([
+ backIn: /*@__PURE__*/ eT([
.31,
.01,
.66,
-.59
]),
- backOut: /*@__PURE__*/ sT([
+ backOut: /*@__PURE__*/ eT([
.33,
1.53,
.69,
@@ -28689,15 +28689,15 @@ var Ore = /* @__PURE__ */ aT(() => window.ScrollTimeline !== void 0, "scrollTime
};
//#endregion
//#region node_modules/motion-dom/dist/es/animation/waapi/easing/map-easing.mjs
-function lT(e, t) {
- if (e) return typeof e == "function" ? oT() ? xw(e, t) : "ease-out" : /* @__PURE__ */ bC(e) ? sT(e) : Array.isArray(e) ? e.map((e) => lT(e, t) || cT.easeOut) : cT[e];
+function nT(e, t) {
+ if (e) return typeof e == "function" ? $w() ? mw(e, t) : "ease-out" : /* @__PURE__ */ xC(e) ? eT(e) : Array.isArray(e) ? e.map((e) => nT(e, t) || tT.easeOut) : tT[e];
}
//#endregion
//#region node_modules/motion-dom/dist/es/animation/waapi/start-waapi-animation.mjs
-function kre(e, t, n, { delay: r = 0, duration: i = 300, repeat: a = 0, repeatType: o = "loop", ease: s = "easeOut", times: c } = {}, l = void 0) {
+function Ire(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 = lT(s, i);
+ let d = nT(s, i);
Array.isArray(d) && (u.easing = d);
let f = {
delay: r,
@@ -28711,26 +28711,26 @@ function kre(e, t, n, { delay: r = 0, duration: i = 300, repeat: a = 0, repeatTy
}
//#endregion
//#region node_modules/motion-dom/dist/es/animation/generators/utils/is-generator.mjs
-function uT(e) {
+function rT(e) {
return typeof e == "function" && "applyToOptions" in e;
}
//#endregion
//#region node_modules/motion-dom/dist/es/animation/waapi/utils/apply-generator.mjs
-function Are({ type: e, ...t }) {
- return uT(e) && oT() ? e.applyToOptions(t) : (t.duration ??= 300, t.ease ??= "easeOut", t);
+function Lre({ type: e, ...t }) {
+ return rT(e) && $w() ? e.applyToOptions(t) : (t.duration ??= 300, t.ease ??= "easeOut", t);
}
//#endregion
//#region node_modules/motion-dom/dist/es/animation/NativeAnimation.mjs
-var dT = class extends Fw {
+var iT = class extends Ow {
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 = Are(e);
- this.animation = kre(t, n, r, c, i), c.autoplay === !1 && this.animation.pause(), this.animation.onfinish = () => {
+ let c = Lre(e);
+ this.animation = Ire(t, n, r, c, i), c.autoplay === !1 && this.animation.pause(), this.animation.onfinish = () => {
if (this.finishedTime = this.time, !i) {
- let e = Nw(r, this.options, o, this.speed);
- this.updateMotionValue && this.updateMotionValue(e), iT(t, n, e), this.animation.cancel();
+ let e = Ew(r, this.options, o, this.speed);
+ this.updateMotionValue && this.updateMotionValue(e), Zw(t, n, e), this.animation.cancel();
}
s?.(), this.notifyFinished();
};
@@ -28761,18 +28761,18 @@ var dT = class extends Fw {
}
get duration() {
let e = this.animation.effect?.getComputedTiming?.().duration || 0;
- return /* @__PURE__ */ eC(Number(e));
+ return /* @__PURE__ */ sC(Number(e));
}
get iterationDuration() {
let { delay: e = 0 } = this.options || {};
- return this.duration + /* @__PURE__ */ eC(e);
+ return this.duration + /* @__PURE__ */ sC(e);
}
get time() {
- return /* @__PURE__ */ eC(Number(this.animation.currentTime) || 0);
+ return /* @__PURE__ */ sC(Number(this.animation.currentTime) || 0);
}
set time(e) {
let t = this.finishedTime !== null;
- this.manualStartTime = null, this.finishedTime = null, this.animation.currentTime = /* @__PURE__ */ $S(e), t && this.animation.pause();
+ this.manualStartTime = null, this.finishedTime = null, this.animation.currentTime = /* @__PURE__ */ oC(e), t && this.animation.pause();
}
get speed() {
return this.animation.playbackRate;
@@ -28790,24 +28790,24 @@ var dT = class extends Fw {
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 && Ore() ? (this.animation.timeline = e, t && (this.animation.rangeStart = t), n && (this.animation.rangeEnd = n), YS) : r(this);
+ return this.allowFlatten && this.animation.effect?.updateTiming({ easing: "linear" }), this.animation.onfinish = null, e && Fre() ? (this.animation.timeline = e, t && (this.animation.rangeStart = t), n && (this.animation.rangeEnd = n), nC) : r(this);
}
-}, fT = {
- anticipate: fC,
- backInOut: dC,
- circInOut: hC
+}, aT = {
+ anticipate: gC,
+ backInOut: hC,
+ circInOut: yC
};
-function jre(e) {
- return e in fT;
+function Rre(e) {
+ return e in aT;
}
-function Mre(e) {
- typeof e.ease == "string" && jre(e.ease) && (e.ease = fT[e.ease]);
+function zre(e) {
+ typeof e.ease == "string" && Rre(e.ease) && (e.ease = aT[e.ease]);
}
//#endregion
//#region node_modules/motion-dom/dist/es/animation/NativeAnimationExtended.mjs
-var pT = 10, Nre = class extends dT {
+var oT = 10, Bre = class extends iT {
constructor(e) {
- Mre(e), Pw(e), super(e), e.startTime !== void 0 && e.autoplay !== !1 && (this.startTime = e.startTime), this.options = e;
+ zre(e), Dw(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;
@@ -28816,48 +28816,48 @@ var pT = 10, Nre = class extends dT {
t.set(e);
return;
}
- let o = new Iw({
+ let o = new kw({
...a,
autoplay: !1
- }), s = Math.max(pT, PC.now() - this.startTime), c = US(0, pT, s - pT), l = o.sample(s).value, { name: u } = this.options;
- i && u && iT(i, u, l), t.setWithVelocity(o.sample(Math.max(0, s - c)).value, l, c), o.stop();
+ }), s = Math.max(oT, jC.now() - this.startTime), c = XS(0, oT, s - oT), l = o.sample(s).value, { name: u } = this.options;
+ i && u && Zw(i, u, l), t.setWithVelocity(o.sample(Math.max(0, s - c)).value, l, c), o.stop();
}
-}, mT = (e, t) => t !== "zIndex" && !!(typeof e == "number" || Array.isArray(e) || typeof e == "string" && (uw.test(e) || e === "0") && !e.startsWith("url("));
+}, sT = (e, t) => t !== "zIndex" && !!(typeof e == "number" || Array.isArray(e) || typeof e == "string" && (rw.test(e) || e === "0") && !e.startsWith("url("));
//#endregion
//#region node_modules/motion-dom/dist/es/animation/utils/can-animate.mjs
-function Pre(e) {
+function Vre(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 Fre(e, t, n, r) {
+function Hre(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 = mT(i, t), s = mT(a, t);
- return `${t}${i}${a}${o ? a : i}`, !o || !s ? !1 : Pre(e) || (n === "spring" || uT(n)) && r;
+ let a = e[e.length - 1], o = sT(i, t), s = sT(a, t);
+ return `${t}${i}${a}${o ? a : i}`, !o || !s ? !1 : Vre(e) || (n === "spring" || rT(n)) && r;
}
//#endregion
//#region node_modules/motion-dom/dist/es/animation/utils/make-animation-instant.mjs
-function hT(e) {
+function cT(e) {
e.duration = 0, e.type = "keyframes";
}
//#endregion
//#region node_modules/motion-dom/dist/es/animation/waapi/utils/accelerated-values.mjs
-var gT = /* @__PURE__ */ new Set([
+var lT = /* @__PURE__ */ new Set([
"opacity",
"clipPath",
"filter",
"transform",
"backgroundColor"
-]), Ire = /^(?:oklch|oklab|lab|lch|color|color-mix|light-dark)\(/;
-function Lre(e) {
- for (let t = 0; t < e.length; t++) if (typeof e[t] == "string" && Ire.test(e[t])) return !0;
+]), Ure = /^(?:oklch|oklab|lab|lch|color|color-mix|light-dark)\(/;
+function Wre(e) {
+ for (let t = 0; t < e.length; t++) if (typeof e[t] == "string" && Ure.test(e[t])) return !0;
return !1;
}
//#endregion
//#region node_modules/motion-dom/dist/es/animation/waapi/supports/waapi.mjs
-var Rre = /* @__PURE__ */ new Set([
+var Gre = /* @__PURE__ */ new Set([
"color",
"backgroundColor",
"outlineColor",
@@ -28868,20 +28868,20 @@ var Rre = /* @__PURE__ */ new Set([
"borderRightColor",
"borderBottomColor",
"borderLeftColor"
-]), zre = /*@__PURE__*/ JS(() => Object.hasOwnProperty.call(Element.prototype, "animate"));
-function Bre(e) {
+]), Kre = /*@__PURE__*/ tC(() => Object.hasOwnProperty.call(Element.prototype, "animate"));
+function qre(e) {
let { motionValue: t, name: n, repeatDelay: r, repeatType: i, damping: a, type: o, keyframes: s } = e, c = t?.owner?.current;
if (!(c instanceof HTMLElement) && !(c instanceof SVGElement)) return !1;
let { onUpdate: l, transformTemplate: u } = t.owner.getProps();
- return zre() && n && (gT.has(n) || Rre.has(n) && Lre(s)) && (n !== "transform" || !u) && !l && !r && i !== "mirror" && a !== 0 && o !== "inertia";
+ return Kre() && n && (lT.has(n) || Gre.has(n) && Wre(s)) && (n !== "transform" || !u) && !l && !r && i !== "mirror" && a !== 0 && o !== "inertia";
}
//#endregion
//#region node_modules/motion-dom/dist/es/animation/AsyncMotionValueAnimation.mjs
-var Vre = 40, Hre = class extends Fw {
+var Jre = 40, Yre = class extends Ow {
constructor({ autoplay: e = !0, delay: t = 0, type: n = "keyframes", repeat: r = 0, repeatDelay: i = 0, repeatType: a = "loop", keyframes: o, name: s, motionValue: c, element: l, ...u }) {
super(), this.stop = () => {
this._animation && (this._animation.stop(), this.stopTimeline?.()), this.keyframeResolver?.cancel();
- }, this.createdAt = PC.now();
+ }, this.createdAt = jC.now();
let d = {
autoplay: e,
delay: t,
@@ -28893,33 +28893,33 @@ var Vre = 40, Hre = class extends Fw {
motionValue: c,
element: l,
...u
- }, f = l?.KeyframeResolver || nT;
+ }, f = l?.KeyframeResolver || Yw;
this.keyframeResolver = new f(o, (e, t, n) => this.onKeyframesResolved(e, t, d, !n), s, c, l), 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 = PC.now();
+ this.resolvedAt = jC.now();
let u = !0;
- Fre(e, i, a, o) || (u = !1, (WS.instantAnimations || !s) && l?.(Nw(e, n, t)), e[0] = e[e.length - 1], hT(n), n.repeat = 0);
+ Hre(e, i, a, o) || (u = !1, (ZS.instantAnimations || !s) && l?.(Ew(e, n, t)), e[0] = e[e.length - 1], cT(n), n.repeat = 0);
let d = {
- startTime: r ? this.resolvedAt && this.resolvedAt - this.createdAt > Vre ? this.resolvedAt : this.createdAt : void 0,
+ startTime: r ? this.resolvedAt && this.resolvedAt - this.createdAt > Jre ? this.resolvedAt : this.createdAt : void 0,
finalKeyframe: t,
...n,
keyframes: e
- }, f = u && !c && Bre(d), p = d.motionValue?.owner?.current, m;
+ }, f = u && !c && qre(d), p = d.motionValue?.owner?.current, m;
if (f) try {
- m = new Nre({
+ m = new Bre({
...d,
element: p
});
} catch {
- m = new Iw(d);
+ m = new kw(d);
}
- else m = new Iw(d);
+ else m = new kw(d);
m.finished.then(() => {
this.notifyFinished();
- }).catch(YS), this.pendingTimeline &&= (this.stopTimeline = m.attachTimeline(this.pendingTimeline), void 0), this._animation = m;
+ }).catch(nC), this.pendingTimeline &&= (this.stopTimeline = m.attachTimeline(this.pendingTimeline), void 0), this._animation = m;
}
get finished() {
return this._animation ? this.animation.finished : this._finished;
@@ -28928,7 +28928,7 @@ var Vre = 40, Hre = class extends Fw {
return this.finished.finally(e).then(() => {});
}
get animation() {
- return this._animation || (this.keyframeResolver?.resume(), Ere()), this._animation;
+ return this._animation || (this.keyframeResolver?.resume(), Nre()), this._animation;
}
get duration() {
return this.animation.duration;
@@ -28969,7 +28969,7 @@ var Vre = 40, Hre = class extends Fw {
cancel() {
this._animation && this.animation.cancel(), this.keyframeResolver?.cancel();
}
-}, Ure = class {
+}, Xre = class {
constructor(e) {
this.stop = () => this.runAll("stop"), this.animations = e.filter(Boolean);
}
@@ -29009,10 +29009,10 @@ var Vre = 40, Hre = class extends Fw {
return this.getAll("startTime");
}
get duration() {
- return _T(this.animations, "duration");
+ return uT(this.animations, "duration");
}
get iterationDuration() {
- return _T(this.animations, "iterationDuration");
+ return uT(this.animations, "iterationDuration");
}
runAll(e) {
this.animations.forEach((t) => t[e]());
@@ -29030,7 +29030,7 @@ var Vre = 40, Hre = class extends Fw {
this.runAll("complete");
}
};
-function _T(e, t) {
+function uT(e, t) {
let n = 0;
for (let r = 0; r < e.length; r++) {
let i = e[r][t];
@@ -29040,32 +29040,32 @@ function _T(e, t) {
}
//#endregion
//#region node_modules/motion-dom/dist/es/animation/GroupAnimationWithThen.mjs
-var Wre = class extends Ure {
+var Zre = class extends Xre {
then(e, t) {
return this.finished.finally(e).then(() => {});
}
-}, vT = /* @__PURE__ */ new WeakMap(), Gre = (e, t = "") => `${e}:${t}`;
-function Kre(e) {
- let t = vT.get(e);
- return t || (t = /* @__PURE__ */ new Map(), vT.set(e, t)), t;
+}, dT = /* @__PURE__ */ new WeakMap(), Qre = (e, t = "") => `${e}:${t}`;
+function $re(e) {
+ let t = dT.get(e);
+ return t || (t = /* @__PURE__ */ new Map(), dT.set(e, t)), t;
}
//#endregion
//#region node_modules/motion-dom/dist/es/animation/utils/calc-child-stagger.mjs
-function yT(e, t, n, r = 0, i = 1) {
+function fT(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 bT = 30, qre = (e) => !isNaN(parseFloat(e)), xT = { current: void 0 }, Jre = class {
+var pT = 30, eie = (e) => !isNaN(parseFloat(e)), mT = { current: void 0 }, tie = class {
constructor(e, t = {}) {
this.canTrackVelocity = null, this.events = {}, this.updateAndNotify = (e) => {
- let t = PC.now();
+ let t = jC.now();
if (this.updatedAt !== t && this.setPrevFrameValue(), this.prev = this.current, this.setCurrent(e), this.current !== this.prev && (this.events.change?.notify(this.current), 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 = PC.now(), this.canTrackVelocity === null && e !== void 0 && (this.canTrackVelocity = qre(this.current));
+ this.current = e, this.updatedAt = jC.now(), this.canTrackVelocity === null && e !== void 0 && (this.canTrackVelocity = eie(this.current));
}
setPrevFrameValue(e = this.current) {
this.prevFrameValue = e, this.prevUpdatedAt = this.updatedAt;
@@ -29074,10 +29074,10 @@ var bT = 30, qre = (e) => !isNaN(parseFloat(e)), xT = { current: void 0 }, Jre =
return this.on("change", e);
}
on(e, t) {
- this.events[e] || (this.events[e] = new QS());
+ this.events[e] || (this.events[e] = new aC());
let n = this.events[e].add(t);
return e === "change" ? () => {
- n(), OC.read(() => {
+ n(), EC.read(() => {
this.events.change.getSize() || this.stop();
});
} : n;
@@ -29107,16 +29107,16 @@ var bT = 30, qre = (e) => !isNaN(parseFloat(e)), xT = { current: void 0 }, Jre =
this.dependents && this.dependents.delete(e);
}
get() {
- return xT.current && xT.current.push(this), this.current;
+ return mT.current && mT.current.push(this), this.current;
}
getPrevious() {
return this.prev;
}
getVelocity() {
- let e = PC.now();
- if (!this.canTrackVelocity || this.prevFrameValue === void 0 || e - this.updatedAt > bT) return 0;
- let t = Math.min(this.updatedAt - this.prevUpdatedAt, bT);
- return /* @__PURE__ */ tC(parseFloat(this.current) - parseFloat(this.prevFrameValue), t);
+ let e = jC.now();
+ if (!this.canTrackVelocity || this.prevFrameValue === void 0 || e - this.updatedAt > pT) return 0;
+ let t = Math.min(this.updatedAt - this.prevUpdatedAt, pT);
+ return /* @__PURE__ */ cC(parseFloat(this.current) - parseFloat(this.prevFrameValue), t);
}
start(e) {
return this.stop(), new Promise((t) => {
@@ -29138,12 +29138,12 @@ var bT = 30, qre = (e) => !isNaN(parseFloat(e)), xT = { current: void 0 }, Jre =
this.dependents?.clear(), this.events.destroy?.notify(), this.clearListeners(), this.stop(), this.stopPassiveEffect && this.stopPassiveEffect();
}
};
-function ST(e, t) {
- return new Jre(e, t);
+function hT(e, t) {
+ return new tie(e, t);
}
//#endregion
//#region node_modules/motion-dom/dist/es/animation/utils/resolve-transition.mjs
-function CT(e, t) {
+function gT(e, t) {
if (e?.inherit && t) {
let { inherit: n, ...r } = e;
return {
@@ -29155,26 +29155,26 @@ function CT(e, t) {
}
//#endregion
//#region node_modules/motion-dom/dist/es/animation/utils/get-value-transition.mjs
-function wT(e, t) {
+function _T(e, t) {
let n = e?.[t] ?? e?.default ?? e;
- return n === e ? n : CT(n, e);
+ return n === e ? n : gT(n, e);
}
//#endregion
//#region node_modules/motion-dom/dist/es/animation/utils/default-transitions.mjs
-var Yre = {
+var nie = {
type: "spring",
stiffness: 500,
damping: 25,
restSpeed: 10
-}, Xre = (e) => ({
+}, rie = (e) => ({
type: "spring",
stiffness: 550,
damping: e === 0 ? 2 * Math.sqrt(550) : 30,
restSpeed: 10
-}), Zre = {
+}), iie = {
type: "keyframes",
duration: .8
-}, Qre = {
+}, aie = {
type: "keyframes",
ease: [
.25,
@@ -29183,7 +29183,7 @@ var Yre = {
1
],
duration: .3
-}, $re = (e, { keyframes: t }) => t.length > 2 ? Zre : qw.has(e) ? e.startsWith("scale") ? Xre(t[1]) : Yre : Qre, eie = /* @__PURE__ */ new Set([
+}, oie = (e, { keyframes: t }) => t.length > 2 ? iie : Bw.has(e) ? e.startsWith("scale") ? rie(t[1]) : nie : aie, sie = /* @__PURE__ */ new Set([
"when",
"delay",
"delayChildren",
@@ -29195,15 +29195,15 @@ var Yre = {
"from",
"elapsed"
]);
-function tie(e) {
- for (let t in e) if (!eie.has(t)) return !0;
+function cie(e) {
+ for (let t in e) if (!sie.has(t)) return !0;
return !1;
}
//#endregion
//#region node_modules/motion-dom/dist/es/animation/interfaces/motion-value.mjs
-var TT = (e, t, n, r = {}, i, a) => (o) => {
- let s = wT(r, e) || {}, c = s.delay || r.delay || 0, { elapsed: l = 0 } = r;
- l -= /* @__PURE__ */ $S(c);
+var vT = (e, t, n, r = {}, i, a) => (o) => {
+ let s = _T(r, e) || {}, c = s.delay || r.delay || 0, { elapsed: l = 0 } = r;
+ l -= /* @__PURE__ */ oC(c);
let u = {
keyframes: Array.isArray(n) ? n : [null, n],
ease: "easeOut",
@@ -29220,160 +29220,160 @@ var TT = (e, t, n, r = {}, i, a) => (o) => {
motionValue: t,
element: a ? void 0 : i
};
- tie(s) || Object.assign(u, $re(e, u)), u.duration &&= /* @__PURE__ */ $S(u.duration), u.repeatDelay &&= /* @__PURE__ */ $S(u.repeatDelay), u.from !== void 0 && (u.keyframes[0] = u.from);
+ cie(s) || Object.assign(u, oie(e, u)), u.duration &&= /* @__PURE__ */ oC(u.duration), u.repeatDelay &&= /* @__PURE__ */ oC(u.repeatDelay), u.from !== void 0 && (u.keyframes[0] = u.from);
let d = !1;
- if ((u.type === !1 || u.duration === 0 && !u.repeatDelay) && (hT(u), u.delay === 0 && (d = !0)), (WS.instantAnimations || WS.skipAnimations || i?.shouldSkipAnimations || s.skipAnimations) && (d = !0, hT(u), u.delay = 0), u.allowFlatten = !s.type && !s.ease, d && !a && t.get() !== void 0) {
- let e = Nw(u.keyframes, s);
+ if ((u.type === !1 || u.duration === 0 && !u.repeatDelay) && (cT(u), u.delay === 0 && (d = !0)), (ZS.instantAnimations || ZS.skipAnimations || i?.shouldSkipAnimations || s.skipAnimations) && (d = !0, cT(u), u.delay = 0), u.allowFlatten = !s.type && !s.ease, d && !a && t.get() !== void 0) {
+ let e = Ew(u.keyframes, s);
if (e !== void 0) {
- OC.update(() => {
+ EC.update(() => {
u.onUpdate(e), u.onComplete();
});
return;
}
}
- return s.isSync ? new Iw(u) : new Hre(u);
-}, nie = /^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;
-function rie(e) {
- let t = nie.exec(e);
+ return s.isSync ? new kw(u) : new Yre(u);
+}, lie = /^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;
+function uie(e) {
+ let t = lie.exec(e);
if (!t) return [,];
let [, n, r, i] = t;
return [`--${n ?? r}`, i];
}
-function ET(e, t, n = 1) {
+function yT(e, t, n = 1) {
`${e}`;
- let [r, i] = rie(e);
+ let [r, i] = uie(e);
if (!r) return;
let a = window.getComputedStyle(t).getPropertyValue(r);
if (a) {
let e = a.trim();
- return GS(e) ? parseFloat(e) : e;
+ return QS(e) ? parseFloat(e) : e;
}
- return RC(i) ? ET(i, t, n + 1) : i;
+ return PC(i) ? yT(i, t, n + 1) : i;
}
//#endregion
//#region node_modules/motion-dom/dist/es/render/utils/resolve-variants.mjs
-function DT(e) {
+function bT(e) {
let t = [{}, {}];
return e?.values.forEach((e, n) => {
t[0][n] = e.get(), t[1][n] = e.getVelocity();
}), t;
}
-function OT(e, t, n, r) {
+function xT(e, t, n, r) {
if (typeof t == "function") {
- let [i, a] = DT(r);
+ let [i, a] = bT(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] = DT(r);
+ let [i, a] = bT(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 kT(e, t, n) {
+function ST(e, t, n) {
let r = e.getProps();
- return OT(r, t, n === void 0 ? r.custom : n, e);
+ return xT(r, t, n === void 0 ? r.custom : n, e);
}
//#endregion
//#region node_modules/motion-dom/dist/es/render/utils/keys-position.mjs
-var AT = /* @__PURE__ */ new Set([
+var CT = /* @__PURE__ */ new Set([
"width",
"height",
"top",
"left",
"right",
"bottom",
- ...Kw
-]), jT = (e) => Array.isArray(e);
+ ...zw
+]), wT = (e) => Array.isArray(e);
//#endregion
//#region node_modules/motion-dom/dist/es/render/utils/setters.mjs
-function iie(e, t, n) {
- e.hasValue(t) ? e.getValue(t).set(n) : e.addValue(t, ST(n));
+function TT(e, t, n) {
+ e.hasValue(t) ? e.getValue(t).set(n) : e.addValue(t, hT(n));
}
-function aie(e) {
- return jT(e) ? e[e.length - 1] || 0 : e;
+function ET(e) {
+ return wT(e) ? e[e.length - 1] || 0 : e;
}
-function oie(e, t) {
- let { transitionEnd: n = {}, transition: r = {}, ...i } = kT(e, t) || {};
+function DT(e, t) {
+ let { transitionEnd: n = {}, transition: r = {}, ...i } = ST(e, t) || {};
i = {
...i,
...n
};
- for (let t in i) iie(e, t, aie(i[t]));
+ for (let t in i) TT(e, t, ET(i[t]));
}
//#endregion
//#region node_modules/motion-dom/dist/es/value/utils/is-motion-value.mjs
-var MT = (e) => !!(e && e.getVelocity);
+var OT = (e) => !!(e && e.getVelocity);
//#endregion
//#region node_modules/motion-dom/dist/es/value/will-change/is.mjs
-function sie(e) {
- return !!(MT(e) && e.add);
+function kT(e) {
+ return !!(OT(e) && e.add);
}
//#endregion
//#region node_modules/motion-dom/dist/es/value/will-change/add-will-change.mjs
-function NT(e, t) {
+function AT(e, t) {
let n = e.getValue("willChange");
- if (sie(n)) return n.add(t);
- if (!n && WS.WillChange) {
- let n = new WS.WillChange("auto");
+ if (kT(n)) return n.add(t);
+ if (!n && ZS.WillChange) {
+ let n = new ZS.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 PT(e) {
+function jT(e) {
return e.replace(/([A-Z])/g, (e) => `-${e.toLowerCase()}`);
}
-var FT = "data-" + PT("framerAppearId");
+var MT = "data-" + jT("framerAppearId");
//#endregion
//#region node_modules/motion-dom/dist/es/animation/optimized-appear/get-appear-id.mjs
-function IT(e) {
- return e.props[FT];
+function NT(e) {
+ return e.props[MT];
}
//#endregion
//#region node_modules/motion-dom/dist/es/animation/interfaces/visual-element-target.mjs
-function cie({ protectedKeys: e, needsAnimating: t }, n) {
+function PT({ protectedKeys: e, needsAnimating: t }, n) {
let r = e.hasOwnProperty(n) && t[n] !== !0;
return t[n] = !1, r;
}
-function LT(e, t, { delay: n = 0, transitionOverride: r, type: i } = {}) {
+function FT(e, t, { delay: n = 0, transitionOverride: r, type: i } = {}) {
let { transition: a, transitionEnd: o, ...s } = t, c = e.getDefaultTransition();
- a = a ? CT(a, c) : c;
+ a = a ? gT(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 && cie(f, t)) continue;
+ if (i === void 0 || f && PT(f, t)) continue;
let o = {
delay: n,
- ...wT(a || {}, t)
+ ..._T(a || {}, t)
};
u && (o.skipAnimations = !0);
let c = r.get();
if (c !== void 0 && !r.isAnimating() && !Array.isArray(i) && i === c && !o.velocity) {
- OC.update(() => r.set(i));
+ EC.update(() => r.set(i));
continue;
}
let p = !1;
if (window.MotionHandoffAnimation) {
- let n = IT(e);
+ let n = NT(e);
if (n) {
- let e = window.MotionHandoffAnimation(n, t, OC);
+ let e = window.MotionHandoffAnimation(n, t, EC);
e !== null && (o.startTime = e, p = !0);
}
}
- NT(e, t);
+ AT(e, t);
let m = l ?? e.shouldReduceMotion;
- r.start(TT(t, r, i, m && AT.has(t) ? { type: !1 } : o, e, p));
+ r.start(vT(t, r, i, m && CT.has(t) ? { type: !1 } : o, e, p));
let h = r.animation;
h && d.push(h);
}
if (o) {
- let t = () => OC.update(() => {
- o && oie(e, o);
+ let t = () => EC.update(() => {
+ o && DT(e, o);
});
d.length ? Promise.all(d).then(t) : t();
}
@@ -29381,12 +29381,12 @@ function LT(e, t, { delay: n = 0, transitionOverride: r, type: i } = {}) {
}
//#endregion
//#region node_modules/motion-dom/dist/es/animation/interfaces/visual-element-variant.mjs
-function RT(e, t, n = {}) {
- let r = kT(e, t, n.type === "exit" ? e.presenceContext?.custom : void 0), { transition: i = e.getDefaultTransition() || {} } = r || {};
+function IT(e, t, n = {}) {
+ let r = ST(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(LT(e, r, n)) : () => Promise.resolve(), o = e.variantChildren && e.variantChildren.size ? (r = 0) => {
+ let a = r ? () => Promise.all(FT(e, r, n)) : () => Promise.resolve(), o = e.variantChildren && e.variantChildren.size ? (r = 0) => {
let { delayChildren: a = 0, staggerChildren: o, staggerDirection: s } = i;
- return lie(e, t, r, a, o, s, n);
+ return LT(e, t, r, a, o, s, n);
} : () => Promise.resolve(), { when: s } = i;
if (s) {
let [e, t] = s === "beforeChildren" ? [a, o] : [o, a];
@@ -29394,26 +29394,26 @@ function RT(e, t, n = {}) {
}
return Promise.all([a(), o(n.delay)]);
}
-function lie(e, t, n = 0, r = 0, i = 0, a = 1, o) {
+function LT(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(RT(c, t, {
+ for (let c of e.variantChildren) c.notify("AnimationStart", t), s.push(IT(c, t, {
...o,
- delay: n + (typeof r == "function" ? 0 : r) + yT(e.variantChildren, c, r, i, a)
+ delay: n + (typeof r == "function" ? 0 : r) + fT(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 uie(e, t, n = {}) {
+function RT(e, t, n = {}) {
e.notify("AnimationStart", t);
let r;
if (Array.isArray(t)) {
- let i = t.map((t) => RT(e, t, n));
+ let i = t.map((t) => IT(e, t, n));
r = Promise.all(i);
- } else if (typeof t == "string") r = RT(e, t, n);
+ } else if (typeof t == "string") r = IT(e, t, n);
else {
- let i = typeof t == "function" ? kT(e, t, n.custom) : t;
- r = Promise.all(LT(e, i, n));
+ let i = typeof t == "function" ? ST(e, t, n.custom) : t;
+ r = Promise.all(FT(e, i, n));
}
return r.then(() => {
e.notify("AnimationComplete", t);
@@ -29421,58 +29421,58 @@ function uie(e, t, n = {}) {
}
//#endregion
//#region node_modules/motion-dom/dist/es/value/types/auto.mjs
-var die = {
+var zT = {
test: (e) => e === "auto",
parse: (e) => e
-}, zT = (e) => (t) => t.test(e), BT = [
- VC,
+}, BT = (e) => (t) => t.test(e), VT = [
+ IC,
X,
- tw,
- ew,
- Lne,
- Ine,
- die
-], VT = (e) => BT.find(zT(e));
+ JC,
+ qC,
+ Wne,
+ Une,
+ zT
+], HT = (e) => VT.find(BT(e));
//#endregion
//#region node_modules/motion-dom/dist/es/animation/keyframes/utils/is-none.mjs
-function fie(e) {
- return typeof e == "number" ? e === 0 : e === null || e === "none" || e === "0" || qS(e);
+function UT(e) {
+ return typeof e == "number" ? e === 0 : e === null || e === "none" || e === "0" || eC(e);
}
//#endregion
//#region node_modules/motion-dom/dist/es/value/types/complex/filter.mjs
-var pie = /* @__PURE__ */ new Set([
+var WT = /* @__PURE__ */ new Set([
"brightness",
"contrast",
"saturate",
"opacity"
]);
-function mie(e) {
+function GT(e) {
let [t, n] = e.slice(0, -1).split("(");
if (t === "drop-shadow") return e;
- let [r] = n.match(GC) || [];
+ let [r] = n.match(BC) || [];
if (!r) return e;
- let i = n.replace(r, ""), a = +!!pie.has(t);
+ let i = n.replace(r, ""), a = +!!WT.has(t);
return r !== n && (a *= 100), t + "(" + a + i + ")";
}
-var hie = /\b([a-z-]*)\(.*?\)/gu, HT = {
- ...uw,
+var KT = /\b([a-z-]*)\(.*?\)/gu, qT = {
+ ...rw,
getAnimatableNone: (e) => {
- let t = e.match(hie);
- return t ? t.map(mie).join(" ") : e;
+ let t = e.match(KT);
+ return t ? t.map(GT).join(" ") : e;
}
-}, UT = {
- ...uw,
+}, JT = {
+ ...rw,
getAnimatableNone: (e) => {
- let t = uw.parse(e);
- return uw.createTransformer(e)(t.map((e) => typeof e == "number" ? 0 : typeof e == "object" ? {
+ let t = rw.parse(e);
+ return rw.createTransformer(e)(t.map((e) => typeof e == "number" ? 0 : typeof e == "object" ? {
...e,
alpha: 1
} : e));
}
-}, WT = {
- ...VC,
+}, YT = {
+ ...IC,
transform: Math.round
-}, GT = {
+}, XT = {
borderWidth: X,
borderTopWidth: X,
borderRightWidth: X,
@@ -29523,18 +29523,18 @@ var hie = /\b([a-z-]*)\(.*?\)/gu, HT = {
fontSize: X,
backgroundPositionX: X,
backgroundPositionY: X,
- rotate: ew,
- pathRotation: ew,
- rotateX: ew,
- rotateY: ew,
- rotateZ: ew,
- scale: UC,
- scaleX: UC,
- scaleY: UC,
- scaleZ: UC,
- skew: ew,
- skewX: ew,
- skewY: ew,
+ rotate: qC,
+ pathRotation: qC,
+ rotateX: qC,
+ rotateY: qC,
+ rotateZ: qC,
+ scale: RC,
+ scaleX: RC,
+ scaleY: RC,
+ scaleZ: RC,
+ skew: qC,
+ skewX: qC,
+ skewY: qC,
distance: X,
translateX: X,
translateY: X,
@@ -29544,53 +29544,53 @@ var hie = /\b([a-z-]*)\(.*?\)/gu, HT = {
z: X,
perspective: X,
transformPerspective: X,
- opacity: HC,
- originX: nw,
- originY: nw,
+ opacity: LC,
+ originX: YC,
+ originY: YC,
originZ: X,
- zIndex: WT,
- fillOpacity: HC,
- strokeOpacity: HC,
- numOctaves: WT
-}, gie = {
- ...GT,
- color: iw,
- backgroundColor: iw,
- outlineColor: iw,
- fill: iw,
- stroke: iw,
- borderColor: iw,
- borderTopColor: iw,
- borderRightColor: iw,
- borderBottomColor: iw,
- borderLeftColor: iw,
- filter: HT,
- WebkitFilter: HT,
- mask: UT,
- WebkitMask: UT
-}, KT = (e) => gie[e], _ie = /*@__PURE__*/ new Set([HT, UT]);
-function qT(e, t) {
- let n = KT(e);
- return _ie.has(n) || (n = uw), n.getAnimatableNone ? n.getAnimatableNone(t) : void 0;
+ zIndex: YT,
+ fillOpacity: LC,
+ strokeOpacity: LC,
+ numOctaves: YT
+}, ZT = {
+ ...XT,
+ color: ZC,
+ backgroundColor: ZC,
+ outlineColor: ZC,
+ fill: ZC,
+ stroke: ZC,
+ borderColor: ZC,
+ borderTopColor: ZC,
+ borderRightColor: ZC,
+ borderBottomColor: ZC,
+ borderLeftColor: ZC,
+ filter: qT,
+ WebkitFilter: qT,
+ mask: JT,
+ WebkitMask: JT
+}, QT = (e) => ZT[e], $T = /*@__PURE__*/ new Set([qT, JT]);
+function eE(e, t) {
+ let n = QT(e);
+ return $T.has(n) || (n = rw), n.getAnimatableNone ? n.getAnimatableNone(t) : void 0;
}
//#endregion
//#region node_modules/motion-dom/dist/es/animation/keyframes/utils/make-none-animatable.mjs
-var vie = /* @__PURE__ */ new Set([
+var tE = /* @__PURE__ */ new Set([
"auto",
"none",
"0"
]);
-function yie(e, t, n) {
+function nE(e, t, n) {
let r = 0, i;
for (; r < e.length && !i;) {
let t = e[r];
- typeof t == "string" && !vie.has(t) && cw(t).values.length && (i = e[r]), r++;
+ typeof t == "string" && !tE.has(t) && tw(t).values.length && (i = e[r]), r++;
}
- if (i && n) for (let r of t) e[r] = qT(n, i);
+ if (i && n) for (let r of t) e[r] = eE(n, i);
}
//#endregion
//#region node_modules/motion-dom/dist/es/animation/keyframes/DOMKeyframesResolver.mjs
-var bie = class extends nT {
+var rE = class extends Yw {
constructor(e, t, n, r, i) {
super(e, t, n, r, i, !0);
}
@@ -29600,34 +29600,34 @@ var bie = class extends nT {
super.readKeyframes();
for (let n = 0; n < e.length; n++) {
let r = e[n];
- if (typeof r == "string" && (r = r.trim(), RC(r))) {
- let i = ET(r, t.current);
+ if (typeof r == "string" && (r = r.trim(), PC(r))) {
+ let i = yT(r, t.current);
i !== void 0 && (e[n] = i), n === e.length - 1 && (this.finalKeyframe = r);
}
}
- if (this.resolveNoneKeyframes(), !AT.has(n) || e.length !== 2) return;
- let [r, i] = e, a = VT(r), o = VT(i);
- if (BC(r) !== BC(i) && Yw[n]) {
+ if (this.resolveNoneKeyframes(), !CT.has(n) || e.length !== 2) return;
+ let [r, i] = e, a = HT(r), o = HT(i);
+ if (FC(r) !== FC(i) && Hw[n]) {
this.needsMeasurement = !0;
return;
}
if (a !== o) {
- if (Jw(a) && Jw(o)) for (let t = 0; t < e.length; t++) {
+ if (Vw(a) && Vw(o)) for (let t = 0; t < e.length; t++) {
let n = e[t];
typeof n == "string" && (e[t] = parseFloat(n));
}
- else Yw[n] && (this.needsMeasurement = !0);
+ else Hw[n] && (this.needsMeasurement = !0);
}
}
resolveNoneKeyframes() {
let { unresolvedKeyframes: e, name: t } = this, n = [];
- for (let t = 0; t < e.length; t++) (e[t] === null || fie(e[t])) && n.push(t);
- n.length && yie(e, n, t);
+ for (let t = 0; t < e.length; t++) (e[t] === null || UT(e[t])) && n.push(t);
+ n.length && nE(e, n, t);
}
measureInitialState() {
let { element: e, unresolvedKeyframes: t, name: n } = this;
if (!e || !e.current) return;
- n === "height" && (this.suspendedScrollY = window.pageYOffset), this.measuredOrigin = Yw[n](e.measureViewportBox(), window.getComputedStyle(e.current)), t[0] = this.measuredOrigin;
+ n === "height" && (this.suspendedScrollY = window.pageYOffset), this.measuredOrigin = Hw[n](e.measureViewportBox(), window.getComputedStyle(e.current)), t[0] = this.measuredOrigin;
let r = t[t.length - 1];
r !== void 0 && e.getValue(n, r).jump(r, !1);
}
@@ -29637,23 +29637,23 @@ var bie = class extends nT {
let r = e.getValue(t);
r && r.jump(this.measuredOrigin, !1);
let i = n.length - 1, a = n[i];
- n[i] = Yw[t](e.measureViewportBox(), window.getComputedStyle(e.current)), a !== null && this.finalKeyframe === void 0 && (this.finalKeyframe = a), this.removedTransforms?.length && this.removedTransforms.forEach(([t, n]) => {
+ n[i] = Hw[t](e.measureViewportBox(), window.getComputedStyle(e.current)), a !== null && this.finalKeyframe === void 0 && (this.finalKeyframe = a), this.removedTransforms?.length && this.removedTransforms.forEach(([t, n]) => {
e.getValue(t).set(n);
}), this.resolveNoneKeyframes();
}
-}, JT = [
+}, iE = [
"borderTopLeftRadius",
"borderTopRightRadius",
"borderBottomRightRadius",
"borderBottomLeftRadius"
-], xie = /* @__PURE__ */ new Set([
+], aE = /* @__PURE__ */ new Set([
"borderWidth",
"borderTopWidth",
"borderRightWidth",
"borderBottomWidth",
"borderLeftWidth",
"borderRadius",
- ...JT,
+ ...iE,
"width",
"maxWidth",
"height",
@@ -29697,12 +29697,12 @@ var bie = class extends nT {
]);
//#endregion
//#region node_modules/motion-dom/dist/es/animation/keyframes/utils/apply-px-defaults.mjs
-function Sie(e, t) {
- for (let n = 0; n < e.length; n++) typeof e[n] == "number" && xie.has(t) && (e[n] = e[n] + "px");
+function oE(e, t) {
+ for (let n = 0; n < e.length; n++) typeof e[n] == "number" && aE.has(t) && (e[n] = e[n] + "px");
}
//#endregion
//#region node_modules/motion-dom/dist/es/utils/resolve-elements.mjs
-function YT(e, t, n) {
+function sE(e, t, n) {
if (e == null) return [];
if (e instanceof EventTarget) return [e];
if (typeof e == "string") {
@@ -29715,34 +29715,34 @@ function YT(e, t, n) {
}
//#endregion
//#region node_modules/motion-dom/dist/es/value/types/utils/get-as-type.mjs
-var XT = (e, t) => t && typeof e == "number" ? t.transform(e) : e;
+var cE = (e, t) => t && typeof e == "number" ? t.transform(e) : e;
//#endregion
//#region node_modules/motion-dom/dist/es/utils/is-html-element.mjs
-function ZT(e) {
- return KS(e) && "offsetHeight" in e && !("ownerSVGElement" in e);
+function lE(e) {
+ return $S(e) && "offsetHeight" in e && !("ownerSVGElement" in e);
}
//#endregion
//#region node_modules/motion-dom/dist/es/frameloop/microtask.mjs
-var { schedule: QT, cancel: Cie } = /* @__PURE__ */ DC(queueMicrotask, !1), $T = {
+var { schedule: uE, cancel: die } = /* @__PURE__ */ TC(queueMicrotask, !1), dE = {
x: !1,
y: !1
};
-function eE() {
- return $T.x || $T.y;
+function fE() {
+ return dE.x || dE.y;
}
//#endregion
//#region node_modules/motion-dom/dist/es/gestures/drag/state/set-active.mjs
-function wie(e) {
- return e === "x" || e === "y" ? $T[e] ? null : ($T[e] = !0, () => {
- $T[e] = !1;
- }) : $T.x || $T.y ? null : ($T.x = $T.y = !0, () => {
- $T.x = $T.y = !1;
+function pE(e) {
+ return e === "x" || e === "y" ? dE[e] ? null : (dE[e] = !0, () => {
+ dE[e] = !1;
+ }) : dE.x || dE.y ? null : (dE.x = dE.y = !0, () => {
+ dE.x = dE.y = !1;
});
}
//#endregion
//#region node_modules/motion-dom/dist/es/gestures/utils/setup.mjs
-function tE(e, t) {
- let n = YT(e), r = new AbortController();
+function mE(e, t) {
+ let n = sE(e), r = new AbortController();
return [
n,
{
@@ -29755,11 +29755,11 @@ function tE(e, t) {
}
//#endregion
//#region node_modules/motion-dom/dist/es/gestures/hover.mjs
-function Tie(e) {
- return !(e.pointerType === "touch" || eE());
+function hE(e) {
+ return !(e.pointerType === "touch" || fE());
}
-function Eie(e, t, n = {}) {
- let [r, i, a] = tE(e, n);
+function gE(e, t, n = {}) {
+ let [r, i, a] = mE(e, n);
return r.forEach((e) => {
let n = !1, r = !1, a, o = () => {
e.removeEventListener("pointerleave", u);
@@ -29779,7 +29779,7 @@ function Eie(e, t, n = {}) {
}
};
e.addEventListener("pointerenter", (n) => {
- if (!Tie(n)) return;
+ if (!hE(n)) return;
r = !1;
let o = t(e, n);
typeof o == "function" && (a = o, e.addEventListener("pointerleave", u, i));
@@ -29788,130 +29788,130 @@ function Eie(e, t, n = {}) {
}
//#endregion
//#region node_modules/motion-dom/dist/es/gestures/utils/is-node-or-child.mjs
-var nE = (e, t) => t ? e === t || nE(e, t.parentElement) : !1, rE = (e) => e.pointerType === "mouse" ? typeof e.button != "number" || e.button <= 0 : e.isPrimary !== !1, Die = /* @__PURE__ */ new Set([
+var _E = (e, t) => t ? e === t || _E(e, t.parentElement) : !1, vE = (e) => e.pointerType === "mouse" ? typeof e.button != "number" || e.button <= 0 : e.isPrimary !== !1, yE = /* @__PURE__ */ new Set([
"BUTTON",
"INPUT",
"SELECT",
"TEXTAREA",
"A"
]);
-function Oie(e) {
- return Die.has(e.tagName) || e.isContentEditable === !0;
+function bE(e) {
+ return yE.has(e.tagName) || e.isContentEditable === !0;
}
-var kie = /* @__PURE__ */ new Set([
+var xE = /* @__PURE__ */ new Set([
"INPUT",
"SELECT",
"TEXTAREA"
]);
-function Aie(e) {
- return kie.has(e.tagName) || e.isContentEditable === !0;
+function SE(e) {
+ return xE.has(e.tagName) || e.isContentEditable === !0;
}
//#endregion
//#region node_modules/motion-dom/dist/es/gestures/press/utils/state.mjs
-var iE = /* @__PURE__ */ new WeakSet();
+var CE = /* @__PURE__ */ new WeakSet();
//#endregion
//#region node_modules/motion-dom/dist/es/gestures/press/utils/keyboard.mjs
-function aE(e) {
+function wE(e) {
return (t) => {
t.key === "Enter" && e(t);
};
}
-function oE(e, t) {
+function TE(e, t) {
e.dispatchEvent(new PointerEvent("pointer" + t, {
isPrimary: !0,
bubbles: !0
}));
}
-var jie = (e, t) => {
+var EE = (e, t) => {
let n = e.currentTarget;
if (!n) return;
- let r = aE(() => {
- if (iE.has(n)) return;
- oE(n, "down");
- let e = aE(() => {
- oE(n, "up");
+ let r = wE(() => {
+ if (CE.has(n)) return;
+ TE(n, "down");
+ let e = wE(() => {
+ TE(n, "up");
});
- n.addEventListener("keyup", e, t), n.addEventListener("blur", () => oE(n, "cancel"), t);
+ n.addEventListener("keyup", e, t), n.addEventListener("blur", () => TE(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 sE(e) {
- return rE(e) && !eE();
+function DE(e) {
+ return vE(e) && !fE();
}
-var cE = /* @__PURE__ */ new WeakSet();
-function Mie(e, t, n = {}) {
- let [r, i, a] = tE(e, n), o = (e) => {
+var OE = /* @__PURE__ */ new WeakSet();
+function kE(e, t, n = {}) {
+ let [r, i, a] = mE(e, n), o = (e) => {
let r = e.currentTarget;
- if (!sE(e) || cE.has(e)) return;
- iE.add(r), n.stopPropagation && cE.add(e);
+ if (!DE(e) || OE.has(e)) return;
+ CE.add(r), n.stopPropagation && OE.add(e);
let a = t(r, e), o = {
...i,
capture: !0
}, s = (e, t) => {
- window.removeEventListener("pointerup", c, o), window.removeEventListener("pointercancel", l, o), iE.has(r) && iE.delete(r), sE(e) && typeof a == "function" && a(e, { success: t });
+ window.removeEventListener("pointerup", c, o), window.removeEventListener("pointercancel", l, o), CE.has(r) && CE.delete(r), DE(e) && typeof a == "function" && a(e, { success: t });
}, c = (e) => {
- s(e, r === window || r === document || n.useGlobalTarget || nE(r, e.target));
+ s(e, r === window || r === document || n.useGlobalTarget || _E(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), ZT(e) && (e.addEventListener("focus", (e) => jie(e, i)), !Oie(e) && !e.hasAttribute("tabindex") && (e.tabIndex = 0));
+ (n.useGlobalTarget ? window : e).addEventListener("pointerdown", o, i), lE(e) && (e.addEventListener("focus", (e) => EE(e, i)), !bE(e) && !e.hasAttribute("tabindex") && (e.tabIndex = 0));
}), a;
}
//#endregion
//#region node_modules/motion-dom/dist/es/render/dom/style-computed.mjs
-function lE(e, t) {
+function AE(e, t) {
let n = window.getComputedStyle(e);
- return rT(t) ? n.getPropertyValue(t) : n[t];
+ return Xw(t) ? n.getPropertyValue(t) : n[t];
}
//#endregion
//#region node_modules/motion-dom/dist/es/utils/is-svg-element.mjs
-function uE(e) {
- return KS(e) && "ownerSVGElement" in e;
+function jE(e) {
+ return $S(e) && "ownerSVGElement" in e;
}
//#endregion
//#region node_modules/motion-dom/dist/es/resize/handle-element.mjs
-var dE = /* @__PURE__ */ new WeakMap(), fE, pE = (e, t, n) => (r, i) => i && i[0] ? i[0][e + "Size"] : uE(r) && "getBBox" in r ? r.getBBox()[t] : r[n], Nie = /*@__PURE__*/ pE("inline", "width", "offsetWidth"), Pie = /*@__PURE__*/ pE("block", "height", "offsetHeight");
-function Fie({ target: e, borderBoxSize: t }) {
- dE.get(e)?.forEach((n) => {
+var ME = /* @__PURE__ */ new WeakMap(), NE, PE = (e, t, n) => (r, i) => i && i[0] ? i[0][e + "Size"] : jE(r) && "getBBox" in r ? r.getBBox()[t] : r[n], fie = /*@__PURE__*/ PE("inline", "width", "offsetWidth"), pie = /*@__PURE__*/ PE("block", "height", "offsetHeight");
+function mie({ target: e, borderBoxSize: t }) {
+ ME.get(e)?.forEach((n) => {
n(e, {
get width() {
- return Nie(e, t);
+ return fie(e, t);
},
get height() {
- return Pie(e, t);
+ return pie(e, t);
}
});
});
}
-function Iie(e) {
- e.forEach(Fie);
+function hie(e) {
+ e.forEach(mie);
}
-function Lie() {
- typeof ResizeObserver > "u" || (fE = new ResizeObserver(Iie));
+function gie() {
+ typeof ResizeObserver > "u" || (NE = new ResizeObserver(hie));
}
-function Rie(e, t) {
- fE || Lie();
- let n = YT(e);
+function _ie(e, t) {
+ NE || gie();
+ let n = sE(e);
return n.forEach((e) => {
- let n = dE.get(e);
- n || (n = /* @__PURE__ */ new Set(), dE.set(e, n)), n.add(t), fE?.observe(e);
+ let n = ME.get(e);
+ n || (n = /* @__PURE__ */ new Set(), ME.set(e, n)), n.add(t), NE?.observe(e);
}), () => {
n.forEach((e) => {
- let n = dE.get(e);
- n?.delete(t), n?.size || fE?.unobserve(e);
+ let n = ME.get(e);
+ n?.delete(t), n?.size || NE?.unobserve(e);
});
};
}
//#endregion
//#region node_modules/motion-dom/dist/es/resize/handle-window.mjs
-var mE = /* @__PURE__ */ new Set(), hE;
-function zie() {
- hE = () => {
+var FE = /* @__PURE__ */ new Set(), IE;
+function vie() {
+ IE = () => {
let e = {
get width() {
return window.innerWidth;
@@ -29920,49 +29920,49 @@ function zie() {
return window.innerHeight;
}
};
- mE.forEach((t) => t(e));
- }, window.addEventListener("resize", hE);
+ FE.forEach((t) => t(e));
+ }, window.addEventListener("resize", IE);
}
-function Bie(e) {
- return mE.add(e), hE || zie(), () => {
- mE.delete(e), !mE.size && typeof hE == "function" && (window.removeEventListener("resize", hE), hE = void 0);
+function yie(e) {
+ return FE.add(e), IE || vie(), () => {
+ FE.delete(e), !FE.size && typeof IE == "function" && (window.removeEventListener("resize", IE), IE = void 0);
};
}
//#endregion
//#region node_modules/motion-dom/dist/es/resize/index.mjs
-function gE(e, t) {
- return typeof e == "function" ? Bie(e) : Rie(e, t);
+function LE(e, t) {
+ return typeof e == "function" ? yie(e) : _ie(e, t);
}
//#endregion
//#region node_modules/motion-dom/dist/es/stats/buffer.mjs
-var _E = {
+var RE = {
value: null,
addProjectionMetrics: null
};
//#endregion
//#region node_modules/motion-dom/dist/es/utils/is-svg-svg-element.mjs
-function Vie(e) {
- return uE(e) && e.tagName === "svg";
+function bie(e) {
+ return jE(e) && e.tagName === "svg";
}
//#endregion
//#region node_modules/motion-dom/dist/es/utils/transform.mjs
-function Hie(...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 = jw(i, a, o);
+function xie(...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 = ww(i, a, o);
return t ? s(r) : s;
}
//#endregion
//#region node_modules/motion-dom/dist/es/value/follow-value.mjs
-function Uie(e, t, n = {}) {
+function Sie(e, t, n = {}) {
let r = e.get(), i = null, a = r, o, s = typeof r == "string" ? r.replace(/[\d.-]/g, "") : void 0, c = () => {
i &&= (i.stop(), null), e.animation = void 0;
}, l = () => {
- let t = yE(e.get()), r = yE(a);
+ let t = BE(e.get()), r = BE(a);
if (t === r) {
c();
return;
}
let s = i ? i.getGeneratorVelocity() : e.getVelocity();
- c(), i = new Iw({
+ c(), i = new kw({
keyframes: [t, r],
velocity: s,
type: "spring",
@@ -29977,10 +29977,10 @@ function Uie(e, t, n = {}) {
});
};
if (e.attach((e, t) => {
- a = e, o = (e) => t(vE(e, s)), OC.postRender(u);
- }, c), MT(t)) {
+ a = e, o = (e) => t(zE(e, s)), EC.postRender(u);
+ }, c), OT(t)) {
let r = n.skipInitialAnimation === !0, i = t.on("change", (t) => {
- r ? (r = !1, e.jump(vE(t, s), !1)) : e.set(vE(t, s));
+ r ? (r = !1, e.jump(zE(t, s), !1)) : e.set(zE(t, s));
}), a = e.on("destroy", i);
return () => {
i(), a();
@@ -29988,46 +29988,46 @@ function Uie(e, t, n = {}) {
}
return c;
}
-function vE(e, t) {
+function zE(e, t) {
return t ? e + t : e;
}
-function yE(e) {
+function BE(e) {
return typeof e == "number" ? e : parseFloat(e);
}
//#endregion
//#region node_modules/motion-dom/dist/es/value/types/utils/find.mjs
-var Wie = [
- ...BT,
- iw,
- uw
-], Gie = (e) => Wie.find(zT(e)), bE = () => ({
+var Cie = [
+ ...VT,
+ ZC,
+ rw
+], wie = (e) => Cie.find(BT(e)), VE = () => ({
translate: 0,
scale: 1,
origin: 0,
originPoint: 0
-}), xE = () => ({
- x: bE(),
- y: bE()
-}), SE = () => ({
+}), HE = () => ({
+ x: VE(),
+ y: VE()
+}), UE = () => ({
min: 0,
max: 0
-}), CE = () => ({
- x: SE(),
- y: SE()
-}), Kie = /* @__PURE__ */ new WeakMap();
+}), WE = () => ({
+ x: UE(),
+ y: UE()
+}), Tie = /* @__PURE__ */ new WeakMap();
//#endregion
//#region node_modules/motion-dom/dist/es/render/utils/is-animation-controls.mjs
-function wE(e) {
+function GE(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 TE(e) {
+function KE(e) {
return typeof e == "string" || Array.isArray(e);
}
//#endregion
//#region node_modules/motion-dom/dist/es/render/utils/variant-props.mjs
-var EE = [
+var qE = [
"animate",
"whileInView",
"whileFocus",
@@ -30035,29 +30035,29 @@ var EE = [
"whileTap",
"whileDrag",
"exit"
-], DE = ["initial", ...EE];
+], JE = ["initial", ...qE];
//#endregion
//#region node_modules/motion-dom/dist/es/render/utils/is-controlling-variants.mjs
-function OE(e) {
- return wE(e.animate) || DE.some((t) => TE(e[t]));
+function YE(e) {
+ return GE(e.animate) || JE.some((t) => KE(e[t]));
}
-function kE(e) {
- return !!(OE(e) || e.variants);
+function XE(e) {
+ return !!(YE(e) || e.variants);
}
//#endregion
//#region node_modules/motion-dom/dist/es/render/utils/motion-values.mjs
-function qie(e, t, n) {
+function Eie(e, t, n) {
for (let r in t) {
let i = t[r], a = n[r];
- if (MT(i)) e.addValue(r, i);
- else if (MT(a)) e.addValue(r, ST(i, { owner: e }));
+ if (OT(i)) e.addValue(r, i);
+ else if (OT(a)) e.addValue(r, hT(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, ST(t === void 0 ? i : t, { owner: e }));
+ e.addValue(r, hT(t === void 0 ? i : t, { owner: e }));
}
}
}
@@ -30066,18 +30066,18 @@ function qie(e, t, n) {
}
//#endregion
//#region node_modules/motion-dom/dist/es/render/utils/reduced-motion/state.mjs
-var AE = { current: null }, jE = { current: !1 }, Jie = typeof window < "u";
-function ME() {
- if (jE.current = !0, Jie) {
+var ZE = { current: null }, QE = { current: !1 }, Die = typeof window < "u";
+function $E() {
+ if (QE.current = !0, Die) {
if (window.matchMedia) {
- let e = window.matchMedia("(prefers-reduced-motion)"), t = () => AE.current = e.matches;
+ let e = window.matchMedia("(prefers-reduced-motion)"), t = () => ZE.current = e.matches;
e.addEventListener("change", t), t();
- } else AE.current = !1;
+ } else ZE.current = !1;
}
}
//#endregion
//#region node_modules/motion-dom/dist/es/render/VisualElement.mjs
-var NE = [
+var eD = [
"AnimationStart",
"AnimationComplete",
"Update",
@@ -30085,38 +30085,38 @@ var NE = [
"LayoutMeasure",
"LayoutAnimationStart",
"LayoutAnimationComplete"
-], PE = {};
-function FE(e) {
- PE = e;
+], tD = {};
+function nD(e) {
+ tD = e;
}
-function Yie() {
- return PE;
+function Oie() {
+ return tD;
}
-var Xie = class {
+var kie = 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 = nT, 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 = Yw, 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 = PC.now();
- this.renderScheduledAt < e && (this.renderScheduledAt = e, OC.render(this.render, !1, !0));
+ let e = jC.now();
+ this.renderScheduledAt < e && (this.renderScheduledAt = e, EC.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 = OE(t), this.isVariantNode = kE(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 = YE(t), this.isVariantNode = XE(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 && MT(t) && t.set(c[e]);
+ c[e] !== void 0 && OT(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, Kie.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 : (jE.current || ME(), this.shouldReduceMotion = AE.current), this.shouldSkipAnimations = this.skipAnimationsConfig ?? !1, this.parent?.addChild(this), this.update(this.props, this.presenceContext), this.hasBeenMounted = !0;
+ this.current = e, Tie.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 : (QE.current || $E(), this.shouldReduceMotion = ZE.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(), kC(this.notifyUpdate), kC(this.render), this.valueSubscriptions.forEach((e) => e()), this.valueSubscriptions.clear(), this.removeFromVariantTree && this.removeFromVariantTree(), this.parent?.removeChild(this);
+ this.projection && this.projection.unmount(), DC(this.notifyUpdate), DC(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];
@@ -30131,24 +30131,24 @@ var Xie = 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 && gT.has(e) && this.current instanceof HTMLElement) {
- let { factory: n, keyframes: r, times: i, ease: a, duration: o } = t.accelerate, s = new dT({
+ if (this.valueSubscriptions.has(e) && this.valueSubscriptions.get(e)(), t.accelerate && lT.has(e) && this.current instanceof HTMLElement) {
+ let { factory: n, keyframes: r, times: i, ease: a, duration: o } = t.accelerate, s = new iT({
element: this.current,
name: e,
keyframes: r,
times: i,
ease: a,
- duration: /* @__PURE__ */ $S(o)
+ duration: /* @__PURE__ */ oC(o)
}), c = n(s);
this.valueSubscriptions.set(e, () => {
c(), s.cancel();
});
return;
}
- let n = qw.has(e);
+ let n = Bw.has(e);
n && this.onBindTransform && this.onBindTransform();
let r = t.on("change", (t) => {
- this.latestValues[e] = t, this.props.onUpdate && OC.preRender(this.notifyUpdate), n && this.projection && (this.projection.isTransformDirty = !0), this.scheduleRender();
+ this.latestValues[e] = t, this.props.onUpdate && EC.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();
@@ -30159,8 +30159,8 @@ var Xie = class {
}
updateFeatures() {
let e = "animation";
- for (e in PE) {
- let t = PE[e];
+ for (e in tD) {
+ let t = tD[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]) {
@@ -30173,7 +30173,7 @@ var Xie = class {
this.build(this.renderState, this.latestValues, this.props);
}
measureViewportBox() {
- return this.current ? this.measureInstanceViewportBox(this.current, this.props) : CE();
+ return this.current ? this.measureInstanceViewportBox(this.current, this.props) : WE();
}
getStaticValue(e) {
return this.latestValues[e];
@@ -30183,13 +30183,13 @@ var Xie = 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 < NE.length; t++) {
- let n = NE[t];
+ for (let t = 0; t < eD.length; t++) {
+ let n = eD[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 = qie(this, this.scrapeMotionValuesFromProps(e, this.prevProps || {}, this), this.prevMotionValues), this.handleChildMotionValue && this.handleChildMotionValue();
+ this.prevMotionValues = Eie(this, this.scrapeMotionValuesFromProps(e, this.prevProps || {}, this), this.prevMotionValues), this.handleChildMotionValue && this.handleChildMotionValue();
}
getProps() {
return this.props;
@@ -30225,11 +30225,11 @@ var Xie = 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 = ST(t === null ? void 0 : t, { owner: this }), this.addValue(e, n)), n;
+ return n === void 0 && t !== void 0 && (n = hT(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" && (GS(n) || qS(n)) ? n = parseFloat(n) : !Gie(n) && uw.test(t) && (n = qT(e, t)), this.setBaseTarget(e, MT(n) ? n.get() : n)), MT(n) ? n.get() : n;
+ return n != null && (typeof n == "string" && (QS(n) || eC(n)) ? n = parseFloat(n) : !wie(n) && rw.test(t) && (n = eE(e, t)), this.setBaseTarget(e, OT(n) ? n.get() : n)), OT(n) ? n.get() : n;
}
setBaseTarget(e, t) {
this.baseTarget[e] = t;
@@ -30237,25 +30237,25 @@ var Xie = class {
getBaseTarget(e) {
let { initial: t } = this.props, n;
if (typeof t == "string" || typeof t == "object") {
- let r = OT(this.props, t, this.presenceContext?.custom);
+ let r = xT(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 && !MT(r) ? r : this.initialValues[e] !== void 0 && n === void 0 ? void 0 : this.baseTarget[e];
+ return r !== void 0 && !OT(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 QS()), this.events[e].add(t);
+ return this.events[e] || (this.events[e] = new aC()), this.events[e].add(t);
}
notify(e, ...t) {
this.events[e] && this.events[e].notify(...t);
}
scheduleRenderMicrotask() {
- QT.render(this.render);
+ uE.render(this.render);
}
-}, IE = class extends Xie {
+}, rD = class extends kie {
constructor() {
- super(...arguments), this.KeyframeResolver = bie;
+ super(...arguments), this.KeyframeResolver = rE;
}
sortInstanceNodePosition(e, t) {
return e.compareDocumentPosition(t) & 2 ? 1 : -1;
@@ -30270,11 +30270,11 @@ var Xie = class {
handleChildMotionValue() {
this.childSubscription && (this.childSubscription(), delete this.childSubscription);
let { children: e } = this.props;
- MT(e) && (this.childSubscription = e.on("change", (e) => {
+ OT(e) && (this.childSubscription = e.on("change", (e) => {
this.current && (this.current.textContent = `${e}`);
}));
}
-}, LE = class {
+}, iD = class {
constructor(e) {
this.isMounted = !1, this.node = e;
}
@@ -30282,7 +30282,7 @@ var Xie = class {
};
//#endregion
//#region node_modules/motion-dom/dist/es/projection/geometry/conversion.mjs
-function RE({ top: e, left: t, right: n, bottom: r }) {
+function aD({ top: e, left: t, right: n, bottom: r }) {
return {
x: {
min: t,
@@ -30294,7 +30294,7 @@ function RE({ top: e, left: t, right: n, bottom: r }) {
}
};
}
-function Zie({ x: e, y: t }) {
+function Aie({ x: e, y: t }) {
return {
top: t.min,
right: e.max,
@@ -30302,7 +30302,7 @@ function Zie({ x: e, y: t }) {
left: e.min
};
}
-function Qie(e, t) {
+function jie(e, t) {
if (!t) return e;
let n = t({
x: e.left,
@@ -30320,37 +30320,37 @@ function Qie(e, t) {
}
//#endregion
//#region node_modules/motion-dom/dist/es/projection/utils/has-transform.mjs
-function zE(e) {
+function oD(e) {
return e === void 0 || e === 1;
}
-function BE({ scale: e, scaleX: t, scaleY: n }) {
- return !zE(e) || !zE(t) || !zE(n);
+function sD({ scale: e, scaleX: t, scaleY: n }) {
+ return !oD(e) || !oD(t) || !oD(n);
}
-function VE(e) {
- return BE(e) || HE(e) || e.z || e.rotate || e.rotateX || e.rotateY || e.skewX || e.skewY;
+function cD(e) {
+ return sD(e) || lD(e) || e.z || e.rotate || e.rotateX || e.rotateY || e.skewX || e.skewY;
}
-function HE(e) {
- return UE(e.x) || UE(e.y);
+function lD(e) {
+ return uD(e.x) || uD(e.y);
}
-function UE(e) {
+function uD(e) {
return e && e !== "0%";
}
//#endregion
//#region node_modules/motion-dom/dist/es/projection/geometry/delta-apply.mjs
-function WE(e, t, n) {
+function dD(e, t, n) {
return n + t * (e - n);
}
-function GE(e, t, n, r, i) {
- return i !== void 0 && (e = WE(e, i, r)), WE(e, n, r) + t;
+function fD(e, t, n, r, i) {
+ return i !== void 0 && (e = dD(e, i, r)), dD(e, n, r) + t;
}
-function KE(e, t = 0, n = 1, r, i) {
- e.min = GE(e.min, t, n, r, i), e.max = GE(e.max, t, n, r, i);
+function pD(e, t = 0, n = 1, r, i) {
+ e.min = fD(e.min, t, n, r, i), e.max = fD(e.max, t, n, r, i);
}
-function qE(e, { x: t, y: n }) {
- KE(e.x, t.translate, t.scale, t.originPoint), KE(e.y, n.translate, n.scale, n.originPoint);
+function mD(e, { x: t, y: n }) {
+ pD(e.x, t.translate, t.scale, t.originPoint), pD(e.y, n.translate, n.scale, n.originPoint);
}
-var JE = .999999999999, YE = 1.0000000000001;
-function $ie(e, t, n, r = !1) {
+var hD = .999999999999, gD = 1.0000000000001;
+function Mie(e, t, n, r = !1) {
let i = n.length;
if (!i) return;
t.x = t.y = 1;
@@ -30358,44 +30358,44 @@ function $ie(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 && (XE(e.x, -a.scroll.offset.x), XE(e.y, -a.scroll.offset.y)), o && (t.x *= o.x.scale, t.y *= o.y.scale, qE(e, o)), r && VE(a.latestValues) && $E(e, a.latestValues, a.layout?.layoutBox));
+ i && i.props.style && i.props.style.display === "contents" || (r && a.options.layoutScroll && a.scroll && a !== a.root && (_D(e.x, -a.scroll.offset.x), _D(e.y, -a.scroll.offset.y)), o && (t.x *= o.x.scale, t.y *= o.y.scale, mD(e, o)), r && cD(a.latestValues) && bD(e, a.latestValues, a.layout?.layoutBox));
}
- t.x < YE && t.x > JE && (t.x = 1), t.y < YE && t.y > JE && (t.y = 1);
+ t.x < gD && t.x > hD && (t.x = 1), t.y < gD && t.y > hD && (t.y = 1);
}
-function XE(e, t) {
+function _D(e, t) {
e.min += t, e.max += t;
}
-function ZE(e, t, n, r, i = .5) {
- KE(e, t, n, pw(e.min, e.max, i), r);
+function vD(e, t, n, r, i = .5) {
+ pD(e, t, n, ow(e.min, e.max, i), r);
}
-function QE(e, t) {
+function yD(e, t) {
return typeof e == "string" ? parseFloat(e) / 100 * (t.max - t.min) : e;
}
-function $E(e, t, n) {
+function bD(e, t, n) {
let r = n ?? e;
- ZE(e.x, QE(t.x, r.x), t.scaleX, t.scale, t.originX), ZE(e.y, QE(t.y, r.y), t.scaleY, t.scale, t.originY);
+ vD(e.x, yD(t.x, r.x), t.scaleX, t.scale, t.originX), vD(e.y, yD(t.y, r.y), t.scaleY, t.scale, t.originY);
}
//#endregion
//#region node_modules/motion-dom/dist/es/projection/utils/measure.mjs
-function eD(e, t) {
- return RE(Qie(e.getBoundingClientRect(), t));
+function xD(e, t) {
+ return aD(jie(e.getBoundingClientRect(), t));
}
-function eae(e, t, n) {
- let r = eD(e, n), { scroll: i } = t;
- return i && (XE(r.x, i.offset.x), XE(r.y, i.offset.y)), r;
+function Nie(e, t, n) {
+ let r = xD(e, n), { scroll: i } = t;
+ return i && (_D(r.x, i.offset.x), _D(r.y, i.offset.y)), r;
}
//#endregion
//#region node_modules/motion-dom/dist/es/render/html/utils/build-transform.mjs
-var tae = {
+var Pie = {
x: "translateX",
y: "translateY",
z: "translateZ",
transformPerspective: "perspective"
-}, nae = Kw.length;
-function rae(e, t, n) {
+}, Fie = zw.length;
+function Iie(e, t, n) {
let r = "", i = !0;
- for (let a = 0; a < nae; a++) {
- let o = Kw[a], s = e[o];
+ for (let a = 0; a < Fie; a++) {
+ let o = zw[a], s = e[o];
if (s === void 0) continue;
let c = !0;
if (typeof s == "number") c = s === +!!o.startsWith("scale");
@@ -30404,154 +30404,154 @@ function rae(e, t, n) {
c = o.startsWith("scale") ? e === 1 : e === 0;
}
if (!c || n) {
- let e = XT(s, GT[o]);
+ let e = cE(s, XT[o]);
if (!c) {
i = !1;
- let t = tae[o] || o;
+ let t = Pie[o] || o;
r += `${t}(${e}) `;
}
n && (t[o] = e);
}
}
let a = e.pathRotation;
- return a && (i = !1, r += `rotate(${XT(a, GT.pathRotation)}) `), r = r.trim(), n ? r = n(t, i ? "" : r) : i && (r = "none"), r;
+ return a && (i = !1, r += `rotate(${cE(a, XT.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 tD(e, t, n) {
+function SD(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 (qw.has(e)) {
+ if (Bw.has(e)) {
o = !0;
continue;
}
- if (IC(e)) {
+ if (NC(e)) {
i[e] = n;
continue;
}
{
- let t = XT(n, GT[e]);
+ let t = cE(n, XT[e]);
e.startsWith("origin") ? (s = !0, a[e] = t) : r[e] = t;
}
}
- if (t.transform || (o || n ? r.transform = rae(t, e.transform, n) : r.transform &&= "none"), s) {
+ if (t.transform || (o || n ? r.transform = Iie(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/html/utils/render.mjs
-function nD(e, { style: t, vars: n }, r, i) {
+function CD(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 rD(e, t) {
+function wD(e, t) {
return t.max === t.min ? 0 : e / (t.max - t.min) * 100;
}
-var iD = { correct: (e, t) => {
+var TD = { correct: (e, t) => {
if (!t.target) return e;
if (typeof e == "string") {
if (X.test(e)) e = parseFloat(e);
else return e;
}
- return `${rD(e, t.target.x)}% ${rD(e, t.target.y)}%`;
-} }, iae = { correct: (e, { treeScale: t, projectionDelta: n }) => {
- let r = e, i = uw.parse(e);
+ return `${wD(e, t.target.x)}% ${wD(e, t.target.y)}%`;
+} }, Lie = { correct: (e, { treeScale: t, projectionDelta: n }) => {
+ let r = e, i = rw.parse(e);
if (i.length > 5) return r;
- let a = uw.createTransformer(e), o = typeof i[0] == "number" ? 0 : 1, s = n.x.scale * t.x, c = n.y.scale * t.y;
+ let a = rw.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 = pw(s, c, .5);
+ let l = ow(s, c, .5);
return typeof i[2 + o] == "number" && (i[2 + o] /= l), typeof i[3 + o] == "number" && (i[3 + o] /= l), a(i);
-} }, aD = {
+} }, ED = {
borderRadius: {
- ...iD,
- applyTo: [...JT]
+ ...TD,
+ applyTo: [...iE]
},
- borderTopLeftRadius: iD,
- borderTopRightRadius: iD,
- borderBottomLeftRadius: iD,
- borderBottomRightRadius: iD,
- boxShadow: iae
+ borderTopLeftRadius: TD,
+ borderTopRightRadius: TD,
+ borderBottomLeftRadius: TD,
+ borderBottomRightRadius: TD,
+ boxShadow: Lie
};
//#endregion
//#region node_modules/motion-dom/dist/es/render/utils/is-forced-motion-value.mjs
-function oD(e, { layout: t, layoutId: n }) {
- return qw.has(e) || e.startsWith("origin") || (t || n !== void 0) && (!!aD[e] || e === "opacity");
+function DD(e, { layout: t, layoutId: n }) {
+ return Bw.has(e) || e.startsWith("origin") || (t || n !== void 0) && (!!ED[e] || e === "opacity");
}
//#endregion
//#region node_modules/motion-dom/dist/es/render/html/utils/scrape-motion-values.mjs
-function sD(e, t, n) {
+function OD(e, t, n) {
let r = e.style, i = t?.style, a = {};
if (!r) return a;
- for (let t in r) (MT(r[t]) || i && MT(i[t]) || oD(t, e) || n?.getValue(t)?.liveStyle !== void 0) && (a[t] = r[t]);
+ for (let t in r) (OT(r[t]) || i && OT(i[t]) || DD(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 aae(e) {
+function Rie(e) {
return window.getComputedStyle(e);
}
-var oae = class extends IE {
+var zie = class extends rD {
constructor() {
- super(...arguments), this.type = "html", this.renderInstance = nD;
+ super(...arguments), this.type = "html", this.renderInstance = CD;
}
mount(e) {
e.style, super.mount(e);
}
readValueFromInstance(e, t) {
- if (qw.has(t)) return this.projection?.isProjecting ? Ww(t) : xre(e, t);
+ if (Bw.has(t)) return this.projection?.isProjecting ? Lw(t) : Ore(e, t);
{
- let n = aae(e), r = (IC(t) ? n.getPropertyValue(t) : n[t]) || 0;
+ let n = Rie(e), r = (NC(t) ? n.getPropertyValue(t) : n[t]) || 0;
return typeof r == "string" ? r.trim() : r;
}
}
measureInstanceViewportBox(e, { transformPagePoint: t }) {
- return eD(e, t);
+ return xD(e, t);
}
build(e, t, n) {
- tD(e, t, n.transformTemplate);
+ SD(e, t, n.transformTemplate);
}
scrapeMotionValuesFromProps(e, t, n) {
- return sD(e, t, n);
+ return OD(e, t, n);
}
-}, sae = {
+}, Bie = {
offset: "stroke-dashoffset",
array: "stroke-dasharray"
-}, cae = {
+}, Vie = {
offset: "strokeDashoffset",
array: "strokeDasharray"
};
-function lae(e, t, n = 1, r = 0, i = !0) {
+function Hie(e, t, n = 1, r = 0, i = !0) {
e.pathLength = 1;
- let a = i ? sae : cae;
+ let a = i ? Bie : Vie;
e[a.offset] = `${-r}`, e[a.array] = `${t} ${n}`;
}
//#endregion
//#region node_modules/motion-dom/dist/es/render/svg/utils/build-attrs.mjs
-var uae = [
+var Uie = [
"offsetDistance",
"offsetPath",
"offsetRotate",
"offsetAnchor"
];
-function cD(e, { attrX: t, attrY: n, attrScale: r, pathLength: i, pathSpacing: a = 1, pathOffset: o = 0, ...s }, c, l, u) {
- if (tD(e, s, l), c) {
+function kD(e, { attrX: t, attrY: n, attrScale: r, pathLength: i, pathSpacing: a = 1, pathOffset: o = 0, ...s }, c, l, u) {
+ if (SD(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;
d.transform && (f.transform = d.transform, delete d.transform), (f.transform || d.transformOrigin) && (f.transformOrigin = d.transformOrigin ?? "50% 50%", delete d.transformOrigin), f.transform && (f.transformBox = u?.transformBox ?? "fill-box", delete d.transformBox);
- for (let e of uae) d[e] !== void 0 && (f[e] = d[e], delete d[e]);
- t !== void 0 && (d.x = t), n !== void 0 && (d.y = n), r !== void 0 && (d.scale = r), i !== void 0 && lae(d, i, a, o, !1);
+ for (let e of Uie) d[e] !== void 0 && (f[e] = d[e], delete d[e]);
+ t !== void 0 && (d.x = t), n !== void 0 && (d.y = n), r !== void 0 && (d.scale = r), i !== void 0 && Hie(d, i, a, o, !1);
}
//#endregion
//#region node_modules/motion-dom/dist/es/render/svg/utils/camel-case-attrs.mjs
-var lD = /* @__PURE__ */ new Set([
+var AD = /* @__PURE__ */ new Set([
"baseFrequency",
"diffuseConstant",
"kernelMatrix",
@@ -30575,68 +30575,68 @@ var lD = /* @__PURE__ */ new Set([
"startOffset",
"textLength",
"lengthAdjust"
-]), uD = (e) => typeof e == "string" && e.toLowerCase() === "svg";
+]), jD = (e) => typeof e == "string" && e.toLowerCase() === "svg";
//#endregion
//#region node_modules/motion-dom/dist/es/render/svg/utils/render.mjs
-function dae(e, t, n, r) {
- nD(e, t, void 0, r);
- for (let n in t.attrs) e.setAttribute(lD.has(n) ? n : PT(n), t.attrs[n]);
+function Wie(e, t, n, r) {
+ CD(e, t, void 0, r);
+ for (let n in t.attrs) e.setAttribute(AD.has(n) ? n : jT(n), t.attrs[n]);
}
//#endregion
//#region node_modules/motion-dom/dist/es/render/svg/utils/scrape-motion-values.mjs
-function dD(e, t, n) {
- let r = sD(e, t, n);
- for (let n in e) if (MT(e[n]) || MT(t[n])) {
- let t = Kw.indexOf(n) === -1 ? n : "attr" + n.charAt(0).toUpperCase() + n.substring(1);
+function MD(e, t, n) {
+ let r = OD(e, t, n);
+ for (let n in e) if (OT(e[n]) || OT(t[n])) {
+ let t = zw.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 fae = class extends IE {
+var Gie = class extends rD {
constructor() {
- super(...arguments), this.type = "svg", this.isSVGTag = !1, this.measureInstanceViewportBox = CE;
+ super(...arguments), this.type = "svg", this.isSVGTag = !1, this.measureInstanceViewportBox = WE;
}
getBaseTargetFromProps(e, t) {
return e[t];
}
readValueFromInstance(e, t) {
- if (qw.has(t)) {
- let e = KT(t);
+ if (Bw.has(t)) {
+ let e = QT(t);
return e && e.default || 0;
}
- return t = lD.has(t) ? t : PT(t), e.getAttribute(t);
+ return t = AD.has(t) ? t : jT(t), e.getAttribute(t);
}
scrapeMotionValuesFromProps(e, t, n) {
- return dD(e, t, n);
+ return MD(e, t, n);
}
build(e, t, n) {
- cD(e, t, this.isSVGTag, n.transformTemplate, n.style);
+ kD(e, t, this.isSVGTag, n.transformTemplate, n.style);
}
renderInstance(e, t, n, r) {
- dae(e, t, n, r);
+ Wie(e, t, n, r);
}
mount(e) {
- this.isSVGTag = uD(e.tagName), super.mount(e);
+ this.isSVGTag = jD(e.tagName), super.mount(e);
}
-}, pae = DE.length;
-function fD(e) {
+}, Kie = JE.length;
+function ND(e) {
if (!e) return;
if (!e.isControllingVariants) {
- let t = e.parent && fD(e.parent) || {};
+ let t = e.parent && ND(e.parent) || {};
return e.props.initial !== void 0 && (t.initial = e.props.initial), t;
}
let t = {};
- for (let n = 0; n < pae; n++) {
- let r = DE[n], i = e.props[r];
- (TE(i) || i === !1) && (t[r] = i);
+ for (let n = 0; n < Kie; n++) {
+ let r = JE[n], i = e.props[r];
+ (KE(i) || i === !1) && (t[r] = i);
}
return t;
}
//#endregion
//#region node_modules/motion-dom/dist/es/render/utils/shallow-compare.mjs
-function pD(e, t) {
+function PD(e, t) {
if (!Array.isArray(t)) return !1;
let n = t.length;
if (n !== e.length) return !1;
@@ -30645,13 +30645,13 @@ function pD(e, t) {
}
//#endregion
//#region node_modules/motion-dom/dist/es/render/utils/animation-state.mjs
-var mae = [...EE].reverse(), hae = EE.length;
-function gae(e) {
- return (t) => Promise.all(t.map(({ animation: t, options: n }) => uie(e, t, n)));
+var qie = [...qE].reverse(), Jie = qE.length;
+function Yie(e) {
+ return (t) => Promise.all(t.map(({ animation: t, options: n }) => RT(e, t, n)));
}
-function _ae(e) {
- let t = gae(e), n = hD(), r = !0, i = !1, a = (t) => (n, r) => {
- let i = kT(e, r, t === "exit" ? e.presenceContext?.custom : void 0);
+function Xie(e) {
+ let t = Yie(e), n = ID(), r = !0, i = !1, a = (t) => (n, r) => {
+ let i = ST(e, r, t === "exit" ? e.presenceContext?.custom : void 0);
if (i) {
let { transition: e, transitionEnd: t, ...r } = i;
n = {
@@ -30666,12 +30666,12 @@ function _ae(e) {
t = n(e);
}
function s(o) {
- let { props: s } = e, c = fD(e.parent) || {}, l = [], u = /* @__PURE__ */ new Set(), d = {}, f = Infinity;
- for (let t = 0; t < hae; t++) {
- let p = mae[t], m = n[p], h = s[p] === void 0 ? c[p] : s[p], g = TE(h), _ = p === o ? m.isActive : null;
+ let { props: s } = e, c = ND(e.parent) || {}, l = [], u = /* @__PURE__ */ new Set(), d = {}, f = Infinity;
+ for (let t = 0; t < Jie; t++) {
+ let p = qie[t], m = n[p], h = s[p] === void 0 ? c[p] : s[p], g = KE(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 || wE(h) || typeof h == "boolean") continue;
+ if (v && (r || i) && e.manuallyAnimateOnMount && (v = !1), m.protectedKeys = { ...d }, !m.isActive && _ === null || !h && !m.prevProp || GE(h) || typeof h == "boolean") continue;
if (p === "exit" && m.isActive && _ !== !0) {
m.prevResolvedValues && (d = {
...d,
@@ -30679,7 +30679,7 @@ function _ae(e) {
});
continue;
}
- let y = vae(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 = Zie(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,
@@ -30693,7 +30693,7 @@ function _ae(e) {
let t = C[e], n = w[e];
if (d.hasOwnProperty(e)) continue;
let r = !1;
- r = jT(t) && jT(n) ? !pD(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 = wT(t) && wT(n) ? !PD(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,
@@ -30703,10 +30703,10 @@ function _ae(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 = kT(r, t);
+ let { parent: r } = e, i = ST(r, t);
if (r.enteringChildren && i) {
let { delayChildren: t } = i.transition || {};
- n.delay = yT(r.enteringChildren, e, t);
+ n.delay = fT(r.enteringChildren, e, t);
}
}
return {
@@ -30718,7 +30718,7 @@ function _ae(e) {
if (u.size) {
let t = {};
if (typeof s.initial != "boolean") {
- let n = kT(e, Array.isArray(s.initial) ? s.initial[0] : s.initial);
+ let n = ST(e, Array.isArray(s.initial) ? s.initial[0] : s.initial);
n && n.transition && (t.transition = n.transition);
}
u.forEach((n) => {
@@ -30742,14 +30742,14 @@ function _ae(e) {
setAnimateFunction: o,
getState: () => n,
reset: () => {
- n = hD(), i = !0;
+ n = ID(), i = !0;
}
};
}
-function vae(e, t) {
- return typeof t == "string" ? t !== e : Array.isArray(t) ? !pD(t, e) : !1;
+function Zie(e, t) {
+ return typeof t == "string" ? t !== e : Array.isArray(t) ? !PD(t, e) : !1;
}
-function mD(e = !1) {
+function FD(e = !1) {
return {
isActive: e,
protectedKeys: {},
@@ -30757,115 +30757,115 @@ function mD(e = !1) {
prevResolvedValues: {}
};
}
-function hD() {
+function ID() {
return {
- animate: mD(!0),
- whileInView: mD(),
- whileHover: mD(),
- whileTap: mD(),
- whileDrag: mD(),
- whileFocus: mD(),
- exit: mD()
+ animate: FD(!0),
+ whileInView: FD(),
+ whileHover: FD(),
+ whileTap: FD(),
+ whileDrag: FD(),
+ whileFocus: FD(),
+ exit: FD()
};
}
//#endregion
//#region node_modules/motion-dom/dist/es/projection/geometry/copy.mjs
-function gD(e, t) {
+function LD(e, t) {
e.min = t.min, e.max = t.max;
}
-function _D(e, t) {
- gD(e.x, t.x), gD(e.y, t.y);
+function RD(e, t) {
+ LD(e.x, t.x), LD(e.y, t.y);
}
-function vD(e, t) {
+function zD(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 yae = .9999, bae = 1.0001, xae = -.01, Sae = .01;
-function yD(e) {
+var Qie = .9999, $ie = 1.0001, eae = -.01, tae = .01;
+function BD(e) {
return e.max - e.min;
}
-function Cae(e, t, n) {
+function nae(e, t, n) {
return Math.abs(e - t) <= n;
}
-function bD(e, t, n, r = .5) {
- e.origin = r, e.originPoint = pw(t.min, t.max, e.origin), e.scale = yD(n) / yD(t), e.translate = pw(n.min, n.max, e.origin) - e.originPoint, (e.scale >= yae && e.scale <= bae || isNaN(e.scale)) && (e.scale = 1), (e.translate >= xae && e.translate <= Sae || isNaN(e.translate)) && (e.translate = 0);
+function VD(e, t, n, r = .5) {
+ e.origin = r, e.originPoint = ow(t.min, t.max, e.origin), e.scale = BD(n) / BD(t), e.translate = ow(n.min, n.max, e.origin) - e.originPoint, (e.scale >= Qie && e.scale <= $ie || isNaN(e.scale)) && (e.scale = 1), (e.translate >= eae && e.translate <= tae || isNaN(e.translate)) && (e.translate = 0);
}
-function xD(e, t, n, r) {
- bD(e.x, t.x, n.x, r ? r.originX : void 0), bD(e.y, t.y, n.y, r ? r.originY : void 0);
+function HD(e, t, n, r) {
+ VD(e.x, t.x, n.x, r ? r.originX : void 0), VD(e.y, t.y, n.y, r ? r.originY : void 0);
}
-function SD(e, t, n, r = 0) {
- e.min = (r ? pw(n.min, n.max, r) : n.min) + t.min, e.max = e.min + yD(t);
+function UD(e, t, n, r = 0) {
+ e.min = (r ? ow(n.min, n.max, r) : n.min) + t.min, e.max = e.min + BD(t);
}
-function wae(e, t, n, r) {
- SD(e.x, t.x, n.x, r?.x), SD(e.y, t.y, n.y, r?.y);
+function rae(e, t, n, r) {
+ UD(e.x, t.x, n.x, r?.x), UD(e.y, t.y, n.y, r?.y);
}
-function CD(e, t, n, r = 0) {
- let i = r ? pw(n.min, n.max, r) : n.min;
- e.min = t.min - i, e.max = e.min + yD(t);
+function WD(e, t, n, r = 0) {
+ let i = r ? ow(n.min, n.max, r) : n.min;
+ e.min = t.min - i, e.max = e.min + BD(t);
}
-function wD(e, t, n, r) {
- CD(e.x, t.x, n.x, r?.x), CD(e.y, t.y, n.y, r?.y);
+function GD(e, t, n, r) {
+ WD(e.x, t.x, n.x, r?.x), WD(e.y, t.y, n.y, r?.y);
}
//#endregion
//#region node_modules/motion-dom/dist/es/projection/geometry/delta-remove.mjs
-function TD(e, t, n, r, i) {
- return e -= t, e = WE(e, 1 / n, r), i !== void 0 && (e = WE(e, 1 / i, r)), e;
+function KD(e, t, n, r, i) {
+ return e -= t, e = dD(e, 1 / n, r), i !== void 0 && (e = dD(e, 1 / i, r)), e;
}
-function Tae(e, t = 0, n = 1, r = .5, i, a = e, o = e) {
- if (tw.test(t) && (t = parseFloat(t), t = pw(o.min, o.max, t / 100) - o.min), typeof t != "number") return;
- let s = pw(a.min, a.max, r);
- e === a && (s -= t), e.min = TD(e.min, t, n, s, i), e.max = TD(e.max, t, n, s, i);
+function iae(e, t = 0, n = 1, r = .5, i, a = e, o = e) {
+ if (JC.test(t) && (t = parseFloat(t), t = ow(o.min, o.max, t / 100) - o.min), typeof t != "number") return;
+ let s = ow(a.min, a.max, r);
+ e === a && (s -= t), e.min = KD(e.min, t, n, s, i), e.max = KD(e.max, t, n, s, i);
}
-function ED(e, t, [n, r, i], a, o) {
- Tae(e, t[n], t[r], t[i], t.scale, a, o);
+function qD(e, t, [n, r, i], a, o) {
+ iae(e, t[n], t[r], t[i], t.scale, a, o);
}
-var Eae = [
+var aae = [
"x",
"scaleX",
"originX"
-], Dae = [
+], oae = [
"y",
"scaleY",
"originY"
];
-function DD(e, t, n, r) {
- ED(e.x, t, Eae, n ? n.x : void 0, r ? r.x : void 0), ED(e.y, t, Dae, n ? n.y : void 0, r ? r.y : void 0);
+function JD(e, t, n, r) {
+ qD(e.x, t, aae, n ? n.x : void 0, r ? r.x : void 0), qD(e.y, t, oae, n ? n.y : void 0, r ? r.y : void 0);
}
//#endregion
//#region node_modules/motion-dom/dist/es/projection/geometry/utils.mjs
-function OD(e) {
+function YD(e) {
return e.translate === 0 && e.scale === 1;
}
-function kD(e) {
- return OD(e.x) && OD(e.y);
+function XD(e) {
+ return YD(e.x) && YD(e.y);
}
-function AD(e, t) {
+function ZD(e, t) {
return e.min === t.min && e.max === t.max;
}
-function Oae(e, t) {
- return AD(e.x, t.x) && AD(e.y, t.y);
+function sae(e, t) {
+ return ZD(e.x, t.x) && ZD(e.y, t.y);
}
-function jD(e, t) {
+function QD(e, t) {
return Math.round(e.min) === Math.round(t.min) && Math.round(e.max) === Math.round(t.max);
}
-function MD(e, t) {
- return jD(e.x, t.x) && jD(e.y, t.y);
+function $D(e, t) {
+ return QD(e.x, t.x) && QD(e.y, t.y);
}
-function ND(e) {
- return yD(e.x) / yD(e.y);
+function eO(e) {
+ return BD(e.x) / BD(e.y);
}
-function PD(e, t) {
+function tO(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 FD(e) {
+function nO(e) {
return [e("x"), e("y")];
}
//#endregion
//#region node_modules/motion-dom/dist/es/projection/styles/transform.mjs
-function kae(e, t, n) {
+function cae(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;
@@ -30876,81 +30876,81 @@ function kae(e, t, n) {
}
//#endregion
//#region node_modules/motion-dom/dist/es/projection/animation/mix-values.mjs
-var Aae = JT.length, ID = (e) => typeof e == "string" ? parseFloat(e) : e, LD = (e) => typeof e == "number" || X.test(e);
-function jae(e, t, n, r, i, a) {
- i ? (e.opacity = pw(0, n.opacity ?? 1, Mae(r)), e.opacityExit = pw(t.opacity ?? 1, 0, Nae(r))) : a && (e.opacity = pw(t.opacity ?? 1, n.opacity ?? 1, r));
- for (let i = 0; i < Aae; i++) {
- let a = JT[i], o = RD(t, a), s = RD(n, a);
- (o !== void 0 || s !== void 0) && (o ||= 0, s ||= 0, o === 0 || s === 0 || LD(o) === LD(s) ? (e[a] = Math.max(pw(ID(o), ID(s), r), 0), (tw.test(s) || tw.test(o)) && (e[a] += "%")) : e[a] = s);
+var lae = iE.length, rO = (e) => typeof e == "string" ? parseFloat(e) : e, iO = (e) => typeof e == "number" || X.test(e);
+function uae(e, t, n, r, i, a) {
+ i ? (e.opacity = ow(0, n.opacity ?? 1, dae(r)), e.opacityExit = ow(t.opacity ?? 1, 0, fae(r))) : a && (e.opacity = ow(t.opacity ?? 1, n.opacity ?? 1, r));
+ for (let i = 0; i < lae; i++) {
+ let a = iE[i], o = aO(t, a), s = aO(n, a);
+ (o !== void 0 || s !== void 0) && (o ||= 0, s ||= 0, o === 0 || s === 0 || iO(o) === iO(s) ? (e[a] = Math.max(ow(rO(o), rO(s), r), 0), (JC.test(s) || JC.test(o)) && (e[a] += "%")) : e[a] = s);
}
- (t.rotate || n.rotate) && (e.rotate = pw(t.rotate || 0, n.rotate || 0, r));
+ (t.rotate || n.rotate) && (e.rotate = ow(t.rotate || 0, n.rotate || 0, r));
}
-function RD(e, t) {
+function aO(e, t) {
return e[t] === void 0 ? e.borderRadius : e[t];
}
-var Mae = /*@__PURE__*/ zD(0, .5, mC), Nae = /*@__PURE__*/ zD(.5, .95, YS);
-function zD(e, t, n) {
- return (r) => r < e ? 0 : r > t ? 1 : n(/* @__PURE__ */ ZS(e, t, r));
+var dae = /*@__PURE__*/ oO(0, .5, vC), fae = /*@__PURE__*/ oO(.5, .95, nC);
+function oO(e, t, n) {
+ return (r) => r < e ? 0 : r > t ? 1 : n(/* @__PURE__ */ iC(e, t, r));
}
//#endregion
//#region node_modules/motion-dom/dist/es/animation/animate/single-value.mjs
-function Pae(e, t, n) {
- let r = MT(e) ? e : ST(e);
- return r.start(TT("", r, t, n)), r.animation;
+function pae(e, t, n) {
+ let r = OT(e) ? e : hT(e);
+ return r.start(vT("", r, t, n)), r.animation;
}
//#endregion
//#region node_modules/motion-dom/dist/es/events/add-dom-event.mjs
-function BD(e, t, n, r = { passive: !0 }) {
+function sO(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 Fae = (e, t) => e.depth - t.depth, Iae = class {
+var mae = (e, t) => e.depth - t.depth, hae = class {
constructor() {
this.children = [], this.isDirty = !1;
}
add(e) {
- VS(this.children, e), this.isDirty = !0;
+ JS(this.children, e), this.isDirty = !0;
}
remove(e) {
- HS(this.children, e), this.isDirty = !0;
+ YS(this.children, e), this.isDirty = !0;
}
forEach(e) {
- this.isDirty && this.children.sort(Fae), this.isDirty = !1, this.children.forEach(e);
+ this.isDirty && this.children.sort(mae), this.isDirty = !1, this.children.forEach(e);
}
};
//#endregion
//#region node_modules/motion-dom/dist/es/utils/delay.mjs
-function Lae(e, t) {
- let n = PC.now(), r = ({ timestamp: i }) => {
+function gae(e, t) {
+ let n = jC.now(), r = ({ timestamp: i }) => {
let a = i - n;
- a >= t && (kC(r), e(a - t));
+ a >= t && (DC(r), e(a - t));
};
- return OC.setup(r, !0), () => kC(r);
+ return EC.setup(r, !0), () => DC(r);
}
//#endregion
//#region node_modules/motion-dom/dist/es/value/utils/resolve-motion-value.mjs
-function VD(e) {
- return MT(e) ? e.get() : e;
+function cO(e) {
+ return OT(e) ? e.get() : e;
}
//#endregion
//#region node_modules/motion-dom/dist/es/projection/shared/stack.mjs
-var Rae = class {
+var _ae = class {
constructor() {
this.members = [];
}
add(e) {
- VS(this.members, e);
+ JS(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 && (HS(this.members, n), n.unmount());
+ (!r || r.isConnected === !1) && !n.snapshot && (YS(this.members, n), n.unmount());
}
e.scheduleRender();
}
remove(e) {
- if (HS(this.members, e), e === this.prevLead && (this.prevLead = void 0), e === this.lead) {
+ if (YS(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);
}
@@ -30981,51 +30981,51 @@ var Rae = class {
removeLeadSnapshot() {
this.lead?.snapshot && (this.lead.snapshot = void 0);
}
-}, HD = {
+}, lO = {
hasAnimatedSinceResize: !0,
hasEverUpdated: !1
-}, UD = {
+}, uO = {
nodes: 0,
calculatedTargetDeltas: 0,
calculatedProjections: 0
-}, WD = [
+}, dO = [
"",
"X",
"Y",
"Z"
-], zae = 1e3, Bae = 0;
-function GD(e, t, n, r) {
+], vae = 1e3, yae = 0;
+function fO(e, t, n, r) {
let { latestValues: i } = t;
i[e] && (n[e] = i[e], t.setStaticValue(e, 0), r && (r[e] = 0));
}
-function KD(e) {
+function pO(e) {
if (e.hasCheckedOptimisedAppear = !0, e.root === e) return;
let { visualElement: t } = e.options;
if (!t) return;
- let n = IT(t);
+ let n = NT(t);
if (window.MotionHasOptimisedAnimation(n, "transform")) {
let { layout: t, layoutId: r } = e.options;
- window.MotionCancelOptimisedAnimation(n, "transform", OC, !(t || r));
+ window.MotionCancelOptimisedAnimation(n, "transform", EC, !(t || r));
}
let { parent: r } = e;
- r && !r.hasCheckedOptimisedAppear && KD(r);
+ r && !r.hasCheckedOptimisedAppear && pO(r);
}
-function qD({ attachResizeListener: e, defaultParent: t, measureScroll: n, checkIsScrollRoot: r, resetTransform: i }) {
+function mO({ attachResizeListener: e, defaultParent: t, measureScroll: n, checkIsScrollRoot: r, resetTransform: i }) {
return class {
constructor(e = {}, n = t?.()) {
- this.id = Bae++, 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 = yae++, 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, _E.value && (UD.nodes = UD.calculatedTargetDeltas = UD.calculatedProjections = 0), this.nodes.forEach(Uae), this.nodes.forEach(Yae), this.nodes.forEach(Xae), this.nodes.forEach(Wae), _E.addProjectionMetrics && _E.addProjectionMetrics(UD);
+ this.projectionUpdateScheduled = !1, RE.value && (uO.nodes = uO.calculatedTargetDeltas = uO.calculatedProjections = 0), this.nodes.forEach(Sae), this.nodes.forEach(Oae), this.nodes.forEach(kae), this.nodes.forEach(Cae), RE.addProjectionMetrics && RE.addProjectionMetrics(uO);
}, 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 Iae());
+ this.root === this && (this.nodes = new hae());
}
addEventListener(e, t) {
- return this.eventHandlers.has(e) || this.eventHandlers.set(e, new QS()), this.eventHandlers.get(e).add(t);
+ return this.eventHandlers.has(e) || this.eventHandlers.set(e, new aC()), this.eventHandlers.get(e).add(t);
}
notifyListeners(e, ...t) {
let n = this.eventHandlers.get(e);
@@ -31036,15 +31036,15 @@ function qD({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
}
mount(t) {
if (this.instance) return;
- this.isSVG = uE(t) && !Vie(t), this.instance = t;
+ this.isSVG = jE(t) && !bie(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;
- OC.read(() => {
+ EC.read(() => {
r = window.innerWidth;
}), e(t, () => {
let e = window.innerWidth;
- e !== r && (r = e, this.root.updateBlockedByResize = !0, n && n(), n = Lae(i, 250), HD.hasAnimatedSinceResize && (HD.hasAnimatedSinceResize = !1, this.nodes.forEach(XD)));
+ e !== r && (r = e, this.root.updateBlockedByResize = !0, n && n(), n = gae(i, 250), lO.hasAnimatedSinceResize && (lO.hasAnimatedSinceResize = !1, this.nodes.forEach(_O)));
});
}
n && this.root.registerSharedNode(n, this), this.options.animate !== !1 && i && (n || r) && this.addEventListener("didUpdate", ({ delta: e, hasLayoutChanged: t, hasRelativeLayoutChanged: n, layout: r }) => {
@@ -31052,23 +31052,23 @@ function qD({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
this.target = void 0, this.relativeTarget = void 0;
return;
}
- let a = this.options.transition || i.getDefaultTransition() || toe, { onLayoutAnimationStart: o, onLayoutAnimationComplete: s } = i.getProps(), c = !this.targetLayout || !MD(this.targetLayout, r), l = !t && n;
+ let a = this.options.transition || i.getDefaultTransition() || Pae, { onLayoutAnimationStart: o, onLayoutAnimationComplete: s } = i.getProps(), c = !this.targetLayout || !$D(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 = {
- ...wT(a, "layout"),
+ ..._T(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 || XD(this), this.isLead() && this.options.onExitComplete && this.options.onExitComplete();
+ } else t || _O(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(), kC(this.updateProjection);
+ e && e.remove(this), this.parent && this.parent.children.delete(this), this.instance = void 0, this.eventHandlers.clear(), DC(this.updateProjection);
}
blockUpdate() {
this.updateManuallyBlocked = !0;
@@ -31083,7 +31083,7 @@ function qD({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
return this.isAnimationBlocked || this.parent && this.parent.isTreeAnimationBlocked() || !1;
}
startUpdate() {
- this.isUpdateBlocked() || (this.isUpdating = !0, this.nodes && this.nodes.forEach(Zae), this.animationId++);
+ this.isUpdateBlocked() || (this.isUpdating = !0, this.nodes && this.nodes.forEach(Aae), this.animationId++);
}
getTransformTemplate() {
let { visualElement: e } = this.options;
@@ -31094,7 +31094,7 @@ function qD({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
this.options.onExitComplete && this.options.onExitComplete();
return;
}
- if (window.MotionCancelOptimisedAnimation && !this.hasCheckedOptimisedAppear && KD(this), !this.root.isUpdating && this.root.startUpdate(), this.isLayoutDirty) return;
+ if (window.MotionCancelOptimisedAnimation && !this.hasCheckedOptimisedAppear && pO(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];
@@ -31108,39 +31108,39 @@ function qD({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
update() {
if (this.updateScheduled = !1, this.isUpdateBlocked()) {
let e = this.updateBlockedByResize;
- this.unblockUpdate(), this.updateBlockedByResize = !1, this.clearAllSnapshots(), e && this.nodes.forEach(Kae), this.nodes.forEach(JD);
+ this.unblockUpdate(), this.updateBlockedByResize = !1, this.clearAllSnapshots(), e && this.nodes.forEach(Tae), this.nodes.forEach(hO);
return;
}
if (this.animationId <= this.animationCommitId) {
- this.nodes.forEach(YD);
+ this.nodes.forEach(gO);
return;
}
- this.animationCommitId = this.animationId, this.isUpdating ? (this.isUpdating = !1, this.nodes.forEach(qae), this.nodes.forEach(Jae), this.nodes.forEach(Vae), this.nodes.forEach(Hae)) : this.nodes.forEach(YD), this.clearAllSnapshots();
- let e = PC.now();
- AC.delta = US(0, 1e3 / 60, e - AC.timestamp), AC.timestamp = e, AC.isProcessing = !0, jC.update.process(AC), jC.preRender.process(AC), jC.render.process(AC), AC.isProcessing = !1;
+ this.animationCommitId = this.animationId, this.isUpdating ? (this.isUpdating = !1, this.nodes.forEach(Eae), this.nodes.forEach(Dae), this.nodes.forEach(bae), this.nodes.forEach(xae)) : this.nodes.forEach(gO), this.clearAllSnapshots();
+ let e = jC.now();
+ OC.delta = XS(0, 1e3 / 60, e - OC.timestamp), OC.timestamp = e, OC.isProcessing = !0, kC.update.process(OC), kC.preRender.process(OC), kC.render.process(OC), OC.isProcessing = !1;
}
didUpdate() {
- this.updateScheduled || (this.updateScheduled = !0, QT.read(this.scheduleUpdate));
+ this.updateScheduled || (this.updateScheduled = !0, uE.read(this.scheduleUpdate));
}
clearAllSnapshots() {
- this.nodes.forEach(Gae), this.sharedNodes.forEach(Qae);
+ this.nodes.forEach(wae), this.sharedNodes.forEach(jae);
}
scheduleUpdateProjection() {
- this.projectionUpdateScheduled || (this.projectionUpdateScheduled = !0, OC.preRender(this.updateProjection, !1, !0));
+ this.projectionUpdateScheduled || (this.projectionUpdateScheduled = !0, EC.preRender(this.updateProjection, !1, !0));
}
scheduleCheckAfterUnmount() {
- OC.postRender(() => {
+ EC.postRender(() => {
this.isLayoutDirty ? this.root.didUpdate() : this.root.checkUpdateFailed();
});
}
updateSnapshot() {
- this.snapshot || !this.instance || (this.snapshot = this.measure(), this.snapshot && !yD(this.snapshot.measuredBox.x) && !yD(this.snapshot.measuredBox.y) && (this.snapshot = void 0));
+ this.snapshot || !this.instance || (this.snapshot = this.measure(), this.snapshot && !BD(this.snapshot.measuredBox.x) && !BD(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 ||= CE(), this.isLayoutDirty = !1, this.projectionDelta = void 0, this.notifyListeners("measure", this.layout.layoutBox);
+ this.layout = this.measure(!1), this.layoutVersion++, this.layoutCorrected ||= WE(), 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);
}
@@ -31159,12 +31159,12 @@ function qD({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
}
resetTransform() {
if (!i) return;
- let e = this.isLayoutDirty || this.shouldResetTransform || this.options.alwaysMeasureLayout, t = this.projectionDelta && !kD(this.projectionDelta), n = this.getTransformTemplate(), r = n ? n(this.latestValues, "") : void 0, a = r !== this.prevTransformTemplateValue;
- e && this.instance && (t || VE(this.latestValues) || a) && (i(this.instance, r), this.shouldResetTransform = !1, this.scheduleRender());
+ let e = this.isLayoutDirty || this.shouldResetTransform || this.options.alwaysMeasureLayout, t = this.projectionDelta && !XD(this.projectionDelta), n = this.getTransformTemplate(), r = n ? n(this.latestValues, "") : void 0, a = r !== this.prevTransformTemplateValue;
+ e && this.instance && (t || cD(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)), noe(n), {
+ return e && (n = this.removeTransform(n)), Fae(n), {
animationId: this.root.animationId,
measuredBox: t,
layoutBox: n,
@@ -31174,42 +31174,42 @@ function qD({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
}
measurePageBox() {
let { visualElement: e } = this.options;
- if (!e) return CE();
+ if (!e) return WE();
let t = e.measureViewportBox();
- if (!(this.scroll?.wasRoot || this.path.some(roe))) {
+ if (!(this.scroll?.wasRoot || this.path.some(Iae))) {
let { scroll: e } = this.root;
- e && (XE(t.x, e.offset.x), XE(t.y, e.offset.y));
+ e && (_D(t.x, e.offset.x), _D(t.y, e.offset.y));
}
return t;
}
removeElementScroll(e) {
- let t = CE();
- if (_D(t, e), this.scroll?.wasRoot) return t;
+ let t = WE();
+ if (RD(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 && _D(t, e), XE(t.x, i.offset.x), XE(t.y, i.offset.y));
+ r !== this.root && i && a.layoutScroll && (i.wasRoot && RD(t, e), _D(t.x, i.offset.x), _D(t.y, i.offset.y));
}
return t;
}
applyTransform(e, t = !1, n) {
- let r = n || CE();
- _D(r, e);
+ let r = n || WE();
+ RD(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 && (XE(r.x, -n.scroll.offset.x), XE(r.y, -n.scroll.offset.y)), VE(n.latestValues) && $E(r, n.latestValues, n.layout?.layoutBox);
+ !t && n.options.layoutScroll && n.scroll && n !== n.root && (_D(r.x, -n.scroll.offset.x), _D(r.y, -n.scroll.offset.y)), cD(n.latestValues) && bD(r, n.latestValues, n.layout?.layoutBox);
}
- return VE(this.latestValues) && $E(r, this.latestValues, this.layout?.layoutBox), r;
+ return cD(this.latestValues) && bD(r, this.latestValues, this.layout?.layoutBox), r;
}
removeTransform(e) {
- let t = CE();
- _D(t, e);
+ let t = WE();
+ RD(t, e);
for (let e = 0; e < this.path.length; e++) {
let n = this.path[e];
- if (!VE(n.latestValues)) continue;
+ if (!cD(n.latestValues)) continue;
let r;
- n.instance && (BE(n.latestValues) && n.updateSnapshot(), r = CE(), _D(r, n.measurePageBox())), DD(t, n.latestValues, n.snapshot?.layoutBox, r);
+ n.instance && (sD(n.latestValues) && n.updateSnapshot(), r = WE(), RD(r, n.measurePageBox())), JD(t, n.latestValues, n.snapshot?.layoutBox, r);
}
- return VE(this.latestValues) && DD(t, this.latestValues), t;
+ return cD(this.latestValues) && JD(t, this.latestValues), t;
}
setTargetDelta(e) {
this.targetDelta = e, this.root.scheduleUpdateProjection(), this.isProjectionDirty = !0;
@@ -31225,7 +31225,7 @@ function qD({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
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 !== AC.timestamp && this.relativeParent.resolveTargetDelta(!0);
+ this.relativeParent && this.relativeParent.resolvedRelativeTargetAt !== OC.timestamp && this.relativeParent.resolveTargetDelta(!0);
}
resolveTargetDelta(e = !1) {
let t = this.getLead();
@@ -31234,36 +31234,36 @@ function qD({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
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 = AC.timestamp;
+ this.resolvedRelativeTargetAt = OC.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 = CE(), this.targetWithTransforms = CE()), this.relativeTarget && this.relativeTargetOrigin && this.relativeParent && this.relativeParent.target ? (this.forceRelativeParentToResolveTarget(), wae(this.target, this.relativeTarget, this.relativeParent.target, this.options.layoutAnchor || void 0)) : this.targetDelta ? (this.resumingFrom ? this.applyTransform(this.layout.layoutBox, !1, this.target) : _D(this.target, this.layout.layoutBox), qE(this.target, this.targetDelta)) : _D(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), _E.value && UD.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 = WE(), this.targetWithTransforms = WE()), this.relativeTarget && this.relativeTargetOrigin && this.relativeParent && this.relativeParent.target ? (this.forceRelativeParentToResolveTarget(), rae(this.target, this.relativeTarget, this.relativeParent.target, this.options.layoutAnchor || void 0)) : this.targetDelta ? (this.resumingFrom ? this.applyTransform(this.layout.layoutBox, !1, this.target) : RD(this.target, this.layout.layoutBox), mD(this.target, this.targetDelta)) : RD(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), RE.value && uO.calculatedTargetDeltas++);
}
getClosestProjectingParent() {
- if (!(!this.parent || BE(this.parent.latestValues) || HE(this.parent.latestValues))) return this.parent.isProjecting() ? this.parent : this.parent.getClosestProjectingParent();
+ if (!(!this.parent || sD(this.parent.latestValues) || lD(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 = CE(), this.relativeTargetOrigin = CE(), wD(this.relativeTargetOrigin, t, n, this.options.layoutAnchor || void 0), _D(this.relativeTarget, this.relativeTargetOrigin);
+ this.relativeParent = e, this.linkedParentVersion = e.layoutVersion, this.forceRelativeParentToResolveTarget(), this.relativeTarget = WE(), this.relativeTargetOrigin = WE(), GD(this.relativeTargetOrigin, t, n, this.options.layoutAnchor || void 0), RD(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 === AC.timestamp && (n = !1), n) return;
+ if ((this.isProjectionDirty || this.parent?.isProjectionDirty) && (n = !1), t && (this.isSharedProjectionDirty || this.isTransformDirty) && (n = !1), this.resolvedRelativeTargetAt === OC.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;
- _D(this.layoutCorrected, this.layout.layoutBox);
+ RD(this.layoutCorrected, this.layout.layoutBox);
let a = this.treeScale.x, o = this.treeScale.y;
- $ie(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 = CE());
+ Mie(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 = WE());
let { target: s } = e;
if (!s) {
this.prevProjectionDelta && (this.createProjectionDeltas(), this.scheduleRender());
return;
}
- !this.projectionDelta || !this.prevProjectionDelta ? this.createProjectionDeltas() : (vD(this.prevProjectionDelta.x, this.projectionDelta.x), vD(this.prevProjectionDelta.y, this.projectionDelta.y)), xD(this.projectionDelta, this.layoutCorrected, s, this.latestValues), (this.treeScale.x !== a || this.treeScale.y !== o || !PD(this.projectionDelta.x, this.prevProjectionDelta.x) || !PD(this.projectionDelta.y, this.prevProjectionDelta.y)) && (this.hasProjected = !0, this.scheduleRender(), this.notifyListeners("projectionUpdate", s)), _E.value && UD.calculatedProjections++;
+ !this.projectionDelta || !this.prevProjectionDelta ? this.createProjectionDeltas() : (zD(this.prevProjectionDelta.x, this.projectionDelta.x), zD(this.prevProjectionDelta.y, this.projectionDelta.y)), HD(this.projectionDelta, this.layoutCorrected, s, this.latestValues), (this.treeScale.x !== a || this.treeScale.y !== o || !tO(this.projectionDelta.x, this.prevProjectionDelta.x) || !tO(this.projectionDelta.y, this.prevProjectionDelta.y)) && (this.hasProjected = !0, this.scheduleRender(), this.notifyListeners("projectionUpdate", s)), RE.value && uO.calculatedProjections++;
}
hide() {
this.isVisible = !1;
@@ -31279,22 +31279,22 @@ function qD({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
this.resumingFrom && !this.resumingFrom.instance && (this.resumingFrom = void 0);
}
createProjectionDeltas() {
- this.prevProjectionDelta = xE(), this.projectionDelta = xE(), this.projectionDeltaWithTransform = xE();
+ this.prevProjectionDelta = HE(), this.projectionDelta = HE(), this.projectionDeltaWithTransform = HE();
}
setAnimationOrigin(e, t = !1, n) {
- let r = this.snapshot, i = r ? r.latestValues : {}, a = { ...this.latestValues }, o = xE();
+ let r = this.snapshot, i = r ? r.latestValues : {}, a = { ...this.latestValues }, o = HE();
(!this.relativeParent || !this.relativeParent.options.layoutRoot) && (this.relativeTarget = this.relativeTargetOrigin = void 0), this.attemptToResolveRelativeTarget = !t;
- let s = CE(), 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(eoe));
+ let s = WE(), 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(Nae));
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 = pw(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 = pw(e.y.scale, 1, n), o.y.origin = e.y.origin, o.y.originPoint = e.y.originPoint) : (ZD(o.x, e.x, n), ZD(o.y, e.y, n)), this.setTargetDelta(o), this.relativeTarget && this.relativeTargetOrigin && this.layout && this.relativeParent && this.relativeParent.layout && (wD(s, this.layout.layoutBox, this.relativeParent.layout.layoutBox, this.options.layoutAnchor || void 0), $ae(this.relativeTarget, this.relativeTargetOrigin, s, n), f && Oae(this.relativeTarget, f) && (this.isProjectionDirty = !1), f ||= CE(), _D(f, this.relativeTarget)), c && (this.animationValues = a, jae(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 = ow(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 = ow(e.y.scale, 1, n), o.y.origin = e.y.origin, o.y.originPoint = e.y.originPoint) : (vO(o.x, e.x, n), vO(o.y, e.y, n)), this.setTargetDelta(o), this.relativeTarget && this.relativeTargetOrigin && this.layout && this.relativeParent && this.relativeParent.layout && (GD(s, this.layout.layoutBox, this.relativeParent.layout.layoutBox, this.options.layoutAnchor || void 0), Mae(this.relativeTarget, this.relativeTargetOrigin, s, n), f && sae(this.relativeTarget, f) && (this.isProjectionDirty = !1), f ||= WE(), RD(f, this.relativeTarget)), c && (this.animationValues = a, uae(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 &&= (kC(this.pendingAnimation), void 0), this.pendingAnimation = OC.update(() => {
- HD.hasAnimatedSinceResize = !0, this.motionValue ||= ST(0), this.motionValue.jump(0, !1), this.currentAnimation = Pae(this.motionValue, [0, 1e3], {
+ this.notifyListeners("animationStart"), this.currentAnimation?.stop(), this.resumingFrom?.currentAnimation?.stop(), this.pendingAnimation &&= (DC(this.pendingAnimation), void 0), this.pendingAnimation = EC.update(() => {
+ lO.hasAnimatedSinceResize = !0, this.motionValue ||= hT(0), this.motionValue.jump(0, !1), this.currentAnimation = pae(this.motionValue, [0, 1e3], {
...e,
velocity: 0,
isSync: !0,
@@ -31313,23 +31313,23 @@ function qD({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
e && e.exitAnimationComplete(), this.resumingFrom = this.currentAnimation = this.animationValues = void 0, this.notifyListeners("animationComplete");
}
finishAnimation() {
- this.currentAnimation && (this.mixTargetDelta && this.mixTargetDelta(zae), this.currentAnimation.stop()), this.completeAnimation();
+ this.currentAnimation && (this.mixTargetDelta && this.mixTargetDelta(vae), this.currentAnimation.stop()), this.completeAnimation();
}
applyTransformsToTarget() {
let e = this.getLead(), { targetWithTransforms: t, target: n, layout: r, latestValues: i } = e;
if (!(!t || !n || !r)) {
- if (this !== e && this.layout && r && nO(this.options.animationType, this.layout.layoutBox, r.layoutBox)) {
- n = this.target || CE();
- let t = yD(this.layout.layoutBox.x);
+ if (this !== e && this.layout && r && CO(this.options.animationType, this.layout.layoutBox, r.layoutBox)) {
+ n = this.target || WE();
+ let t = BD(this.layout.layoutBox.x);
n.x.min = e.target.x.min, n.x.max = n.x.min + t;
- let r = yD(this.layout.layoutBox.y);
+ let r = BD(this.layout.layoutBox.y);
n.y.min = e.target.y.min, n.y.max = n.y.min + r;
}
- _D(t, n), $E(t, i), xD(this.projectionDeltaWithTransform, this.layoutCorrected, t, i);
+ RD(t, n), bD(t, i), HD(this.projectionDeltaWithTransform, this.layoutCorrected, t, i);
}
}
registerSharedNode(e, t) {
- this.sharedNodes.has(e) || this.sharedNodes.set(e, new Rae()), this.sharedNodes.get(e).add(t);
+ this.sharedNodes.has(e) || this.sharedNodes.set(e, new _ae()), this.sharedNodes.get(e).add(t);
let n = t.options.initialPromotionConfig;
t.promote({
transition: n ? n.transition : void 0,
@@ -31366,8 +31366,8 @@ function qD({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
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 && GD("z", e, r, this.animationValues);
- for (let t = 0; t < WD.length; t++) GD(`rotate${WD[t]}`, e, r, this.animationValues), GD(`skew${WD[t]}`, e, r, this.animationValues);
+ n.z && fO("z", e, r, this.animationValues);
+ for (let t = 0; t < dO.length; t++) fO(`rotate${dO[t]}`, e, r, this.animationValues), fO(`skew${dO[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();
@@ -31380,71 +31380,71 @@ function qD({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
}
let n = this.getTransformTemplate();
if (this.needsReset) {
- this.needsReset = !1, e.visibility = "", e.opacity = "", e.pointerEvents = VD(t?.pointerEvents) || "", e.transform = n ? n(this.latestValues, "") : "none";
+ this.needsReset = !1, e.visibility = "", e.opacity = "", e.pointerEvents = cO(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 = VD(t?.pointerEvents) || ""), this.hasProjected && !VE(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 = cO(t?.pointerEvents) || ""), this.hasProjected && !cD(this.latestValues) && (e.transform = n ? n({}, "") : "none", this.hasProjected = !1);
return;
}
e.visibility = "";
let i = r.animationValues || r.latestValues;
this.applyTransformsToTarget();
- let a = kae(this.projectionDeltaWithTransform, this.treeScale, i);
+ let a = cae(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 aD) {
+ for (let t in ED) {
if (i[t] === void 0) continue;
- let { correct: n, applyTo: o, isCSSVariable: s } = aD[t], c = a === "none" ? i[t] : n(i[t], r);
+ let { correct: n, applyTo: o, isCSSVariable: s } = ED[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 ? VD(t?.pointerEvents) || "" : "none");
+ this.options.layoutId && (e.pointerEvents = r === this ? cO(t?.pointerEvents) || "" : "none");
}
clearSnapshot() {
this.resumeFrom = this.snapshot = void 0;
}
resetTree() {
- this.root.nodes.forEach((e) => e.currentAnimation?.stop()), this.root.nodes.forEach(JD), this.root.sharedNodes.clear();
+ this.root.nodes.forEach((e) => e.currentAnimation?.stop()), this.root.nodes.forEach(hO), this.root.sharedNodes.clear();
}
};
}
-function Vae(e) {
+function bae(e) {
e.updateLayout();
}
-function Hae(e) {
+function xae(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") FD((e) => {
- let r = a ? t.measuredBox[e] : t.layoutBox[e], i = yD(r);
+ if (i === "size") nO((e) => {
+ let r = a ? t.measuredBox[e] : t.layoutBox[e], i = BD(r);
r.min = n[e].min, r.max = r.min + i;
});
else if (i === "x" || i === "y") {
let e = i === "x" ? "y" : "x";
- gD(a ? t.measuredBox[e] : t.layoutBox[e], n[e]);
- } else nO(i, t.layoutBox, n) && FD((r) => {
- let i = a ? t.measuredBox[r] : t.layoutBox[r], o = yD(n[r]);
+ LD(a ? t.measuredBox[e] : t.layoutBox[e], n[e]);
+ } else CO(i, t.layoutBox, n) && nO((r) => {
+ let i = a ? t.measuredBox[r] : t.layoutBox[r], o = BD(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 = xE();
- xD(o, n, t.layoutBox);
- let s = xE();
- a ? xD(s, e.applyTransform(r, !0), t.measuredBox) : xD(s, n, t.layoutBox);
- let c = !kD(o), l = !1;
+ let o = HE();
+ HD(o, n, t.layoutBox);
+ let s = HE();
+ a ? HD(s, e.applyTransform(r, !0), t.measuredBox) : HD(s, n, t.layoutBox);
+ let c = !XD(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 = CE();
- wD(s, t.layoutBox, i.layoutBox, o);
- let c = CE();
- wD(c, n, a.layoutBox, o), MD(s, c) || (l = !0), r.options.layoutRoot && (e.relativeTarget = c, e.relativeTargetOrigin = s, e.relativeParent = r);
+ let o = e.options.layoutAnchor || void 0, s = WE();
+ GD(s, t.layoutBox, i.layoutBox, o);
+ let c = WE();
+ GD(c, n, a.layoutBox, o), $D(s, c) || (l = !0), r.options.layoutRoot && (e.relativeTarget = c, e.relativeTargetOrigin = s, e.relativeParent = r);
}
}
}
@@ -31462,59 +31462,59 @@ function Hae(e) {
}
e.options.transition = void 0;
}
-function Uae(e) {
- _E.value && UD.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 Sae(e) {
+ RE.value && uO.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 Wae(e) {
+function Cae(e) {
e.isProjectionDirty = e.isSharedProjectionDirty = e.isTransformDirty = !1;
}
-function Gae(e) {
+function wae(e) {
e.clearSnapshot();
}
-function JD(e) {
+function hO(e) {
e.clearMeasurements();
}
-function Kae(e) {
+function Tae(e) {
e.isLayoutDirty = !0, e.updateLayout();
}
-function YD(e) {
+function gO(e) {
e.isLayoutDirty = !1;
}
-function qae(e) {
+function Eae(e) {
e.isAnimationBlocked && e.layout && !e.isLayoutDirty && (e.snapshot = e.layout, e.isLayoutDirty = !0);
}
-function Jae(e) {
+function Dae(e) {
let { visualElement: t } = e.options;
t && t.getProps().onBeforeLayoutMeasure && t.notify("BeforeLayoutMeasure"), e.resetTransform();
}
-function XD(e) {
+function _O(e) {
e.finishAnimation(), e.targetDelta = e.relativeTarget = e.target = void 0, e.isProjectionDirty = !0;
}
-function Yae(e) {
+function Oae(e) {
e.resolveTargetDelta();
}
-function Xae(e) {
+function kae(e) {
e.calcProjection();
}
-function Zae(e) {
+function Aae(e) {
e.resetSkewAndRotation();
}
-function Qae(e) {
+function jae(e) {
e.removeLeadSnapshot();
}
-function ZD(e, t, n) {
- e.translate = pw(t.translate, 0, n), e.scale = pw(t.scale, 1, n), e.origin = t.origin, e.originPoint = t.originPoint;
+function vO(e, t, n) {
+ e.translate = ow(t.translate, 0, n), e.scale = ow(t.scale, 1, n), e.origin = t.origin, e.originPoint = t.originPoint;
}
-function QD(e, t, n, r) {
- e.min = pw(t.min, n.min, r), e.max = pw(t.max, n.max, r);
+function yO(e, t, n, r) {
+ e.min = ow(t.min, n.min, r), e.max = ow(t.max, n.max, r);
}
-function $ae(e, t, n, r) {
- QD(e.x, t.x, n.x, r), QD(e.y, t.y, n.y, r);
+function Mae(e, t, n, r) {
+ yO(e.x, t.x, n.x, r), yO(e.y, t.y, n.y, r);
}
-function eoe(e) {
+function Nae(e) {
return e.animationValues && e.animationValues.opacityExit !== void 0;
}
-var toe = {
+var Pae = {
duration: .45,
ease: [
.4,
@@ -31522,39 +31522,39 @@ var toe = {
.1,
1
]
-}, $D = (e) => typeof navigator < "u" && navigator.userAgent && navigator.userAgent.toLowerCase().includes(e), eO = $D("applewebkit/") && !$D("chrome/") ? Math.round : YS;
-function tO(e) {
- e.min = eO(e.min), e.max = eO(e.max);
+}, bO = (e) => typeof navigator < "u" && navigator.userAgent && navigator.userAgent.toLowerCase().includes(e), xO = bO("applewebkit/") && !bO("chrome/") ? Math.round : nC;
+function SO(e) {
+ e.min = xO(e.min), e.max = xO(e.max);
}
-function noe(e) {
- tO(e.x), tO(e.y);
+function Fae(e) {
+ SO(e.x), SO(e.y);
}
-function nO(e, t, n) {
- return e === "position" || e === "preserve-aspect" && !Cae(ND(t), ND(n), .2);
+function CO(e, t, n) {
+ return e === "position" || e === "preserve-aspect" && !nae(eO(t), eO(n), .2);
}
-function roe(e) {
+function Iae(e) {
return e !== e.root && e.scroll?.wasRoot;
}
//#endregion
//#region node_modules/motion-dom/dist/es/projection/node/DocumentProjectionNode.mjs
-var ioe = qD({
- attachResizeListener: (e, t) => BD(e, "resize", t),
+var Lae = mO({
+ attachResizeListener: (e, t) => sO(e, "resize", t),
measureScroll: () => ({
x: document.documentElement.scrollLeft || document.body?.scrollLeft || 0,
y: document.documentElement.scrollTop || document.body?.scrollTop || 0
}),
checkIsScrollRoot: () => !0
-}), rO = { current: void 0 }, iO = qD({
+}), wO = { current: void 0 }, TO = mO({
measureScroll: (e) => ({
x: e.scrollLeft,
y: e.scrollTop
}),
defaultParent: () => {
- if (!rO.current) {
- let e = new ioe({});
- e.mount(window), e.setOptions({ layoutScroll: !0 }), rO.current = e;
+ if (!wO.current) {
+ let e = new Lae({});
+ e.mount(window), e.setOptions({ layoutScroll: !0 }), wO.current = e;
}
- return rO.current;
+ return wO.current;
},
resetTransform: (e, t) => {
e.style.transform = t === void 0 ? "none" : t;
@@ -31563,18 +31563,18 @@ var ioe = qD({
});
//#endregion
//#region node_modules/framer-motion/dist/es/animation/animators/waapi/animate-elements.mjs
-function aoe(e, t, n, r) {
+function Rae(e, t, n, r) {
if (e == null) return [];
- let i = YT(e, r), a = i.length, o = [];
+ let i = sE(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 = { ...wT(s, e) };
- i.duration &&= /* @__PURE__ */ $S(i.duration), i.delay &&= /* @__PURE__ */ $S(i.delay);
- let a = Kre(r), c = Gre(e, i.pseudoElement || ""), l = a.get(c);
+ let i = { ..._T(s, e) };
+ i.duration &&= /* @__PURE__ */ oC(i.duration), i.delay &&= /* @__PURE__ */ oC(i.delay);
+ let a = $re(r), c = Qre(e, i.pseudoElement || ""), l = a.get(c);
l && l.stop(), o.push({
map: a,
key: c,
@@ -31590,40 +31590,40 @@ function aoe(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] = lE(r, i)), Lw(t), Sie(t, i), !a && t.length < 2 && t.unshift(lE(r, i)), n.keyframes = t;
+ !a && t[0] === null && (t[0] = AE(r, i)), Aw(t), oE(t, i), !a && t.length < 2 && t.unshift(AE(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 dT(r);
+ let { map: t, key: n, options: r } = o[e], i = new iT(r);
t.set(n, i), i.finished.finally(() => t.delete(n)), s.push(i);
}
return s;
}
-var ooe = /*@__PURE__*/ ((e) => {
+var zae = /*@__PURE__*/ ((e) => {
function t(t, n, r) {
- return new Wre(aoe(t, n, r, e));
+ return new Zre(Rae(t, n, r, e));
}
return t;
-})(), aO = (e, t) => Math.abs(e - t);
-function soe(e, t) {
- let n = aO(e.x, t.x), r = aO(e.y, t.y);
+})(), EO = (e, t) => Math.abs(e - t);
+function Bae(e, t) {
+ let n = EO(e.x, t.x), r = EO(e.y, t.y);
return Math.sqrt(n ** 2 + r ** 2);
}
//#endregion
//#region src/react/components/use-moving-surface.ts
-var coe = {
+var Vae = {
selection: {
- type: Ow,
+ type: xw,
duration: .16,
bounce: 0
},
hover: {
- type: Ow,
+ type: xw,
duration: .08,
bounce: 0
}
};
-function oO(e) {
+function DO(e) {
let [t, n] = (0, R.useState)(null);
return (0, R.useLayoutEffect)(() => {
if (!t) return;
@@ -31644,7 +31644,7 @@ function oO(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 = ooe(n, { transform: [r, E] }, coe[e]);
+ l = zae(n, { transform: [r, E] }, Vae[e]);
} else n.style.transform = E;
s = h, c = w, t.dataset.surfaceReady = "";
}, m = (t) => {
@@ -31681,16 +31681,16 @@ function oO(e) {
}
//#endregion
//#region src/react/components/menu-dialog.tsx
-function sO(e) {
- let t = oO("hover");
- return /* @__PURE__ */ (0, z.jsx)(ub, {
+function OO(e) {
+ let t = DO("hover");
+ return /* @__PURE__ */ (0, z.jsx)(tb, {
...e,
ref: t
});
}
//#endregion
//#region src/react/boardui/components/base/buttons/link-button.tsx
-var cO = _i({
+var kO = _i({
base: [
"inline-flex items-center justify-center gap-1 whitespace-nowrap",
"font-sans select-none cursor-pointer rounded-sm",
@@ -31714,15 +31714,15 @@ var cO = _i({
secondary: ["text-text-secondary active:text-text-primary", "disabled:text-text-tertiary aria-disabled:text-text-tertiary"].join(" ")
}
});
-function lO({ variant: e = "primary", size: t = "medium", leadingIcon: n, trailingIcon: r, children: i, className: a, disabled: o = !1, ...s }) {
- let c = gi(cO.base, cO.size[t], cO.variant[e], a), l = /* @__PURE__ */ (0, z.jsxs)(z.Fragment, { children: [
+function AO({ variant: e = "primary", size: t = "medium", leadingIcon: n, trailingIcon: r, children: i, className: a, disabled: o = !1, ...s }) {
+ let c = gi(kO.base, kO.size[t], kO.variant[e], a), l = /* @__PURE__ */ (0, z.jsxs)(z.Fragment, { children: [
n ? /* @__PURE__ */ (0, z.jsx)(n, {
- className: cO.icon[t],
+ className: kO.icon[t],
"aria-hidden": !0
}) : null,
i != null && /* @__PURE__ */ (0, z.jsx)("span", { children: i }),
r ? /* @__PURE__ */ (0, z.jsx)(r, {
- className: cO.icon[t],
+ className: kO.icon[t],
"aria-hidden": !0
}) : null
] });
@@ -31749,7 +31749,7 @@ function lO({ variant: e = "primary", size: t = "medium", leadingIcon: n, traili
}
//#endregion
//#region src/react/boardui/components/base/dropdown/menu-styles.ts
-var uO = [
+var jO = [
"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",
@@ -31757,74 +31757,74 @@ var uO = [
"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(" "), loe = "w-[266px]", uoe = "flex w-full flex-col gap-1 outline-none", dO = ["flex w-full cursor-pointer items-center gap-2 rounded-2lg p-2 text-left", "text-text-primary outline-none transition-colors"].join(" "), fO = "hover:bg-dropdown-item-hover-background focus-visible:bg-dropdown-item-hover-background";
+].join(" "), Hae = "w-[266px]", Uae = "flex w-full flex-col gap-1 outline-none", MO = ["flex w-full cursor-pointer items-center gap-2 rounded-2lg p-2 text-left", "text-text-primary outline-none transition-colors"].join(" "), NO = "hover:bg-dropdown-item-hover-background focus-visible:bg-dropdown-item-hover-background";
({
medium: "h-9 rounded-2lg p-2 text-body-medium",
small: "h-8 rounded-lg px-2 py-1.5 text-body-medium"
}).medium;
//#endregion
//#region src/management.ts
-var doe = "扫描媒体文件夹,导入已有资料,采集缺失信息。两段也可以分开跑:新盘刚接上时先只扫描,几万个文件登记完就能用;采集被网络拖住时只重跑采集,不必再扫一遍磁盘。", foe = "修缺时间戳表(播放卡顿)和缺索引(打不开)的 MP4。常看的片子先修。", poe = Mi({
+var Wae = "扫描媒体文件夹,导入已有资料,采集缺失信息。两段也可以分开跑:新盘刚接上时先只扫描,几万个文件登记完就能用;采集被网络拖住时只重跑采集,不必再扫一遍磁盘。", Gae = "修缺时间戳表(播放卡顿)和缺索引(打不开)的 MP4。常看的片子先修。", Kae = Mi({
padding: "none",
bordered: "line",
className: "overflow-hidden"
-}), moe = {
+}), qae = {
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"
-}, hoe = {
+}, Jae = {
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"
-}, goe = "flex min-h-14 flex-wrap items-center justify-end gap-2 border-t px-5 py-3", _oe = {
+}, Yae = "flex min-h-14 flex-wrap items-center justify-end gap-2 border-t px-5 py-3", Xae = {
neutral: "border-border-button-default bg-card-footer",
error: "border-border-error-default bg-background-tertiary-error"
-}, voe = Mi({
+}, Zae = Mi({
padding: "none",
radius: "surface",
bordered: "line",
className: "overflow-hidden"
-}), pO = "border-t border-border-button-default p-4 first:border-t-0";
-function mO({ tone: e = "neutral", status: t, children: n }) {
+}), PO = "border-t border-border-button-default p-4 first:border-t-0";
+function FO({ tone: e = "neutral", status: t, children: n }) {
return /* @__PURE__ */ (0, z.jsxs)("div", {
- className: `${goe} ${_oe[e]}`,
+ className: `${Yae} ${Xae[e]}`,
children: [t ? /* @__PURE__ */ (0, z.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 hO({ id: e, children: t }) {
+function IO({ id: e, children: t }) {
return /* @__PURE__ */ (0, z.jsx)("h2", {
id: e,
className: "text-title-2-medium! m-0! text-text-primary",
children: t
});
}
-function gO({ id: e, gap: t = "none", children: n }) {
+function LO({ id: e, gap: t = "none", children: n }) {
return /* @__PURE__ */ (0, z.jsx)("h3", {
id: e,
className: `text-title-2-medium text-text-primary ${t === "medium" ? "mb-3" : t === "small" ? "mb-2" : ""}`,
children: n
});
}
-function _O({ layout: e, label: t, labelledBy: n, id: r, footer: i, children: a, attributes: o }) {
+function RO({ layout: e, label: t, labelledBy: n, id: r, footer: i, children: a, attributes: o }) {
return /* @__PURE__ */ (0, z.jsxs)("section", {
id: r,
"aria-label": t,
"aria-labelledby": n,
...o,
- className: `${poe} ${e === "split" ? "fieldset-split" : "flex flex-col"}`,
+ className: `${Kae} ${e === "split" ? "fieldset-split" : "flex flex-col"}`,
children: [/* @__PURE__ */ (0, z.jsx)("div", {
- className: moe[e],
+ className: qae[e],
children: a
}), i ? /* @__PURE__ */ (0, z.jsx)("footer", {
- className: hoe[e],
+ className: Jae[e],
children: i
}) : null]
});
}
//#endregion
//#region src/react/components/overlay-scrollbar.ts
-function vO() {
+function zO() {
let e = (0, R.useRef)(null);
return (0, R.useEffect)(() => {
v(e.current);
@@ -31832,7 +31832,7 @@ function vO() {
}
//#endregion
//#region src/react/boardui/components/base/buttons/icon-button.tsx
-var yO = _i({
+var BO = _i({
base: [
"relative inline-flex shrink-0 items-center justify-center overflow-visible rounded-2lg",
"bg-background-primary-default text-foreground-icon-primary",
@@ -31853,21 +31853,21 @@ var yO = _i({
small: "size-4 shrink-0"
}
});
-function bO({ icon: e, size: t = "medium", className: n, type: r = "button", ref: i, ...a }) {
+function VO({ icon: e, size: t = "medium", className: n, type: r = "button", ref: i, ...a }) {
return /* @__PURE__ */ (0, z.jsx)("button", {
ref: i,
type: r,
- className: gi(yO.base, yO.size[t], n),
+ className: gi(BO.base, BO.size[t], n),
...a,
children: /* @__PURE__ */ (0, z.jsx)(e, {
- className: yO.icon[t],
+ className: BO.icon[t],
"aria-hidden": !0
})
});
}
//#endregion
//#region src/react/components/path-line.tsx
-function yoe({ className: e }) {
+function Qae({ className: e }) {
return /* @__PURE__ */ (0, z.jsx)("svg", {
"aria-hidden": !0,
viewBox: "0 0 24 24",
@@ -31880,8 +31880,8 @@ function yoe({ className: e }) {
children: /* @__PURE__ */ (0, z.jsx)("use", { href: "#i-folder-open" })
});
}
-var boe = "打开文件管理器失败,请重试";
-function xO({ path: e, prefix: t, className: n, onRevealed: r }) {
+var $ae = "打开文件管理器失败,请重试";
+function HO({ path: e, prefix: t, className: n, onRevealed: r }) {
let [i, a] = (0, R.useState)(!1), [o, s] = (0, R.useState)(""), c = (0, R.useRef)(!0);
(0, R.useEffect)(() => () => {
c.current = !1;
@@ -31892,7 +31892,7 @@ function xO({ path: e, prefix: t, className: n, onRevealed: r }) {
try {
await W("/api/reveal", { path: e }), r?.("已在资源管理器中显示");
} catch (e) {
- c.current && s(e instanceof Si ? e.message : boe);
+ c.current && s(e instanceof Si ? e.message : $ae);
} finally {
c.current && a(!1);
}
@@ -31905,8 +31905,8 @@ function xO({ path: e, prefix: t, className: n, onRevealed: r }) {
children: [/* @__PURE__ */ (0, z.jsxs)("p", {
className: gi("min-w-0 break-all", n),
children: [t, e]
- }), /* @__PURE__ */ (0, z.jsx)(bO, {
- icon: yoe,
+ }), /* @__PURE__ */ (0, z.jsx)(VO, {
+ icon: Qae,
size: "small",
className: "shrink-0",
"aria-label": "在资源管理器中显示",
@@ -31921,7 +31921,7 @@ function xO({ path: e, prefix: t, className: n, onRevealed: r }) {
}
//#endregion
//#region src/react/components/task-progress.tsx
-function SO({ label: e, value: t = 0, total: n, embedded: r = !1 }) {
+function UO({ label: e, value: t = 0, total: n, embedded: r = !1 }) {
return /* @__PURE__ */ (0, z.jsx)("div", {
"data-task-progress": !0,
className: r ? "flex flex-col gap-1.5" : Mi({
@@ -31941,19 +31941,19 @@ function SO({ label: e, value: t = 0, total: n, embedded: r = !1 }) {
}
//#endregion
//#region src/react/boardui/components/application/settings/settings-rows.tsx
-function xoe({ className: e, children: t }) {
+function eoe({ className: e, children: t }) {
return /* @__PURE__ */ (0, z.jsx)("div", {
className: gi("flex w-full flex-col rounded-2xl bg-background-secondary-default pl-3", e),
children: t
});
}
-function CO({ className: e, children: t }) {
+function WO({ className: e, children: t }) {
return /* @__PURE__ */ (0, z.jsx)("p", {
className: gi("w-full px-3 text-body-2-medium text-text-secondary", e),
children: t
});
}
-function wO({ label: e, description: t, children: n }) {
+function GO({ label: e, description: t, children: n }) {
return /* @__PURE__ */ (0, z.jsxs)("div", {
className: gi("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, z.jsxs)("div", {
@@ -31970,14 +31970,14 @@ function wO({ label: e, description: t, children: n }) {
}
//#endregion
//#region src/react/settings/section.tsx
-function TO({ title: e, id: t, aside: n, onSubmit: r, children: i }) {
+function KO({ title: e, id: t, aside: n, onSubmit: r, children: i }) {
let a = /* @__PURE__ */ (0, z.jsxs)(z.Fragment, { children: [n ? /* @__PURE__ */ (0, z.jsxs)("div", {
className: "flex w-full flex-wrap items-center justify-between gap-2",
children: [/* @__PURE__ */ (0, z.jsx)("div", {
className: "min-w-0 flex-1",
- children: /* @__PURE__ */ (0, z.jsx)(CO, { children: e })
+ children: /* @__PURE__ */ (0, z.jsx)(WO, { children: e })
}), n]
- }) : /* @__PURE__ */ (0, z.jsx)(CO, { children: e }), /* @__PURE__ */ (0, z.jsx)(xoe, { children: i })] });
+ }) : /* @__PURE__ */ (0, z.jsx)(WO, { children: e }), /* @__PURE__ */ (0, z.jsx)(eoe, { children: i })] });
return r ? /* @__PURE__ */ (0, z.jsx)("form", {
id: t,
"aria-label": e,
@@ -31992,13 +31992,13 @@ function TO({ title: e, id: t, aside: n, onSubmit: r, children: i }) {
children: a
});
}
-function EO({ children: e }) {
+function qO({ children: e }) {
return /* @__PURE__ */ (0, z.jsx)("div", {
className: "flex flex-col",
children: e
});
}
-function DO({ divided: e = !1, children: t }) {
+function JO({ divided: e = !1, children: t }) {
return e ? /* @__PURE__ */ (0, z.jsx)("div", {
className: "flex flex-col gap-4 border-t border-separator-border py-4 pr-3",
children: t
@@ -32007,7 +32007,7 @@ function DO({ divided: e = !1, children: t }) {
children: t
});
}
-function OO({ status: e, children: t }) {
+function YO({ status: e, children: t }) {
return /* @__PURE__ */ (0, z.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, z.jsx)("div", {
@@ -32016,28 +32016,28 @@ function OO({ status: e, children: t }) {
}) : null, t]
});
}
-function kO({ role: e, children: t }) {
+function XO({ role: e, children: t }) {
return /* @__PURE__ */ (0, z.jsx)("p", {
role: e,
className: "text-body-2-regular text-text-secondary",
children: t
});
}
-function AO({ children: e }) {
+function ZO({ children: e }) {
return /* @__PURE__ */ (0, z.jsx)("p", {
role: "alert",
className: "text-body-2-regular text-text-error-primary",
children: e
});
}
-function jO({ children: e }) {
+function QO({ children: e }) {
return /* @__PURE__ */ (0, z.jsx)("p", {
className: "text-body-medium text-text-primary",
children: e
});
}
-function MO({ href: e, children: t, leadingIcon: n }) {
- return /* @__PURE__ */ (0, z.jsx)(lO, {
+function $O({ href: e, children: t, leadingIcon: n }) {
+ return /* @__PURE__ */ (0, z.jsx)(AO, {
href: e,
target: "_blank",
rel: "noopener noreferrer",
@@ -32051,13 +32051,13 @@ function MO({ href: e, children: t, leadingIcon: n }) {
})
});
}
-function NO({ children: e }) {
+function ek({ children: e }) {
return /* @__PURE__ */ (0, z.jsx)("dl", {
className: "flex flex-col",
children: e
});
}
-function PO({ term: e, children: t }) {
+function tk({ term: e, children: t }) {
return /* @__PURE__ */ (0, z.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, z.jsx)("dt", {
@@ -32069,7 +32069,7 @@ function PO({ term: e, children: t }) {
})]
});
}
-function FO({ summary: e, defaultOpen: t = !1, children: n }) {
+function nk({ summary: e, defaultOpen: t = !1, children: n }) {
let r = (0, R.useId)(), i = (0, R.useRef)(null), a = (0, R.useRef)(null), o = (0, R.useRef)(!1), [s, c] = (0, R.useState)(t);
return /* @__PURE__ */ (0, z.jsxs)("details", {
ref: (e) => {
@@ -32097,7 +32097,7 @@ function FO({ summary: e, defaultOpen: t = !1, children: n }) {
})]
});
}
-function Soe({ name: e }) {
+function toe({ name: e }) {
return /* @__PURE__ */ (0, z.jsx)("svg", {
"aria-hidden": !0,
viewBox: "0 0 24 24",
@@ -32106,18 +32106,18 @@ function Soe({ name: e }) {
children: /* @__PURE__ */ (0, z.jsx)("use", { href: `#i-${e}` })
});
}
-function IO({ mark: e }) {
+function rk({ mark: e }) {
return e.startsWith("data:image/png;base64,") ? /* @__PURE__ */ (0, z.jsx)("img", {
src: e,
alt: "",
width: 16,
height: 16,
className: "size-4 shrink-0"
- }) : /* @__PURE__ */ (0, z.jsx)(Soe, { name: e });
+ }) : /* @__PURE__ */ (0, z.jsx)(toe, { name: e });
}
//#endregion
//#region src/react/library-processing/use-library-processing.ts
-function LO({ toast: e, mode: t, monitor: n }) {
+function ik({ toast: e, mode: t, monitor: n }) {
let r = t === "notice" || !!n, i = Nn({
queryKey: Ko,
queryFn: ({ signal: e }) => qo(e),
@@ -32141,7 +32141,7 @@ function LO({ toast: e, mode: t, monitor: n }) {
}
//#endregion
//#region src/react/library-processing/library-processing-card.tsx
-var Coe = [
+var noe = [
{
label: "扫描并补全资料",
icon: Ne,
@@ -32157,13 +32157,13 @@ var Coe = [
icon: ze,
command: { stage: "collect" }
}
-], woe = gi(dO, fO, "text-body-2-medium"), Toe = "这一项耗时较长,暂时没有新进展。任务结束后可以重试未完成的部分。", Eoe = (e) => {
+], roe = gi(MO, NO, "text-body-2-medium"), ioe = "这一项耗时较长,暂时没有新进展。任务结束后可以重试未完成的部分。", aoe = (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(",")}。`;
-}, Doe = (e) => `已扫描 ${e.scanned || 0} 个文件,识别 ${e.identified || 0} 个番号,整理 ${e.candidates || 0} 组资料候选,自动落库 ${e.auto_applied || 0} 条。` + Eoe(e);
-function Ooe({ busy: e, onRun: t }) {
+}, ooe = (e) => `已扫描 ${e.scanned || 0} 个文件,识别 ${e.identified || 0} 个番号,整理 ${e.candidates || 0} 组资料候选,自动落库 ${e.auto_applied || 0} 条。` + aoe(e);
+function soe({ busy: e, onRun: t }) {
let n = (0, R.useRef)(null), [r, i] = (0, R.useState)(!1), a = (n) => {
e || (i(!1), t(n));
};
@@ -32188,19 +32188,19 @@ function Ooe({ busy: e, onRun: t }) {
e || i(!0);
}
})]
- }), /* @__PURE__ */ (0, z.jsx)(gy, {
+ }), /* @__PURE__ */ (0, z.jsx)(sy, {
triggerRef: n,
isOpen: r,
onOpenChange: i,
placement: "bottom end",
offset: 4,
- className: uO,
- children: /* @__PURE__ */ (0, z.jsx)(sO, {
+ className: jO,
+ children: /* @__PURE__ */ (0, z.jsx)(OO, {
"aria-label": "更多扫描与采集方式",
className: "flex w-52 flex-col gap-1 outline-none",
- children: Coe.map(({ label: e, icon: t, command: n }) => /* @__PURE__ */ (0, z.jsxs)("button", {
+ children: noe.map(({ label: e, icon: t, command: n }) => /* @__PURE__ */ (0, z.jsxs)("button", {
type: "button",
- className: woe,
+ className: roe,
onClick: () => a(n),
children: [/* @__PURE__ */ (0, z.jsx)(t, {
"aria-hidden": !0,
@@ -32210,8 +32210,8 @@ function Ooe({ busy: e, onRun: t }) {
})
})] });
}
-function koe({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {
- let a = rs(e), o = e.status === "failed" && !!e.retryable_asset_ids?.length, s = ts(e.notes || {}), c = vO();
+function coe({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {
+ let a = rs(e), o = e.status === "failed" && !!e.retryable_asset_ids?.length, s = ts(e.notes || {}), c = zO();
return /* @__PURE__ */ (0, z.jsxs)("div", {
"aria-live": "polite",
className: "flex flex-col gap-4 empty:hidden",
@@ -32219,7 +32219,7 @@ function koe({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {
e.status === "running" && e.stalled ? /* @__PURE__ */ (0, z.jsx)(G, {
tone: "warning",
title: "处理较慢",
- children: Toe
+ children: ioe
}) : null,
t || e.status === "failed" ? /* @__PURE__ */ (0, z.jsx)(G, {
tone: "error",
@@ -32231,7 +32231,7 @@ function koe({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {
}) : null,
extra: a ? /* @__PURE__ */ (0, z.jsx)("div", {
className: "mt-1.5 border-t border-current/20 pt-1.5",
- children: /* @__PURE__ */ (0, z.jsxs)(FO, {
+ children: /* @__PURE__ */ (0, z.jsxs)(nk, {
summary: a.label,
children: [/* @__PURE__ */ (0, z.jsx)("div", {
className: "relative",
@@ -32262,7 +32262,7 @@ function koe({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {
})
}), a.log ? /* @__PURE__ */ (0, z.jsx)("div", {
className: "mt-2 border-t border-current/20 pt-2 text-text-secondary",
- children: /* @__PURE__ */ (0, z.jsx)(xO, {
+ children: /* @__PURE__ */ (0, z.jsx)(HO, {
path: a.log,
prefix: "完整记录:",
className: "text-caption-1-regular",
@@ -32276,13 +32276,13 @@ function koe({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {
n?.status === "complete" ? /* @__PURE__ */ (0, z.jsx)(G, {
tone: "success",
title: "处理完成",
- children: Doe(n)
+ children: ooe(n)
}) : null,
e.status !== "running" && s ? /* @__PURE__ */ (0, z.jsx)(G, {
tone: "neutral",
extra: e.issues_log ? /* @__PURE__ */ (0, z.jsx)("div", {
className: "mt-1.5 border-t border-current/20 pt-1.5 text-text-secondary",
- children: /* @__PURE__ */ (0, z.jsx)(xO, {
+ children: /* @__PURE__ */ (0, z.jsx)(HO, {
path: e.issues_log,
prefix: "完整记录:",
className: "text-caption-1-regular",
@@ -32294,8 +32294,8 @@ function koe({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {
]
});
}
-function RO(e) {
- let { toast: t, onComplete: n } = e, { job: r, settled: i, forget: a } = LO(e), o = Pn({
+function ak(e) {
+ let { toast: t, onComplete: n } = e, { job: r, settled: i, forget: a } = ik(e), o = Pn({
mutationFn: (e) => W(Go, e),
onSuccess: (e) => {
a(), q.setQueryData(Ko, e), q.invalidateQueries({ queryKey: Ko });
@@ -32309,23 +32309,23 @@ function RO(e) {
};
return /* @__PURE__ */ (0, z.jsxs)("div", {
className: "flex flex-col gap-4",
- children: [/* @__PURE__ */ (0, z.jsx)(_O, {
+ children: [/* @__PURE__ */ (0, z.jsx)(RO, {
layout: "stack",
label: "扫描与采集",
footer: /* @__PURE__ */ (0, z.jsxs)(z.Fragment, { children: [
- /* @__PURE__ */ (0, z.jsx)(lO, {
+ /* @__PURE__ */ (0, z.jsx)(AO, {
href: "/scraping",
size: "small",
trailingIcon: Te,
children: "来源和凭证"
}),
- s.candidates ? /* @__PURE__ */ (0, z.jsx)(lO, {
+ s.candidates ? /* @__PURE__ */ (0, z.jsx)(AO, {
href: "/review",
size: "small",
trailingIcon: Te,
children: "复核资料"
}) : null,
- /* @__PURE__ */ (0, z.jsx)(Ooe, {
+ /* @__PURE__ */ (0, z.jsx)(soe, {
busy: l,
onRun: d
})
@@ -32333,12 +32333,12 @@ function RO(e) {
children: /* @__PURE__ */ (0, z.jsxs)("div", {
className: "flex flex-col gap-2",
children: [
- /* @__PURE__ */ (0, z.jsx)(gO, { children: "扫描与采集" }),
+ /* @__PURE__ */ (0, z.jsx)(LO, { children: "扫描与采集" }),
/* @__PURE__ */ (0, z.jsx)("p", {
className: "text-body-2-regular text-text-secondary",
- children: doe
+ children: Wae
}),
- s.status === "running" ? /* @__PURE__ */ (0, z.jsx)(SO, {
+ s.status === "running" ? /* @__PURE__ */ (0, z.jsx)(UO, {
embedded: !0,
label: u,
value: s.checked,
@@ -32346,7 +32346,7 @@ function RO(e) {
}) : null
]
})
- }), /* @__PURE__ */ (0, z.jsx)(koe, {
+ }), /* @__PURE__ */ (0, z.jsx)(coe, {
state: s,
problem: c,
settled: i,
@@ -32362,7 +32362,7 @@ function RO(e) {
}
//#endregion
//#region src/react/boardui/components/foundations/icons/chevrons.tsx
-function Aoe(e) {
+function loe(e) {
return /* @__PURE__ */ (0, z.jsx)("svg", {
viewBox: "0 0 16 16",
fill: "none",
@@ -32376,7 +32376,7 @@ function Aoe(e) {
})
});
}
-function joe(e) {
+function uoe(e) {
return /* @__PURE__ */ (0, z.jsx)("svg", {
viewBox: "0 0 24 24",
fill: "none",
@@ -32390,7 +32390,7 @@ function joe(e) {
}
//#endregion
//#region src/react/boardui/utils/use-dismiss-on-outside-press.ts
-function Moe(e, t, n) {
+function doe(e, t, n) {
(0, R.useEffect)(() => {
if (!e) return;
let r = (e) => {
@@ -32404,7 +32404,7 @@ function Moe(e, t, n) {
n
]);
}
-function Noe(e, t) {
+function foe(e, t) {
let n = (0, R.useRef)(!1);
return (0, R.useEffect)(() => {
if (!e) return;
@@ -32418,12 +32418,12 @@ function Noe(e, t) {
}
//#endregion
//#region src/react/boardui/components/base/select/select.tsx
-var zO = (0, R.createContext)("md");
-function BO({ className: e, triggerClassName: t, popoverClassName: n, size: r = "md", children: i, items: a, renderValue: o, ref: s, ...c }) {
+var ok = (0, R.createContext)("md");
+function sk({ className: e, triggerClassName: t, popoverClassName: n, size: r = "md", children: i, items: a, renderValue: o, ref: s, ...c }) {
let l = (0, R.useRef)(null), u = (0, R.useRef)(null), [d, f] = (0, R.useState)(!1);
- Moe(d, () => f(!1), [l, u]);
- let p = Noe(d, l);
- return /* @__PURE__ */ (0, z.jsx)(Pte, {
+ doe(d, () => f(!1), [l, u]);
+ let p = foe(d, l);
+ return /* @__PURE__ */ (0, z.jsx)(Nte, {
ref: s,
...c,
isOpen: d,
@@ -32432,19 +32432,19 @@ function BO({ className: e, triggerClassName: t, popoverClassName: n, size: r =
children: ({ isOpen: e }) => /* @__PURE__ */ (0, z.jsxs)(z.Fragment, { children: [/* @__PURE__ */ (0, z.jsxs)(Nm, {
ref: l,
className: gi("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, z.jsx)(Lte, {
+ children: [/* @__PURE__ */ (0, z.jsx)(Ite, {
className: gi("flex min-w-0 items-center truncate", r === "sm" ? "gap-1" : "gap-[5px]"),
children: o
- }), /* @__PURE__ */ (0, z.jsx)(Aoe, { className: gi("shrink-0 text-text-secondary transition-transform duration-200 ease", r === "sm" ? "size-3.5" : "size-4", e && "rotate-180") })]
- }), /* @__PURE__ */ (0, z.jsx)(gy, {
+ }), /* @__PURE__ */ (0, z.jsx)(loe, { className: gi("shrink-0 text-text-secondary transition-transform duration-200 ease", r === "sm" ? "size-3.5" : "size-4", e && "rotate-180") })]
+ }), /* @__PURE__ */ (0, z.jsx)(sy, {
ref: u,
isNonModal: !0,
offset: 4,
- className: gi(loe, uO, "p-2", n),
- children: /* @__PURE__ */ (0, z.jsx)(hee, {
+ className: gi(Hae, jO, "p-2", n),
+ children: /* @__PURE__ */ (0, z.jsx)(wee, {
items: a,
- className: gi(uoe, "max-h-[240px] overflow-auto"),
- children: /* @__PURE__ */ (0, z.jsx)(zO.Provider, {
+ className: gi(Uae, "max-h-[240px] overflow-auto"),
+ children: /* @__PURE__ */ (0, z.jsx)(ok.Provider, {
value: r,
children: i
})
@@ -32452,19 +32452,19 @@ function BO({ className: e, triggerClassName: t, popoverClassName: n, size: r =
})] })
});
}
-function VO({ className: e, children: t, ...n }) {
- let r = (0, R.useContext)(zO);
- return /* @__PURE__ */ (0, z.jsx)(vee, {
+function ck({ className: e, children: t, ...n }) {
+ let r = (0, R.useContext)(ok);
+ return /* @__PURE__ */ (0, z.jsx)(Dee, {
...n,
- className: (t) => gi(dO, 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) => gi(MO, 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 HO = 2e3, Poe = (e) => e, UO = (e, t) => t;
-function WO(e) {
- let { queryKey: t, jobOf: n = Poe, withJob: r = UO, idlePollMs: i } = e, [a, o] = (0, R.useState)(!1), [s, c] = (0, R.useState)(null), l = (0, R.useRef)(e);
+var lk = 2e3, poe = (e) => e, moe = (e, t) => t;
+function uk(e) {
+ let { queryKey: t, jobOf: n = poe, withJob: r = moe, idlePollMs: i } = e, [a, o] = (0, R.useState)(!1), [s, c] = (0, R.useState)(null), l = (0, R.useRef)(e);
(0, R.useEffect)(() => {
l.current = e;
});
@@ -32473,7 +32473,7 @@ function WO(e) {
queryFn: ({ signal: e }) => l.current.queryFn({ signal: e }),
refetchInterval: (e) => {
let t = e.state.data;
- return t !== void 0 && n(t)?.status === "running" ? HO : i ?? !1;
+ return t !== void 0 && n(t)?.status === "running" ? lk : i ?? !1;
}
}), d = Pn({
mutationFn: (e) => l.current.start(e),
@@ -32504,12 +32504,12 @@ function WO(e) {
}
//#endregion
//#region src/react/media-repair/media-repair-card.tsx
-var Foe = (e) => _[e] || e, GO = (e) => q.setQueryData(cs, e);
-function Ioe() {
+var hoe = (e) => _[e] || e, dk = (e) => q.setQueryData(cs, e);
+function goe() {
let e = Nn({
queryKey: cs,
queryFn: ({ signal: e }) => ds(e),
- refetchInterval: (e) => e.state.data?.status === "running" && HO
+ refetchInterval: (e) => e.state.data?.status === "running" && lk
}), t = Nn({
queryKey: ls,
queryFn: ({ signal: e }) => fs(e)
@@ -32518,18 +32518,18 @@ function Ioe() {
title: `修复媒体库「${c.name}」`,
body: "缺时间戳表的片子另存一份修好的头,原文件不动;缺索引的片子重建后替换原文件,坏原件改名成同目录的隐藏文件(.文件名.peach-original)留着。" + (c.metered ? "这个库在计费来源上,每修一部都要把片子完整拉一遍。" : ""),
confirmLabel: "修复媒体库",
- onConfirm: async () => GO(await W(ss, {
+ onConfirm: async () => dk(await W(ss, {
library: c.id,
restart: !0
}))
});
- }, u = () => void i.run("stop", (e) => W(ss, { stop: !0 }, "POST", e), GO), d = hs(a), f = a.status === "complete", p = i.error || a.error || (e.error ? "读不到媒体修复的状态" : "");
+ }, u = () => void i.run("stop", (e) => W(ss, { stop: !0 }, "POST", e), dk), d = hs(a), f = a.status === "complete", p = i.error || a.error || (e.error ? "读不到媒体修复的状态" : "");
return /* @__PURE__ */ (0, z.jsxs)("div", {
className: "flex flex-col gap-4",
- children: [/* @__PURE__ */ (0, z.jsx)(_O, {
+ children: [/* @__PURE__ */ (0, z.jsx)(RO, {
layout: "split",
label: "媒体修复",
- footer: /* @__PURE__ */ (0, z.jsxs)(z.Fragment, { children: [/* @__PURE__ */ (0, z.jsx)(BO, {
+ footer: /* @__PURE__ */ (0, z.jsxs)(z.Fragment, { children: [/* @__PURE__ */ (0, z.jsx)(sk, {
"aria-label": "媒体库",
className: "w-48",
selectedKey: c?.id ?? null,
@@ -32537,10 +32537,10 @@ function Ioe() {
onSelectionChange: (e) => {
e !== null && r(String(e));
},
- children: o.map((e) => /* @__PURE__ */ (0, z.jsxs)(VO, {
+ children: o.map((e) => /* @__PURE__ */ (0, z.jsxs)(ck, {
id: e.id,
textValue: e.name,
- children: [/* @__PURE__ */ (0, z.jsx)(IO, { mark: Foe(e.icon) }), e.name]
+ children: [/* @__PURE__ */ (0, z.jsx)(rk, { mark: hoe(e.icon) }), e.name]
}, e.id))
}), s ? /* @__PURE__ */ (0, z.jsx)(H, {
onClick: u,
@@ -32554,10 +32554,10 @@ function Ioe() {
children: /* @__PURE__ */ (0, z.jsxs)("div", {
className: "flex flex-col gap-2",
children: [
- /* @__PURE__ */ (0, z.jsx)(gO, { children: "媒体修复" }),
+ /* @__PURE__ */ (0, z.jsx)(LO, { children: "媒体修复" }),
/* @__PURE__ */ (0, z.jsx)("p", {
className: "text-body-2-regular text-text-secondary",
- children: foe
+ children: Gae
}),
s && a.total ? /* @__PURE__ */ (0, z.jsx)(zi, {
label: "修复进度",
@@ -32595,7 +32595,7 @@ function Ioe() {
}
//#endregion
//#region src/react/boardui/components/base/checkbox/checkbox-glyph.tsx
-var KO = {
+var fk = {
md: {
box: "size-4",
glyph: "size-4",
@@ -32609,8 +32609,8 @@ var KO = {
gap: "gap-1.5"
}
};
-function qO({ state: e, size: t = "md" }) {
- let { isSelected: n, isIndeterminate: r, isFocusVisible: i, isDisabled: a, isHovered: o } = e, s = KO[t], c = n || r, l = o && !a;
+function pk({ state: e, size: t = "md" }) {
+ let { isSelected: n, isIndeterminate: r, isFocusVisible: i, isDisabled: a, isHovered: o } = e, s = fk[t], c = n || r, l = o && !a;
return /* @__PURE__ */ (0, z.jsx)("span", {
"aria-hidden": !0,
className: gi("flex shrink-0 items-center justify-center rounded-sm", "transition-[background-color,border-color,box-shadow] duration-150 ease", s.box, c ? gi("bg-linear-to-b shadow-checkbox-selected", l ? "from-accent-400 to-accent-500" : "from-accent-500 to-accent-600") : gi("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"),
@@ -32637,13 +32637,13 @@ function qO({ state: e, size: t = "md" }) {
}
//#endregion
//#region src/react/boardui/components/base/checkbox/checkbox.tsx
-function JO({ className: e, children: t, size: n = "md", ref: r, ...i }) {
- let a = KO[n];
+function mk({ className: e, children: t, size: n = "md", ref: r, ...i }) {
+ let a = fk[n];
return /* @__PURE__ */ (0, z.jsx)(Ah, {
ref: r,
...i,
className: (t) => gi("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, z.jsxs)(z.Fragment, { children: [/* @__PURE__ */ (0, z.jsx)(qO, {
+ children: (e) => /* @__PURE__ */ (0, z.jsxs)(z.Fragment, { children: [/* @__PURE__ */ (0, z.jsx)(pk, {
state: e,
size: n
}), t != null && /* @__PURE__ */ (0, z.jsx)("span", {
@@ -32654,10 +32654,10 @@ function JO({ className: e, children: t, size: n = "md", ref: r, ...i }) {
}
//#endregion
//#region src/react/boardui/components/base/table/table.tsx
-function YO({ size: e = "md", className: t, containerClassName: n, ref: r, ...i }) {
+function hk({ size: e = "md", className: t, containerClassName: n, ref: r, ...i }) {
return /* @__PURE__ */ (0, z.jsx)("div", {
className: gi("w-full overflow-x-auto", n),
- children: /* @__PURE__ */ (0, z.jsx)(hne, {
+ children: /* @__PURE__ */ (0, z.jsx)(mne, {
ref: r,
...i,
className: gi("bui-table", e === "sm" && "bui-table-sm", t)
@@ -32666,7 +32666,7 @@ function YO({ size: e = "md", className: t, containerClassName: n, ref: r, ...i
}
//#endregion
//#region src/react/components/row-click.ts
-var XO = [
+var _oe = [
"a",
"button",
"input",
@@ -32679,15 +32679,15 @@ var XO = [
"[role=\"link\"]",
"[role=\"menu\"]"
].join(",");
-function ZO(e, t) {
+function gk(e, t) {
let n = e.target;
if (!(n instanceof Element) || !t.contains(n)) return !1;
- let r = n.closest(XO);
+ let r = n.closest(_oe);
return !r || !t.contains(r) || r === t;
}
//#endregion
//#region src/react/components/data-table-frame.tsx
-function QO({ children: e, follow: t = !1, onRowClick: n }) {
+function _k({ children: e, follow: t = !1, onRowClick: n }) {
return /* @__PURE__ */ (0, z.jsx)("div", {
"data-board-data-table": !0,
"data-follow-table": t || void 0,
@@ -32695,15 +32695,15 @@ function QO({ 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 && ZO(e, r) && n(r.dataset.key);
+ r && gk(e, r) && n(r.dataset.key);
} : void 0,
children: e
});
}
//#endregion
//#region src/react/data-cleanup/link-manager.tsx
-var Loe = oo("unlink"), $O = oo("rotate-cw"), Roe = "站点返回 404 或 410,确认这个地址不存在。", zoe = "站点拒绝程序访问或一次临时故障都会落在这里。链接保留,可勾选后单独重试。", Boe = "删除前会逐条重验一次;此操作不可撤销。", ek = "暂时无法读取进度,正在重新连接…", tk = (e) => Number(e || 0).toLocaleString();
-function nk({ label: e, value: t, note: n }) {
+var voe = oo("unlink"), vk = oo("rotate-cw"), yoe = "站点返回 404 或 410,确认这个地址不存在。", boe = "站点拒绝程序访问或一次临时故障都会落在这里。链接保留,可勾选后单独重试。", xoe = "删除前会逐条重验一次;此操作不可撤销。", Soe = "暂时无法读取进度,正在重新连接…", yk = (e) => Number(e || 0).toLocaleString();
+function bk({ label: e, value: t, note: n }) {
return /* @__PURE__ */ (0, z.jsxs)("div", {
className: "flex min-w-0 flex-col gap-0.5",
children: [
@@ -32722,11 +32722,11 @@ function nk({ label: e, value: t, note: n }) {
]
});
}
-function rk({ title: e, items: t, hint: n, picked: r, onPick: i, children: a }) {
+function xk({ title: e, items: t, hint: n, picked: r, onPick: i, children: a }) {
if (!t.length) return null;
let o = r ?? [], s = o.length > 0 && o.length === t.length;
return /* @__PURE__ */ (0, z.jsxs)("div", {
- className: pO,
+ className: PO,
children: [
/* @__PURE__ */ (0, z.jsxs)("h4", {
className: "mb-1 text-body-semibold text-text-primary",
@@ -32739,13 +32739,13 @@ function rk({ 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, z.jsx)(QO, { children: /* @__PURE__ */ (0, z.jsxs)(YO, {
+ /* @__PURE__ */ (0, z.jsx)(_k, { children: /* @__PURE__ */ (0, z.jsxs)(hk, {
"aria-label": e,
size: "sm",
- children: [/* @__PURE__ */ (0, z.jsxs)(dS, { children: [
- i ? /* @__PURE__ */ (0, z.jsx)(fS, {
+ children: [/* @__PURE__ */ (0, z.jsxs)(fS, { children: [
+ i ? /* @__PURE__ */ (0, z.jsx)(pS, {
id: "pick",
- children: /* @__PURE__ */ (0, z.jsx)(JO, {
+ children: /* @__PURE__ */ (0, z.jsx)(mk, {
slot: null,
"aria-label": "全选本次未访问成功的链接",
isSelected: s,
@@ -32753,44 +32753,44 @@ function rk({ title: e, items: t, hint: n, picked: r, onPick: i, children: a })
onChange: (e) => i(e ? t.map((e) => e.id) : [])
})
}) : null,
- /* @__PURE__ */ (0, z.jsx)(fS, {
+ /* @__PURE__ */ (0, z.jsx)(pS, {
id: "entity",
isRowHeader: !0,
children: "所属"
}),
- /* @__PURE__ */ (0, z.jsx)(fS, {
+ /* @__PURE__ */ (0, z.jsx)(pS, {
id: "kind",
children: "类型"
}),
- /* @__PURE__ */ (0, z.jsx)(fS, {
+ /* @__PURE__ */ (0, z.jsx)(pS, {
id: "label",
children: "标签"
}),
- /* @__PURE__ */ (0, z.jsx)(fS, {
+ /* @__PURE__ */ (0, z.jsx)(pS, {
id: "note",
children: "结果"
}),
- /* @__PURE__ */ (0, z.jsx)(fS, {
+ /* @__PURE__ */ (0, z.jsx)(pS, {
id: "url",
children: "地址"
})
- ] }), /* @__PURE__ */ (0, z.jsx)(mS, { children: t.map((e) => /* @__PURE__ */ (0, z.jsxs)(_S, {
+ ] }), /* @__PURE__ */ (0, z.jsx)(hS, { children: t.map((e) => /* @__PURE__ */ (0, z.jsxs)(vS, {
id: e.id,
children: [
- i ? /* @__PURE__ */ (0, z.jsx)(yS, { children: /* @__PURE__ */ (0, z.jsx)(JO, {
+ i ? /* @__PURE__ */ (0, z.jsx)(bS, { children: /* @__PURE__ */ (0, z.jsx)(mk, {
slot: null,
"aria-label": `选择 ${e.entity} 的${e.label || e.url}`,
isSelected: o.includes(e.id),
onChange: (t) => i(t ? [...o, e.id] : o.filter((t) => t !== e.id))
}) }) : null,
- /* @__PURE__ */ (0, z.jsx)(yS, { children: e.entity }),
- /* @__PURE__ */ (0, z.jsx)(yS, { children: dc[e.link_kind] || e.link_kind }),
- /* @__PURE__ */ (0, z.jsx)(yS, { children: e.label || "" }),
- /* @__PURE__ */ (0, z.jsx)(yS, { children: /* @__PURE__ */ (0, z.jsx)("span", {
+ /* @__PURE__ */ (0, z.jsx)(bS, { children: e.entity }),
+ /* @__PURE__ */ (0, z.jsx)(bS, { children: dc[e.link_kind] || e.link_kind }),
+ /* @__PURE__ */ (0, z.jsx)(bS, { children: e.label || "" }),
+ /* @__PURE__ */ (0, z.jsx)(bS, { children: /* @__PURE__ */ (0, z.jsx)("span", {
className: "tabular-nums text-text-error-primary",
children: e.note
}) }),
- /* @__PURE__ */ (0, z.jsx)(yS, { children: /* @__PURE__ */ (0, z.jsxs)("a", {
+ /* @__PURE__ */ (0, z.jsx)(bS, { children: /* @__PURE__ */ (0, z.jsxs)("a", {
href: e.url,
target: "_blank",
rel: "noreferrer",
@@ -32812,11 +32812,11 @@ function rk({ title: e, items: t, hint: n, picked: r, onPick: i, children: a })
]
});
}
-function Voe() {
+function Coe() {
let e = Nn({
queryKey: cc,
queryFn: ({ signal: e }) => pc(e)
- }), [t, n] = (0, R.useState)([]), r = WO({
+ }), [t, n] = (0, R.useState)([]), r = uk({
queryKey: uc,
queryFn: ({ signal: e }) => gc(e),
start: _c,
@@ -32829,7 +32829,7 @@ function Voe() {
exact: !0
});
}
- }), i = WO({
+ }), i = uk({
queryKey: lc,
queryFn: ({ signal: e }) => mc(e),
start: hc,
@@ -32872,7 +32872,7 @@ function Voe() {
else if (i.query.isError && a) x = /* @__PURE__ */ (0, z.jsx)(G, {
tone: "neutral",
title: "任务状态",
- children: ek
+ children: Soe
});
else if (a?.status === "failed") x = /* @__PURE__ */ (0, z.jsx)(G, {
tone: "error",
@@ -32880,12 +32880,12 @@ function Voe() {
children: a.error || "检查失败"
});
else if (a && a.status !== "idle") {
- b = /* @__PURE__ */ (0, z.jsxs)(z.Fragment, { children: [a.status === "running" ? /* @__PURE__ */ (0, z.jsx)(SO, {
+ b = /* @__PURE__ */ (0, z.jsxs)(z.Fragment, { children: [a.status === "running" ? /* @__PURE__ */ (0, z.jsx)(UO, {
embedded: !0,
label: bc(a),
value: a.checked,
total: a.total
- }) : null, c ? /* @__PURE__ */ (0, z.jsx)(SO, {
+ }) : null, c ? /* @__PURE__ */ (0, z.jsx)(UO, {
embedded: !0,
label: r.job?.message || "正在重验并删除失效链接…",
value: r.job?.checked,
@@ -32893,38 +32893,38 @@ function Voe() {
}) : null] });
let e = t.length ? `重试选中的 ${t.length} 条` : "重试选中的链接";
x = l || u.length || d.length ? /* @__PURE__ */ (0, z.jsxs)("div", {
- className: voe,
+ className: Zae,
children: [
- /* @__PURE__ */ (0, z.jsx)(rk, {
+ /* @__PURE__ */ (0, z.jsx)(xk, {
title: "地址已失效",
items: u,
- hint: Roe
+ hint: yoe
}),
- /* @__PURE__ */ (0, z.jsx)(rk, {
+ /* @__PURE__ */ (0, z.jsx)(xk, {
title: "本次未访问成功",
items: d,
- hint: zoe,
+ hint: boe,
picked: f.length ? t : void 0,
onPick: f.length ? n : void 0,
children: f.length ? /* @__PURE__ */ (0, z.jsx)("div", {
className: "-mx-4 mt-3 -mb-4",
- children: /* @__PURE__ */ (0, z.jsxs)(mO, { children: [/* @__PURE__ */ (0, z.jsx)(H, {
- leadingIcon: $O,
+ children: /* @__PURE__ */ (0, z.jsxs)(FO, { children: [/* @__PURE__ */ (0, z.jsx)(H, {
+ leadingIcon: vk,
disabled: !t.length,
...K(s),
onClick: () => h(t),
children: e
}), /* @__PURE__ */ (0, z.jsx)(H, {
- leadingIcon: $O,
+ leadingIcon: vk,
...K(s),
onClick: () => h(f.map((e) => e.id)),
children: `全部重试(${f.length})`
})] })
}) : null
}),
- l && u.length ? /* @__PURE__ */ (0, z.jsx)(mO, {
+ l && u.length ? /* @__PURE__ */ (0, z.jsx)(FO, {
tone: "error",
- status: Boe,
+ status: xoe,
children: /* @__PURE__ */ (0, z.jsx)(H, {
variant: "danger",
...K(c),
@@ -32933,7 +32933,7 @@ function Voe() {
})
}) : null,
l && !u.length && !d.length ? /* @__PURE__ */ (0, z.jsx)("p", {
- className: `${pO} text-body-regular text-notification-success-foreground`,
+ className: `${PO} text-body-regular text-notification-success-foreground`,
children: "全部链接均可访问。"
}) : null
]
@@ -32944,21 +32944,21 @@ function Voe() {
"aria-labelledby": "link-manager-title",
className: "flex scroll-mt-20 flex-col gap-4",
children: [
- /* @__PURE__ */ (0, z.jsx)(hO, {
+ /* @__PURE__ */ (0, z.jsx)(IO, {
id: "link-manager-title",
children: "链接管理"
}),
- /* @__PURE__ */ (0, z.jsxs)(_O, {
+ /* @__PURE__ */ (0, z.jsxs)(RO, {
layout: "stack",
labelledBy: "link-manager-box",
footer: /* @__PURE__ */ (0, z.jsx)(H, {
- leadingIcon: Loe,
+ leadingIcon: voe,
...K(s),
onClick: () => h(),
children: s ? "检查中" : l ? "重新检查" : "检查死链"
}),
children: [
- /* @__PURE__ */ (0, z.jsx)(gO, {
+ /* @__PURE__ */ (0, z.jsx)(LO, {
id: "link-manager-box",
gap: "small",
children: "站外链接"
@@ -32969,13 +32969,13 @@ function Voe() {
children: U(e.error)
}) : p ? /* @__PURE__ */ (0, z.jsxs)(z.Fragment, { children: [/* @__PURE__ */ (0, z.jsxs)("div", {
className: "link-stat-grid mt-4 gap-x-8 gap-y-3",
- children: [/* @__PURE__ */ (0, z.jsx)(nk, {
+ children: [/* @__PURE__ */ (0, z.jsx)(bk, {
label: "链接总数",
- value: tk(p.total),
- note: `分布在 ${tk(p.entities)} 个女优、厂牌与系列`
- }), Object.entries(p.by_kind ?? {}).map(([e, t]) => /* @__PURE__ */ (0, z.jsx)(nk, {
+ value: yk(p.total),
+ note: `分布在 ${yk(p.entities)} 个女优、厂牌与系列`
+ }), Object.entries(p.by_kind ?? {}).map(([e, t]) => /* @__PURE__ */ (0, z.jsx)(bk, {
label: dc[e] || e,
- value: tk(t)
+ value: yk(t)
}, e))]
}), m ? /* @__PURE__ */ (0, z.jsxs)("div", {
className: "mt-4 flex min-w-0 flex-col gap-0.5",
@@ -33004,7 +33004,7 @@ function Voe() {
}
//#endregion
//#region src/react/boardui/components/base/input/label.tsx
-function Hoe({ isRequired: e = !1, isInvalid: t, tooltip: n, className: r, children: i, ...a }) {
+function woe({ isRequired: e = !1, isInvalid: t, tooltip: n, className: r, children: i, ...a }) {
return /* @__PURE__ */ (0, z.jsxs)(Cm, {
"data-label": "true",
...a,
@@ -33025,7 +33025,7 @@ function Hoe({ isRequired: e = !1, isInvalid: t, tooltip: n, className: r, child
}
//#endregion
//#region src/react/boardui/components/base/input/hint-text.tsx
-function Uoe({ isInvalid: e = !1, className: t, ...n }) {
+function Toe({ isInvalid: e = !1, className: t, ...n }) {
return /* @__PURE__ */ (0, z.jsx)(zm, {
slot: e ? "errorMessage" : "description",
...n,
@@ -33034,15 +33034,15 @@ function Uoe({ isInvalid: e = !1, className: t, ...n }) {
}
//#endregion
//#region src/react/boardui/components/base/input/input.tsx
-var ik = (0, R.createContext)({});
-function ak({ size: e = "medium", fieldClassName: t, inputClassName: n, className: r, children: i, ...a }) {
- return /* @__PURE__ */ (0, z.jsx)(ik.Provider, {
+var Sk = (0, R.createContext)({});
+function Ck({ size: e = "medium", fieldClassName: t, inputClassName: n, className: r, children: i, ...a }) {
+ return /* @__PURE__ */ (0, z.jsx)(Sk.Provider, {
value: {
size: e,
fieldClassName: t,
inputClassName: n
},
- children: /* @__PURE__ */ (0, z.jsx)(BS, {
+ children: /* @__PURE__ */ (0, z.jsx)(qS, {
...a,
"data-input-size": e,
className: gi("group flex h-max w-full flex-col items-start gap-1", r),
@@ -33050,8 +33050,8 @@ function ak({ size: e = "medium", fieldClassName: t, inputClassName: n, classNam
})
});
}
-ak.displayName = "TextField";
-var ok = _i({
+Ck.displayName = "TextField";
+var wk = _i({
field: [
"relative flex w-full items-center",
"rounded-2lg",
@@ -33080,44 +33080,44 @@ var ok = _i({
].join(" "),
icon: "size-5 shrink-0"
});
-function sk({ size: e, leadingIcon: t, trailingIcon: n, leadingAddon: r, fieldClassName: i, className: a, ref: o, groupRef: s, ...c }) {
- let l = (0, R.useContext)(ik), u = e ?? l.size ?? "medium", d = r != null;
+function Tk({ size: e, leadingIcon: t, trailingIcon: n, leadingAddon: r, fieldClassName: i, className: a, ref: o, groupRef: s, ...c }) {
+ let l = (0, R.useContext)(Sk), u = e ?? l.size ?? "medium", d = r != null;
return /* @__PURE__ */ (0, z.jsx)(Nh, {
ref: s,
- className: ({ isFocusWithin: e, isHovered: t, isDisabled: n, isInvalid: r }) => gi(ok.field, d ? ok.fieldWithAddonSize[u] : ok.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 }) => gi(wk.field, d ? wk.fieldWithAddonSize[u] : wk.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, z.jsxs)("div", {
- className: ok.content,
+ className: wk.content,
children: [/* @__PURE__ */ (0, z.jsxs)("div", {
- className: ok.leftSection,
+ className: wk.leftSection,
children: [d ? r : t ? /* @__PURE__ */ (0, z.jsx)(t, {
- className: ok.icon,
+ className: wk.icon,
"aria-hidden": !0
}) : null, /* @__PURE__ */ (0, z.jsx)(Ih, {
ref: o,
...c,
- className: gi(ok.input, l.inputClassName, a)
+ className: gi(wk.input, l.inputClassName, a)
})]
}), n ? /* @__PURE__ */ (0, z.jsx)(n, {
- className: ok.icon,
+ className: wk.icon,
"aria-hidden": !0
}) : null]
})
});
}
-sk.displayName = "InputBase";
-function ck({ 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, z.jsx)(ak, {
+Tk.displayName = "InputBase";
+function Ek({ 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, z.jsx)(Ck, {
...d,
className: u,
"aria-label": d["aria-label"] ?? (!e && typeof r == "string" ? r : void 0),
children: ({ isRequired: u, isInvalid: d }) => /* @__PURE__ */ (0, z.jsxs)(z.Fragment, { children: [
- e && /* @__PURE__ */ (0, z.jsx)(Hoe, {
+ e && /* @__PURE__ */ (0, z.jsx)(woe, {
isRequired: u,
isInvalid: d,
tooltip: n,
children: e
}),
- /* @__PURE__ */ (0, z.jsx)(sk, {
+ /* @__PURE__ */ (0, z.jsx)(Tk, {
ref: c,
groupRef: l,
placeholder: r,
@@ -33126,21 +33126,21 @@ function ck({ label: e, hint: t, tooltip: n, placeholder: r, leadingIcon: i, tra
leadingAddon: o,
fieldClassName: s
}),
- t && /* @__PURE__ */ (0, z.jsx)(Uoe, {
+ t && /* @__PURE__ */ (0, z.jsx)(Toe, {
isInvalid: d,
children: t
})
] })
});
}
-ck.displayName = "Input";
+Ek.displayName = "Input";
//#endregion
//#region src/react/data-cleanup/organize-card.tsx
-var Woe = (e) => `将按这两份模板改动「${e}」上的文件名与目录,目标已存在的行会整行跳过。这一批可以从「回滚上一批」整批退回。`, Goe = "将把上一批整理动过的文件退回整理前的名字与位置,账本路径跟着退回。退回后这一批不再出现在这里。", Koe = 8;
-function qoe({ plan: e }) {
+var Eoe = (e) => `将按这两份模板改动「${e}」上的文件名与目录,目标已存在的行会整行跳过。这一批可以从「回滚上一批」整批退回。`, Doe = "将把上一批整理动过的文件退回整理前的名字与位置,账本路径跟着退回。退回后这一批不再出现在这里。", Ooe = 8;
+function koe({ plan: e }) {
return /* @__PURE__ */ (0, z.jsxs)(z.Fragment, { children: [/* @__PURE__ */ (0, z.jsx)("ol", {
className: "mt-2 flex min-w-0 flex-col gap-1",
- children: e.rows.slice(0, Koe).map((e) => /* @__PURE__ */ (0, z.jsxs)("li", {
+ children: e.rows.slice(0, Ooe).map((e) => /* @__PURE__ */ (0, z.jsxs)("li", {
className: "flex min-w-0 items-center gap-2 text-caption-1-regular text-text-secondary",
children: [
/* @__PURE__ */ (0, z.jsx)("span", {
@@ -33166,7 +33166,7 @@ function qoe({ plan: e }) {
children: "只列出前 8 行,完整计划在计划 CSV 里。"
}) : null] });
}
-function Joe({ toast: t, failure: n }) {
+function Aoe({ toast: t, failure: n }) {
let r = Nn({
queryKey: Ec,
queryFn: ({ signal: e }) => Dc(e)
@@ -33194,7 +33194,7 @@ function Joe({ toast: t, failure: n }) {
let t = Nc.test(U(e)) ? "dir" : "file";
h(t), (t === "dir" ? v : g).current?.focus();
}
- }), S = WO({
+ }), S = uk({
queryKey: Ec,
queryFn: ({ signal: e }) => Dc(e),
start: Ac,
@@ -33213,7 +33213,7 @@ function Joe({ toast: t, failure: n }) {
x.isPending || !c || (h(null), x.mutate(b()));
}, k = () => void y({
title: "按模板整理文件",
- body: Woe(E),
+ body: Eoe(E),
confirmLabel: "整理文件",
onConfirm: () => S.start.mutateAsync({
kind: "apply",
@@ -33221,13 +33221,13 @@ function Joe({ toast: t, failure: n }) {
})
}), A = () => void y({
title: "回滚上一批整理",
- body: Goe,
+ body: Doe,
confirmLabel: "回滚整理",
onConfirm: () => S.start.mutateAsync({ kind: "rollback" })
}), j = null, M = S.job, N = S.outcome;
if (M?.status === "running") {
let e = M.message || M.stage || "正在整理文件…";
- j = /* @__PURE__ */ (0, z.jsx)(SO, {
+ j = /* @__PURE__ */ (0, z.jsx)(UO, {
embedded: !0,
label: e,
value: M.checked,
@@ -33249,7 +33249,7 @@ function Joe({ toast: t, failure: n }) {
tone: "error",
title: "整理失败",
children: U(S.start.error)
- }) : x.isPending ? j = /* @__PURE__ */ (0, z.jsx)(SO, {
+ }) : x.isPending ? j = /* @__PURE__ */ (0, z.jsx)(UO, {
embedded: !0,
label: "正在按模板算计划…"
}) : x.isError ? j = /* @__PURE__ */ (0, z.jsx)(G, {
@@ -33260,8 +33260,8 @@ function Joe({ toast: t, failure: n }) {
tone: "neutral",
title: "预览结果",
children: Ic(w)
- }), T ? /* @__PURE__ */ (0, z.jsx)(qoe, { plan: w }) : null] }));
- return /* @__PURE__ */ (0, z.jsxs)(_O, {
+ }), T ? /* @__PURE__ */ (0, z.jsx)(koe, { plan: w }) : null] }));
+ return /* @__PURE__ */ (0, z.jsxs)(RO, {
layout: "stack",
id: "organize",
labelledBy: "cleanup-organize-title",
@@ -33285,7 +33285,7 @@ function Joe({ toast: t, failure: n }) {
}) : null
] }),
children: [
- /* @__PURE__ */ (0, z.jsx)(gO, {
+ /* @__PURE__ */ (0, z.jsx)(LO, {
id: "cleanup-organize-title",
gap: "medium",
children: "整理"
@@ -33305,20 +33305,20 @@ function Joe({ toast: t, failure: n }) {
/* @__PURE__ */ (0, z.jsxs)("div", {
className: "mt-3 flex flex-col gap-3",
children: [
- a.length ? /* @__PURE__ */ (0, z.jsx)(BO, {
+ a.length ? /* @__PURE__ */ (0, z.jsx)(sk, {
"aria-label": "整理哪个来源",
className: "w-fit min-w-25",
selectedKey: c || null,
onSelectionChange: (e) => {
e !== null && (s(String(e)), h(null), x.reset());
},
- children: a.map((t) => /* @__PURE__ */ (0, z.jsxs)(VO, {
+ children: a.map((t) => /* @__PURE__ */ (0, z.jsxs)(ck, {
id: t.location,
textValue: e[t.location] || t.location,
- children: [/* @__PURE__ */ (0, z.jsx)(IO, { mark: _[t.location] || "database" }), e[t.location] || t.location]
+ children: [/* @__PURE__ */ (0, z.jsx)(rk, { mark: _[t.location] || "database" }), e[t.location] || t.location]
}, t.location))
}) : null,
- /* @__PURE__ */ (0, z.jsx)(ck, {
+ /* @__PURE__ */ (0, z.jsx)(Ek, {
label: "文件名模板",
placeholder: "{number}[ {title}]",
value: f.file,
@@ -33329,7 +33329,7 @@ function Joe({ toast: t, failure: n }) {
p({ file: e }), h(null);
}
}),
- /* @__PURE__ */ (0, z.jsx)(ck, {
+ /* @__PURE__ */ (0, z.jsx)(Ek, {
label: "目录模板",
placeholder: "留空表示原地改名",
value: f.dir,
@@ -33369,36 +33369,36 @@ function Joe({ toast: t, failure: n }) {
}
//#endregion
//#region src/react/data-cleanup/resource-sync-card.tsx
-var lk = oo("git-compare"), uk = oo("rotate-cw"), dk = "暂时无法读取进度,正在重新连接…", fk = "清理失效条目", pk = "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", mk = (e) => Number(e || 0).toLocaleString();
-function Yoe({ scan: e }) {
+var joe = oo("git-compare"), Moe = oo("rotate-cw"), Noe = "暂时无法读取进度,正在重新连接…", Dk = "清理失效条目", Ok = "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", kk = (e) => Number(e || 0).toLocaleString();
+function Poe({ scan: e }) {
let t = e.cache ?? {
files: 0,
bytes: 0
};
return /* @__PURE__ */ (0, z.jsxs)(z.Fragment, { children: [/* @__PURE__ */ (0, z.jsx)("div", {
- className: pk,
+ className: Ok,
children: (e.sources ?? []).map((e) => /* @__PURE__ */ (0, z.jsx)("article", {
className: Cl(),
children: /* @__PURE__ */ (0, z.jsx)(Tl, {
label: Yc[e.location] || "媒体来源",
- mark: /* @__PURE__ */ (0, z.jsx)(IO, { mark: _[e.location] ?? "database" }),
+ mark: /* @__PURE__ */ (0, z.jsx)(rk, { mark: _[e.location] ?? "database" }),
aside: /* @__PURE__ */ (0, z.jsx)("span", {
className: e.online ? "text-notification-success-foreground" : "text-text-error-primary",
children: e.online ? "可访问" : "离线,已跳过"
}),
- figure: e.online ? `${mk(e.missing)} 项` : "—",
+ figure: e.online ? `${kk(e.missing)} 项` : "—",
meta: el(e),
wrapMeta: !0
})
}, e.location))
}), /* @__PURE__ */ (0, z.jsxs)("div", {
- className: pk,
+ className: Ok,
children: [
/* @__PURE__ */ (0, z.jsx)("article", {
className: Cl(),
children: /* @__PURE__ */ (0, z.jsx)(Tl, {
label: "待永久删除",
- figure: `${mk(e.missing)} 项`,
+ figure: `${kk(e.missing)} 项`,
meta: "文件已不在盘上,含回收站"
})
}),
@@ -33406,7 +33406,7 @@ function Yoe({ scan: e }) {
className: Cl(),
children: /* @__PURE__ */ (0, z.jsx)(Tl, {
label: "空文件夹",
- figure: `${mk(e.empty)} 个`,
+ figure: `${kk(e.empty)} 个`,
meta: "保留来源根目录"
})
}),
@@ -33414,15 +33414,15 @@ function Yoe({ scan: e }) {
className: Cl(),
children: /* @__PURE__ */ (0, z.jsx)(Tl, {
label: "可清理的缓存",
- figure: `${mk(t.files)} 个`,
+ figure: `${kk(t.files)} 个`,
meta: t.files ? s(t.bytes) : ""
})
})
]
})] });
}
-function Xoe({ toast: e }) {
- let t = WO({
+function Foe({ toast: e }) {
+ let t = uk({
queryKey: Vc,
queryFn: ({ signal: e }) => Wc(e),
start: Gc,
@@ -33435,17 +33435,17 @@ function Xoe({ toast: e }) {
exact: !0
}), t.status !== "complete") return;
let { done: n, left: r } = tl(t);
- r ? e(`已完成 ${mk(n)} 项,${mk(r)} 项没有处理`, { warning: !0 }) : e("已清理失效条目");
+ r ? e(`已完成 ${kk(n)} 项,${kk(r)} 项没有处理`, { warning: !0 }) : e("已清理失效条目");
}
- }), n = WO({
+ }), n = uk({
queryKey: Bc,
queryFn: ({ signal: e }) => Hc(e),
start: Uc,
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", c = i ? "扫描中" : o ? "重新扫描" : "检查文件", l = (e) => void y({
- title: fk,
+ title: Dk,
body: $c(e),
- confirmLabel: fk,
+ confirmLabel: Dk,
danger: !0,
onConfirm: () => t.start.mutateAsync(e.scan_id || "")
}), u = t.outcome, d = (e) => {
@@ -33462,7 +33462,7 @@ function Xoe({ toast: e }) {
children: u.error || "请查看任务记录,核对已处理的文件。"
});
else if (u) p = d(u);
- else if (t.running) f = /* @__PURE__ */ (0, z.jsx)(SO, {
+ else if (t.running) f = /* @__PURE__ */ (0, z.jsx)(UO, {
embedded: !0,
label: t.job?.message || "正在复核并清理失效条目…"
});
@@ -33474,11 +33474,11 @@ function Xoe({ toast: e }) {
else if (n.query.isError && r) p = /* @__PURE__ */ (0, z.jsx)(G, {
tone: "neutral",
title: "任务状态",
- children: dk
+ children: Noe
});
else if (r?.status === "running") {
let e = Zc(r);
- f = /* @__PURE__ */ (0, z.jsx)(SO, {
+ f = /* @__PURE__ */ (0, z.jsx)(UO, {
embedded: !0,
label: e,
value: r.completed_sources,
@@ -33497,7 +33497,7 @@ function Xoe({ toast: e }) {
else if (r?.status === "complete") {
let e = Jc(r);
p = /* @__PURE__ */ (0, z.jsxs)(z.Fragment, { children: [
- /* @__PURE__ */ (0, z.jsx)(Yoe, { scan: r }),
+ /* @__PURE__ */ (0, z.jsx)(Poe, { scan: r }),
e ? /* @__PURE__ */ (0, z.jsx)(G, {
tone: "neutral",
title: "清理内容",
@@ -33509,7 +33509,7 @@ function Xoe({ toast: e }) {
variant: "danger",
...K(a),
onClick: () => l(r),
- children: a ? "正在复核并清理…" : fk
+ children: a ? "正在复核并清理…" : Dk
}) : /* @__PURE__ */ (0, z.jsx)("p", {
className: "mr-auto text-body-regular text-notification-success-foreground",
children: "已检查可访问的来源,没有待清理的记录、空文件夹或缓存。"
@@ -33526,16 +33526,16 @@ function Xoe({ toast: e }) {
"aria-labelledby": "resource-sync-title",
className: "flex scroll-mt-20 flex-col gap-4",
children: [
- /* @__PURE__ */ (0, z.jsx)(hO, {
+ /* @__PURE__ */ (0, z.jsx)(IO, {
id: "resource-sync-title",
children: "资源同步"
}),
- /* @__PURE__ */ (0, z.jsxs)(_O, {
+ /* @__PURE__ */ (0, z.jsxs)(RO, {
layout: "split",
labelledBy: "resource-sync-box",
footer: /* @__PURE__ */ (0, z.jsx)(H, {
"data-resource-scan": !0,
- leadingIcon: o && !i ? uk : lk,
+ leadingIcon: o && !i ? Moe : joe,
...K(i),
onClick: () => {
i || n.start.mutate();
@@ -33543,7 +33543,7 @@ function Xoe({ toast: e }) {
children: c
}),
children: [
- /* @__PURE__ */ (0, z.jsx)(gO, {
+ /* @__PURE__ */ (0, z.jsx)(LO, {
id: "resource-sync-box",
gap: "small",
children: "文件与记录核对"
@@ -33569,10 +33569,10 @@ function Xoe({ toast: e }) {
}
//#endregion
//#region src/react/data-cleanup/data-cleanup-page.tsx
-function hk(e, t) {
+function Ak(e, t) {
return e.data === void 0 ? { figure: e.isError ? "读取失败" : "—" } : t(e.data);
}
-function gk({ section: e, label: t, icon: n, value: r, open: i }) {
+function jk({ section: e, label: t, icon: n, value: r, open: i }) {
return /* @__PURE__ */ (0, z.jsx)("button", {
type: "button",
className: Cl({ interactive: !0 }),
@@ -33586,17 +33586,17 @@ function gk({ section: e, label: t, icon: n, value: r, open: i }) {
})
});
}
-var Zoe = oo("square-check-big"), Qoe = oo("sparkles"), $oe = oo("file-stack"), ese = oo("file-archive"), tse = oo("trash"), nse = [
+var Ioe = oo("square-check-big"), Loe = oo("sparkles"), Roe = oo("file-stack"), zoe = oo("file-archive"), Boe = oo("trash"), Voe = [
il,
vs,
Po
-], rse = () => {
- for (let e of nse) q.invalidateQueries({
+], Hoe = () => {
+ for (let e of Voe) q.invalidateQueries({
queryKey: e,
exact: !0
});
};
-function ise({ toast: e, failure: t, open: n }) {
+function Uoe({ toast: e, failure: t, open: n }) {
let r = Nn({
queryKey: il,
queryFn: ({ signal: e }) => ul(e)
@@ -33620,46 +33620,46 @@ function ise({ toast: e, failure: t, open: n }) {
/* @__PURE__ */ (0, z.jsxs)("div", {
className: wl,
children: [
- /* @__PURE__ */ (0, z.jsx)(gk, {
+ /* @__PURE__ */ (0, z.jsx)(jk, {
section: "review",
label: "人工复核",
- icon: Zoe,
+ icon: Ioe,
open: n,
- value: hk(r, ml)
+ value: Ak(r, ml)
}),
- /* @__PURE__ */ (0, z.jsx)(gk, {
+ /* @__PURE__ */ (0, z.jsx)(jk, {
section: "quality",
label: "高清版",
- icon: Qoe,
+ icon: Loe,
open: n,
- value: hk(i, (e) => ({ figure: `${Number(e.total || 0).toLocaleString()} 个待升级` }))
+ value: Ak(i, (e) => ({ figure: `${Number(e.total || 0).toLocaleString()} 个待升级` }))
}),
- /* @__PURE__ */ (0, z.jsx)(gk, {
+ /* @__PURE__ */ (0, z.jsx)(jk, {
section: "duplicates",
label: "重复文件",
- icon: $oe,
+ icon: Roe,
open: n,
- value: hk(a, (e) => Number(e.total || 0) ? {
+ value: Ak(a, (e) => Number(e.total || 0) ? {
figure: `${Number(e.total).toLocaleString()} 组 · ${Number(e.files || 0).toLocaleString()} 个文件`,
meta: `可回收 ${s(e.reclaimable || 0)}`
} : { figure: "没有重复内容" })
}),
- /* @__PURE__ */ (0, z.jsx)(gk, {
+ /* @__PURE__ */ (0, z.jsx)(jk, {
section: "ads",
label: "垃圾文件",
- icon: ese,
+ icon: zoe,
open: n,
- value: hk(o, (e) => ({
+ value: Ak(o, (e) => ({
figure: `${Number(e.pending_total || 0).toLocaleString()} 个待判断`,
meta: hl(e)
}))
}),
- /* @__PURE__ */ (0, z.jsx)(gk, {
+ /* @__PURE__ */ (0, z.jsx)(jk, {
section: "trash",
label: "回收站",
- icon: tse,
+ icon: Boe,
open: n,
- value: hk(c, (e) => ({
+ value: Ak(c, (e) => ({
figure: `${Number(e.total || 0).toLocaleString()} 项在回收站`,
meta: e.total ? `占用 ${s(e.bytes || 0)}` : ""
}))
@@ -33672,29 +33672,29 @@ function ise({ toast: e, failure: t, open: n }) {
/* @__PURE__ */ (0, z.jsx)("div", {
id: "libraryProcessing",
className: "scroll-mt-20",
- children: /* @__PURE__ */ (0, z.jsx)(RO, {
+ children: /* @__PURE__ */ (0, z.jsx)(ak, {
toast: u,
monitor: !0,
- onComplete: rse
+ onComplete: Hoe
})
}),
/* @__PURE__ */ (0, z.jsx)("div", {
id: "mediaRepair",
- children: /* @__PURE__ */ (0, z.jsx)(Ioe, {})
+ children: /* @__PURE__ */ (0, z.jsx)(goe, {})
}),
- /* @__PURE__ */ (0, z.jsx)(Joe, {
+ /* @__PURE__ */ (0, z.jsx)(Aoe, {
toast: u,
failure: t
})
]
}),
- /* @__PURE__ */ (0, z.jsx)(Voe, {}),
- Kc(l.data) ? /* @__PURE__ */ (0, z.jsx)(Xoe, { toast: e }) : null
+ /* @__PURE__ */ (0, z.jsx)(Coe, {}),
+ Kc(l.data) ? /* @__PURE__ */ (0, z.jsx)(Foe, { toast: e }) : null
] });
}
//#endregion
//#region src/react/components/collection-summary.tsx
-function _k({ label: e, figure: t, detail: n = "", pending: r = !1, flush: i = !1 }) {
+function Mk({ label: e, figure: t, detail: n = "", pending: r = !1, flush: i = !1 }) {
return /* @__PURE__ */ (0, z.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
@@ -33721,7 +33721,7 @@ function _k({ label: e, figure: t, detail: n = "", pending: r = !1, flush: i = !
}
//#endregion
//#region src/react/components/use-stuck.ts
-function vk(e) {
+function Nk(e) {
(0, R.useEffect)(() => {
let t = e.current;
if (!t) return;
@@ -33739,9 +33739,9 @@ function vk(e) {
}
//#endregion
//#region src/react/components/filter-glass.tsx
-function ase({ title: e, children: t }) {
+function Woe({ title: e, children: t }) {
let n = (0, R.useRef)(null);
- return vk(n), /* @__PURE__ */ (0, z.jsxs)("div", {
+ return Nk(n), /* @__PURE__ */ (0, z.jsxs)("div", {
ref: n,
role: "group",
"aria-label": e,
@@ -33754,9 +33754,9 @@ function ase({ title: e, children: t }) {
}), t]
});
}
-function yk({ label: e, topLabel: t, top: n, bottom: r, className: i, topClassName: a, bottomClassName: o, panes: s, attrs: c, busy: l, bottomRef: u }) {
+function Pk({ label: e, topLabel: t, top: n, bottom: r, className: i, topClassName: a, bottomClassName: o, panes: s, attrs: c, busy: l, bottomRef: u }) {
let d = (0, R.useRef)(null);
- return vk(d), /* @__PURE__ */ (0, z.jsxs)("div", {
+ return Nk(d), /* @__PURE__ */ (0, z.jsxs)("div", {
ref: d,
role: "group",
"aria-label": e,
@@ -33783,22 +33783,22 @@ function yk({ label: e, topLabel: t, top: n, bottom: r, className: i, topClassNa
]
});
}
-var ose = "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 bk({ children: e, pressed: t, onPress: n, className: r, ...i }) {
+var Goe = "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 Fk({ children: e, pressed: t, onPress: n, className: r, ...i }) {
return /* @__PURE__ */ (0, z.jsx)("button", {
type: "button",
...i,
"aria-pressed": t,
- className: gi(ose, r),
+ className: gi(Goe, r),
onClick: n,
children: e
});
}
-var sse = "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 hover:border-(--glass-rim) hover:bg-(--glass-pick-fill) focus-visible:ring-2 focus-visible:ring-border-focus-ring aria-busy:cursor-wait aria-busy:opacity-55";
-function xk({ children: e, onPress: t, busy: n = !1 }) {
+var Koe = "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 hover:border-(--glass-rim) hover:bg-(--glass-pick-fill) focus-visible:ring-2 focus-visible:ring-border-focus-ring aria-busy:cursor-wait aria-busy:opacity-55";
+function Ik({ children: e, onPress: t, busy: n = !1 }) {
return /* @__PURE__ */ (0, z.jsx)("button", {
type: "button",
- className: sse,
+ className: Koe,
"aria-busy": n || void 0,
"aria-disabled": n || void 0,
onClick: () => {
@@ -33809,11 +33809,11 @@ function xk({ children: e, onPress: t, busy: n = !1 }) {
}
//#endregion
//#region src/react/duplicates/duplicates-page.tsx
-var cse = oo("play"), lse = oo("file-stack"), use = Mi({
+var qoe = oo("play"), Joe = oo("file-stack"), Yoe = Mi({
padding: "none",
radius: "surface",
className: "mb-6 overflow-hidden dark:bg-background-primary-default"
-}), Sk = "rounded-sm px-1.5 py-px text-caption-1-regular leading-5", Ck = "rounded-sm px-2 py-0.5 text-caption-1-regular leading-5", wk = "font-mono text-caption-1-regular leading-5 text-text-secondary", Tk = () => {
+}), Lk = "rounded-sm px-1.5 py-px text-caption-1-regular leading-5", Rk = "rounded-sm px-2 py-0.5 text-caption-1-regular leading-5", zk = "font-mono text-caption-1-regular leading-5 text-text-secondary", Bk = () => {
q.invalidateQueries({
queryKey: Po,
exact: !0
@@ -33822,16 +33822,16 @@ var cse = oo("play"), lse = oo("file-stack"), use = Mi({
exact: !0
});
};
-function dse(e) {
+function Xoe(e) {
return e.identical ? /* @__PURE__ */ (0, z.jsx)("span", {
- className: `${Ck} text-(--keep)`,
+ className: `${Rk} text-(--keep)`,
children: "sha1 一致"
}) : /* @__PURE__ */ (0, z.jsx)("span", {
- className: `${Ck} text-text-secondary`,
+ className: `${Rk} text-text-secondary`,
children: e.evidence === "same_code_short_copy" ? "同番号短版本" : "时长推断"
});
}
-function fse({ file: t, openItem: n }) {
+function Zoe({ file: t, openItem: n }) {
let r = () => n(t.id);
return /* @__PURE__ */ (0, z.jsxs)("div", {
className: "duplicate-row items-center gap-3 border-t border-separator-border px-5 py-4 max-compact:p-4",
@@ -33841,7 +33841,7 @@ function fse({ file: t, openItem: n }) {
onClick: r,
"aria-label": `预览 ${t.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, z.jsx)(cse, {
+ children: [/* @__PURE__ */ (0, z.jsx)(qoe, {
"aria-hidden": !0,
className: "size-6"
}), /* @__PURE__ */ (0, z.jsx)("img", {
@@ -33865,39 +33865,39 @@ function fse({ file: t, openItem: n }) {
}), t.is_largest || t.is_longest ? /* @__PURE__ */ (0, z.jsxs)("span", {
className: "flex flex-none gap-1",
children: [t.is_largest ? /* @__PURE__ */ (0, z.jsx)("i", {
- className: `${Sk} not-italic bg-background-primary-hover text-text-secondary`,
+ className: `${Lk} not-italic bg-background-primary-hover text-text-secondary`,
children: "最大"
}) : null, t.is_longest ? /* @__PURE__ */ (0, z.jsx)("i", {
- className: `${Sk} not-italic bg-(--keep)/22 text-(--keep)`,
+ className: `${Lk} not-italic bg-(--keep)/22 text-(--keep)`,
children: "最长"
}) : null]
}) : null]
}),
/* @__PURE__ */ (0, z.jsxs)("span", {
- className: `${wk} flex min-w-0 items-center gap-1.5`,
- children: [/* @__PURE__ */ (0, z.jsx)(IO, { mark: _[t.location] || "database" }), /* @__PURE__ */ (0, z.jsx)("span", {
+ className: `${zk} flex min-w-0 items-center gap-1.5`,
+ children: [/* @__PURE__ */ (0, z.jsx)(rk, { mark: _[t.location] || "database" }), /* @__PURE__ */ (0, z.jsx)("span", {
className: "whitespace-nowrap",
children: e[t.location] || t.location || t.drive
})]
}),
/* @__PURE__ */ (0, z.jsx)("span", {
- className: wk,
+ className: zk,
children: s(t.size || 0)
}),
/* @__PURE__ */ (0, z.jsx)("span", {
- className: wk,
+ className: zk,
children: o(t.duration)
}),
/* @__PURE__ */ (0, z.jsx)("span", {
"data-middle-truncate": !0,
title: t.path ?? "",
- className: `${wk} col-start-2 -col-end-1 min-w-0 truncate pt-0.5 max-duplicate-narrow:col-span-full`,
+ className: `${zk} col-start-2 -col-end-1 min-w-0 truncate pt-0.5 max-duplicate-narrow:col-span-full`,
children: t.path ?? ""
})
]
});
}
-function pse({ openItem: t, toast: n, failure: r }) {
+function Qoe({ openItem: t, toast: n, failure: r }) {
let i = Nn({
queryKey: Po,
queryFn: ({ signal: e }) => Io(e)
@@ -33907,13 +33907,13 @@ function pse({ openItem: t, toast: n, failure: r }) {
}), [o, c] = (0, R.useState)(""), l = Pn({
mutationFn: (e) => Wo(e, "dispose"),
onSuccess: (e, t) => {
- Tk(), n(`已把 ${t.length} 项移入回收站`, { undo: async () => {
+ Bk(), n(`已把 ${t.length} 项移入回收站`, { undo: async () => {
try {
await Wo(t, "restore");
} catch (e) {
r("撤销移入回收站", e);
} finally {
- Tk();
+ Bk();
}
} });
},
@@ -33940,15 +33940,15 @@ function pse({ openItem: t, toast: n, failure: r }) {
return /* @__PURE__ */ (0, z.jsxs)("div", {
className: "mx-auto w-full max-w-board pb-10.5",
children: [
- /* @__PURE__ */ (0, z.jsx)(_k, {
+ /* @__PURE__ */ (0, z.jsx)(Mk, {
label: "重复内容",
figure: `${Number(u.total || 0).toLocaleString()} 组`,
detail: `${u.files} 个文件 · 可回收 ${s(u.reclaimable)}`
}),
- d.length ? /* @__PURE__ */ (0, z.jsxs)(ase, {
+ d.length ? /* @__PURE__ */ (0, z.jsxs)(Woe, {
title: "批量保留",
children: [
- /* @__PURE__ */ (0, z.jsx)(xk, {
+ /* @__PURE__ */ (0, z.jsx)(Ik, {
busy: o === "all:largest",
onPress: () => p({
groups: d,
@@ -33957,7 +33957,7 @@ function pse({ openItem: t, toast: n, failure: r }) {
}),
children: "全部保留最大"
}),
- /* @__PURE__ */ (0, z.jsx)(xk, {
+ /* @__PURE__ */ (0, z.jsx)(Ik, {
busy: o === "all:longest",
onPress: () => p({
groups: d,
@@ -33966,7 +33966,7 @@ function pse({ openItem: t, toast: n, failure: r }) {
}),
children: "全部保留最长"
}),
- Vo(d, f).map((t) => /* @__PURE__ */ (0, z.jsx)(xk, {
+ Vo(d, f).map((t) => /* @__PURE__ */ (0, z.jsx)(Ik, {
busy: o === `all:${t}`,
onPress: () => p({
groups: d,
@@ -33989,7 +33989,7 @@ function pse({ openItem: t, toast: n, failure: r }) {
let i = [n], a = (e) => `${r}:${e}`;
return /* @__PURE__ */ (0, z.jsxs)("section", {
"aria-label": n.code,
- className: use,
+ className: Yoe,
children: [/* @__PURE__ */ (0, z.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: [
@@ -34001,9 +34001,9 @@ function pse({ openItem: t, toast: n, failure: r }) {
className: "font-mono text-caption-1-regular leading-5 text-text-primary",
children: `${n.count} 个 · 可回收 ${s(n.reclaimable)}`
}),
- dse(n),
+ Xoe(n),
n.cross_drive ? /* @__PURE__ */ (0, z.jsx)("span", {
- className: `${Ck} text-text-secondary`,
+ className: `${Rk} text-text-secondary`,
children: `跨盘 ${n.drives.join(" ")}`
}) : null,
/* @__PURE__ */ (0, z.jsxs)("span", {
@@ -34056,13 +34056,13 @@ function pse({ openItem: t, toast: n, failure: r }) {
]
})
]
- }), /* @__PURE__ */ (0, z.jsx)("div", { children: n.files.map((e) => /* @__PURE__ */ (0, z.jsx)(fse, {
+ }), /* @__PURE__ */ (0, z.jsx)("div", { children: n.files.map((e) => /* @__PURE__ */ (0, z.jsx)(Zoe, {
file: e,
openItem: t
}, e.id)) })]
}, `${n.code}-${r}`);
}) : /* @__PURE__ */ (0, z.jsx)(Pi, {
- icon: lse,
+ icon: Joe,
title: "没有找到重复文件",
children: "所有来源之间没有检测到内容相同的文件。扫描新来源后,这里会自动更新。"
})
@@ -34071,43 +34071,43 @@ function pse({ openItem: t, toast: n, failure: r }) {
}
//#endregion
//#region src/react/follow/online-vocab.ts
-var mse = "/api/follow/authors", hse = "/api/follow/tags", gse = (e) => [
+var $oe = "/api/follow/authors", ese = "/api/follow/tags", tse = (e) => [
"follow",
"authors",
e
-], _se = (e, t) => [
+], nse = (e, t) => [
"follow",
"tags",
e,
t
];
-function vse(e, t, n) {
+function rse(e, t, n) {
let r = new URLSearchParams({
limit: String(t),
offset: String(n)
});
- return e && r.set("q", e), `${mse}?${r}`;
+ return e && r.set("q", e), `${$oe}?${r}`;
}
-function yse(e, t, n, r) {
+function ise(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), `${hse}?${i}`;
+ return t && t !== "all" && i.set("type", t), e && i.set("q", e), `${ese}?${i}`;
}
-var bse = (e, t, n, r) => wi(vse(e, t, n), r), xse = (e, t, n, r, i) => wi(yse(e, t, n, r), i), Sse = "/api/index", Ek = {
+var ase = (e, t, n, r) => wi(rse(e, t, n), r), ose = (e, t, n, r, i) => wi(ise(e, t, n, r), i), sse = "/api/index", Vk = {
performers: "艺人",
creators: "创作者",
studios: "厂牌",
agencies: "事务所",
tags: "标签"
-}, Cse = {
+}, cse = {
performers: "performer",
creators: "creator",
studios: "studio",
agencies: "agency"
-}, Dk = [
+}, Hk = [
["all", "全部"],
["meta", "影片属性"],
["relationship", "人物关系"],
@@ -34117,26 +34117,26 @@ var bse = (e, t, n, r) => wi(vse(e, t, n), r), xse = (e, t, n, r, i) => wi(yse(e
["story", "故事剧情"],
["position", "性交体位"],
["general", "其他内容"]
-], Ok = [
+], Uk = [
["all", "全部"],
["general", "通用"],
["artist", "创作者"],
["character", "角色"],
["copyright", "作品"],
["metadata", "元数据"]
-], kk = {
+], Wk = {
people: 120,
tags: 180
-}, Ak = (e) => e !== "tags", jk = (e) => e === "studios" || e === "agencies";
-function Mk(e) {
- let t = e.kind === "tags" || e.kind === "performers" ? e.scope : "local", n = (t === "online" ? Ok : Dk).some(([t]) => t === e.category);
+}, Gk = (e) => e !== "tags", Kk = (e) => e === "studios" || e === "agencies";
+function qk(e) {
+ let t = e.kind === "tags" || e.kind === "performers" ? e.scope : "local", n = (t === "online" ? Uk : Hk).some(([t]) => t === e.category);
return {
...e,
scope: t,
category: e.kind === "tags" && n ? e.category : "all"
};
}
-function Nk(e) {
+function Jk(e) {
let { kind: t, q: n, scope: r, category: i } = e;
return t === "tags" ? r === "online" ? {
what: "online-tags",
@@ -34155,50 +34155,50 @@ function Nk(e) {
q: n
};
}
-var Pk = (e, t, n = "all") => [
+var Yk = (e, t, n = "all") => [
"index",
e,
t,
...e === "tags" ? [n] : []
];
-function Fk(e, t, n, r, i) {
+function Xk(e, t, n, r, i) {
let a = new URLSearchParams({
kind: e,
limit: String(r),
offset: String(i)
});
- return t && a.set("q", t), e === "tags" && n !== "all" && a.set("category", n), `${Sse}?${a}`;
+ return t && a.set("q", t), e === "tags" && n !== "all" && a.set("category", n), `${sse}?${a}`;
}
-function Ik(e) {
- let t = e.what === "people" || e.what === "online-authors" ? kk.people : kk.tags, n = {
+function Zk(e) {
+ let t = e.what === "people" || e.what === "online-authors" ? Wk.people : Wk.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: Pk(e.kind, e.q),
- queryFn: ({ pageParam: n, signal: r }) => wi(Fk(e.kind, e.q, "all", t, n), r)
+ queryKey: Yk(e.kind, e.q),
+ queryFn: ({ pageParam: n, signal: r }) => wi(Xk(e.kind, e.q, "all", t, n), r)
};
case "tags": return {
...n,
- queryKey: Pk("tags", e.q, e.category),
- queryFn: ({ pageParam: n, signal: r }) => wi(Fk("tags", e.q, e.category, t, n), r)
+ queryKey: Yk("tags", e.q, e.category),
+ queryFn: ({ pageParam: n, signal: r }) => wi(Xk("tags", e.q, e.category, t, n), r)
};
case "online-authors": return {
...n,
- queryKey: gse(e.q),
- queryFn: ({ pageParam: n, signal: r }) => bse(e.q, t, n, r)
+ queryKey: tse(e.q),
+ queryFn: ({ pageParam: n, signal: r }) => ase(e.q, t, n, r)
};
case "online-tags": return {
...n,
- queryKey: _se(e.q, e.category),
- queryFn: ({ pageParam: n, signal: r }) => xse(e.q, e.category, t, n, r)
+ queryKey: nse(e.q, e.category),
+ queryFn: ({ pageParam: n, signal: r }) => ose(e.q, e.category, t, n, r)
};
}
}
-async function Lk(e, t) {
- let n = Ik(Nk(Mk(e)));
+async function lse(e, t) {
+ let n = Zk(Jk(qk(e)));
q.removeQueries({
queryKey: n.queryKey,
exact: !0
@@ -34212,13 +34212,13 @@ async function Lk(e, t) {
getNextPageParam: n.getNextPageParam
});
}
-var Rk = (e) => e ? e.pages.flatMap((e) => e.items) : [], zk = (e, t) => `${e}${t ? "+" : ""} 项`, Bk = (e, t) => e ? `r34-${t || "unknown"}` : t || "general", Vk = (e, t) => e === "agencies" ? `${(t.members || 0).toLocaleString()} 人` : t.n.toLocaleString(), wse = {
+var use = (e) => e ? e.pages.flatMap((e) => e.items) : [], dse = (e, t) => `${e}${t ? "+" : ""} 项`, Qk = (e, t) => e ? `r34-${t || "unknown"}` : t || "general", fse = (e, t) => e === "agencies" ? `${(t.members || 0).toLocaleString()} 人` : t.n.toLocaleString(), pse = {
numeric: !0,
sensitivity: "base"
};
-function Tse(e, t) {
+function mse(e, t) {
let n = /* @__PURE__ */ new Map();
- for (let r of [...e].sort((e, t) => e.k.localeCompare(t.k, "zh-CN", wse))) {
+ for (let r of [...e].sort((e, t) => e.k.localeCompare(t.k, "zh-CN", pse))) {
let e = t(r.k).normalize("NFKC").trim().charAt(0).toUpperCase(), i = /[A-Z]/.test(e) ? e : /[0-9]/.test(e) ? "#" : /[㐀-鿿]/.test(e) ? "中文" : "其他", a = n.get(i);
a ? a.push(r) : n.set(i, [r]);
}
@@ -34226,7 +34226,7 @@ function Tse(e, t) {
}
//#endregion
//#region src/react/index/index-people.tsx
-function Hk({ html: e, face: t, company: n, big: r }) {
+function $k({ html: e, face: t, company: n, big: r }) {
let i = (0, R.useRef)(null);
return (0, R.useLayoutEffect)(() => {
t ? i.current?.style.setProperty("--face", t) : i.current?.style.removeProperty("--face");
@@ -34238,8 +34238,8 @@ function Hk({ html: e, face: t, company: n, big: r }) {
dangerouslySetInnerHTML: { __html: e }
});
}
-var Ese = "flex cursor-pointer flex-col gap-2 p-3 text-inherit";
-function Uk({ name: e, readout: t, big: n, children: r, onPress: i, ...a }) {
+var hse = "flex cursor-pointer flex-col gap-2 p-3 text-inherit";
+function eA({ name: e, readout: t, big: n, children: r, onPress: i, ...a }) {
return /* @__PURE__ */ (0, z.jsxs)("button", {
type: "button",
...a,
@@ -34249,7 +34249,7 @@ function Uk({ name: e, readout: t, big: n, children: r, onPress: i, ...a }) {
radius: "plain",
padding: "none",
interactive: !0,
- className: `${Ese} ${n ? "items-stretch text-left" : "items-center text-center"}`
+ className: `${hse} ${n ? "items-stretch text-left" : "items-center text-center"}`
}),
children: [
r,
@@ -34266,8 +34266,8 @@ function Uk({ name: e, readout: t, big: n, children: r, onPress: i, ...a }) {
]
});
}
-function Wk({ kind: e, items: t, layout: n, props: r }) {
- let i = Cse[e], a = jk(e), o = n === "big";
+function tA({ kind: e, items: t, layout: n, props: r }) {
+ let i = cse[e], a = Kk(e), o = n === "big";
return /* @__PURE__ */ (0, z.jsx)("div", {
"data-index-grid": "",
"data-layout": n,
@@ -34275,14 +34275,14 @@ function Wk({ kind: e, items: t, layout: n, props: r }) {
className: `${a ? "index-grid-company" : "index-grid-person"} gap-3`,
children: t.map((t) => {
let n = r.personAvatar(t, i, o);
- return /* @__PURE__ */ (0, z.jsx)(Uk, {
+ return /* @__PURE__ */ (0, z.jsx)(eA, {
"data-k": t.k,
"data-kind": i,
name: t.k,
- readout: Vk(e, t),
+ readout: fse(e, t),
big: o,
onPress: () => r.openEntity(i, t.k),
- children: /* @__PURE__ */ (0, z.jsx)(Hk, {
+ children: /* @__PURE__ */ (0, z.jsx)($k, {
html: n.html,
face: n.face,
company: a,
@@ -34292,21 +34292,21 @@ function Wk({ kind: e, items: t, layout: n, props: r }) {
})
});
}
-function Dse({ items: e, layout: t, props: n }) {
+function gse({ items: e, layout: t, props: n }) {
let r = t === "big";
return /* @__PURE__ */ (0, z.jsx)("div", {
"data-index-grid": "",
"data-layout": t,
"data-cells": "people",
className: "index-grid-person gap-3",
- children: e.map((e) => /* @__PURE__ */ (0, z.jsx)(Uk, {
+ children: e.map((e) => /* @__PURE__ */ (0, z.jsx)(eA, {
"data-follow-author": e.key,
"data-kind": "performer",
name: e.k,
readout: `${e.n.toLocaleString()} 项更新`,
big: r,
onPress: () => n.openFollowAuthor(e.key),
- children: /* @__PURE__ */ (0, z.jsx)(Hk, {
+ children: /* @__PURE__ */ (0, z.jsx)($k, {
html: n.authorAvatar(e),
company: !1,
big: r
@@ -34316,7 +34316,7 @@ function Dse({ items: e, layout: t, props: n }) {
}
//#endregion
//#region src/board-controls.ts
-function Ose(e) {
+function _se(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}%`);
let a = e.closest(".dual-range");
@@ -34328,8 +34328,8 @@ function Ose(e) {
}
//#endregion
//#region src/react/photo-lightbox/photo-lightbox.ts
-var Gk = "/vendor/swiper/14.2.0/", Kk = null, kse = () => Kk ??= Promise.all([new Promise((e, t) => {
- let n = `${Gk}swiper-bundle.min.css`, r = document.querySelector(`link[href="${n}"]`);
+var nA = "/vendor/swiper/14.2.0/", rA = null, vse = () => rA ??= Promise.all([new Promise((e, t) => {
+ let n = `${nA}swiper-bundle.min.css`, r = document.querySelector(`link[href="${n}"]`);
if (r?.sheet) {
e();
return;
@@ -34343,11 +34343,11 @@ var Gk = "/vendor/swiper/14.2.0/", Kk = null, kse = () => Kk ??= Promise.all([ne
return;
}
let r = document.createElement("script");
- r.src = `${Gk}swiper-bundle.min.js`, r.onload = () => e(window.Swiper), r.onerror = () => t(/* @__PURE__ */ Error("swiper unavailable")), document.head.append(r);
+ r.src = `${nA}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 Kk = null, e;
+ throw rA = null, e;
});
-function Ase(e, t, n) {
+function yse(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);
@@ -34368,48 +34368,48 @@ function Ase(e, t, n) {
}
};
}
-var qk = (e) => {
+var iA = (e) => {
let t = Number(e) || 0;
return t ? (t < 1048576 ? `${Math.max(1, Math.round(t / 1024))} KB` : s(t)).replace(" ", "\xA0") : "大小未知";
-}, jse = (e) => e.asset?.name || e.name || "未命名图片";
-function Mse(t, n) {
+}, bse = (e) => e.asset?.name || e.name || "未命名图片";
+function xse(t, n) {
let r = t.asset;
- if (r) return [e[r.location ?? ""] || r.location || "来源未知", qk(r.size)].join(" · ");
+ if (r) return [e[r.location ?? ""] || r.location || "来源未知", iA(r.size)].join(" · ");
let i = (t.total ?? 0) > 1 ? `第 ${t.position} / ${t.total} 张` : "", a = n?.[0] && n[1] ? `${n[0]} × ${n[1]}` : "";
return [
t.source || "在线图片",
i,
a,
- t.size ? qk(t.size) : ""
+ t.size ? iA(t.size) : ""
].filter(Boolean).join(" · ");
}
//#endregion
//#region src/react/photo-lightbox/photo-lightbox-dialog.tsx
-var Jk = null, Yk = null, Nse = 0;
-function Pse() {
- return (!Yk || !Jk?.isConnected) && (Yk?.unmount(), Jk = document.createElement("div"), Jk.className = "peach-react", Jk.dataset.photoLightboxHost = "", document.body.append(Jk), Yk = (0, xe.createRoot)(Jk)), Yk;
+var aA = null, oA = null, Sse = 0;
+function Cse() {
+ return (!oA || !aA?.isConnected) && (oA?.unmount(), aA = document.createElement("div"), aA.className = "peach-react", aA.dataset.photoLightboxHost = "", document.body.append(aA), oA = (0, xe.createRoot)(aA)), oA;
}
-async function Xk(e, t, n) {
+async function sA(e, t, n) {
if (!t.length || e < 0 || e >= t.length) return;
let r;
try {
- r = await kse();
+ r = await vse();
} catch {
window.open(t[e].src, "_blank", "noopener");
return;
}
- let i = Pse();
- (0, be.flushSync)(() => i.render(/* @__PURE__ */ (0, z.jsx)(Fse, {
+ let i = Cse();
+ (0, be.flushSync)(() => i.render(/* @__PURE__ */ (0, z.jsx)(wse, {
slides: t,
index: e,
Swiper: r,
host: n ?? null
- }, ++Nse)));
+ }, ++Sse)));
}
-function Zk() {
- Yk && (0, be.flushSync)(() => Yk.render(null));
+function cA() {
+ oA && (0, be.flushSync)(() => oA.render(null));
}
-function Fse({ slides: e, index: t, Swiper: n, host: r }) {
+function wse({ slides: e, index: t, Swiper: n, host: r }) {
let i = e.length > 1, a = (0, R.useId)(), o = (0, R.useRef)(null), s = (0, R.useRef)(null), c = (0, R.useRef)(null), u = (0, R.useRef)(null), d = (0, R.useRef)(null), f = (0, R.useRef)(null), p = (0, R.useRef)(null), m = (0, R.useRef)(null), h = (0, R.useRef)(null), g = (0, R.useRef)(null), _ = (0, R.useRef)(null), [v, y] = (0, R.useState)(t), [b, x] = (0, R.useState)(100), [S, C] = (0, R.useState)({}), [w, T] = (0, R.useState)(() => /* @__PURE__ */ new Set()), [E, D] = (0, R.useState)(!1), [O, k] = (0, R.useState)({
at: t,
text: ""
@@ -34452,7 +34452,7 @@ function Fse({ slides: e, index: t, Swiper: n, host: r }) {
y(this.activeIndex), i(this.activeIndex);
} }
});
- i(t, 0), g.current = Ase(e, a, x);
+ i(t, 0), g.current = yse(e, a, x);
let l = I(e, p.current, m.current), h = (e = !1) => {
l.hide(), p.current?.setAttribute("aria-expanded", "false"), e && p.current && document.contains(p.current) && p.current.focus();
};
@@ -34469,13 +34469,13 @@ function Fse({ slides: e, index: t, Swiper: n, host: r }) {
});
v.observe(e);
let b = (e) => {
- e.key === "Escape" && (e.preventDefault(), e.stopImmediatePropagation(), _.current?.isOpen() ? _.current.dismiss(!0) : Zk());
+ e.key === "Escape" && (e.preventDefault(), e.stopImmediatePropagation(), _.current?.isOpen() ? _.current.dismiss(!0) : cA());
};
return document.addEventListener("keydown", b, !0), () => {
document.removeEventListener("keydown", b, !0), h(), v.disconnect(), a.destroy(!0, !0), r.destroy(!0, !0), g.current = null, _.current = null, e.close(), document.body.classList.remove("photolight-open");
};
}, []), (0, R.useLayoutEffect)(() => {
- h.current && Ose(h.current);
+ h.current && _se(h.current);
}, [b]);
let A = e[v], j = A.asset ?? null, M = async (e) => {
if (!j || !r || e.getAttribute("aria-busy") === "true") return;
@@ -34506,18 +34506,18 @@ function Fse({ slides: e, index: t, Swiper: n, host: r }) {
"data-photo-lightbox": "",
"data-has-strip": i ? "" : void 0,
onCancel: (e) => {
- e.preventDefault(), Zk();
+ e.preventDefault(), cA();
},
onClick: (e) => {
let t = e.target;
- _.current?.dismissOutside(t) || (t === o.current || t.classList.contains("swiper-zoom-container")) && Zk();
+ _.current?.dismissOutside(t) || (t === o.current || t.classList.contains("swiper-zoom-container")) && cA();
},
children: [
/* @__PURE__ */ (0, z.jsx)("button", {
type: "button",
"data-photo-close": "",
"aria-label": "关闭",
- onClick: Zk,
+ onClick: cA,
dangerouslySetInnerHTML: { __html: l("x") }
}),
/* @__PURE__ */ (0, z.jsxs)("div", {
@@ -34650,10 +34650,10 @@ function Fse({ slides: e, index: t, Swiper: n, host: r }) {
id: `${a}-title`,
"data-middle-truncate": "",
tabIndex: -1,
- children: jse(A)
+ children: bse(A)
}, v), /* @__PURE__ */ (0, z.jsx)("span", {
"data-photo-detail-meta": "",
- children: Mse(A, S[v])
+ children: xse(A, S[v])
})]
}),
/* @__PURE__ */ (0, z.jsx)("button", {
@@ -34692,28 +34692,28 @@ function Fse({ slides: e, index: t, Swiper: n, host: r }) {
}
//#endregion
//#region src/react/entity-body/entity-body-page.tsx
-function Ise(e) {
- return e.view === "people" && e.roster ? /* @__PURE__ */ (0, z.jsx)(Lse, {
+function Tse(e) {
+ return e.view === "people" && e.roster ? /* @__PURE__ */ (0, z.jsx)(Ese, {
roster: e.roster,
props: e
- }) : e.view === "videos" ? /* @__PURE__ */ (0, z.jsx)(Rse, { ...e }, e.revision) : e.view === "photos" && e.photos ? /* @__PURE__ */ (0, z.jsx)(Vse, {
+ }) : e.view === "videos" ? /* @__PURE__ */ (0, z.jsx)(Dse, { ...e }, e.revision) : e.view === "photos" && e.photos ? /* @__PURE__ */ (0, z.jsx)(Ase, {
photos: e.photos,
props: e
}, e.photos.revision) : null;
}
-function Lse({ roster: e, props: t }) {
+function Ese({ roster: e, props: t }) {
let { helpers: n, actions: r } = t, i = (0, R.useMemo)(() => ({
personAvatar: n.personAvatar,
openEntity: r.openEntity
}), [n, r]);
- return /* @__PURE__ */ (0, z.jsx)(Wk, {
+ return /* @__PURE__ */ (0, z.jsx)(tA, {
kind: e.kind,
items: e.people,
layout: e.layout,
props: i
});
}
-function Rse(e) {
+function Dse(e) {
let t = Ra(!e.items, e.skeletonHtml);
return /* @__PURE__ */ (0, z.jsxs)("div", {
"data-entity-grid": "",
@@ -34738,16 +34738,16 @@ function Rse(e) {
}) : null]
});
}
-var zse = (e) => Array.from({ length: e.n }, (t, n) => ({
+var Ose = (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 || "官方样张"
-})), Qk = (e) => e.sample === !0, $k = (e) => `code=${encodeURIComponent(e.code)}&n=${e.position}`, eA = (e) => Qk(e) ? `/sample-thumb?${$k(e)}` : `/photo-thumb?id=${e.id}`, Bse = (e) => Qk(e) ? {
- src: `/sample-image?${$k(e)}`,
- thumb: eA(e),
+})), lA = (e) => e.sample === !0, uA = (e) => `code=${encodeURIComponent(e.code)}&n=${e.position}`, dA = (e) => lA(e) ? `/sample-thumb?${uA(e)}` : `/photo-thumb?id=${e.id}`, kse = (e) => lA(e) ? {
+ src: `/sample-image?${uA(e)}`,
+ thumb: dA(e),
name: e.name,
asset: null,
source: e.source,
@@ -34755,18 +34755,18 @@ var zse = (e) => Array.from({ length: e.n }, (t, n) => ({
total: e.total
} : {
src: `/photo?id=${e.id}`,
- thumb: eA(e),
+ thumb: dA(e),
name: e.name || "",
asset: e
};
-function Vse({ photos: e, props: t }) {
- let { photoSize: n, photoLayout: r, actions: i, canLoadMore: a } = t, o = (0, R.useMemo)(() => [...e.codeSets.flatMap(zse), ...e.items], [e]), [s, c] = (0, R.useState)(() => /* @__PURE__ */ new Set()), l = (0, R.useCallback)((e) => c((t) => {
+function Ase({ photos: e, props: t }) {
+ let { photoSize: n, photoLayout: r, actions: i, canLoadMore: a } = t, o = (0, R.useMemo)(() => [...e.codeSets.flatMap(Ose), ...e.items], [e]), [s, c] = (0, R.useState)(() => /* @__PURE__ */ new Set()), l = (0, R.useCallback)((e) => c((t) => {
if (t.has(e)) return t;
let n = new Set(t);
return n.add(e), n;
}), []), u = (0, R.useCallback)((e) => {
- Xk(e, o.map(Bse), { revealSource: i.revealSource });
- }, [i, o]), d = (e, t) => /* @__PURE__ */ (0, z.jsx)(Hse, {
+ sA(e, o.map(kse), { revealSource: i.revealSource });
+ }, [i, o]), d = (e, t) => /* @__PURE__ */ (0, z.jsx)(jse, {
item: e,
index: t,
lost: s.has(t),
@@ -34784,7 +34784,7 @@ function Vse({ photos: e, props: t }) {
};
}), h = p;
return /* @__PURE__ */ (0, z.jsxs)(z.Fragment, { children: [
- m.map(({ set: e, from: t }) => /* @__PURE__ */ (0, z.jsxs)(R.Fragment, { children: [/* @__PURE__ */ (0, z.jsx)(tA, {
+ m.map(({ set: e, from: t }) => /* @__PURE__ */ (0, z.jsxs)(R.Fragment, { children: [/* @__PURE__ */ (0, z.jsx)(fA, {
label: e.code,
title: e.name,
meta: [
@@ -34796,7 +34796,7 @@ function Vse({ 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, z.jsx)(tA, {
+ m.length && e.total ? /* @__PURE__ */ (0, z.jsx)(fA, {
label: "本地图片",
meta: `${e.total.toLocaleString()} 张`
}) : null,
@@ -34812,7 +34812,7 @@ function Vse({ photos: e, props: t }) {
}, e.items.length) : null
] });
}
-function tA({ label: e, title: t, meta: n }) {
+function fA({ label: e, title: t, meta: n }) {
return /* @__PURE__ */ (0, z.jsxs)("div", {
"data-photo-group": "",
children: [
@@ -34829,7 +34829,7 @@ function tA({ label: e, title: t, meta: n }) {
]
});
}
-function Hse({ item: e, index: t, lost: n, onLose: r, onOpen: i }) {
+function jse({ item: e, index: t, lost: n, onLose: r, onOpen: i }) {
let a = e.name ?? "";
return /* @__PURE__ */ (0, z.jsx)("button", {
type: "button",
@@ -34838,7 +34838,7 @@ function Hse({ item: e, index: t, lost: n, onLose: r, onOpen: i }) {
title: a,
onClick: () => i(t),
children: n ? null : /* @__PURE__ */ (0, z.jsx)("img", {
- src: eA(e),
+ src: dA(e),
alt: a,
loading: "lazy",
decoding: "async",
@@ -34849,24 +34849,24 @@ function Hse({ item: e, index: t, lost: n, onLose: r, onOpen: i }) {
}
//#endregion
//#region src/react/components/segmented.tsx
-function nA(e) {
- let t = oO("selection");
- return /* @__PURE__ */ (0, z.jsx)(NS, {
+function pA(e) {
+ let t = DO("selection");
+ return /* @__PURE__ */ (0, z.jsx)(BS, {
...e,
ref: t
});
}
-function rA(e) {
- let t = oO("selection");
- return /* @__PURE__ */ (0, z.jsx)(tx, {
+function mA(e) {
+ let t = DO("selection");
+ return /* @__PURE__ */ (0, z.jsx)(nx, {
...e,
ref: t
});
}
-var iA = "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", aA = "flex min-h-7 flex-none cursor-pointer items-center gap-1.5 rounded-md px-2.5 py-1 text-body-medium whitespace-nowrap text-text-secondary outline-none transition-colors hover:text-text-primary focus-visible:ring-2 focus-visible:ring-border-focus-ring data-focus-visible:ring-2 data-focus-visible:ring-border-focus-ring data-selected:bg-background-primary-default data-selected:text-text-primary data-selected:shadow-card dark:data-selected:bg-background-primary-hover", Use = "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", oA = "inline-flex w-max max-w-full flex-none items-center gap-0.5 rounded-lg", sA = "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)";
+var hA = "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", gA = "flex min-h-7 flex-none cursor-pointer items-center gap-1.5 rounded-md px-2.5 py-1 text-body-medium whitespace-nowrap text-text-secondary outline-none transition-colors hover:text-text-primary focus-visible:ring-2 focus-visible:ring-border-focus-ring data-focus-visible:ring-2 data-focus-visible:ring-border-focus-ring data-selected:bg-background-primary-default data-selected:text-text-primary data-selected:shadow-card dark:data-selected:bg-background-primary-hover", Mse = "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", _A = "inline-flex w-max max-w-full flex-none items-center gap-0.5 rounded-lg", vA = "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)";
//#endregion
//#region src/react/components/use-view-glide.ts
-function Wse(e, t) {
+function Nse(e, t) {
if (!t.contains(e)) return null;
let n = 0, r = 0;
for (let i = e; i && i !== t; i = i.offsetParent) n += i.offsetLeft, r += i.offsetTop;
@@ -34882,11 +34882,11 @@ function Wse(e, t) {
h: e.offsetHeight
};
}
-function cA(e, t, n, r) {
+function yA(e, t, n, r) {
let i = (0, R.useRef)(null), a = (0, R.useCallback)((r, a) => {
let o = e.current, s = t.current, c = o?.parentElement;
if (!o) return;
- let l = s && s.offsetWidth ? r ?? s.querySelector(n) : null, u = l && c ? Wse(l, c) : null;
+ let l = s && s.offsetWidth ? r ?? s.querySelector(n) : null, u = l && c ? Nse(l, c) : null;
if (!u || !u.w) {
o.hidden = !0;
return;
@@ -34924,19 +34924,19 @@ function cA(e, t, n, r) {
}
//#endregion
//#region src/react/entity-filter/entity-filter.ts
-var Gse = (e) => e === "videos", lA = () => /* @__PURE__ */ (0, z.jsx)("span", {
+var Pse = (e) => e === "videos", bA = () => /* @__PURE__ */ (0, z.jsx)("span", {
"data-entity-sep": "",
"aria-hidden": "true"
});
-function Kse(e) {
- let { view: t, views: n, state: r, states: i, tags: a, combo: o, actions: s, helpers: c } = e, l = Gse(t), u = (0, R.useRef)(null), d = (0, R.useRef)(null), f = (0, R.useRef)(null), p = (0, R.useRef)(null), m = (0, R.useRef)(null), h = (0, R.useRef)(null), g = (0, R.useRef)(null), _ = cA(u, f, "[data-entity-state][aria-pressed=\"true\"]", `${t}:${r}`), v = cA(d, p, "[data-media-view][aria-pressed=\"true\"]", `${t}:${!!n}`);
+function Fse(e) {
+ let { view: t, views: n, state: r, states: i, tags: a, combo: o, actions: s, helpers: c } = e, l = Pse(t), u = (0, R.useRef)(null), d = (0, R.useRef)(null), f = (0, R.useRef)(null), p = (0, R.useRef)(null), m = (0, R.useRef)(null), h = (0, R.useRef)(null), g = (0, R.useRef)(null), _ = yA(u, f, "[data-entity-state][aria-pressed=\"true\"]", `${t}:${r}`), v = yA(d, p, "[data-media-view][aria-pressed=\"true\"]", `${t}:${!!n}`);
return (0, R.useEffect)(() => {
c.wireDrag(h.current), c.wireScroller(m.current), c.wireDrag(g.current);
- }, [c]), /* @__PURE__ */ (0, z.jsxs)(z.Fragment, { children: [/* @__PURE__ */ (0, z.jsx)(uA, {
+ }, [c]), /* @__PURE__ */ (0, z.jsxs)(z.Fragment, { children: [/* @__PURE__ */ (0, z.jsx)(xA, {
items: o,
hidden: !l,
actions: s
- }), /* @__PURE__ */ (0, z.jsx)(yk, {
+ }), /* @__PURE__ */ (0, z.jsx)(Pk, {
label: "筛选与排序",
topLabel: "媒体与标签",
attrs: {
@@ -34956,13 +34956,13 @@ function Kse(e) {
"data-view-glide": "round",
"aria-hidden": "true"
})] }),
- top: /* @__PURE__ */ (0, z.jsxs)(z.Fragment, { children: [n ? /* @__PURE__ */ (0, z.jsxs)(z.Fragment, { children: [/* @__PURE__ */ (0, z.jsx)(qse, {
+ top: /* @__PURE__ */ (0, z.jsxs)(z.Fragment, { children: [n ? /* @__PURE__ */ (0, z.jsxs)(z.Fragment, { children: [/* @__PURE__ */ (0, z.jsx)(Ise, {
keys: n,
view: t,
row: p,
glide: v,
onView: s.setView
- }), l ? /* @__PURE__ */ (0, z.jsx)(lA, {}) : null] }) : null, /* @__PURE__ */ (0, z.jsxs)("div", {
+ }), l ? /* @__PURE__ */ (0, z.jsx)(bA, {}) : null] }) : null, /* @__PURE__ */ (0, z.jsxs)("div", {
ref: m,
"data-entity-scroll": "",
children: [/* @__PURE__ */ (0, z.jsxs)("div", {
@@ -34982,11 +34982,11 @@ function Kse(e) {
r !== e.k && s.setState(e.k);
},
children: e.label
- }, e.k)), /* @__PURE__ */ (0, z.jsx)(lA, {})]
+ }, e.k)), /* @__PURE__ */ (0, z.jsx)(bA, {})]
}), /* @__PURE__ */ (0, z.jsx)("div", {
ref: h,
"data-entity-tags": "",
- children: l ? a.map((e) => /* @__PURE__ */ (0, z.jsxs)(bk, {
+ children: l ? a.map((e) => /* @__PURE__ */ (0, z.jsxs)(Fk, {
"data-entity-tag": e.k,
"data-entity-press": "",
pressed: e.selected,
@@ -34998,10 +34998,10 @@ function Kse(e) {
}, e.k)) : null
})]
})] }),
- bottom: /* @__PURE__ */ (0, z.jsx)(Jse, { ...e })
+ bottom: /* @__PURE__ */ (0, z.jsx)(Lse, { ...e })
})] });
}
-function qse({ keys: e, view: t, row: n, glide: r, onView: i }) {
+function Ise({ keys: e, view: t, row: n, glide: r, onView: i }) {
let a = [];
return e.people && a.push({
value: "people",
@@ -35043,7 +35043,7 @@ function qse({ keys: e, view: t, row: n, glide: r, onView: i }) {
})
});
}
-function uA({ items: e, hidden: t, actions: n }) {
+function xA({ items: e, hidden: t, actions: n }) {
return /* @__PURE__ */ (0, z.jsx)("div", {
"data-entity-combo": "",
hidden: t,
@@ -35063,7 +35063,7 @@ function uA({ items: e, hidden: t, actions: n }) {
})] }) : null
});
}
-function Jse(e) {
+function Lse(e) {
let { view: t, readout: n, busy: r, video: i, photo: a, actions: o, helpers: s } = e;
return /* @__PURE__ */ (0, z.jsxs)(z.Fragment, { children: [
t === "photos" && a?.back ? /* @__PURE__ */ (0, z.jsxs)("button", {
@@ -35075,22 +35075,22 @@ function Jse(e) {
dangerouslySetInnerHTML: { __html: l("chevron-left") }
}), /* @__PURE__ */ (0, z.jsx)("span", { children: "全部照片" })]
}) : null,
- /* @__PURE__ */ (0, z.jsx)(Yse, {
+ /* @__PURE__ */ (0, z.jsx)(Rse, {
text: n,
busy: r
}),
- t === "videos" && i ? /* @__PURE__ */ (0, z.jsx)(Xse, {
+ t === "videos" && i ? /* @__PURE__ */ (0, z.jsx)(zse, {
head: i,
actions: o
}) : null,
- t === "photos" && a ? /* @__PURE__ */ (0, z.jsx)(Zse, {
+ t === "photos" && a ? /* @__PURE__ */ (0, z.jsx)(Bse, {
head: a,
actions: o,
helpers: s
}) : null
] });
}
-function Yse({ text: e, busy: t }) {
+function Rse({ text: e, busy: t }) {
return /* @__PURE__ */ (0, z.jsx)("h3", {
"data-entity-readout": "",
children: t ? /* @__PURE__ */ (0, z.jsx)("span", {
@@ -35100,22 +35100,22 @@ function Yse({ text: e, busy: t }) {
}) : e
});
}
-function dA({ name: e, label: t, value: n, options: r, onChange: i }) {
- return /* @__PURE__ */ (0, z.jsx)(tx, {
+function SA({ name: e, label: t, value: n, options: r, onChange: i }) {
+ return /* @__PURE__ */ (0, z.jsx)(nx, {
name: e,
"aria-label": t,
orientation: "horizontal",
value: n,
onChange: i,
"data-entity-layout": "",
- className: oA,
+ className: _A,
children: r.map(([e, t, n]) => {
let r = oo(n);
- return /* @__PURE__ */ (0, z.jsx)(nx, {
+ return /* @__PURE__ */ (0, z.jsx)(rx, {
value: e,
"aria-label": t,
"data-glass-segment": "",
- className: sA,
+ className: vA,
children: /* @__PURE__ */ (0, z.jsx)("span", {
title: t,
className: "contents",
@@ -35125,7 +35125,7 @@ function dA({ name: e, label: t, value: n, options: r, onChange: i }) {
})
});
}
-function fA({ onPress: e, busy: t = !1 }) {
+function CA({ onPress: e, busy: t = !1 }) {
return /* @__PURE__ */ (0, z.jsx)("button", {
type: "button",
"data-entity-batch": "",
@@ -35139,25 +35139,25 @@ function fA({ onPress: e, busy: t = !1 }) {
dangerouslySetInnerHTML: { __html: t ? F("正在换一批") : l("shuffle") }
});
}
-function Xse({ head: e, actions: t }) {
+function zse({ head: e, actions: t }) {
return /* @__PURE__ */ (0, z.jsxs)("span", {
"data-entity-sorts": "",
children: [
- /* @__PURE__ */ (0, z.jsx)(fA, { onPress: () => void t.reshuffle() }),
- e.jav ? /* @__PURE__ */ (0, z.jsx)(dA, {
+ /* @__PURE__ */ (0, z.jsx)(CA, { onPress: () => void t.reshuffle() }),
+ e.jav ? /* @__PURE__ */ (0, z.jsx)(SA, {
label: "JAV 卡片版式",
value: e.jav.layout,
options: e.jav.options,
onChange: t.setJavLayout
}) : null,
- /* @__PURE__ */ (0, z.jsx)(pA, {
+ /* @__PURE__ */ (0, z.jsx)(wA, {
sorts: e.sorts,
onSort: t.setSort
})
]
});
}
-function pA({ sorts: e, onSort: t }) {
+function wA({ sorts: e, onSort: t }) {
return /* @__PURE__ */ (0, z.jsx)(z.Fragment, { children: e.map((e) => {
let n = oo(e.dir === "asc" ? "arrow-up" : "arrow-down");
return /* @__PURE__ */ (0, z.jsxs)("button", {
@@ -35171,20 +35171,20 @@ function pA({ sorts: e, onSort: t }) {
}, e.key);
}) });
}
-function Zse({ head: e, actions: t, helpers: n }) {
+function Bse({ head: e, actions: t, helpers: n }) {
let [r, i] = (0, R.useState)(!1), a = (0, R.useRef)(null), o = e.back ? n.sourceToolsHtml(e.setId) : "";
return (0, R.useEffect)(() => {
a.current && o && n.wireSourceTools(a.current);
}, [n, o]), /* @__PURE__ */ (0, z.jsxs)("span", {
"data-entity-sorts": "",
children: [
- e.shuffle ? /* @__PURE__ */ (0, z.jsx)(fA, {
+ e.shuffle ? /* @__PURE__ */ (0, z.jsx)(CA, {
onPress: () => {
i(!0), t.reshuffle().finally(() => i(!1));
},
busy: r
}) : null,
- /* @__PURE__ */ (0, z.jsx)(dA, {
+ /* @__PURE__ */ (0, z.jsx)(SA, {
label: "图片布局",
value: e.layout,
options: e.layouts,
@@ -35200,34 +35200,34 @@ function Zse({ head: e, actions: t, helpers: n }) {
}
//#endregion
//#region src/react/catalog-filter/catalog-filter-page.tsx
-var mA = "";
-function Qse(e) {
- let t = !e.tiers, n = ace(e.comboHost);
+var TA = "";
+function Vse(e) {
+ let t = !e.tiers, n = Jse(e.comboHost);
return /* @__PURE__ */ (0, z.jsxs)("div", {
"data-catalog-root": "",
"data-loading": t || void 0,
"data-refreshing": e.refreshing || void 0,
className: "contents",
children: [
- n ? (0, be.createPortal)(/* @__PURE__ */ (0, z.jsx)(uA, {
+ n ? (0, be.createPortal)(/* @__PURE__ */ (0, z.jsx)(xA, {
items: e.combo,
hidden: e.comboHidden,
actions: e.actions
}), n) : null,
- /* @__PURE__ */ (0, z.jsx)(tce, { ...e }),
- e.offscreen ? null : /* @__PURE__ */ (0, z.jsx)($se, { ...e })
+ /* @__PURE__ */ (0, z.jsx)(Wse, { ...e }),
+ e.offscreen ? null : /* @__PURE__ */ (0, z.jsx)(Hse, { ...e })
]
});
}
-function $se(e) {
- let { actions: t, helpers: n } = e, r = (0, R.useRef)(null), i = (0, R.useRef)(null), a = (0, R.useRef)(null), o = (0, R.useRef)(null), s = (0, R.useRef)(null), c = cA(r, i, "[data-catalog-view][aria-pressed=\"true\"]", e.state);
+function Hse(e) {
+ let { actions: t, helpers: n } = e, r = (0, R.useRef)(null), i = (0, R.useRef)(null), a = (0, R.useRef)(null), o = (0, R.useRef)(null), s = (0, R.useRef)(null), c = yA(r, i, "[data-catalog-view][aria-pressed=\"true\"]", e.state);
(0, R.useEffect)(() => {
n.wireDrag(o.current), n.wireScroller(a.current), n.wireDrag(s.current);
}, [n]);
- let l = !e.tiers, u = gA(o, e.tags, e.tiers?.key ?? "", e.tagFirst);
+ let l = !e.tiers, u = DA(o, e.tags, e.tiers?.key ?? "", e.tagFirst);
return (0, R.useLayoutEffect)(() => {
O(o.current, "tagbar");
- }, [u]), /* @__PURE__ */ (0, z.jsx)(yk, {
+ }, [u]), /* @__PURE__ */ (0, z.jsx)(Pk, {
label: "筛选与排序",
topLabel: "视图与标签",
attrs: {
@@ -35270,17 +35270,17 @@ function $se(e) {
}), /* @__PURE__ */ (0, z.jsxs)("div", {
ref: o,
"data-catalog-tags": "",
- children: [e.empty || l ? /* @__PURE__ */ (0, z.jsx)(hA, { kind: "tag" }) : null, u.map((e) => /* @__PURE__ */ (0, z.jsx)(ece, {
+ children: [e.empty || l ? /* @__PURE__ */ (0, z.jsx)(EA, { kind: "tag" }) : null, u.map((e) => /* @__PURE__ */ (0, z.jsx)(Use, {
tag: e,
onPress: t.toggleTag
}, e.k))]
})]
}),
- bottom: e.trash ? null : /* @__PURE__ */ (0, z.jsx)(rce, { ...e })
+ bottom: e.trash ? null : /* @__PURE__ */ (0, z.jsx)(Kse, { ...e })
});
}
-function ece({ tag: e, onPress: t }) {
- return /* @__PURE__ */ (0, z.jsxs)(bk, {
+function Use({ tag: e, onPress: t }) {
+ return /* @__PURE__ */ (0, z.jsxs)(Fk, {
"data-catalog-tag": e.k,
"data-entity-press": "",
pressed: e.selected,
@@ -35291,12 +35291,12 @@ function ece({ tag: e, onPress: t }) {
})]
});
}
-function tce(e) {
+function Wse(e) {
let { actions: t, helpers: n } = e, r = e.tiers ?? {
key: "",
performers: [],
studios: []
- }, i = e.empty || !e.tiers, a = (0, R.useRef)(null), o = (0, R.useRef)(null), s = (0, R.useCallback)((e) => () => t.moreTops(e), [t]), c = gA(a, r.performers, r.key, 24, i ? void 0 : s("performers")), l = gA(o, r.studios, r.key, 24, i ? void 0 : s("studios")), u = i || r.performers.length > 0, d = i || r.studios.length > 0;
+ }, i = e.empty || !e.tiers, a = (0, R.useRef)(null), o = (0, R.useRef)(null), s = (0, R.useCallback)((e) => () => t.moreTops(e), [t]), c = DA(a, r.performers, r.key, 24, i ? void 0 : s("performers")), l = DA(o, r.studios, r.key, 24, i ? void 0 : s("studios")), u = i || r.performers.length > 0, d = i || r.studios.length > 0;
return (0, R.useEffect)(() => {
n.wireDrag(a.current), n.wireDrag(o.current);
}, [
@@ -35309,7 +35309,7 @@ function tce(e) {
children: [u ? /* @__PURE__ */ (0, z.jsx)("div", {
ref: a,
"data-catalog-tier": "performers",
- children: i ? /* @__PURE__ */ (0, z.jsx)(hA, { kind: "performer" }) : c.map((e) => /* @__PURE__ */ (0, z.jsxs)("button", {
+ children: i ? /* @__PURE__ */ (0, z.jsx)(EA, { kind: "performer" }) : c.map((e) => /* @__PURE__ */ (0, z.jsxs)("button", {
type: "button",
"data-tier-performer": "",
"data-entity-kind": "performer",
@@ -35326,18 +35326,18 @@ function tce(e) {
}) : null, d ? /* @__PURE__ */ (0, z.jsx)("div", {
ref: o,
"data-catalog-tier": "studios",
- children: i ? /* @__PURE__ */ (0, z.jsx)(hA, { kind: "studio" }) : l.map((e) => /* @__PURE__ */ (0, z.jsxs)("button", {
+ children: i ? /* @__PURE__ */ (0, z.jsx)(EA, { kind: "studio" }) : l.map((e) => /* @__PURE__ */ (0, z.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, z.jsx)(nce, { studio: e }), e.name]
+ children: [/* @__PURE__ */ (0, z.jsx)(Gse, { studio: e }), e.name]
}, e.name))
}) : null]
});
}
-function nce({ studio: e }) {
+function Gse({ studio: e }) {
let [t, n] = (0, R.useState)(!1);
return /* @__PURE__ */ (0, z.jsx)("span", {
"data-tier-mark": "",
@@ -35351,7 +35351,7 @@ function nce({ studio: e }) {
}) : e.fallback
});
}
-function hA({ kind: e }) {
+function EA({ kind: e }) {
let t = Array.from({ length: 64 }, (e, t) => t);
return e === "tag" ? /* @__PURE__ */ (0, z.jsx)("span", {
"data-catalog-placeholder": "tag",
@@ -35367,32 +35367,32 @@ function hA({ kind: e }) {
children: [/* @__PURE__ */ (0, z.jsx)("span", {}), /* @__PURE__ */ (0, z.jsx)("span", { children: "\xA0" })]
}, t)) });
}
-function rce({ count: e, refreshing: t, layout: n, sorts: r, actions: i }) {
+function Kse({ count: e, refreshing: t, layout: n, sorts: r, actions: i }) {
let [a, o] = (0, R.useState)(!1);
- return /* @__PURE__ */ (0, z.jsxs)(z.Fragment, { children: [/* @__PURE__ */ (0, z.jsx)(ice, { count: e }), /* @__PURE__ */ (0, z.jsxs)("span", {
+ return /* @__PURE__ */ (0, z.jsxs)(z.Fragment, { children: [/* @__PURE__ */ (0, z.jsx)(qse, { count: e }), /* @__PURE__ */ (0, z.jsxs)("span", {
"data-entity-sorts": "",
children: [
- /* @__PURE__ */ (0, z.jsx)(fA, {
+ /* @__PURE__ */ (0, z.jsx)(CA, {
onPress: () => {
o(!0), i.reshuffle().finally(() => o(!1));
},
busy: a || t
}),
- n ? /* @__PURE__ */ (0, z.jsx)(dA, {
+ n ? /* @__PURE__ */ (0, z.jsx)(SA, {
name: n.name,
label: n.label,
value: n.value,
options: n.options,
onChange: i.setLayout
}, n.name) : null,
- /* @__PURE__ */ (0, z.jsx)(pA, {
+ /* @__PURE__ */ (0, z.jsx)(wA, {
sorts: r,
onSort: i.setSort
})
]
})] });
}
-function ice({ count: e }) {
+function qse({ count: e }) {
let t = (0, R.useRef)(null), n = (0, R.useRef)(null), r = e ? `${e.total.toLocaleString()} 个符合 · 显示 ${e.shown}` : "";
return (0, R.useLayoutEffect)(() => {
if (!e) {
@@ -35400,7 +35400,7 @@ function ice({ count: e }) {
return;
}
let i = t.current;
- i && (mA && i.dataset.popCount === void 0 && (i.dataset.popCount = mA), mA = r, k(i, r));
+ i && (TA && i.dataset.popCount === void 0 && (i.dataset.popCount = TA), TA = r, k(i, r));
}, [e, r]), e ? /* @__PURE__ */ (0, z.jsx)("span", {
ref: t,
"data-catalog-readout": "",
@@ -35416,7 +35416,7 @@ function ice({ count: e }) {
})
}, "skeleton");
}
-function ace(e) {
+function Jse(e) {
let [t, n] = (0, R.useState)(null);
return (0, R.useLayoutEffect)(() => {
if (!e) return;
@@ -35426,7 +35426,7 @@ function ace(e) {
};
}, [e]), t;
}
-function gA(e, t, n, r, i) {
+function DA(e, t, n, r, i) {
let a = () => ({
key: n,
limit: r,
@@ -35470,7 +35470,506 @@ function gA(e, t, n, r, i) {
return t?.addEventListener("scroll", f, { passive: !0 }), () => t?.removeEventListener("scroll", f);
}), l.slice(0, c.limit);
}
-function _A(e) {
+//#endregion
+//#region src/react/components/board-tabs.tsx
+function OA({ value: e }) {
+ return /* @__PURE__ */ (0, z.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 Yse = "relative z-1 flex flex-none cursor-pointer items-center whitespace-nowrap border-b-2 border-transparent px-3 py-2.5 text-body-regular text-text-secondary outline-none focus-visible:outline-2 focus-visible:-outline-offset-3 focus-visible:outline-border-focus-ring aria-selected:font-medium aria-selected:text-border-focus-ring max-board-narrow:px-2.25 max-board-narrow:text-body-2-regular";
+function kA({ tabs: e, value: t, label: n, onChange: r }) {
+ let i = (0, R.useRef)(null), a = (0, R.useRef)(null);
+ return (0, R.useLayoutEffect)(() => {
+ let e = i.current;
+ if (!e) return;
+ let t = () => {
+ let t = e.querySelector("[role=\"tab\"][aria-selected=\"true\"]");
+ !t || !t.offsetWidth || (e.style.setProperty("--tab-x", `${t.offsetLeft}px`), e.style.setProperty("--tab-width", `${t.offsetWidth}px`));
+ };
+ t();
+ let n = requestAnimationFrame(() => a.current?.setAttribute("data-ready", "")), r = new ResizeObserver(t);
+ return r.observe(e), () => {
+ cancelAnimationFrame(n), r.disconnect();
+ };
+ }, [t]), /* @__PURE__ */ (0, z.jsxs)("div", {
+ ref: i,
+ role: "tablist",
+ "aria-label": n,
+ "data-board-tab-list": "",
+ onKeyDown: (n) => {
+ let a = e.findIndex((e) => e.value === t), o = n.key === "ArrowRight" ? a + 1 : n.key === "ArrowLeft" ? a - 1 : n.key === "Home" ? 0 : n.key === "End" ? e.length - 1 : -2;
+ if (o === -2) return;
+ n.preventDefault();
+ let s = e[(o + e.length) % e.length];
+ i.current?.querySelector(`[data-tab="${s.value}"]`)?.focus(), s.value !== t && r(s.value);
+ },
+ className: "relative mb-5.5 flex flex-none gap-1 overflow-x-auto border-b border-border-button-default max-board-narrow:gap-0",
+ children: [e.map((e) => {
+ let n = e.symbol ? oo(e.symbol) : null, i = e.value === t;
+ return /* @__PURE__ */ (0, z.jsxs)("button", {
+ type: "button",
+ role: "tab",
+ "data-tab": e.value,
+ "aria-selected": i,
+ tabIndex: i ? 0 : -1,
+ className: Yse,
+ onClick: () => {
+ i || r(e.value);
+ },
+ children: [n ? /* @__PURE__ */ (0, z.jsx)(n, { className: "mr-1.5 size-4" }) : null, e.label]
+ }, e.value);
+ }), /* @__PURE__ */ (0, z.jsx)("span", {
+ ref: a,
+ "aria-hidden": !0,
+ "data-tab-indicator": "",
+ className: "pointer-events-none absolute bottom-0 left-0 z-1 h-0.5 bg-border-focus-ring"
+ })]
+ });
+}
+//#endregion
+//#region src/react/search/search.ts
+var AA = /* @__PURE__ */ new Set([
+ "performer",
+ "creator",
+ "studio",
+ "agency",
+ "series"
+]), jA = /* @__PURE__ */ new Set(["asset"]), MA = (e) => String(e ?? "").normalize("NFKC").trim().toLocaleLowerCase();
+function Xse({ 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 || MA(t).includes(MA(e)));
+ if (!e) {
+ let e = u.length ? {
+ label: "搜索记录",
+ options: u.map((e) => l({
+ type: "history",
+ value: e
+ }))
+ } : null, t = n.length ? {
+ label: "推荐",
+ options: n.map((e) => l({
+ type: "pick",
+ value: e
+ }))
+ } : null;
+ return {
+ tabs: null,
+ recent: null,
+ left: e ? [e] : [],
+ right: t ? [t] : [],
+ options: c
+ };
+ }
+ let d = r === e, f = !o && u.length ? {
+ label: "搜索记录",
+ options: u.map((e) => l({
+ type: "history",
+ value: e
+ }))
+ } : null, p = (d ? i : []).filter((e) => !o || e.kind === o), m = (e) => ({
+ kind: e.kind,
+ label: e.label,
+ options: e.items.map((t) => l({
+ type: "suggest",
+ value: t.value,
+ kind: e.kind,
+ item: t
+ }))
+ }), h = p.filter((e) => !jA.has(e.kind)).map(m), g = p.filter((e) => jA.has(e.kind)).map(m);
+ return {
+ tabs: d && a.length > 1 ? [...a] : null,
+ recent: f,
+ left: h,
+ right: g,
+ options: c
+ };
+}
+function Zse(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) => MA(t) === MA(e))).slice(0, 5);
+}
+//#endregion
+//#region src/react/search/search-page.tsx
+var Qse = () => ({
+ history: [],
+ pool: [],
+ poolRequest: 0,
+ query: "",
+ picks: [],
+ suggestFor: "",
+ groups: [],
+ tabs: [],
+ suggestRequest: 0,
+ timer: 0,
+ kind: "",
+ active: -1,
+ reveal: !1,
+ rewind: !1
+}), NA = (e) => Xse({
+ query: e.query,
+ history: e.history,
+ picks: e.picks,
+ suggestFor: e.suggestFor,
+ groups: e.groups,
+ tabs: e.tabs,
+ kind: e.kind
+}), $se = (e) => !!(e.tabs || e.recent || e.left.length || e.right.length), PA = ({ name: e }) => /* @__PURE__ */ (0, z.jsx)("svg", {
+ viewBox: "0 0 24 24",
+ "aria-hidden": "true",
+ children: /* @__PURE__ */ (0, z.jsx)("use", { href: `#i-${e}` })
+});
+function ece(e) {
+ let t = (0, R.useRef)(e);
+ t.current = e;
+ let n = (0, R.useRef)(null);
+ n.current ??= Qse();
+ let r = n.current, i = (0, R.useRef)(null), [, a] = (0, R.useReducer)((e) => e + 1, 0), o = (0, R.useRef)(null);
+ o.current ??= tce(() => t.current, r, () => i.current?.closest("[data-search-menu]") ?? null, a);
+ let s = o.current;
+ (0, R.useLayoutEffect)(() => {
+ let { input: e } = t.current, n = (e) => s.input(e), i = () => t.current.helpers.composing(), a = (e) => s.key(e), o = () => s.focus();
+ e.addEventListener("input", n), e.addEventListener("compositionend", n), e.addEventListener("compositionstart", i), e.addEventListener("keydown", a), e.addEventListener("focus", o);
+ let c = { close: s.close };
+ return t.current.expose(c), () => {
+ e.removeEventListener("input", n), e.removeEventListener("compositionend", n), e.removeEventListener("compositionstart", i), e.removeEventListener("keydown", a), e.removeEventListener("focus", o), clearTimeout(r.timer), t.current.expose(null);
+ };
+ }, [s, r]), (0, R.useLayoutEffect)(() => {
+ let e = i.current?.closest("[data-search-menu]");
+ r.rewind && e && (e.scrollTop = 0), r.rewind = !1, r.reveal && i.current?.querySelector("[data-search-option][data-active]")?.scrollIntoView({ block: "nearest" }), r.reveal = !1;
+ });
+ let c = NA(r), l = e.historyLimit, u = (t) => /* @__PURE__ */ (0, z.jsx)(rce, {
+ entry: t,
+ active: t.index === r.active,
+ helpers: e.helpers,
+ onPick: s.pick,
+ onPeek: s.peek,
+ onRemove: s.remove
+ }, `${t.type}:${t.value}:${t.index}`), d = (e) => /* @__PURE__ */ (0, z.jsxs)("section", {
+ "data-search-group": "",
+ "data-kind": e.kind,
+ children: [/* @__PURE__ */ (0, z.jsx)("h3", { children: e.label }), e.kind ? /* @__PURE__ */ (0, z.jsx)("div", {
+ "data-search-items": "",
+ children: e.options.map(u)
+ }) : e.options.map(u)]
+ }, e.kind ?? e.label);
+ return /* @__PURE__ */ (0, z.jsxs)("div", {
+ ref: i,
+ "data-search-root": "",
+ "data-history-limit": l,
+ children: [
+ c.tabs ? /* @__PURE__ */ (0, z.jsx)(nce, {
+ tabs: c.tabs,
+ kind: r.kind,
+ onPick: s.pickKind,
+ wire: e.helpers.wireScroller
+ }) : null,
+ c.recent ? d(c.recent) : null,
+ ((e, t) => e.length || t.length ? /* @__PURE__ */ (0, z.jsxs)("div", {
+ "data-search-results": "",
+ "data-split": e.length && t.length ? "" : void 0,
+ children: [e.length ? /* @__PURE__ */ (0, z.jsx)("div", {
+ "data-search-col": "",
+ children: e.map(d)
+ }) : null, t.length ? /* @__PURE__ */ (0, z.jsx)("div", {
+ "data-search-col": "",
+ children: t.map(d)
+ }) : null]
+ }) : null)(c.left, c.right)
+ ]
+ });
+}
+function tce(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 = [];
+ return;
+ }
+ try {
+ let e = await wi(`/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) => MA(e) !== MA(t))]), W("/api/search-history", { query: t }).catch(() => null));
+ }, u = async () => {
+ let n = ++t.poolRequest;
+ t.pool = [];
+ let r = i();
+ r.dataset.suggestion = "", r.placeholder = "搜索馆藏";
+ try {
+ let i = await e().helpers.pool();
+ if (n !== t.poolRequest) return;
+ t.pool = i;
+ let a = i[Math.floor(Math.random() * i.length)] || "";
+ r.dataset.suggestion = a, r.placeholder = a || "搜索馆藏";
+ } catch {}
+ }, d = async (e, n = "") => {
+ let r = ++t.suggestRequest;
+ try {
+ let i = await wi(`/api/suggest?q=${encodeURIComponent(e)}` + (n ? `&kind=${n}&limit=20` : "&limit=5"));
+ if (r !== t.suggestRequest) return;
+ t.suggestFor = i.q || "", t.groups = i.groups || [], n || (t.tabs = t.groups.map(({ kind: e, label: t, total: n }) => ({
+ kind: e,
+ label: t,
+ total: n
+ })));
+ } catch {
+ r === t.suggestRequest && (t.suggestFor = e, t.groups = []);
+ }
+ }, f = () => {
+ let e = n();
+ return !!e && !e.hidden;
+ }, p = () => {
+ let i = n();
+ i && e().helpers.dismiss(i), t.active = -1, r();
+ }, m = () => {
+ t.query = i().value.trim(), t.picks = t.query ? [] : Zse(t.pool, o()), t.active = -1;
+ let a = n();
+ a && ($se(NA(t)) ? e().helpers.present(a) : e().helpers.dismiss(a)), r();
+ }, h = () => {
+ t.active = -1, t.kind = "", clearTimeout(t.timer);
+ let e = i().value.trim();
+ e || (t.suggestFor = "", t.groups = []), f() && m(), e && (t.timer = window.setTimeout(() => void d(e).then(() => {
+ a() && m();
+ }), 150));
+ }, g = (e) => {
+ let n = i().value.trim();
+ !n || e === t.kind || (t.kind = e, clearTimeout(t.timer), m(), t.rewind = !0, d(n, e).then(() => {
+ a() && t.kind === e && m();
+ }));
+ }, _ = () => f() ? NA(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) => {
+ let r = i(), a = r.value.trim();
+ t && !a && (a = r.dataset.suggestion || "", r.value = a), n && l(a), e().actions.search(a);
+ }, b = (t, n) => {
+ i().blur(), l(n), e().actions.openEntity(t, n);
+ }, x = (t) => {
+ if (t.type === "suggest" && t.kind === "asset" && t.item.id != null) {
+ i().blur(), e().actions.openItem(t.item.id);
+ return;
+ }
+ if (t.type === "suggest" && AA.has(t.kind)) {
+ b(t.kind, t.value);
+ return;
+ }
+ i().value = t.value, y(!1, !0);
+ };
+ return {
+ input: (t) => {
+ t.isComposing || (e().helpers.typed(i()), h());
+ },
+ key: (n) => {
+ if (n.isComposing) return;
+ let r = i();
+ if (n.key === "Escape") {
+ if (f()) {
+ p(), n.preventDefault();
+ return;
+ }
+ if (r.value) {
+ e().helpers.clearField(r), t.active = -1, n.preventDefault(), h();
+ return;
+ }
+ }
+ if (n.key === "ArrowDown" || n.key === "ArrowUp") {
+ v(n.key === "ArrowDown" ? 1 : -1) && n.preventDefault();
+ return;
+ }
+ if (n.key !== "Enter") return;
+ n.preventDefault();
+ let a = _()[t.active];
+ if (p(), a) {
+ x(a), (a.type !== "suggest" || a.kind !== "asset") && r.blur();
+ return;
+ }
+ y(!0, !0), r.blur();
+ },
+ focus: () => {
+ Promise.all([c(), u()]).then(() => {
+ a() && (m(), h());
+ });
+ },
+ close: p,
+ pick: (e) => {
+ p(), x(e);
+ },
+ peek: (t) => {
+ p(), i().blur(), e().actions.openItem(t.id);
+ },
+ remove: async (e) => {
+ await W("/api/search-history", {
+ operation: "remove",
+ query: e
+ }).catch(() => null), s(o().filter((t) => MA(t) !== MA(e))), t.active = -1, r();
+ },
+ pickKind: g
+ };
+}
+function nce({ tabs: e, kind: t, onPick: n, wire: r }) {
+ let i = (0, R.useRef)(null);
+ (0, R.useLayoutEffect)(() => {
+ r(i.current);
+ }, [r, e]);
+ let a = (e, r, i) => /* @__PURE__ */ (0, z.jsxs)("button", {
+ type: "button",
+ role: "tab",
+ "data-suggest-kind": e,
+ "aria-selected": t === e,
+ onMouseDown: (e) => e.preventDefault(),
+ onClick: () => n(e),
+ children: [r, i ? /* @__PURE__ */ (0, z.jsx)(OA, { value: i }) : null]
+ }, e || "all");
+ return /* @__PURE__ */ (0, z.jsxs)("div", {
+ ref: i,
+ "data-search-tabs": "",
+ role: "tablist",
+ "aria-label": "按种类看补全",
+ children: [a("", "全部"), e.map((e) => a(e.kind, e.label, e.total))]
+ });
+}
+var FA = (e) => e.preventDefault();
+function rce({ entry: e, active: t, helpers: n, onPick: r, onPeek: i, onRemove: a }) {
+ let o = {
+ "data-search-value": e.value,
+ "data-active": t ? "" : void 0,
+ onClick: (t) => {
+ t.target.closest("[data-remove-history]") || r(e);
+ }
+ };
+ if (e.type !== "suggest") return /* @__PURE__ */ (0, z.jsxs)("div", {
+ "data-search-option": "",
+ ...o,
+ children: [
+ /* @__PURE__ */ (0, z.jsx)(PA, { name: e.type === "history" ? "history" : "sparkles" }),
+ /* @__PURE__ */ (0, z.jsx)("span", { children: e.value }),
+ e.type === "history" ? /* @__PURE__ */ (0, z.jsx)("button", {
+ type: "button",
+ "data-remove-history": e.value,
+ "aria-label": `删除历史 ${e.value}`,
+ onMouseDown: FA,
+ onClick: (t) => {
+ t.stopPropagation(), a(e.value);
+ },
+ children: /* @__PURE__ */ (0, z.jsx)(PA, { name: "x" })
+ }) : null
+ ]
+ });
+ let { item: s, kind: c } = e, l = AA.has(c) ? c : void 0;
+ if (c === "asset") {
+ let e = [s.who, s.code ? s.title : ""].filter(Boolean).join(" · ");
+ return /* @__PURE__ */ (0, z.jsxs)("div", {
+ "data-search-option": "work",
+ "data-open-item": s.id,
+ ...o,
+ children: [/* @__PURE__ */ (0, z.jsx)(IA, {
+ card: s.card,
+ helpers: n
+ }), /* @__PURE__ */ (0, z.jsxs)("span", {
+ "data-search-meta": "",
+ children: [/* @__PURE__ */ (0, z.jsx)("span", {
+ "data-search-name": "",
+ children: s.value
+ }), /* @__PURE__ */ (0, z.jsx)("span", {
+ "data-search-sub": "",
+ children: e
+ })]
+ })]
+ });
+ }
+ let u = s.matched ? /* @__PURE__ */ (0, z.jsx)("span", {
+ "data-search-matched": "",
+ children: s.matched
+ }) : null;
+ if (c === "performer" || c === "creator") {
+ let e = s.works ?? [], t = [`${(s.n ?? 0).toLocaleString()} 个视频`, s.agency].filter(Boolean).join(" · ");
+ return /* @__PURE__ */ (0, z.jsxs)("div", {
+ "data-search-option": "person",
+ "data-open-entity": l,
+ ...o,
+ children: [
+ /* @__PURE__ */ (0, z.jsx)(LA, {
+ item: s,
+ kind: c,
+ helpers: n
+ }),
+ /* @__PURE__ */ (0, z.jsxs)("span", {
+ "data-search-meta": "",
+ children: [/* @__PURE__ */ (0, z.jsxs)("span", {
+ "data-search-name": "",
+ children: [/* @__PURE__ */ (0, z.jsx)("span", { children: s.value }), u]
+ }), /* @__PURE__ */ (0, z.jsx)("span", {
+ "data-search-sub": "",
+ children: t
+ })]
+ }),
+ e.length ? /* @__PURE__ */ (0, z.jsx)("span", {
+ "data-search-peeks": "",
+ children: e.map((e) => /* @__PURE__ */ (0, z.jsx)("button", {
+ type: "button",
+ "data-open-work": e.id,
+ "aria-label": `打开 ${e.code || s.value}`,
+ onMouseDown: FA,
+ onClick: (t) => {
+ t.stopPropagation(), i(e);
+ },
+ children: /* @__PURE__ */ (0, z.jsx)(IA, {
+ card: e,
+ helpers: n
+ })
+ }, e.id))
+ }) : null
+ ]
+ });
+ }
+ return /* @__PURE__ */ (0, z.jsxs)("div", {
+ "data-search-option": "",
+ "data-open-entity": l,
+ ...o,
+ children: [
+ c === "studio" || c === "agency" ? /* @__PURE__ */ (0, z.jsx)(LA, {
+ item: s,
+ kind: c,
+ helpers: n
+ }) : null,
+ /* @__PURE__ */ (0, z.jsx)("span", { children: s.value }),
+ u,
+ s.n ? /* @__PURE__ */ (0, z.jsx)("span", {
+ "data-search-n": "",
+ children: s.n.toLocaleString()
+ }) : null
+ ]
+ });
+}
+function IA({ card: e, helpers: t }) {
+ return /* @__PURE__ */ (0, z.jsx)("span", {
+ "data-search-pic": "",
+ dangerouslySetInnerHTML: { __html: t.coverHtml(e) }
+ });
+}
+function LA({ item: e, kind: t, helpers: n }) {
+ return /* @__PURE__ */ (0, z.jsx)("span", {
+ "data-search-face": "",
+ "data-kind": t,
+ dangerouslySetInnerHTML: { __html: n.faceHtml(e, t) }
+ });
+}
+function RA(e) {
return {
x0: 0,
y0: 0,
@@ -35478,7 +35977,7 @@ function _A(e) {
y1: e.height
};
}
-function vA(e) {
+function zA(e) {
return {
x0: Math.round(e.x0),
y0: Math.round(e.y0),
@@ -35486,40 +35985,40 @@ function vA(e) {
y1: Math.round(e.y1)
};
}
-function yA(e) {
+function BA(e) {
return !!e && Number.isFinite(e.width) && Number.isFinite(e.height) && e.width > 0 && e.height > 0;
}
-function bA(e, t) {
- if (!yA(e)) return {
+function VA(e, t) {
+ if (!BA(e)) return {
x0: 0,
y0: 0,
x1: 0,
y1: 0
};
- if (t == null || !(t > 0)) return _A(e);
+ if (t == null || !(t > 0)) return RA(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 vA({
+ return zA({
x0: i,
y0: a,
x1: i + n,
y1: a + r
});
}
-function oce(e, t) {
- if (!yA(e) || !(t > 0)) return _A(e);
+function ice(e, t) {
+ if (!BA(e) || !(t > 0)) return RA(e);
let n = Math.min(e.width, e.height * t);
- return vA({
+ return zA({
x0: e.width - n,
y0: 0,
x1: e.width,
y1: e.height
});
}
-function sce(e, t, n) {
- if (!yA(t) || !(n > 0)) return _A(t);
- let r = xA(e, t), i = bA({
+function ace(e, t, n) {
+ if (!BA(t) || !(n > 0)) return RA(t);
+ let r = HA(e, t), i = VA({
width: r.x1 - r.x0,
height: r.y1 - r.y0
}, n);
@@ -35530,8 +36029,8 @@ function sce(e, t, n) {
y1: r.y0 + i.y1
};
}
-function xA(e, t, n = null, r = "width") {
- if (!yA(t)) return {
+function HA(e, t, n = null, r = "width") {
+ if (!BA(t)) return {
x0: 0,
y0: 0,
x1: 0,
@@ -35540,43 +36039,43 @@ function xA(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 vA({
+ return zA({
x0: s,
y0: c,
x1: s + a,
y1: c + o
});
}
-function SA(e, t, n, r) {
+function UA(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 vA({
+ return zA({
x0: o,
y0: s,
x1: o + i,
y1: s + a
});
}
-function CA(e, t, n, r = null) {
- if (!yA(n) || !(t > 0)) return e;
+function WA(e, t, n, r = null) {
+ if (!BA(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 xA({
+ return HA({
x0: i - o / 2,
y0: a - s / 2,
x1: i + o / 2,
y1: a + s / 2
}, n, r);
}
-function cce(e, t, n, r, i = null) {
+function GA(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 xA(a, r, i, (a.x1 - a.x0) / Math.max(1, a.y1 - a.y0) > (i ?? 1) ? "height" : "width");
+ return HA(a, r, i, (a.x1 - a.x0) / Math.max(1, a.y1 - a.y0) > (i ?? 1) ? "height" : "width");
}
-function lce(e, t) {
- return yA(t) ? {
+function KA(e, t) {
+ return BA(t) ? {
left: e.x0 / t.width * 100,
top: e.y0 / t.height * 100,
width: (e.x1 - e.x0) / t.width * 100,
@@ -35588,8 +36087,8 @@ function lce(e, t) {
height: 0
};
}
-function uce(e, t) {
- if (!yA(t)) return {
+function qA(e, t) {
+ if (!BA(t)) return {
size: "cover",
position: "50% 50%"
};
@@ -35599,7 +36098,7 @@ function uce(e, t) {
position: `${i(e.x0, t.width, n)}% ${i(e.y0, t.height, r)}%`
};
}
-function dce(e, t) {
+function JA(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}%`,
@@ -35608,17 +36107,17 @@ function dce(e, t) {
height: `${t.height / r * 100}%`
};
}
-function wA(e, t, n) {
+function YA(e, t, n) {
return t > 0 ? e * n / t : 0;
}
//#endregion
//#region src/react/components/modal-frame.tsx
-var fce = {
+var XA = {
"avatar-picker": "max-w-avatar-picker",
"cover-crop": "max-w-cover-crop",
form: "max-w-form-modal"
};
-function TA({ isOpen: e, onOpenChange: t, width: n, label: r, children: i }) {
+function ZA({ isOpen: e, onOpenChange: t, width: n, label: r, children: i }) {
let { isFocusVisible: a } = Vd();
return /* @__PURE__ */ (0, z.jsx)(Zb, {
isOpen: e,
@@ -35627,10 +36126,10 @@ function TA({ isOpen: e, onOpenChange: t, width: n, label: r, children: i }) {
"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, z.jsx)(_te, {
+ children: /* @__PURE__ */ (0, z.jsx)(Yb, {
"data-modal-surface": "",
- className: `flex max-h-full w-full ${fce[n]} flex-col overflow-hidden rounded-2-5xl border border-separator-border bg-background-full shadow-dropdown`,
- children: /* @__PURE__ */ (0, z.jsx)(ub, {
+ className: `flex max-h-full w-full ${XA[n]} flex-col overflow-hidden rounded-2-5xl border border-separator-border bg-background-full shadow-dropdown`,
+ children: /* @__PURE__ */ (0, z.jsx)(tb, {
"aria-label": r,
className: "flex min-h-0 flex-col outline-none",
children: i
@@ -35638,7 +36137,7 @@ function TA({ isOpen: e, onOpenChange: t, width: n, label: r, children: i }) {
})
});
}
-function EA({ children: e }) {
+function QA({ children: e }) {
return /* @__PURE__ */ (0, z.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",
@@ -35647,8 +36146,8 @@ function EA({ children: e }) {
}
//#endregion
//#region src/react/crop/crop-frame.tsx
-var pce = .02, DA = 1.08;
-function OA({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: o }) {
+var $A = .02, ej = 1.08;
+function tj({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: o }) {
let s = (0, R.useRef)(null), c = (0, R.useRef)(null), [l, u] = (0, R.useState)(!1);
(0, R.useEffect)(() => {
u(!1);
@@ -35659,8 +36158,8 @@ function OA({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: o
dx: 0,
dy: 0
} : {
- dx: wA(e, n.clientWidth, r.width),
- dy: wA(t, n.clientHeight, r.height)
+ dx: YA(e, n.clientWidth, r.width),
+ dy: YA(t, n.clientHeight, r.height)
};
}, [r]);
function f(e) {
@@ -35678,29 +36177,29 @@ function OA({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: o
if (!n || !a || !r) return;
let o = d(e.clientX - n.x, e.clientY - n.y);
if (n.mode === "move") {
- i(SA(n.box, o.dx, o.dy, r));
+ i(UA(n.box, o.dx, o.dy, r));
return;
}
- i(cce(n.box, n.box.x0 + (n.box.x1 - n.box.x0) + o.dx, n.box.y0 + (n.box.y1 - n.box.y0) + o.dy, r, t));
+ i(GA(n.box, n.box.x0 + (n.box.x1 - n.box.x0) + o.dx, n.box.y0 + (n.box.y1 - n.box.y0) + o.dy, r, t));
}
function m(e) {
c.current && (c.current = null, e.currentTarget.hasPointerCapture(e.pointerId) && e.currentTarget.releasePointerCapture(e.pointerId));
}
function h(e) {
if (!n || !r) return;
- let a = Math.max(1, (n.x1 - n.x0) * pce), o = {
+ let a = Math.max(1, (n.x1 - n.x0) * $A), o = {
ArrowLeft: [-a, 0],
ArrowRight: [a, 0],
ArrowUp: [0, -a],
ArrowDown: [0, a]
};
if (o[e.key]) {
- e.preventDefault(), i(SA(n, o[e.key][0], o[e.key][1], r));
+ e.preventDefault(), i(UA(n, o[e.key][0], o[e.key][1], r));
return;
}
- (e.key === "+" || e.key === "=" || e.key === "-") && (e.preventDefault(), i(CA(n, e.key === "-" ? 1 / DA : DA, r, t)));
+ (e.key === "+" || e.key === "=" || e.key === "-") && (e.preventDefault(), i(WA(n, e.key === "-" ? 1 / ej : ej, r, t)));
}
- let g = n && r ? lce(xA(n, r, t), r) : null, _ = g ? {
+ let g = n && r ? KA(HA(n, r, t), r) : null, _ = g ? {
"--crop-l": `${g.left}%`,
"--crop-t": `${g.top}%`,
"--crop-w": `${g.width}%`,
@@ -35719,7 +36218,7 @@ function OA({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: o
draggable: !1,
onLoad: (e) => {
let t = e.currentTarget;
- yA({
+ BA({
width: t.naturalWidth,
height: t.naturalHeight
}) && a({
@@ -35758,7 +36257,7 @@ function OA({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: o
onPointerCancel: m,
onKeyDown: h,
onWheel: (e) => {
- !n || !r || i(CA(n, e.deltaY > 0 ? DA : 1 / DA, r, t));
+ !n || !r || i(WA(n, e.deltaY > 0 ? ej : 1 / ej, 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, z.jsx)("span", {
@@ -35780,29 +36279,29 @@ function OA({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: o
}
//#endregion
//#region src/react/avatar-picker/avatar-picker.ts
-var mce = "/api/avatar-choices", kA = "/api/avatar-pick", hce = "/api/avatar-code-cover", gce = "/avatar-choice", AA = (e, t) => [
+var nj = "/api/avatar-choices", rj = "/api/avatar-pick", ij = "/api/avatar-code-cover", aj = "/avatar-choice", oj = (e, t) => [
"avatar-choices",
e,
t
-], jA = (e, t) => `?kind=${encodeURIComponent(e)}&id=${t}`, MA = (e, t, n) => `${gce}${jA(e, t)}&ref=${encodeURIComponent(n)}`, _ce = (e, t, n) => wi(mce + jA(e, t), n), vce = (e) => W(hce, { code: e });
-function NA(e, t, n) {
+], sj = (e, t) => `?kind=${encodeURIComponent(e)}&id=${t}`, cj = (e, t, n) => `${aj}${sj(e, t)}&ref=${encodeURIComponent(n)}`, lj = (e, t, n) => wi(nj + sj(e, t), n), uj = (e) => W(ij, { code: e });
+function dj(e, t, n) {
let r = t.width === e.width && t.height === e.height;
- return e.focus && r ? sce(e.focus, t, n) : bA(t, n);
+ return e.focus && r ? ace(e.focus, t, n) : VA(t, n);
}
-var PA = (e) => e.crop && yA({
+var fj = (e) => e.crop && BA({
width: e.width,
height: e.height
});
-async function FA(e, t, n) {
+async function pj(e, t, n) {
if (!("file" in n)) {
- await W(kA, {
+ await W(rj, {
kind: e,
id: t,
...n
});
return;
}
- let r = n.file, i = await fetch(`${kA}${jA(e, t)}&name=${encodeURIComponent(r.name)}`, {
+ let r = n.file, i = await fetch(`${rj}${sj(e, t)}&name=${encodeURIComponent(r.name)}`, {
method: "POST",
credentials: "same-origin",
body: r
@@ -35811,30 +36310,30 @@ async function FA(e, t, n) {
let a = await i.json().catch(() => null);
throw new Si(a?.error || `请求失败(${i.status})`, i.status, a);
}
-function IA(e, t) {
+function mj(e, t) {
if (!t) return e;
let n = t.matched_names.filter((t) => t !== e);
return n.length ? `${e}:图库里按「${n.join("」「")}」找到的。` : t.choices.length ? `${e}:换上的那张留在本机,随时能换回来。` : `${e}:图库里没有这个名字,用下面两种方式换。`;
}
-var LA = (e) => e < 48 ? `${Math.max(1, Math.round(e))} 小时` : `${Math.floor(e / 24)} 天`;
-function RA(e) {
- return !e || !e.index_stale || e.choices.some((e) => e.source === "gfriends") ? "" : e.index_age_hours === null ? "图库索引还没取过,只能从用过的图里选。" : `图库索引 ${LA(e.index_age_hours)}没更新,新收的人像这里还查不到。`;
+var hj = (e) => e < 48 ? `${Math.max(1, Math.round(e))} 小时` : `${Math.floor(e / 24)} 天`;
+function gj(e) {
+ return !e || !e.index_stale || e.choices.some((e) => e.source === "gfriends") ? "" : e.index_age_hours === null ? "图库索引还没取过,只能从用过的图里选。" : `图库索引 ${hj(e.index_age_hours)}没更新,新收的人像这里还查不到。`;
}
-var zA = (e) => e.cast > 1, BA = (e) => zA(e) ? `${e.label}:${e.cast} 人合演,先找到她自己的脸,再拖动方框选一块。` : `${e.label}:拖动方框选一块,滚轮或角上那枚方块改大小。`, VA = {
+var _j = (e) => e.cast > 1, vj = (e) => _j(e) ? `${e.label}:${e.cast} 人合演,先找到她自己的脸,再拖动方框选一块。` : `${e.label}:拖动方框选一块,滚轮或角上那枚方块改大小。`, yj = {
gfriends: "图库",
history: "用过的",
asset: "作品画面",
code: "番号封面"
};
-function HA(e) {
+function bj(e) {
if (e.startsWith("cover:")) return "封面";
let t = e.split(":")[2] || "";
if (t === "cover") return "封面";
let n = Number(t.replace("cell", ""));
return Number.isFinite(n) ? `第 ${n + 1} 格` : t;
}
-var UA = (e) => `${VA[e.source] || e.source} · ${e.label}` + (e.width ? ` · ${e.width}×${e.height}` : "") + (zA(e) ? ` · ${e.cast} 人合演` : "") + (e.found_by ? ` · 按「${e.found_by}」找到` : ""), WA = 8, GA = 3 / 4;
-function KA({ kind: e, entityId: t, name: n, onPicked: r }) {
+var xj = (e) => `${yj[e.source] || e.source} · ${e.label}` + (e.width ? ` · ${e.width}×${e.height}` : "") + (_j(e) ? ` · ${e.cast} 人合演` : "") + (e.found_by ? ` · 按「${e.found_by}」找到` : ""), Sj = 8, Cj = 3 / 4;
+function wj({ kind: e, entityId: t, name: n, onPicked: r }) {
let [i, a] = (0, R.useState)(!1);
return /* @__PURE__ */ (0, z.jsxs)(z.Fragment, { children: [/* @__PURE__ */ (0, z.jsx)("span", {
className: "absolute right-1 bottom-1 z-10",
@@ -35849,12 +36348,12 @@ function KA({ kind: e, entityId: t, name: n, onPicked: r }) {
className: "size-4"
})
})
- }), /* @__PURE__ */ (0, z.jsx)(TA, {
+ }), /* @__PURE__ */ (0, z.jsx)(ZA, {
isOpen: i,
onOpenChange: a,
width: "avatar-picker",
label: "更换头像",
- children: /* @__PURE__ */ (0, z.jsx)(qA, {
+ children: /* @__PURE__ */ (0, z.jsx)(Tj, {
kind: e,
entityId: t,
name: n,
@@ -35863,33 +36362,33 @@ function KA({ kind: e, entityId: t, name: n, onPicked: r }) {
})
})] });
}
-function qA({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
- let a = (0, R.useRef)(null), o = vO(), [s, c] = (0, R.useState)(""), [l, u] = (0, R.useState)(""), [d, f] = (0, R.useState)(""), [p, m] = (0, R.useState)(null), h = AA(e, t), g = (0, R.useRef)(!1), _ = Nn({
+function Tj({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
+ let a = (0, R.useRef)(null), o = zO(), [s, c] = (0, R.useState)(""), [l, u] = (0, R.useState)(""), [d, f] = (0, R.useState)(""), [p, m] = (0, R.useState)(null), h = oj(e, t), g = (0, R.useRef)(!1), _ = Nn({
queryKey: h,
- queryFn: ({ signal: n }) => _ce(e, t, n),
+ queryFn: ({ signal: n }) => lj(e, t, n),
retryOnMount: !0
});
(0, R.useEffect)(() => () => {
- g.current && q.removeQueries({ queryKey: AA(e, t) });
+ g.current && q.removeQueries({ queryKey: oj(e, t) });
}, [e, t]);
let v = Pn({
- mutationFn: (n) => FA(e, t, n),
+ mutationFn: (n) => pj(e, t, n),
onSuccess: () => {
g.current = !0, i(), r();
}
}), y = Pn({
- mutationFn: (e) => vce(e),
+ mutationFn: (e) => uj(e),
onSuccess: (e) => m(e)
});
function b(e) {
let t = e.currentTarget, n = t.files?.[0];
t.value = "", f(""), n && v.mutate({ file: n });
}
- let x = _.data, S = x?.choices ?? [], C = d || (v.error ? U(v.error) : "") || (!p && y.error ? U(y.error) : "") || (_.error ? U(_.error) : ""), w = v.isPending || y.isPending, T = p ? "" : RA(x);
+ let x = _.data, S = x?.choices ?? [], C = d || (v.error ? U(v.error) : "") || (!p && y.error ? U(y.error) : "") || (_.error ? U(_.error) : ""), w = v.isPending || y.isPending, T = p ? "" : gj(x);
return /* @__PURE__ */ (0, z.jsxs)(z.Fragment, { children: [/* @__PURE__ */ (0, z.jsxs)("div", {
className: "flex shrink-0 items-start gap-4 p-5",
children: [
- /* @__PURE__ */ (0, z.jsx)(EA, { children: /* @__PURE__ */ (0, z.jsx)(nt, { className: "size-6" }) }),
+ /* @__PURE__ */ (0, z.jsx)(QA, { children: /* @__PURE__ */ (0, z.jsx)(nt, { className: "size-6" }) }),
/* @__PURE__ */ (0, z.jsxs)("div", {
className: "flex min-w-0 flex-1 flex-col gap-2",
children: [
@@ -35906,7 +36405,7 @@ function qA({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
}),
/* @__PURE__ */ (0, z.jsx)("p", {
className: "text-body-2-regular text-text-secondary",
- children: p ? BA(p) : IA(n, x)
+ children: p ? vj(p) : mj(n, x)
}),
T ? /* @__PURE__ */ (0, z.jsx)(G, {
tone: "neutral",
@@ -35918,14 +36417,14 @@ function qA({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
}) : null
]
}),
- /* @__PURE__ */ (0, z.jsx)(bO, {
+ /* @__PURE__ */ (0, z.jsx)(VO, {
icon: je,
size: "small",
"aria-label": "关闭",
onClick: i
})
]
- }), p ? /* @__PURE__ */ (0, z.jsx)(YA, {
+ }), p ? /* @__PURE__ */ (0, z.jsx)(Dj, {
kind: e,
entityId: t,
choice: p,
@@ -35948,7 +36447,7 @@ function qA({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
"aria-busy": _.isPending || void 0,
"data-skeleton": _.isPending ? "avatar-choices" : void 0,
className: "inline-grid grid-cols-3 content-start gap-2 sm:grid-cols-4",
- children: _.isPending ? Array.from({ length: WA }, (e, t) => /* @__PURE__ */ (0, z.jsxs)("span", {
+ children: _.isPending ? Array.from({ length: Sj }, (e, t) => /* @__PURE__ */ (0, z.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",
@@ -35961,15 +36460,15 @@ function qA({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
role: "option",
"data-avatar-choice": !0,
"aria-selected": n.current,
- title: UA(n),
+ title: xj(n),
...K(w),
onClick: () => {
w || (n.crop ? m(n) : v.mutate({ ref: n.ref }));
},
className: "relative flex cursor-pointer flex-col gap-1 overflow-hidden rounded-2lg border border-separator-border bg-background-secondary-default pb-1 text-center text-caption-1-regular text-text-secondary outline-none hover:border-border-button-hover hover:text-text-primary focus-visible:ring-2 focus-visible:ring-border-focus-ring aria-selected:border-border-focus-ring aria-selected:bg-background-tertiary-default aria-selected:text-text-primary aria-disabled:cursor-progress aria-disabled:opacity-60",
children: [
- /* @__PURE__ */ (0, z.jsx)(JA, {
- src: MA(e, t, n.ref),
+ /* @__PURE__ */ (0, z.jsx)(Ej, {
+ src: cj(e, t, n.ref),
choice: n
}),
/* @__PURE__ */ (0, z.jsx)("span", {
@@ -35984,7 +36483,7 @@ function qA({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
children: "在用"
})
}) : null,
- zA(n) ? /* @__PURE__ */ (0, z.jsx)("span", {
+ _j(n) ? /* @__PURE__ */ (0, z.jsx)("span", {
className: "absolute top-1 right-1",
children: /* @__PURE__ */ (0, z.jsxs)(yi, {
variant: "caption",
@@ -36005,7 +36504,7 @@ function qA({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
},
children: [/* @__PURE__ */ (0, z.jsx)("div", {
className: "min-w-0 flex-1",
- children: /* @__PURE__ */ (0, z.jsx)(ck, {
+ children: /* @__PURE__ */ (0, z.jsx)(Ek, {
"aria-label": "番号",
placeholder: "番号,如 ABW-232",
value: l,
@@ -36040,7 +36539,7 @@ function qA({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
className: "flex min-w-0 flex-1 items-center gap-2",
children: [/* @__PURE__ */ (0, z.jsx)("div", {
className: "min-w-0 flex-1",
- children: /* @__PURE__ */ (0, z.jsx)(ck, {
+ children: /* @__PURE__ */ (0, z.jsx)(Ek, {
type: "url",
"aria-label": "图片地址",
placeholder: "https://…",
@@ -36060,7 +36559,7 @@ function qA({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
})]
})] })] });
}
-function JA({ src: e, choice: t }) {
+function Ej({ src: e, choice: t }) {
let n = (0, R.useRef)(null), [r, i] = (0, R.useState)(!1);
(0, R.useEffect)(() => {
n.current?.complete && n.current.naturalWidth && i(!0);
@@ -36068,7 +36567,7 @@ function JA({ src: e, choice: t }) {
let a = {
width: t.width,
height: t.height
- }, o = PA(t) ? dce(NA(t, a, GA), a) : null, s = r ? !0 : void 0;
+ }, o = fj(t) ? JA(dj(t, a, Cj), a) : null, s = r ? !0 : void 0;
return /* @__PURE__ */ (0, z.jsxs)("span", {
className: "relative block w-full aspect-avatar-choice overflow-hidden",
children: [/* @__PURE__ */ (0, z.jsx)("img", {
@@ -36093,23 +36592,23 @@ function JA({ src: e, choice: t }) {
})]
});
}
-function YA({ kind: e, entityId: t, choice: n, busy: r, back: i, confirm: a }) {
- let o = n.bases.length ? n.bases : [n.ref], [s, c] = (0, R.useState)(o[0]), [l, u] = (0, R.useState)(null), [d, f] = (0, R.useState)(null), p = MA(e, t, s), m = vO();
+function Dj({ kind: e, entityId: t, choice: n, busy: r, back: i, confirm: a }) {
+ let o = n.bases.length ? n.bases : [n.ref], [s, c] = (0, R.useState)(o[0]), [l, u] = (0, R.useState)(null), [d, f] = (0, R.useState)(null), p = cj(e, t, s), m = zO();
function h(e) {
c(e), u(null), f(null);
}
- let g = d && l ? uce(d, l) : null;
+ let g = d && l ? qA(d, l) : null;
return /* @__PURE__ */ (0, z.jsxs)(z.Fragment, { children: [/* @__PURE__ */ (0, z.jsxs)("div", {
ref: m,
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, z.jsx)(OA, {
+ children: [/* @__PURE__ */ (0, z.jsx)(tj, {
src: p,
aspect: 1,
box: d,
size: l,
label: `${n.label} 的头像取景框`,
onSize: (e) => {
- u(e), yA(e) && f(s === n.ref ? NA(n, e, 1) : bA(e, 1));
+ u(e), BA(e) && f(s === n.ref ? dj(n, e, 1) : VA(e, 1));
},
onBox: f
}), o.length > 1 ? /* @__PURE__ */ (0, z.jsx)("div", {
@@ -36123,7 +36622,7 @@ function YA({ kind: e, entityId: t, choice: n, busy: r, back: i, confirm: a }) {
"data-crop-base": !0,
onClick: () => h(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: HA(e)
+ children: bj(e)
}, e))
}) : null]
}), /* @__PURE__ */ (0, z.jsxs)("div", {
@@ -36157,12 +36656,12 @@ function YA({ kind: e, entityId: t, choice: n, busy: r, back: i, confirm: a }) {
}
//#endregion
//#region src/react/entity-hero/glyph.tsx
-var XA = {
+var Oj = {
"text-aa": 1.435,
"mark-javdb": 326 / 111
};
-function ZA({ name: e }) {
- let t = XA[e];
+function kj({ name: e }) {
+ let t = Oj[e];
return /* @__PURE__ */ (0, z.jsx)("svg", {
viewBox: t ? `0 0 ${(24 * t).toFixed(2)} 24` : "0 0 24 24",
"aria-hidden": "true",
@@ -36172,19 +36671,19 @@ function ZA({ name: e }) {
}
//#endregion
//#region src/react/entity-hero/hero-pop.tsx
-function QA(e, t) {
+function Aj(e, t) {
let n = e.getBoundingClientRect(), r = t.getBoundingClientRect();
t.style.left = `${Math.max(8, Math.min(innerWidth - r.width - 8, n.left))}px`;
let i = n.bottom + 8;
t.style.top = `${i + r.height <= innerHeight - 8 ? i : Math.max(8, n.top - r.height - 8)}px`;
}
-var $A = (e) => !!e?.isConnected && e.matches(":popover-open");
-function ej(e, t, n, r) {
+var jj = (e) => !!e?.isConnected && e.matches(":popover-open");
+function Mj(e, t, n, r) {
let i = (0, R.useRef)(r);
i.current = r, (0, R.useEffect)(() => {
if (!e) return;
let r = () => {
- t.current && $A(n.current) ? QA(t.current, n.current) : i.current();
+ t.current && jj(n.current) ? Aj(t.current, n.current) : i.current();
};
return addEventListener("scroll", r, {
capture: !0,
@@ -36198,17 +36697,17 @@ function ej(e, t, n, r) {
n
]);
}
-function tj({ id: e, rest: t, label: n, heading: r, hook: i, children: a }) {
+function Nj({ id: e, rest: t, label: n, heading: r, hook: i, children: a }) {
let o = (0, R.useRef)(null), s = (0, R.useRef)(null), [c, l] = (0, R.useState)(!1), u = (0, R.useRef)(!1), d = (0, R.useRef)(0), f = () => {
- clearTimeout(d.current), u.current = !1, $A(s.current) && s.current.hidePopover(), l(!1);
+ clearTimeout(d.current), u.current = !1, jj(s.current) && s.current.hidePopover(), l(!1);
}, p = () => {
- clearTimeout(d.current), !(!s.current || !o.current || $A(s.current)) && (s.current.showPopover(), QA(o.current, s.current), l(!0));
+ clearTimeout(d.current), !(!s.current || !o.current || jj(s.current)) && (s.current.showPopover(), Aj(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 ej(c, o, s, f), (0, R.useEffect)(() => {
+ return Mj(c, o, s, f), (0, R.useEffect)(() => {
if (!c) return;
let e = (e) => {
let t = e.target;
@@ -36234,7 +36733,7 @@ function tj({ id: e, rest: t, label: n, heading: r, hook: i, children: a }) {
u.current ? f() : (p(), u.current = !0);
},
onKeyDown: (e) => {
- e.key === "Escape" && $A(s.current) && (e.preventDefault(), f());
+ e.key === "Escape" && jj(s.current) && (e.preventDefault(), f());
},
children: ["+", t]
}), /* @__PURE__ */ (0, z.jsxs)("div", {
@@ -36252,16 +36751,16 @@ function tj({ id: e, rest: t, label: n, heading: r, hook: i, children: a }) {
}), a]
})] });
}
-function nj({ following: e, busy: t, onToggle: n, tip: r }) {
+function Pj({ following: e, busy: t, onToggle: n, tip: r }) {
let i = (0, R.useRef)(null), a = (0, R.useRef)(null), o = (0, R.useRef)(null), [s, c] = (0, R.useState)(!1), l = (0, R.useRef)(!1), u = () => {
- $A(o.current) && o.current.hidePopover(), c(!1);
+ jj(o.current) && o.current.hidePopover(), c(!1);
}, d = () => {
- l.current || !o.current || !i.current || $A(o.current) || (o.current.showPopover(), QA(i.current, o.current), c(!0));
+ l.current || !o.current || !i.current || jj(o.current) || (o.current.showPopover(), Aj(i.current, o.current), c(!0));
}, f = () => {
l.current = !1, u();
};
- return ej(s, i, o, () => c(!1)), (0, R.useEffect)(() => {
- i.current && $A(o.current) && QA(i.current, o.current);
+ return Mj(s, i, o, () => c(!1)), (0, R.useEffect)(() => {
+ i.current && jj(o.current) && Aj(i.current, o.current);
}, [r]), /* @__PURE__ */ (0, z.jsxs)("label", {
ref: i,
"data-entry-feed": "",
@@ -36270,7 +36769,7 @@ function nj({ following: e, busy: t, onToggle: n, tip: r }) {
a.current?.matches(":focus-visible") || f();
},
children: [
- /* @__PURE__ */ (0, z.jsx)(ZA, { name: "rss" }),
+ /* @__PURE__ */ (0, z.jsx)(kj, { name: "rss" }),
/* @__PURE__ */ (0, z.jsx)("input", {
ref: a,
type: "checkbox",
@@ -36305,29 +36804,29 @@ function nj({ following: e, busy: t, onToggle: n, tip: r }) {
}
//#endregion
//#region src/react/entity-hero/name-picker.tsx
-function rj({ current: e, choices: t, onChoose: n, onAddAlias: r }) {
+function Fj({ current: e, choices: t, onChoose: n, onAddAlias: r }) {
let [i, a] = (0, R.useState)(!1), o = (0, R.useRef)(null);
return (0, R.useEffect)(() => {
o.current?.setAttribute("title", "名字与别名");
- }, []), /* @__PURE__ */ (0, z.jsxs)(ete, {
+ }, []), /* @__PURE__ */ (0, z.jsxs)(lte, {
isOpen: i,
onOpenChange: a,
children: [/* @__PURE__ */ (0, z.jsx)(Nm, {
ref: o,
"data-namepick-toggle": "",
"aria-label": "名字与别名",
- children: /* @__PURE__ */ (0, z.jsx)(ZA, { name: "chevron-down" })
- }), /* @__PURE__ */ (0, z.jsx)(gy, {
+ children: /* @__PURE__ */ (0, z.jsx)(kj, { name: "chevron-down" })
+ }), /* @__PURE__ */ (0, z.jsx)(sy, {
placement: "bottom start",
offset: 8,
containerPadding: 8,
- className: uO,
+ className: jO,
"data-namepick-menu": "",
- children: /* @__PURE__ */ (0, z.jsxs)(nte, {
+ children: /* @__PURE__ */ (0, z.jsxs)(dte, {
"aria-label": "名字与别名",
"data-namepick-list": "",
children: [
- /* @__PURE__ */ (0, z.jsx)(ob, {
+ /* @__PURE__ */ (0, z.jsx)(Zy, {
selectionMode: "single",
disallowEmptySelection: !0,
selectedKeys: [e],
@@ -36335,31 +36834,31 @@ function rj({ current: e, choices: t, onChoose: n, onAddAlias: r }) {
let r = [...t][0];
r && r !== e && n(r);
},
- children: t.map((e) => /* @__PURE__ */ (0, z.jsxs)(cb, {
+ children: t.map((e) => /* @__PURE__ */ (0, z.jsxs)($y, {
id: e,
textValue: e,
"data-namepick-name": e,
- children: [/* @__PURE__ */ (0, z.jsx)(ZA, { name: "check" }), /* @__PURE__ */ (0, z.jsx)("span", { children: e })]
+ children: [/* @__PURE__ */ (0, z.jsx)(kj, { name: "check" }), /* @__PURE__ */ (0, z.jsx)("span", { children: e })]
}, e))
}),
- /* @__PURE__ */ (0, z.jsx)(Ag, { "data-namepick-rule": "" }),
- /* @__PURE__ */ (0, z.jsx)(ob, { children: /* @__PURE__ */ (0, z.jsxs)(cb, {
+ /* @__PURE__ */ (0, z.jsx)(ree, { "data-namepick-rule": "" }),
+ /* @__PURE__ */ (0, z.jsx)(Zy, { children: /* @__PURE__ */ (0, z.jsxs)($y, {
id: "alias",
textValue: "添加别名",
"data-namepick-alias": "",
onAction: r,
- children: [/* @__PURE__ */ (0, z.jsx)(ZA, { name: "plus" }), /* @__PURE__ */ (0, z.jsx)("span", { children: "添加别名…" })]
+ children: [/* @__PURE__ */ (0, z.jsx)(kj, { name: "plus" }), /* @__PURE__ */ (0, z.jsx)("span", { children: "添加别名…" })]
}) })
]
})
})]
});
}
-var ij = (e) => e === "studio" || e === "agency", aj = (e) => e === "performer" || e === "creator", oj = (e) => e ? "已订阅新作:库里还没有的新片排在资料卡下面。再点一下取消订阅。" : "订阅新作:定时去 JavDB 查这位有没有出新片,库里还没有的排在资料卡下面。";
-function sj(e) {
+var Ij = (e) => e === "studio" || e === "agency", Lj = (e) => e === "performer" || e === "creator", Rj = (e) => e ? "已订阅新作:库里还没有的新片排在资料卡下面。再点一下取消订阅。" : "订阅新作:定时去 JavDB 查这位有没有出新片,库里还没有的排在资料卡下面。";
+function zj(e) {
return [e.canonical_name, ...e.aliases || []].filter((e, t, n) => e && n.indexOf(e) === t);
}
-function cj(e) {
+function Bj(e) {
if (e.agency) return {
name: e.agency.canonical_name,
linked: !0
@@ -36370,13 +36869,13 @@ function cj(e) {
linked: !1
} : null;
}
-function lj(e, t) {
+function Vj(e, t) {
let n = f(e, "performer"), r = c(t);
return r && [e.label, n].map(c).some((e) => e && (r.includes(e) || e.includes(r))) ? `${t} 官方资料` : n || e.label || "";
}
-var uj = (e) => ({ site: u(e) });
-function dj(e, t) {
- let r = cj(e)?.name || "", i = (e.entry_links || []).filter((e) => e.slot === "pill").map((e) => ({
+var Hj = (e) => ({ site: u(e) });
+function Uj(e, t) {
+ let r = Bj(e)?.name || "", i = (e.entry_links || []).filter((e) => e.slot === "pill").map((e) => ({
type: "icon",
url: e.url,
title: e.label,
@@ -36386,7 +36885,7 @@ function dj(e, t) {
let t = e.retired_year ? `已于 ${e.retired_year} 年隐退` : "链接已失效";
return {
type: "gone",
- title: `${lj(e, r)} · ${t}`
+ title: `${Vj(e, r)} · ${t}`
};
}
let i = e.url || "";
@@ -36397,8 +36896,8 @@ function dj(e, t) {
if (t === "performer" && e.link_kind !== "social") return {
type: "icon",
url: i,
- title: lj(e, r),
- mark: uj(e)
+ title: Vj(e, r),
+ mark: Hj(e)
};
if (e.link_kind === "social") {
let t = n(i);
@@ -36406,7 +36905,7 @@ function dj(e, t) {
type: "icon",
url: i,
title: e.label || "",
- mark: t ? { brand: t } : uj(e)
+ mark: t ? { brand: t } : Hj(e)
};
}
return {
@@ -36414,13 +36913,13 @@ function dj(e, t) {
url: i,
title: e.label || "",
text: f(e, t, a),
- mark: uj(e)
+ mark: Hj(e)
};
});
return [...i, ...o];
}
-var fj = (e) => (e.entry_links || []).filter((e) => e.slot === "mark");
-function pj(e) {
+var Wj = (e) => (e.entry_links || []).filter((e) => e.slot === "mark");
+function Gj(e) {
if (!e) return [];
let t = [];
e.birth_date && t.push({
@@ -36477,14 +36976,14 @@ function pj(e) {
tags: e.tags
}), t;
}
-function mj(e) {
+function Kj(e) {
let t = e.length > 5 ? 4 : e.length;
return {
shown: e.slice(0, t),
rest: e.length - t
};
}
-function hj(e) {
+function qj(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 ? {
@@ -36495,8 +36994,8 @@ function hj(e) {
}
//#endregion
//#region src/react/entity-hero/entity-hero-page.tsx
-function gj({ kind: e, name: t, entity: n, feedNew: r, feedHost: a, actions: o, helpers: s }) {
- let c = aj(e), l = ij(e), u = e === "performer" ? pj(n.profile) : [], d = dj(n, e), f = fj(n), p = e === "agency" ? [] : n.related_performers || [], m = (0, R.useRef)(null), h = (0, R.useRef)(null);
+function Jj({ kind: e, name: t, entity: n, feedNew: r, feedHost: a, actions: o, helpers: s }) {
+ let c = Lj(e), l = Ij(e), u = e === "performer" ? Gj(n.profile) : [], d = Uj(n, e), f = Wj(n), p = e === "agency" ? [] : n.related_performers || [], m = (0, R.useRef)(null), h = (0, R.useRef)(null);
return (0, R.useEffect)(() => {
s.wireScroller(m.current);
}, [s, d.length]), (0, R.useEffect)(() => {
@@ -36509,7 +37008,7 @@ function gj({ kind: e, name: t, entity: n, feedNew: r, feedHost: a, actions: o,
children: [
/* @__PURE__ */ (0, z.jsxs)("div", {
"data-entity-portrait-wrap": "",
- children: [/* @__PURE__ */ (0, z.jsx)(_j, {
+ children: [/* @__PURE__ */ (0, z.jsx)(Yj, {
kind: e,
name: t,
helpers: s,
@@ -36517,7 +37016,7 @@ function gj({ kind: e, name: t, entity: n, feedNew: r, feedHost: a, actions: o,
company: l
}), c && n.id ? /* @__PURE__ */ (0, z.jsx)("span", {
"data-avatar-picker": "",
- children: /* @__PURE__ */ (0, z.jsx)(KA, {
+ children: /* @__PURE__ */ (0, z.jsx)(wj, {
kind: e,
entityId: Number(n.id),
name: n.canonical_name || t,
@@ -36530,14 +37029,14 @@ function gj({ kind: e, name: t, entity: n, feedNew: r, feedHost: a, actions: o,
children: [
/* @__PURE__ */ (0, z.jsxs)("div", {
"data-entity-title": "",
- children: [/* @__PURE__ */ (0, z.jsx)("h2", { children: n.canonical_name }), /* @__PURE__ */ (0, z.jsx)(rj, {
+ children: [/* @__PURE__ */ (0, z.jsx)("h2", { children: n.canonical_name }), /* @__PURE__ */ (0, z.jsx)(Fj, {
current: n.canonical_name,
- choices: sj(n),
+ choices: zj(n),
onChoose: o.chooseName,
onAddAlias: o.addAlias
})]
}),
- /* @__PURE__ */ (0, z.jsx)(vj, {
+ /* @__PURE__ */ (0, z.jsx)(Xj, {
kind: e,
entity: n,
actions: o
@@ -36545,9 +37044,9 @@ function gj({ kind: e, name: t, entity: n, feedNew: r, feedHost: a, actions: o,
d.length ? /* @__PURE__ */ (0, z.jsx)("div", {
ref: m,
"data-entity-links": "",
- children: d.map((e, t) => /* @__PURE__ */ (0, z.jsx)(Cj, { link: e }, t))
+ children: d.map((e, t) => /* @__PURE__ */ (0, z.jsx)(tM, { link: e }, t))
}) : null,
- f.length || n.feed ? /* @__PURE__ */ (0, z.jsx)(wj, {
+ f.length || n.feed ? /* @__PURE__ */ (0, z.jsx)(nM, {
entity: n,
actions: o,
helpers: s
@@ -36556,11 +37055,11 @@ function gj({ kind: e, name: t, entity: n, feedNew: r, feedHost: a, actions: o,
}),
u.length ? /* @__PURE__ */ (0, z.jsx)("dl", {
"data-entity-facts": "",
- children: u.map((e) => /* @__PURE__ */ (0, z.jsx)(bj, {
+ children: u.map((e) => /* @__PURE__ */ (0, z.jsx)(Qj, {
glyph: e.glyph,
label: e.label,
clip: e.clip,
- children: e.tags ? /* @__PURE__ */ (0, z.jsx)(xj, { tags: e.tags }) : e.parts.map((e, t) => /* @__PURE__ */ (0, z.jsxs)("span", {
+ children: e.tags ? /* @__PURE__ */ (0, z.jsx)($j, { tags: e.tags }) : e.parts.map((e, t) => /* @__PURE__ */ (0, z.jsxs)("span", {
"data-fact-tone": e.tone === "plain" ? void 0 : e.tone,
children: [t ? " " : "", e.text]
}, t))
@@ -36587,14 +37086,14 @@ function gj({ kind: e, name: t, entity: n, feedNew: r, feedHost: a, actions: o,
}, e.k))
})
}) : null]
- }), a ? (0, be.createPortal)(/* @__PURE__ */ (0, z.jsx)(Tj, {
+ }), a ? (0, be.createPortal)(/* @__PURE__ */ (0, z.jsx)(rM, {
feedNew: r,
host: a,
actions: o,
helpers: s
}), a) : null] });
}
-function _j({ kind: e, name: t, helpers: n, people: r, company: a }) {
+function Yj({ kind: e, name: t, helpers: n, people: r, company: a }) {
let [o] = (0, R.useState)(() => `${n.portraitImg()}<span>${i(t.slice(0, 1))}</span>`);
return /* @__PURE__ */ (0, z.jsx)("div", {
"data-entity-portrait": r ? "round" : "square",
@@ -36603,8 +37102,8 @@ function _j({ kind: e, name: t, helpers: n, people: r, company: a }) {
dangerouslySetInnerHTML: { __html: o }
});
}
-function vj({ kind: e, entity: t, actions: n }) {
- let i = cj(t), a = (e, t) => (r) => {
+function Xj({ kind: e, entity: t, actions: n }) {
+ let i = Bj(t), a = (e, t) => (r) => {
r.preventDefault(), n.openEntity(e, t);
}, o = i ? i.linked ? /* @__PURE__ */ (0, z.jsx)("a", {
href: r("agency", i.name),
@@ -36613,36 +37112,36 @@ function vj({ kind: e, entity: t, actions: n }) {
children: i.name
}) : i.name : null, s = /* @__PURE__ */ (0, z.jsxs)(z.Fragment, { children: [/* @__PURE__ */ (0, z.jsx)("b", { children: t.asset_count.toLocaleString() }), " 个视频"] });
if (e === "performer") {
- let e = hj(t.name_groups);
+ let e = qj(t.name_groups);
return /* @__PURE__ */ (0, z.jsxs)("div", {
"data-entity-alias": "meta",
children: [
/* @__PURE__ */ (0, z.jsxs)("span", {
"data-meta-item": "",
title: "视频",
- children: [/* @__PURE__ */ (0, z.jsx)(ZA, { name: "film" }), /* @__PURE__ */ (0, z.jsx)("span", { children: s })]
+ children: [/* @__PURE__ */ (0, z.jsx)(kj, { name: "film" }), /* @__PURE__ */ (0, z.jsx)("span", { children: s })]
}),
o ? /* @__PURE__ */ (0, z.jsxs)("span", {
"data-meta-item": "",
title: "事务所",
- children: [/* @__PURE__ */ (0, z.jsx)(ZA, { name: "briefcase" }), /* @__PURE__ */ (0, z.jsx)("span", { children: o })]
+ children: [/* @__PURE__ */ (0, z.jsx)(kj, { name: "briefcase" }), /* @__PURE__ */ (0, z.jsx)("span", { children: o })]
}) : null,
e ? /* @__PURE__ */ (0, z.jsxs)("div", {
"data-meta-item": "names",
children: [
- /* @__PURE__ */ (0, z.jsx)(ZA, { name: "id-card" }),
+ /* @__PURE__ */ (0, z.jsx)(kj, { name: "id-card" }),
/* @__PURE__ */ (0, z.jsx)("span", {
"data-alias-names": "",
title: "别名",
children: e.names.map((e, t) => /* @__PURE__ */ (0, z.jsx)("span", { children: e }, t))
}),
- e.rest > 0 ? /* @__PURE__ */ (0, z.jsx)(tj, {
+ e.rest > 0 ? /* @__PURE__ */ (0, z.jsx)(Nj, {
id: "entityAliasPop",
hook: "alias",
rest: e.rest,
label: `另外 ${e.rest} 个别名`,
heading: `${e.total} 个别名`,
- children: /* @__PURE__ */ (0, z.jsx)("dl", { children: (t.name_groups?.groups || []).map((e, t) => /* @__PURE__ */ (0, z.jsx)(yj, {
+ children: /* @__PURE__ */ (0, z.jsx)("dl", { children: (t.name_groups?.groups || []).map((e, t) => /* @__PURE__ */ (0, z.jsx)(Zj, {
label: e.label,
names: e.names
}, t)) })
@@ -36677,25 +37176,25 @@ function vj({ kind: e, entity: t, actions: n }) {
]
});
}
-function yj({ label: e, names: t }) {
+function Zj({ label: e, names: t }) {
return /* @__PURE__ */ (0, z.jsxs)(z.Fragment, { children: [e ? /* @__PURE__ */ (0, z.jsx)("dt", { children: e }) : null, /* @__PURE__ */ (0, z.jsx)("dd", {
"data-wide": e ? void 0 : "",
children: t.map((e, t) => /* @__PURE__ */ (0, z.jsxs)("span", { children: [e.name, e.reading ? /* @__PURE__ */ (0, z.jsx)("small", { children: e.reading }) : null] }, t))
})] });
}
-function bj({ glyph: e, label: t, clip: n, children: r }) {
- return /* @__PURE__ */ (0, z.jsxs)(z.Fragment, { children: [/* @__PURE__ */ (0, z.jsxs)("dt", { children: [/* @__PURE__ */ (0, z.jsx)(ZA, { name: e }), t] }), /* @__PURE__ */ (0, z.jsx)("dd", {
+function Qj({ glyph: e, label: t, clip: n, children: r }) {
+ return /* @__PURE__ */ (0, z.jsxs)(z.Fragment, { children: [/* @__PURE__ */ (0, z.jsxs)("dt", { children: [/* @__PURE__ */ (0, z.jsx)(kj, { name: e }), t] }), /* @__PURE__ */ (0, z.jsx)("dd", {
"data-fact": e === "tags" ? "tags" : n ? "clip" : e === "calendar-range" ? "num" : void 0,
title: n,
children: r
})] });
}
-function xj({ tags: e }) {
- let { shown: t, rest: n } = mj(e);
+function $j({ tags: e }) {
+ let { shown: t, rest: n } = Kj(e);
return /* @__PURE__ */ (0, z.jsxs)(z.Fragment, { children: [t.map((e) => /* @__PURE__ */ (0, z.jsx)("span", {
"data-fact-tag": "",
children: e
- }, e)), n ? /* @__PURE__ */ (0, z.jsx)(tj, {
+ }, e)), n ? /* @__PURE__ */ (0, z.jsx)(Nj, {
id: "entityTagPop",
hook: "fact",
rest: n,
@@ -36710,10 +37209,10 @@ function xj({ tags: e }) {
})
}) : null] });
}
-function Sj({ mark: e }) {
+function eM({ mark: e }) {
if ("brand" in e) return /* @__PURE__ */ (0, z.jsx)("span", {
"data-link-icon": "brand",
- children: /* @__PURE__ */ (0, z.jsx)(ZA, { name: e.brand })
+ children: /* @__PURE__ */ (0, z.jsx)(kj, { name: e.brand })
});
let t = l("globe") + ("site" in e ? `<img src="${i(e.site)}" alt="" loading="lazy" referrerpolicy="no-referrer" data-drop="self">` : "");
return /* @__PURE__ */ (0, z.jsx)("span", {
@@ -36721,7 +37220,7 @@ function Sj({ mark: e }) {
dangerouslySetInnerHTML: { __html: t }
});
}
-function Cj({ link: e }) {
+function tM({ link: e }) {
switch (e.type) {
case "icon": return /* @__PURE__ */ (0, z.jsx)("a", {
"data-link": "icon",
@@ -36730,19 +37229,19 @@ function Cj({ link: e }) {
rel: "noreferrer",
title: e.title,
"aria-label": e.title,
- children: /* @__PURE__ */ (0, z.jsx)(Sj, { mark: e.mark })
+ children: /* @__PURE__ */ (0, z.jsx)(eM, { mark: e.mark })
});
case "gone": return /* @__PURE__ */ (0, z.jsx)("span", {
"data-link": "gone",
tabIndex: 0,
title: e.title,
"aria-label": e.title,
- children: /* @__PURE__ */ (0, z.jsx)(Sj, { mark: { globe: !0 } })
+ children: /* @__PURE__ */ (0, z.jsx)(eM, { mark: { globe: !0 } })
});
case "private": return /* @__PURE__ */ (0, z.jsxs)("span", {
"data-link": "private",
title: "私人馆藏来源记录,不直接打开下载页",
- children: [/* @__PURE__ */ (0, z.jsx)(Sj, { mark: { globe: !0 } }), /* @__PURE__ */ (0, z.jsxs)("span", {
+ children: [/* @__PURE__ */ (0, z.jsx)(eM, { mark: { globe: !0 } }), /* @__PURE__ */ (0, z.jsxs)("span", {
"data-link-label": "",
children: ["来源 · ", e.label]
})]
@@ -36753,14 +37252,14 @@ function Cj({ link: e }) {
target: "_blank",
rel: "noreferrer",
title: e.title,
- children: [/* @__PURE__ */ (0, z.jsx)(Sj, { mark: e.mark }), /* @__PURE__ */ (0, z.jsx)("span", {
+ children: [/* @__PURE__ */ (0, z.jsx)(eM, { mark: e.mark }), /* @__PURE__ */ (0, z.jsx)("span", {
"data-link-label": "",
children: e.text
})]
});
}
}
-function wj({ entity: e, actions: t, helpers: n }) {
+function nM({ entity: e, actions: t, helpers: n }) {
let [r, i] = (0, R.useState)(!!e.feed?.following), [a, o] = (0, R.useState)(!1), s = (0, R.useRef)(!1), c = async (e) => {
if (s.current) return !1;
s.current = !0, o(!0);
@@ -36778,31 +37277,31 @@ function wj({ entity: e, actions: t, helpers: n }) {
};
return /* @__PURE__ */ (0, z.jsxs)("div", {
"data-entry-marks": "",
- children: [fj(e).map((e, t) => /* @__PURE__ */ (0, z.jsxs)("a", {
+ children: [Wj(e).map((e, t) => /* @__PURE__ */ (0, z.jsxs)("a", {
"data-entry-mark": "",
href: e.url,
target: "_blank",
rel: "noreferrer",
title: e.label,
"aria-label": e.label,
- children: [e.mark ? /* @__PURE__ */ (0, z.jsx)(ZA, { name: e.mark }) : /* @__PURE__ */ (0, z.jsxs)("span", {
+ children: [e.mark ? /* @__PURE__ */ (0, z.jsx)(kj, { name: e.mark }) : /* @__PURE__ */ (0, z.jsxs)("span", {
"data-missav-mark": "",
children: [/* @__PURE__ */ (0, z.jsx)("span", { children: "MISS" }), /* @__PURE__ */ (0, z.jsx)("span", { children: "AV" })]
}), e.ordinal ? /* @__PURE__ */ (0, z.jsx)("span", {
"data-entry-ordinal": "",
children: e.ordinal
}) : null]
- }, t)), e.feed ? /* @__PURE__ */ (0, z.jsx)(nj, {
+ }, t)), e.feed ? /* @__PURE__ */ (0, z.jsx)(Pj, {
following: r,
busy: a,
onToggle: (e) => {
l(e);
},
- tip: oj(r)
+ tip: Rj(r)
}) : null]
});
}
-function Tj({ feedNew: e, host: t, actions: n, helpers: r }) {
+function rM({ feedNew: e, host: t, actions: n, helpers: r }) {
let i = (0, R.useRef)(null), a = e?.items.length ? e.html : "";
(0, R.useLayoutEffect)(() => {
t.removeAttribute("aria-busy"), t.hidden = !a;
@@ -36826,7 +37325,7 @@ function Tj({ feedNew: e, host: t, actions: n, helpers: r }) {
}
//#endregion
//#region src/follow-sort.ts
-var Ej = [
+var iM = [
["checked", "检查时间"],
["added", "添加时间"],
["name", "创作者名称"],
@@ -36834,7 +37333,7 @@ var Ej = [
["source", "来源名称"],
["provider", "站点"],
["status", "状态"]
-], yce = "checked", Dj = {
+], aM = "checked", oM = {
checked: "desc",
added: "desc",
name: "asc",
@@ -36842,32 +37341,32 @@ var Ej = [
source: "asc",
provider: "asc",
status: "asc"
-}, bce = (e) => Ej.some(([t]) => t === e);
-function Oj(e, t) {
- let n = bce(e) ? e : yce;
+}, sM = (e) => iM.some(([t]) => t === e);
+function cM(e, t) {
+ let n = sM(e) ? e : aM;
return {
sort: n,
- dir: t === "asc" || t === "desc" ? t : Dj[n]
+ dir: t === "asc" || t === "desc" ? t : oM[n]
};
}
//#endregion
//#region src/react/follow-manage/follow-manage.ts
-var kj = "/api/follow", Aj = "/api/follow/credentials", jj = "/api/follow/check", Mj = "/api/follow/source", Nj = "/api/follow/resolve", xce = "/api/follow/suggest", Pj = "/api/follow/author-alias", Sce = "/api/follow/credential", Fj = "/api/follow/status", Cce = "/api/feeds", Ij = "/api/feeds/source", wce = "/api/feeds/check", Tce = "/api/feeds/lookup", Lj = ["follow-manage"], Rj = ["follow-manage", "credentials"], Ece = ["follow-manage", "check"], Dce = ["follow-manage", "resolve"], zj = ["follow-manage", "feeds"], Oce = (e) => [
+var lM = "/api/follow", uM = "/api/follow/credentials", dM = "/api/follow/check", fM = "/api/follow/source", pM = "/api/follow/resolve", mM = "/api/follow/suggest", hM = "/api/follow/author-alias", gM = "/api/follow/credential", _M = "/api/follow/status", vM = "/api/feeds", yM = "/api/feeds/source", bM = "/api/feeds/check", xM = "/api/feeds/lookup", SM = ["follow-manage"], CM = ["follow-manage", "credentials"], wM = ["follow-manage", "check"], TM = ["follow-manage", "resolve"], EM = ["follow-manage", "feeds"], DM = (e) => [
"follow-manage",
"suggest",
e
-], Bj = [["default", "默认视图"], ["table", "表格视图"]], Vj = [
+], OM = [["default", "默认视图"], ["table", "表格视图"]], kM = [
10,
20,
50,
100
-], kce = Object.fromEntries(Ej), Hj = {
+], AM = Object.fromEntries(iM), jM = {
author: "name",
source: "source",
provider: "provider",
status: "status",
checked: "checked"
-}, Ace = (e) => Bj.some(([t]) => t === e), jce = (e) => Vj.includes(Number(e)) ? Number(e) : 20, Mce = {
+}, MM = (e) => OM.some(([t]) => t === e), NM = (e) => kM.includes(Number(e)) ? Number(e) : 20, PM = {
checked: ["从近到远", "从远到近"],
added: ["从近到远", "从远到近"],
name: ["倒序", "正序"],
@@ -36875,25 +37374,25 @@ var kj = "/api/follow", Aj = "/api/follow/credentials", jj = "/api/follow/check"
source: ["倒序", "正序"],
provider: ["倒序", "正序"],
status: ["倒序", "正序"]
-}, Nce = (e, t) => `按${kce[e]}${Mce[e][t === "asc" ? 0 : 1]}排序`;
-function Uj(e) {
+}, FM = (e, t) => `按${AM[e]}${PM[e][t === "asc" ? 0 : 1]}排序`;
+function IM(e) {
let t = e.last_status;
return t === "error" || t === "unauthorized" ? 0 : e.enabled ? t === "ok" ? 3 : 2 : 1;
}
-function Pce(e) {
+function LM(e) {
return e.history_exhausted ? "没有更多" : e.enabled ? e.last_status === "ok" ? "正常" : e.last_status === "error" || e.last_status === "unauthorized" ? "检查失败" : "未检查" : "已暂停";
}
-var Wj = (e) => e.last_status === "error" || e.last_status === "unauthorized", Gj = (e, t) => String(e.label || "").localeCompare(String(t.label || ""), "zh-CN", { numeric: !0 }), Kj = {
- source: Gj,
- provider: (e, t) => String(e.provider_label || "").localeCompare(String(t.provider_label || ""), "zh-CN") || Gj(e, t),
- status: (e, t) => Uj(e) - Uj(t) || Gj(e, t)
-}, qj = (e) => Date.parse(e || "") || 0, Jj = (e) => String(e || "").replace(/\s*[·|]\s*[A-Za-z0-9_-]+\s*$/, "").replace(/\s+collections?\s*$/i, "").trim();
-function Yj(e, t = []) {
+var RM = (e) => e.last_status === "error" || e.last_status === "unauthorized", zM = (e, t) => String(e.label || "").localeCompare(String(t.label || ""), "zh-CN", { numeric: !0 }), BM = {
+ source: zM,
+ provider: (e, t) => String(e.provider_label || "").localeCompare(String(t.provider_label || ""), "zh-CN") || zM(e, t),
+ status: (e, t) => IM(e) - IM(t) || zM(e, t)
+}, VM = (e) => Date.parse(e || "") || 0, HM = (e) => String(e || "").replace(/\s*[·|]\s*[A-Za-z0-9_-]+\s*$/, "").replace(/\s+collections?\s*$/i, "").trim();
+function UM(e, t = []) {
if (!e.length) return "";
- let n = (e) => String(e.author_name || "").trim() || Jj(e.label), r = e.find((e) => e.entity_name);
+ let n = (e) => String(e.author_name || "").trim() || HM(e.label), r = e.find((e) => e.entity_name);
if (r) return r.entity_name;
let i = t.find((t) => `name:${t.canonical_key}` === e[0]?.author_key);
- if (i) return Jj(i.canonical_name);
+ if (i) return HM(i.canonical_name);
let a = e.find((e) => e.official_avatar_url);
if (a && n(a)) return n(a);
let o = e.map(n).filter(Boolean);
@@ -36901,18 +37400,18 @@ function Yj(e, t = []) {
let s = (e) => (e.match(/[A-Z]/g) || []).length;
return o.reduce((e, t) => s(t) > s(e) ? t : e, o[0]);
}
-function Fce(e) {
+function WM(e) {
let t = e.trim().match(/[A-Za-z0-9]/);
return (t ? t[0] : Array.from(e.trim())[0] || "?").toUpperCase();
}
-function Ice(e) {
+function GM(e) {
let t = e.find((e) => e.official_avatar_url), n = e.find((e) => e.avatar_url), r = t?.official_avatar_url || n?.avatar_url || "";
return {
src: r,
fallback: t && n && n.avatar_url !== r && n.avatar_url || ""
};
}
-function Xj(e) {
+function KM(e) {
let t = [], n = /* @__PURE__ */ new Map();
for (let r of e) {
let e = r.author_key || `source:${r.id}`;
@@ -36920,31 +37419,31 @@ function Xj(e) {
}
return t.map((e) => n.get(e));
}
-function Lce(e, t, n, r = []) {
- let i = Xj(e), a = n === Dj[t] ? 1 : -1, o = (e) => Yj(e, r), s = (e, t) => o(e).localeCompare(o(t), "zh-CN", { numeric: !0 }), c = Kj[t];
+function qM(e, t, n, r = []) {
+ let i = KM(e), a = n === oM[t] ? 1 : -1, o = (e) => UM(e, r), s = (e, t) => o(e).localeCompare(o(t), "zh-CN", { numeric: !0 }), c = BM[t];
if (c) {
for (let e of i) e.sort((e, t) => a * c(e, t));
return i.sort((e, t) => a * c(e[0], t[0]) || s(e, t));
}
- let l = (e) => Math.max(...e.map((e) => qj(e.last_checked_at))), u = (e) => Math.max(...e.map((e) => qj(e.created_at)));
+ let l = (e) => Math.max(...e.map((e) => VM(e.last_checked_at))), u = (e) => Math.max(...e.map((e) => VM(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 Rce(e, t, n, r = []) {
+function JM(e, t, n, r = []) {
let i = e.flatMap((e) => {
- let t = Yj(e, r);
+ let t = UM(e, r);
return e.map((n) => ({
source: n,
group: e,
author: t
}));
- }), a = Kj[t];
+ }), a = BM[t];
if (a) {
- let e = n === Dj[t] ? 1 : -1;
+ let e = n === oM[t] ? 1 : -1;
i.sort((t, n) => e * a(t.source, n.source));
}
return i;
}
-function Zj(e, t, n) {
+function YM(e, t, n) {
let r = Cs(e, t), i = ws(n, r), a = (i - 1) * t;
return {
page: i,
@@ -36954,91 +37453,91 @@ function Zj(e, t, n) {
end: Math.min(a + t, e)
};
}
-function zce(e, t) {
+function XM(e, t) {
let n = new Set(t.map((e) => e.id));
return new Set([...e].filter((e) => n.has(e)));
}
-function Qj(e, t) {
+function ZM(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 $j(e, t, n) {
+function QM(e, t, n) {
let r = new Set(e);
for (let e of t) n ? r.add(e) : r.delete(e);
return r;
}
-var eM = (e) => wi(`${kj}?summary=1`, e), tM = (e) => wi(Aj, e), Bce = (e) => wi(jj, e), Vce = (e) => wi(Nj, e), Hce = (e, t) => wi(`${xce}?q=${encodeURIComponent(e)}`, t), nM = (e) => W(jj, {
+var $M = (e) => wi(`${lM}?summary=1`, e), eN = (e) => wi(uM, e), tN = (e) => wi(dM, e), nN = (e) => wi(pM, e), rN = (e, t) => wi(`${mM}?q=${encodeURIComponent(e)}`, t), iN = (e) => W(dM, {
...e?.length ? { sources: e } : {},
background: !0
-}), Uce = (e) => W(Nj, {
+}), aN = (e) => W(pM, {
lines: e,
background: !0
-}), rM = (e, t) => W(Mj, {
+}), oN = (e, t) => W(fM, {
action: "enabled",
id: e,
enabled: t
-}), iM = (e) => W(Mj, {
+}), sN = (e) => W(fM, {
action: "remove",
id: e
-}), Wce = (e) => W(Mj, {
+}), cN = (e) => W(fM, {
action: "add",
url: e.url,
label: e.label,
author: e.author || "",
aliases: e.aliases || [],
defer_check: !0
-}), aM = (e, t) => W(Pj, {
+}), lN = (e, t) => W(hM, {
action: "add",
canonical: e,
alias: t
-}), Gce = (e) => W(Pj, {
+}), uN = (e) => W(hM, {
action: "remove",
alias: e
-}), Kce = (e, t) => W(Sce, {
+}), dN = (e, t) => W(gM, {
provider: e,
values: t
-}), qce = (e, t) => W(Fj, {
+}), fN = (e, t) => W(_M, {
item: e,
to: t
-}), Jce = () => wi(`${kj}?status=new&limit=1000`);
-async function oM(e) {
- let t = await wi(Cce, e);
+}), pN = () => wi(`${lM}?status=new&limit=1000`);
+async function mN(e) {
+ let t = await wi(vM, e);
if (!Array.isArray(t?.sources)) throw Error("没有读到订阅源");
return t;
}
-var sM = (e, t, n) => W(Ij, {
+var hN = (e, t, n) => W(yM, {
action: "enabled",
id: e,
enabled: t
-}, "POST", n), cM = (e, t) => W(Ij, {
+}, "POST", n), gN = (e, t) => W(yM, {
action: "remove",
id: e
-}, "POST", t), lM = (e, t) => W(wce, t?.length ? { sources: t } : { all: !0 }, "POST", e), Yce = (e, t) => wi(`${Tce}?q=${encodeURIComponent(e)}`, t), Xce = (e, t, n) => W(Ij, {
+}, "POST", t), _N = (e, t) => W(bM, t?.length ? { sources: t } : { all: !0 }, "POST", e), vN = (e, t) => wi(`${xM}?q=${encodeURIComponent(e)}`, t), oce = (e, t, n) => W(yM, {
action: "follow-name",
name: e,
ids: t
}, "POST", n);
-async function Zce(e, t = "") {
+async function sce(e, t = "") {
await Promise.all([
q.fetchQuery({
- queryKey: Lj,
- queryFn: () => eM(e)
+ queryKey: SM,
+ queryFn: () => $M(e)
}),
q.fetchQuery({
- queryKey: Rj,
- queryFn: () => tM(e)
+ queryKey: CM,
+ queryFn: () => eN(e)
}),
t === "feeds" ? q.fetchQuery({
- queryKey: zj,
- queryFn: () => oM(e)
+ queryKey: EM,
+ queryFn: () => mN(e)
}) : null
]);
}
-function uM(e, t) {
- q.setQueryData(Lj, (n) => n && {
+function yN(e, t) {
+ q.setQueryData(SM, (n) => n && {
...n,
sources: n.sources.map((n) => n.id === e ? {
...n,
@@ -37046,24 +37545,24 @@ function uM(e, t) {
} : n)
});
}
-function dM(e) {
+function bN(e) {
let t = new Set(e);
- q.setQueryData(Lj, (e) => e && {
+ q.setQueryData(SM, (e) => e && {
...e,
sources: e.sources.filter((e) => !t.has(e.id))
});
}
-var fM = () => q.invalidateQueries({
- queryKey: Lj,
+var xN = () => q.invalidateQueries({
+ queryKey: SM,
exact: !0
});
-function Qce(e) {
+function cce(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 $ce = (e) => (e?.results || []).filter((e) => !e.ok), ele = (e) => (e?.results || []).find((e) => e.evidence_error)?.evidence_error || "", pM = (e) => e.last_checked_at ? Es(e.last_checked_at) : "未检查", tle = /* @__PURE__ */ new Set([
+var lce = (e) => (e?.results || []).filter((e) => !e.ok), uce = (e) => (e?.results || []).find((e) => e.evidence_error)?.evidence_error || "", SN = (e) => e.last_checked_at ? Es(e.last_checked_at) : "未检查", dce = /* @__PURE__ */ new Set([
"fanbox",
"patreon",
"subscribestar",
@@ -37076,50 +37575,50 @@ var $ce = (e) => (e?.results || []).filter((e) => !e.ok), ele = (e) => (e?.resul
"gofile",
"f95zone",
"simpcity"
-]), nle = (e) => tle.has(e) ? `/source-icon?provider=${encodeURIComponent(e)}` : "", rle = {
+]), fce = (e) => dce.has(e) ? `/source-icon?provider=${encodeURIComponent(e)}` : "", pce = {
required: "需要",
optional: "可选",
none: "不需要",
blocked: "接不进来"
-}, mM = (e) => !!e.present && !e.missing.length, ile = [
+}, CN = (e) => !!e.present && !e.missing.length, mce = [
["", "全部"],
["new", "未看"],
["saved", "已保存"],
["ignored", "已忽略"]
-], ale = [
+], hce = [
["new", "更新时间"],
["hot", "热度"],
["dur", "时长"]
-], hM = {
+], wN = {
new: ["从新到旧", "从旧到新"],
hot: ["从高到低", "从低到高"],
dur: ["从长到短", "从短到长"]
};
-function gM(e, t) {
+function TN(e, t) {
let n = (e) => encodeURIComponent(e.join(","));
return `/api/follow?limit=300&offset=${t}` + (e.status ? `&status=${e.status}` : "") + (e.author ? `&author=${n([e.author])}` : "") + (e.provider ? `&provider=${n([e.provider])}` : "") + (e.tags.length ? `&tag=${n(e.tags)}` : "") + (e.work ? `&work=${n([e.work])}` : "") + (e.sort === "new" ? "" : `&sort=${e.sort}`) + (e.sort === "rand" ? `&seed=${e.seed}` : "") + (e.dir === "desc" ? "" : `&dir=${e.dir}`);
}
-function _M(e, t) {
+function EN(e, t) {
return {
queryKey: [
"follow-feed",
- gM(e, 0),
+ TN(e, 0),
t
],
- queryFn: ({ pageParam: t, signal: n }) => wi(gM(e, t), n),
+ queryFn: ({ pageParam: t, signal: n }) => wi(TN(e, t), n),
initialPageParam: 0,
getNextPageParam: (e) => e.has_more ? (e.offset || 0) + 300 : void 0,
placeholderData: jt
};
}
-var vM = ["follow-feed", "credentials"], yM = (e) => wi(Aj, e).catch(() => ({ providers: [] }));
-async function ole(e, t) {
- let n = _M(e.view, e.revision);
+var DN = ["follow-feed", "credentials"], ON = (e) => wi(uM, e).catch(() => ({ providers: [] }));
+async function gce(e, t) {
+ let n = EN(e.view, e.revision);
q.removeQueries({
queryKey: n.queryKey,
exact: !0
}), q.removeQueries({
- queryKey: vM,
+ queryKey: DN,
exact: !0
}), await Promise.all([q.fetchInfiniteQuery({
queryKey: n.queryKey,
@@ -37130,11 +37629,11 @@ async function ole(e, t) {
initialPageParam: 0,
getNextPageParam: n.getNextPageParam
}), q.fetchQuery({
- queryKey: vM,
- queryFn: () => yM(t)
+ queryKey: DN,
+ queryFn: () => ON(t)
})]);
}
-function bM(e) {
+function kN(e) {
if (!e?.pages.length) return null;
let t = e.pages, n = t[t.length - 1];
return {
@@ -37143,10 +37642,10 @@ function bM(e) {
groups: t.flatMap((e) => e.groups || [])
};
}
-function xM(e, t, n) {
+function AN(e, t, n) {
return [...e].sort((e, r) => h(n, t(e)) - h(n, t(r)) || String(t(e)).localeCompare(String(t(r))));
}
-function SM(e) {
+function jN(e) {
let t = /* @__PURE__ */ new Set();
return [
e.primary,
@@ -37154,12 +37653,12 @@ function SM(e) {
...e.duplicates
].filter((e) => !e || t.has(e.id) ? !1 : (t.add(e.id), !0));
}
-function sle(e) {
+function _ce(e) {
for (let [, t] of q.getQueriesData({ queryKey: ["follow-feed"] })) {
if (!Array.isArray(t?.pages) || !t.pages.length) continue;
let n = t.pages[t.pages.length - 1];
for (let r of t.pages) for (let t of r.groups || []) {
- let r = SM(t).find((t) => t.id === e);
+ let r = jN(t).find((t) => t.id === e);
if (r) return {
item: r,
group: t,
@@ -37170,7 +37669,7 @@ function sle(e) {
}
return null;
}
-function cle(e) {
+function vce(e) {
q.setQueriesData({
queryKey: ["follow-feed"],
predicate: (e) => Array.isArray(e.state.data?.pages)
@@ -37180,7 +37679,7 @@ function cle(e) {
...t,
groups: (t.groups || []).map((t) => {
let n = (t) => t.id === e.id ? e : t;
- return SM(t).some((t) => t.id === e.id) ? {
+ return jN(t).some((t) => t.id === e.id) ? {
...t,
primary: n(t.primary),
variants: t.variants.map(n),
@@ -37190,39 +37689,39 @@ function cle(e) {
}))
});
}
-function lle(e, t) {
+function yce(e, t) {
q.setQueriesData({
queryKey: ["follow-feed"],
predicate: (e) => Array.isArray(e.state.data?.pages)
- }, (n) => n && AM(n, null, e, t));
+ }, (n) => n && zN(n, null, e, t));
}
-function CM(e) {
- return SM(e).sort((e, t) => (Date.parse(t.published_at || "") || 0) - (Date.parse(e.published_at || "") || 0) || (+t.id || 0) - (+e.id || 0));
+function MN(e) {
+ return jN(e).sort((e, t) => (Date.parse(t.published_at || "") || 0) - (Date.parse(e.published_at || "") || 0) || (+t.id || 0) - (+e.id || 0));
}
-function wM(e) {
+function NN(e) {
let t = /* @__PURE__ */ new Set(), n = e.media_items || [];
return n.length ? n.forEach((e) => {
(e.media_kind === "image" || e.media_kind === "video") && t.add(e.media_kind);
}) : (e.media_kind === "image" || e.media_kind === "video") && t.add(e.media_kind), t;
}
-function TM(e) {
+function PN(e) {
let t = /* @__PURE__ */ new Set();
- return SM(e).forEach((e) => wM(e).forEach((e) => t.add(e))), t;
+ return jN(e).forEach((e) => NN(e).forEach((e) => t.add(e))), t;
}
-function EM(e, t) {
+function FN(e, t) {
let n = t === "images" ? "image" : "video";
- return CM(e).find((e) => wM(e).has(n)) || e.primary;
+ return MN(e).find((e) => NN(e).has(n)) || e.primary;
}
-function DM(e) {
- return CM(e).filter((e) => e.playable && e.media_kind === "video");
+function IN(e) {
+ return MN(e).filter((e) => e.playable && e.media_kind === "video");
}
-var OM = {
+var LN = {
video: "个视频",
image: "张图片",
mixed: "个媒体"
};
-function ule({ cover: e = "", coverFace: t = null, stack: n = null, imageView: r = !1, limit: i = 9 } = {}) {
- let a = n?.media || 0, o = n?.copies || 0, s = n?.kind || "", c = a > 1 ? `${a} ${OM[s] || OM.mixed}` : o > 1 ? `${o} 个来源` : "", l = s === "image" || s !== "video" && r ? "pics" : "play", u = /* @__PURE__ */ new Set([t ?? e]), d = e ? [e] : [];
+function bce({ cover: e = "", coverFace: t = null, stack: n = null, imageView: r = !1, limit: i = 9 } = {}) {
+ let a = n?.media || 0, o = n?.copies || 0, s = n?.kind || "", c = a > 1 ? `${a} ${LN[s] || LN.mixed}` : o > 1 ? `${o} 个来源` : "", l = s === "image" || s !== "video" && r ? "pics" : "play", u = /* @__PURE__ */ new Set([t ?? e]), d = e ? [e] : [];
for (let t of n?.faces || []) r && t.media_kind !== "image" || !t.thumb_url || t.thumb_url === e || u.has(t.face) || (u.add(t.face), d.push(t.thumb_url));
return {
isMix: !!c,
@@ -37231,14 +37730,14 @@ function ule({ cover: e = "", coverFace: t = null, stack: n = null, imageView: r
faces: d.length > 1 ? d.slice(0, i) : []
};
}
-function dle(e) {
+function xce(e) {
let t = e.filter((e) => e.can_backfill).map((e) => (e.backfill_page || 0) + 1);
if (!t.length) return "";
let n = Math.max(...t), r = Math.min(...t);
return n <= 1 ? "每个来源都只抓了第 1 页" : r === n ? `每个来源都抓到第 ${n} 页` : `已抓到第 ${r}–${n} 页`;
}
-function kM(e, t, n) {
- return e === t ? hM[e] ? {
+function RN(e, t, n) {
+ return e === t ? wN[e] ? {
sort: e,
dir: n === "asc" ? "desc" : "asc"
} : null : {
@@ -37246,13 +37745,13 @@ function kM(e, t, n) {
dir: "desc"
};
}
-function fle(e, t, n, r) {
- let i = kM(e, n, r);
+function Sce(e, t, n, r) {
+ let i = RN(e, n, r);
if (!i) return "";
- let a = hM[i.sort];
+ let a = wN[i.sort];
return `按${t}${a ? a[+(i.dir === "asc")] : ""}排序`;
}
-function AM(e, t, n, r) {
+function zN(e, t, n, r) {
let i = "", a = e.pages.map((e) => ({
...e,
groups: (e.groups || []).flatMap((e) => {
@@ -37282,7 +37781,7 @@ function AM(e, t, n, r) {
})
};
}
-function ple(e, t) {
+function Cce(e, t) {
let n = [];
return e.author && n.push({
kind: "创作者",
@@ -37302,7 +37801,7 @@ function ple(e, t) {
label: e
})), n;
}
-function mle(e, t) {
+function wce(e, t) {
return t.kind === "创作者" ? {
...e,
author: ""
@@ -37317,7 +37816,7 @@ function mle(e, t) {
tags: e.tags.filter((e) => e !== t.key)
};
}
-function hle(e, t) {
+function Tce(e, t) {
for (let n of e) {
let e = n.primary?.tag_types?.[t];
if (e) return e;
@@ -37326,18 +37825,18 @@ function hle(e, t) {
}
//#endregion
//#region src/sidebar.ts
-function gle(e) {
+function Ece(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-feed/follow-card.tsx
-var _le = (e) => Number(e) > 0;
-function vle(e) {
+var Dce = (e) => Number(e) > 0;
+function Oce(e) {
return /^\d{4}-/.test(e) ? e.startsWith(String((/* @__PURE__ */ new Date()).getFullYear())) ? e.slice(5, 10) : e.slice(0, 10) : e;
}
-function yle({ src: e, width: t, height: n, onLearn: r }) {
+function kce({ src: e, width: t, height: n, onLearn: r }) {
let [i, a] = (0, R.useState)(!1);
return i ? null : /* @__PURE__ */ (0, z.jsx)("img", {
src: e,
@@ -37353,8 +37852,8 @@ function yle({ src: e, width: t, height: n, onLearn: r }) {
} : void 0
});
}
-function ble(e) {
- let { group: t, authorSources: n, media: r, context: a, selected: s, selectMode: c, busy: u, failure: d, helpers: f, actions: p } = e, m = EM(t, r), h = r === "images", g = h ? (m.media_items || []).find((e) => e.media_kind === "image") : void 0, _ = g?.thumb_url || m.thumb_url || "", v = g && g.thumb_url === _ ? g : null, y = !v || _ === m.thumb_url, b = h ? [v, y ? m : null].find((e) => Number(e?.width) > 0 && Number(e?.height) > 0) : null, x = h && !b && _ ? (e, t) => f.learnDims(m.id, v ? v.index : null, e, t) : void 0, S = r === "videos" ? DM(t) : [], C = (m.media_items || []).length > 1 ? m.id : S[0]?.id || m.id, w = ule({
+function Ace(e) {
+ let { group: t, authorSources: n, media: r, context: a, selected: s, selectMode: c, busy: u, failure: d, helpers: f, actions: p } = e, m = FN(t, r), h = r === "images", g = h ? (m.media_items || []).find((e) => e.media_kind === "image") : void 0, _ = g?.thumb_url || m.thumb_url || "", v = g && g.thumb_url === _ ? g : null, y = !v || _ === m.thumb_url, b = h ? [v, y ? m : null].find((e) => Number(e?.width) > 0 && Number(e?.height) > 0) : null, x = h && !b && _ ? (e, t) => f.learnDims(m.id, v ? v.index : null, e, t) : void 0, S = r === "videos" ? IN(t) : [], C = (m.media_items || []).length > 1 ? m.id : S[0]?.id || m.id, w = bce({
cover: _,
coverFace: (g?.thumb_url ? g : m).face,
stack: t.stack,
@@ -37404,7 +37903,7 @@ function ble(e) {
"data-follow-open": "",
"aria-label": `打开 ${m.title} 详情`
}),
- _ ? /* @__PURE__ */ (0, z.jsx)(yle, {
+ _ ? /* @__PURE__ */ (0, z.jsx)(kce, {
src: _,
width: b?.width,
height: b?.height,
@@ -37439,7 +37938,7 @@ function ble(e) {
},
dangerouslySetInnerHTML: { __html: l("check") }
}),
- _le(m.duration) ? /* @__PURE__ */ (0, z.jsx)("span", {
+ Dce(m.duration) ? /* @__PURE__ */ (0, z.jsx)("span", {
"data-media-duration": "",
children: o(m.duration)
}) : null,
@@ -37532,7 +38031,7 @@ function ble(e) {
}), /* @__PURE__ */ (0, z.jsx)("time", {
dateTime: m.published_at || "",
title: A,
- children: vle(A)
+ children: Oce(A)
})]
}),
k.credited ? /* @__PURE__ */ (0, z.jsx)("div", {
@@ -37568,10 +38067,10 @@ function ble(e) {
]
});
}
-var xle = (0, R.memo)(ble), jM = () => /* @__PURE__ */ (0, z.jsx)("span", {
+var jce = (0, R.memo)(Ace), BN = () => /* @__PURE__ */ (0, z.jsx)("span", {
"data-entity-sep": "",
"aria-hidden": "true"
-}), Sle = oo("settings"), Cle = oo("chevron-down"), wle = oo("history"), Tle = [[
+}), Mce = oo("settings"), Nce = oo("chevron-down"), Pce = oo("history"), Fce = [[
"fixed",
"固定比例",
"layout-grid"
@@ -37580,19 +38079,19 @@ var xle = (0, R.memo)(ble), jM = () => /* @__PURE__ */ (0, z.jsx)("span", {
"瀑布流",
"columns-2"
]];
-function Ele(e, t, n) {
+function Ice(e, t, n) {
return (0, R.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) => {
e.author_key && (d.has(e.author_key) || d.set(e.author_key, []), d.get(e.author_key).push(e));
});
- let f = xM([...d.keys()].filter((e) => s.has(e)), (e) => e, n), p = xM(o.works || [], (e) => e[0], n).slice(0, 24);
+ let f = AN([...d.keys()].filter((e) => s.has(e)), (e) => e, n), p = AN(o.works || [], (e) => e[0], n).slice(0, 24);
t.work && !p.some((e) => e[0] === t.work) && p.push([
t.work,
t.work,
0
]);
- let m = Object.values(i).reduce((e, t) => e + (Number(t) || 0), 0), h = xM([...u], (e) => e[0], n).slice(0, 20);
+ let m = Object.values(i).reduce((e, t) => e + (Number(t) || 0), 0), h = AN([...u], (e) => e[0], n).slice(0, 20);
t.tags.forEach((e) => {
h.some(([t]) => t === e) || h.push([e, u.get(e) || m]);
});
@@ -37600,7 +38099,7 @@ function Ele(e, t, n) {
videos: 0,
images: 0
};
- r.forEach((e) => TM(e).forEach((e) => {
+ r.forEach((e) => PN(e).forEach((e) => {
g[e === "image" ? "images" : "videos"] += 1;
}));
let _ = t.media === "images" ? "image" : "video";
@@ -37615,7 +38114,7 @@ function Ele(e, t, n) {
workRows: p,
allCount: m,
mediaCounts: g,
- visible: r.filter((e) => TM(e).has(_)),
+ visible: r.filter((e) => PN(e).has(_)),
author: d.has(t.author) && s.has(t.author) ? t.author : "",
provider: l.has(t.provider) ? t.provider : "",
workNames: new Map((o.works || []).map((e) => [e[0], e[1]])),
@@ -37628,15 +38127,15 @@ function Ele(e, t, n) {
n
]);
}
-function Dle(e) {
- let { view: t, seed: n, revision: r, helpers: i, actions: a } = e, o = _M(t, r), s = Fn(o), c = Nn({
- queryKey: vM,
- queryFn: ({ signal: e }) => yM(e)
- }), l = (0, R.useMemo)(() => bM(s.data), [s.data]), u = (0, R.useMemo)(() => new Set((c.data?.providers || []).filter((e) => e.present).map((e) => e.provider)), [c.data]), d = (0, R.useMemo)(() => ({
+function Lce(e) {
+ let { view: t, seed: n, revision: r, helpers: i, actions: a } = e, o = EN(t, r), s = Fn(o), c = Nn({
+ queryKey: DN,
+ queryFn: ({ signal: e }) => ON(e)
+ }), l = (0, R.useMemo)(() => kN(s.data), [s.data]), u = (0, R.useMemo)(() => new Set((c.data?.providers || []).filter((e) => e.present).map((e) => e.provider)), [c.data]), d = (0, R.useMemo)(() => ({
sources: l?.sources || [],
aliases: l?.author_aliases || [],
credentials: u
- }), [l, u]), f = Ele(l, t, n), p = s.isPending || s.isPlaceholderData, h = !p && !!l, g = (0, R.useMemo)(() => gle(f.visible.flatMap(SM).map((e) => ({ tags: e.tags || [] }))), [f.visible]);
+ }), [l, u]), f = Ice(l, t, n), p = s.isPending || s.isPlaceholderData, h = !p && !!l, g = (0, R.useMemo)(() => Ece(f.visible.flatMap(jN).map((e) => ({ tags: e.tags || [] }))), [f.visible]);
(0, R.useEffect)(() => {
h && a.loaded(g);
}, [
@@ -37644,7 +38143,7 @@ function Dle(e) {
g,
a
]);
- let _ = Ole(e, !!l);
+ let _ = Rce(e, !!l);
if (!l) return s.isError ? /* @__PURE__ */ (0, z.jsx)(za, {
message: m(s.error),
onRetry: () => void s.refetch()
@@ -37652,7 +38151,7 @@ function Dle(e) {
let v = (e) => a.route({
...t,
...e
- }), y = ple({
+ }), y = Cce({
...t,
author: f.author,
provider: f.provider
@@ -37677,7 +38176,7 @@ function Dle(e) {
"data-follow-head-actions": "",
children: [/* @__PURE__ */ (0, z.jsx)(H, {
variant: "secondary",
- leadingIcon: Sle,
+ leadingIcon: Mce,
"data-follow-manage": "",
onClick: a.openManage,
children: "管理关注"
@@ -37694,20 +38193,20 @@ function Dle(e) {
}) : null]
})]
}),
- /* @__PURE__ */ (0, z.jsx)(kle, {
+ /* @__PURE__ */ (0, z.jsx)(zce, {
facets: f,
pressed: f.author,
context: d,
props: e,
onPick: (e) => v({ author: f.author === e ? "" : e })
}),
- /* @__PURE__ */ (0, z.jsx)(Ale, {
+ /* @__PURE__ */ (0, z.jsx)(Bce, {
rows: f.workRows,
pressed: t.work,
props: e,
onPick: (e) => v({ work: t.work === e ? "" : e })
}),
- /* @__PURE__ */ (0, z.jsx)(jle, {
+ /* @__PURE__ */ (0, z.jsx)(Vce, {
facets: f,
view: t,
total: b,
@@ -37715,9 +38214,9 @@ function Dle(e) {
props: e,
route: v
}),
- /* @__PURE__ */ (0, z.jsx)(Mle, {
+ /* @__PURE__ */ (0, z.jsx)(Hce, {
conditions: y,
- onDrop: (e) => a.route(mle(t, e)),
+ onDrop: (e) => a.route(wce(t, e)),
onClear: () => v({
author: "",
provider: "",
@@ -37725,11 +38224,11 @@ function Dle(e) {
tags: []
})
}),
- f.broken.length ? /* @__PURE__ */ (0, z.jsx)(Nle, {
+ f.broken.length ? /* @__PURE__ */ (0, z.jsx)(Uce, {
count: f.broken.length,
onManage: a.openManage
}) : null,
- /* @__PURE__ */ (0, z.jsx)(Ple, {
+ /* @__PURE__ */ (0, z.jsx)(Wce, {
pending: p,
facets: f,
data: l,
@@ -37746,13 +38245,13 @@ function Dle(e) {
load: async () => {
await s.fetchNextPage({ throwOnError: !0 });
},
- children: [/* @__PURE__ */ (0, z.jsx)(Cle, { className: "size-3.5" }), "加载更多"]
+ children: [/* @__PURE__ */ (0, z.jsx)(Nce, { className: "size-3.5" }), "加载更多"]
}, s.data?.pages.length)
}) : null, x ? /* @__PURE__ */ (0, z.jsxs)("span", {
"data-follow-page-action": "",
children: [/* @__PURE__ */ (0, z.jsx)(H, {
variant: "secondary",
- leadingIcon: _.olderBusy ? void 0 : wle,
+ leadingIcon: _.olderBusy ? void 0 : Pce,
"data-follow-older": "",
"aria-busy": _.busy || void 0,
onClick: () => void _.start(!0),
@@ -37762,14 +38261,14 @@ function Dle(e) {
}), /* @__PURE__ */ (0, z.jsx)("span", { children: "抓取中…" })] }) : "抓更早的一页"
}), /* @__PURE__ */ (0, z.jsx)("span", {
"data-follow-backfill": "",
- children: dle(f.sources)
+ children: xce(f.sources)
})]
}) : null]
}) : null
]
})] });
}
-function Ole(e, t) {
+function Rce(e, t) {
let { helpers: n, actions: r } = e, [i, a] = (0, R.useState)(0), [o, s] = (0, R.useState)(!1), [c, l] = (0, R.useState)(""), [u, d] = (0, R.useState)(!1), f = (0, R.useRef)(!1), p = (0, R.useRef)(null), h = (0, R.useRef)({
helpers: n,
actions: r
@@ -37784,7 +38283,7 @@ function Ole(e, t) {
return h.current.helpers.jobProgress({
host: e,
active: () => t,
- read: (e) => wi(jj, e),
+ read: (e) => wi(dM, e),
busy: (e) => {
t && (f.current = e, s(e));
},
@@ -37809,7 +38308,7 @@ function Ole(e, t) {
f.current = !0, l(e ? "older" : "check");
let t = !1;
try {
- let n = await W(jj, e ? {
+ let n = await W(dM, e ? {
older: !0,
background: !0
} : { background: !0 });
@@ -37827,7 +38326,7 @@ function Ole(e, t) {
olderBusy: c === "older" || u && o
};
}
-function kle({ facets: e, pressed: t, context: n, props: r, onPick: i }) {
+function zce({ facets: e, pressed: t, context: n, props: r, onPick: i }) {
let a = (0, R.useRef)(null);
return (0, R.useEffect)(() => {
r.helpers.wireDrag(a.current);
@@ -37853,7 +38352,7 @@ function kle({ facets: e, pressed: t, context: n, props: r, onPick: i }) {
})
}) : null;
}
-function Ale({ rows: e, pressed: t, props: n, onPick: r }) {
+function Bce({ rows: e, pressed: t, props: n, onPick: r }) {
let i = (0, R.useRef)(null);
return (0, R.useEffect)(() => {
n.helpers.wireDrag(i.current);
@@ -37874,13 +38373,13 @@ function Ale({ rows: e, pressed: t, props: n, onPick: r }) {
}, e[0]))
}) : null;
}
-function jle({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {
- let { helpers: o, actions: s } = i, c = (0, R.useRef)(null), u = (0, R.useRef)(null), d = (0, R.useRef)(null), f = (0, R.useRef)(null), p = (0, R.useRef)(null), m = (0, R.useRef)(null), h = !!e.mediaCounts.images || t.media === "images", g = cA(c, d, "[data-follow-filter][aria-pressed=\"true\"]", t.status), _ = cA(u, f, "[data-media-view][aria-pressed=\"true\"]", `${t.media}:${h}`);
+function Vce({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {
+ let { helpers: o, actions: s } = i, c = (0, R.useRef)(null), u = (0, R.useRef)(null), d = (0, R.useRef)(null), f = (0, R.useRef)(null), p = (0, R.useRef)(null), m = (0, R.useRef)(null), h = !!e.mediaCounts.images || t.media === "images", g = yA(c, d, "[data-follow-filter][aria-pressed=\"true\"]", t.status), _ = yA(u, f, "[data-media-view][aria-pressed=\"true\"]", `${t.media}:${h}`);
(0, R.useEffect)(() => {
o.wireDrag(p.current), o.wireDrag(m.current), o.wireScroller(m.current);
}, [o]);
let v = [...e.providers], y = v.length + e.tagRows.length > 0, b = t.media === "images";
- return /* @__PURE__ */ (0, z.jsx)(yk, {
+ return /* @__PURE__ */ (0, z.jsx)(Pk, {
label: "筛选与排序",
topLabel: h ? "媒体与关注筛选" : "关注筛选",
attrs: {
@@ -37932,7 +38431,7 @@ function jle({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {
dangerouslySetInnerHTML: { __html: l(i) }
}, e);
})
- }), /* @__PURE__ */ (0, z.jsx)(jM, {})] }) : null, /* @__PURE__ */ (0, z.jsxs)("div", {
+ }), /* @__PURE__ */ (0, z.jsx)(BN, {})] }) : null, /* @__PURE__ */ (0, z.jsxs)("div", {
ref: p,
"data-entity-scroll": "",
children: [/* @__PURE__ */ (0, z.jsxs)("div", {
@@ -37941,7 +38440,7 @@ function jle({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {
"aria-label": "状态",
"data-entity-states": "",
onPointerLeave: g.leave,
- children: [ile.map(([e, n]) => /* @__PURE__ */ (0, z.jsx)("button", {
+ children: [mce.map(([e, n]) => /* @__PURE__ */ (0, z.jsx)("button", {
type: "button",
"data-entity-state": e,
"data-follow-filter": e,
@@ -37952,7 +38451,7 @@ function jle({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {
t.status !== e && a({ status: e });
},
children: n
- }, e)), y ? /* @__PURE__ */ (0, z.jsx)(jM, {}) : null]
+ }, e)), y ? /* @__PURE__ */ (0, z.jsx)(BN, {}) : null]
}), /* @__PURE__ */ (0, z.jsxs)("div", {
ref: m,
"data-entity-tags": "",
@@ -37967,11 +38466,11 @@ function jle({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {
onClick: () => a({ provider: e.provider === t ? "" : t }),
dangerouslySetInnerHTML: { __html: o.sourceIcon(t) }
}, t)),
- v.length && e.tagRows.length ? /* @__PURE__ */ (0, z.jsx)(jM, {}) : null,
- e.tagRows.map(([n, r]) => /* @__PURE__ */ (0, z.jsxs)(bk, {
+ v.length && e.tagRows.length ? /* @__PURE__ */ (0, z.jsx)(BN, {}) : null,
+ e.tagRows.map(([n, r]) => /* @__PURE__ */ (0, z.jsxs)(Fk, {
"data-follow-tag": n,
"data-entity-press": "",
- "data-tag-cat": `r34-${hle(e.groups, n)}`,
+ "data-tag-cat": `r34-${Tce(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: [o.tagLabel(n), r ? /* @__PURE__ */ (0, z.jsx)("span", {
@@ -37989,11 +38488,11 @@ function jle({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {
}), /* @__PURE__ */ (0, z.jsxs)("span", {
"data-entity-sorts": "",
children: [
- /* @__PURE__ */ (0, z.jsx)(fA, { onPress: s.shuffle }),
- b ? /* @__PURE__ */ (0, z.jsxs)(z.Fragment, { children: [/* @__PURE__ */ (0, z.jsx)(dA, {
+ /* @__PURE__ */ (0, z.jsx)(CA, { onPress: s.shuffle }),
+ b ? /* @__PURE__ */ (0, z.jsxs)(z.Fragment, { children: [/* @__PURE__ */ (0, z.jsx)(SA, {
label: "图片布局",
value: i.photoLayout,
- options: Tle,
+ options: Fce,
onChange: (e) => s.setPhotoLayout(e === "fixed" ? "fixed" : "masonry")
}), /* @__PURE__ */ (0, z.jsxs)("button", {
type: "button",
@@ -38010,7 +38509,7 @@ function jle({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {
dangerouslySetInnerHTML: { __html: l("captions-off") }
})]
})] }) : null,
- ale.map(([e, n]) => {
+ hce.map(([e, n]) => {
let r = t.sort === e, i = oo(t.dir === "asc" ? "arrow-up" : "arrow-down");
return /* @__PURE__ */ (0, z.jsxs)("button", {
type: "button",
@@ -38018,9 +38517,9 @@ function jle({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {
"data-follow-sort": e,
"data-entity-press": "",
"aria-pressed": r,
- "aria-label": fle(e, n, t.sort, t.dir) || void 0,
+ "aria-label": Sce(e, n, t.sort, t.dir) || void 0,
onClick: () => {
- let n = kM(e, t.sort, t.dir);
+ let n = RN(e, t.sort, t.dir);
n && a(n);
},
children: [n, r ? /* @__PURE__ */ (0, z.jsx)(i, { className: "size-3.5" }) : null]
@@ -38030,7 +38529,7 @@ function jle({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {
})] })
});
}
-function Mle({ conditions: e, onDrop: t, onClear: n }) {
+function Hce({ conditions: e, onDrop: t, onClear: n }) {
return /* @__PURE__ */ (0, z.jsx)("div", {
"data-entity-combo": "",
"data-follow-combo": "",
@@ -38055,7 +38554,7 @@ function Mle({ conditions: e, onDrop: t, onClear: n }) {
})] }) : null
});
}
-function Nle({ count: e, onManage: t }) {
+function Uce({ count: e, onManage: t }) {
return /* @__PURE__ */ (0, z.jsx)("div", {
"data-follow-broken": "",
onClick: (e) => {
@@ -38064,12 +38563,12 @@ function Nle({ 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 Ple({ pending: e, facets: t, data: n, context: r, props: i }) {
+function Wce({ pending: e, facets: t, data: n, context: r, props: i }) {
let { view: a, helpers: o } = i, s = a.media === "images", c = Ra(e, () => o.listSkeletonHtml(a.media));
return /* @__PURE__ */ (0, z.jsxs)("div", {
"data-follow-list-body": "",
"data-grid-reveal": c.fading ? "" : void 0,
- children: [c.layer, e ? null : /* @__PURE__ */ (0, z.jsx)(Fle, {
+ children: [c.layer, e ? null : /* @__PURE__ */ (0, z.jsx)(Gce, {
facets: t,
data: n,
context: r,
@@ -38078,39 +38577,39 @@ function Ple({ pending: e, facets: t, data: n, context: r, props: i }) {
})]
});
}
-function Fle({ facets: e, data: t, context: n, props: r, images: i }) {
- let { view: a, helpers: o, actions: s } = r, c = Rle(r), l = i ? {
+function Gce({ facets: e, data: t, context: n, props: r, images: i }) {
+ let { view: a, helpers: o, actions: s } = r, c = Jce(r), l = i ? {
"data-size": r.photoSize,
"data-layout": r.photoLayout,
"data-images-only": String(r.imagesOnly)
} : {}, u;
return u = e.visible.length ? e.visible.map((t) => {
let i = e.byId.get(t.primary?.source_id), l = i?.author_key && e.authorSources.get(i.author_key) || [], u = t.primary.id;
- return /* @__PURE__ */ (0, z.jsx)(xle, {
+ return /* @__PURE__ */ (0, z.jsx)(jce, {
group: t,
authorSources: l,
media: a.media,
context: n,
- selected: r.selected.has(MM(t, a)),
+ selected: r.selected.has(VN(t, a)),
selectMode: r.selectMode,
- busy: c.busy.get(MM(t, a)) || "",
- failure: c.failures.get(MM(t, a)) || "",
+ busy: c.busy.get(VN(t, a)) || "",
+ failure: c.failures.get(VN(t, a)) || "",
helpers: o,
actions: s,
onStatus: c.status,
onSave: c.save
}, `${u}:${a.media}`);
- }) : /* @__PURE__ */ (0, z.jsx)(Ile, { data: t }), /* @__PURE__ */ (0, z.jsx)("div", {
+ }) : /* @__PURE__ */ (0, z.jsx)(Kce, { data: t }), /* @__PURE__ */ (0, z.jsx)("div", {
"data-follow-list": "",
"data-follow-wall": i ? "" : void 0,
...l,
children: u
});
}
-function MM(e, t) {
- return EM(e, t.media).id;
+function VN(e, t) {
+ return FN(e, t.media).id;
}
-function Ile({ data: e }) {
+function Kce({ data: e }) {
let t = (e.groups || []).length ? x("search-x", "当前筛选下没有更新", "切换媒体类型、创作者、来源或标签后再试。") : (e.sources || []).length ? x("rss", "没有符合条件的更新", "切换状态或来源筛选后再试。") : x("rss", "还没有关注任何来源", "添加创作者或订阅来源后,更新会集中显示在这里。", { actions: "<a class=\"geist-button primary\" href=\"/follow-manage?tab=add\">添加关注</a>" });
return /* @__PURE__ */ (0, z.jsx)("div", {
"data-follow-empty": "",
@@ -38118,22 +38617,22 @@ function Ile({ data: e }) {
dangerouslySetInnerHTML: { __html: t }
});
}
-var Lle = {
+var qce = {
new: "已恢复未看",
seen: "已标记已看",
ignored: "已忽略"
};
-function Rle(e) {
- let { view: t, revision: n, actions: r } = e, [i, a] = (0, R.useState)(() => /* @__PURE__ */ new Map()), [o, s] = (0, R.useState)(() => /* @__PURE__ */ new Map()), c = _M(t, n).queryKey, l = (e, t, n) => n((n) => {
+function Jce(e) {
+ let { view: t, revision: n, actions: r } = e, [i, a] = (0, R.useState)(() => /* @__PURE__ */ new Map()), [o, s] = (0, R.useState)(() => /* @__PURE__ */ new Map()), c = EN(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) => {
- q.setQueryData(c, (r) => r && AM(r, t, e, n));
+ q.setQueryData(c, (r) => r && zN(r, t, e, n));
}, d = () => void q.invalidateQueries({
queryKey: c,
exact: !0
}), f = (e) => {
- let t = bM(q.getQueryData(c));
+ let t = kN(q.getQueryData(c));
for (let n of t?.groups || []) for (let t of [
n.primary,
...n.variants,
@@ -38141,13 +38640,13 @@ function Rle(e) {
]) if (t.id === e) return t.status;
return "new";
}, p = Pn({
- mutationFn: ({ id: e, to: t }) => W(Fj, {
+ mutationFn: ({ id: e, to: t }) => W(_M, {
item: e,
to: t
}),
onSuccess: (e, { id: t, to: n, was: i }) => {
- u(t, n), d(), r.toast(Lle[n] || "已更新关注状态", { undo: i === "saved" ? void 0 : async () => {
- await W(Fj, {
+ u(t, n), d(), r.toast(qce[n] || "已更新关注状态", { undo: i === "saved" ? void 0 : async () => {
+ await W(_M, {
item: t,
to: i
}), u(t, i), d();
@@ -38192,8 +38691,8 @@ function Rle(e) {
}
//#endregion
//#region src/react/follow-manage/source-view.tsx
-function NM({ provider: e, label: t }) {
- let n = nle(e), [r, i] = (0, R.useState)(!1);
+function HN({ provider: e, label: t }) {
+ let n = fce(e), [r, i] = (0, R.useState)(!1);
return !n || r ? t ? /* @__PURE__ */ (0, z.jsx)(z.Fragment, { children: t }) : null : /* @__PURE__ */ (0, z.jsxs)(z.Fragment, { children: [/* @__PURE__ */ (0, z.jsx)("img", {
src: n,
alt: "",
@@ -38204,8 +38703,8 @@ function NM({ provider: e, label: t }) {
className: "size-3.5 shrink-0 rounded-sm object-contain"
}), t ? /* @__PURE__ */ (0, z.jsx)(Qm, { children: t }) : null] });
}
-function PM({ group: e, name: t }) {
- let { src: n, fallback: r } = Ice(e), [i, a] = (0, R.useState)(0), o = [n, r].filter(Boolean)[i];
+function UN({ group: e, name: t }) {
+ let { src: n, fallback: r } = GM(e), [i, a] = (0, R.useState)(0), o = [n, r].filter(Boolean)[i];
return o ? /* @__PURE__ */ (0, z.jsx)("img", {
src: o,
alt: "",
@@ -38218,18 +38717,18 @@ function PM({ group: e, name: t }) {
}) : /* @__PURE__ */ (0, z.jsx)("span", {
title: "没有可用头像",
className: "inline-grid size-8 shrink-0 place-items-center rounded-full bg-background-tertiary-default text-caption-1-semibold text-text-secondary",
- children: Fce(t)
+ children: WM(t)
});
}
-function FM({ source: e }) {
- let t = Wj(e) ? "rose" : e.enabled && e.last_status === "ok" ? "lime" : e.enabled ? "yellow" : "neutral";
+function WN({ source: e }) {
+ let t = RM(e) ? "rose" : e.enabled && e.last_status === "ok" ? "lime" : e.enabled ? "yellow" : "neutral";
return /* @__PURE__ */ (0, z.jsx)(yi, {
variant: "caption",
color: t,
- children: Pce(e)
+ children: LM(e)
});
}
-function IM({ source: e }) {
+function GN({ source: e }) {
return /* @__PURE__ */ (0, z.jsx)("a", {
href: e.url,
target: "_blank",
@@ -38241,11 +38740,11 @@ function IM({ source: e }) {
}
//#endregion
//#region src/react/follow-manage/add-source.tsx
-var LM = gi(dO, fO, "text-body-2-medium"), zle = "粘贴来源链接,或输入创作者名、id…", Ble = "查找中…(首次按名字查要下载创作者索引,可能几十秒)", Vle = "识别中…", Hle = "站内没有查到来源", RM = (e, t) => `${e}:${t.url}`;
-function Ule({ field: e, menu: t, options: n, active: r, busy: i, onPick: a, onClose: o }) {
+var KN = gi(MO, NO, "text-body-2-medium"), Yce = "粘贴来源链接,或输入创作者名、id…", Xce = "查找中…(首次按名字查要下载创作者索引,可能几十秒)", Zce = "识别中…", Qce = "站内没有查到来源", qN = (e, t) => `${e}:${t.url}`;
+function $ce({ field: e, menu: t, options: n, active: r, busy: i, onPick: a, onClose: o }) {
return (0, R.useEffect)(() => {
t.current?.querySelector("[aria-current=\"true\"]")?.scrollIntoView({ block: "nearest" });
- }, [t, r]), /* @__PURE__ */ (0, z.jsxs)(gy, {
+ }, [t, r]), /* @__PURE__ */ (0, z.jsxs)(sy, {
ref: t,
triggerRef: e,
isOpen: !0,
@@ -38257,7 +38756,7 @@ function Ule({ field: e, menu: t, options: n, active: r, busy: i, onPick: a, onC
placement: "bottom start",
offset: 4,
"aria-label": "来源建议",
- className: gi(uO, "flex w-(--trigger-width) flex-col gap-1 overscroll-contain"),
+ className: gi(jO, "flex w-(--trigger-width) flex-col gap-1 overscroll-contain"),
children: [i && !n.length ? /* @__PURE__ */ (0, z.jsx)("div", {
className: "px-2 py-1.5",
children: /* @__PURE__ */ (0, z.jsx)(Fi, { label: "正在查找建议" })
@@ -38267,7 +38766,7 @@ function Ule({ field: e, menu: t, options: n, active: r, busy: i, onPick: a, onC
}), /* @__PURE__ */ (0, z.jsxs)("button", {
type: "button",
"aria-current": t === r ? "true" : void 0,
- className: t === r ? gi(LM, "bg-background-secondary-default") : LM,
+ className: t === r ? gi(KN, "bg-background-secondary-default") : KN,
onMouseDown: (e) => e.preventDefault(),
onClick: () => a(e.value),
children: [
@@ -38287,7 +38786,7 @@ function Ule({ field: e, menu: t, options: n, active: r, busy: i, onPick: a, onC
})] }, `${e.group}-${e.value}`))]
});
}
-function Wle({ credentials: e, hidden: t, onHidden: n, openCredentials: r }) {
+function ele({ credentials: e, hidden: t, onHidden: n, openCredentials: r }) {
let i = (0, R.useRef)(null), [a, o] = (0, R.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);
@@ -38301,14 +38800,14 @@ function Wle({ credentials: e, hidden: t, onHidden: n, openCredentials: r }) {
"aria-label": l,
onClick: () => o(!0),
children: l
- }), /* @__PURE__ */ (0, z.jsx)(gy, {
+ }), /* @__PURE__ */ (0, z.jsx)(sy, {
triggerRef: i,
isOpen: a,
onOpenChange: o,
placement: "bottom end",
offset: 4,
- className: uO,
- children: /* @__PURE__ */ (0, z.jsxs)(ub, {
+ className: jO,
+ children: /* @__PURE__ */ (0, z.jsxs)(tb, {
"aria-label": "来源筛选",
className: "flex w-64 flex-col gap-1 outline-none",
children: [s.length ? /* @__PURE__ */ (0, z.jsxs)("div", {
@@ -38324,16 +38823,16 @@ function Wle({ credentials: e, hidden: t, onHidden: n, openCredentials: r }) {
onClick: () => n(new Set(s.map((e) => e.provider_label))),
children: "全不选"
})]
- }) : /* @__PURE__ */ (0, z.jsx)(kO, { children: "暂无可用来源" }), s.map((e) => {
+ }) : /* @__PURE__ */ (0, z.jsx)(XO, { children: "暂无可用来源" }), s.map((e) => {
let n = e.requirement === "required" && (!e.present || (e.missing || []).length > 0);
return /* @__PURE__ */ (0, z.jsxs)("div", {
className: "flex items-center gap-2",
- children: [/* @__PURE__ */ (0, z.jsx)(JO, {
+ children: [/* @__PURE__ */ (0, z.jsx)(mk, {
isSelected: !t.has(e.provider_label),
onChange: (t) => u(e.provider_label, t),
children: /* @__PURE__ */ (0, z.jsxs)("span", {
className: "flex min-w-0 items-center gap-1.5",
- children: [/* @__PURE__ */ (0, z.jsx)(NM, { provider: e.provider }), e.provider_label]
+ children: [/* @__PURE__ */ (0, z.jsx)(HN, { provider: e.provider }), e.provider_label]
})
}), n ? /* @__PURE__ */ (0, z.jsx)(H, {
variant: "ghost",
@@ -38349,7 +38848,7 @@ function Wle({ credentials: e, hidden: t, onHidden: n, openCredentials: r }) {
})
})] });
}
-function Gle({ row: e, at: t, hidden: n, unpicked: r, onPick: i }) {
+function tle({ row: e, at: t, hidden: n, unpicked: r, onPick: i }) {
if (e.kind === "error") return /* @__PURE__ */ (0, z.jsx)(G, {
tone: "error",
title: e.line,
@@ -38368,15 +38867,15 @@ function Gle({ row: e, at: t, hidden: n, unpicked: r, onPick: i }) {
children: e.line
}),
a.length ? a.map((e) => {
- let n = RM(t, e);
- return /* @__PURE__ */ (0, z.jsx)(JO, {
+ let n = qN(t, e);
+ return /* @__PURE__ */ (0, z.jsx)(mk, {
isSelected: !e.known && !r.has(n),
isDisabled: e.known,
onChange: (e) => i(n, e),
children: /* @__PURE__ */ (0, z.jsxs)("span", {
className: "flex min-w-0 flex-wrap items-center gap-1.5",
children: [
- /* @__PURE__ */ (0, z.jsx)(NM, { provider: e.provider }),
+ /* @__PURE__ */ (0, z.jsx)(HN, { provider: e.provider }),
/* @__PURE__ */ (0, z.jsx)("b", {
className: "text-body-medium",
children: e.provider_label
@@ -38392,22 +38891,22 @@ function Gle({ row: e, at: t, hidden: n, unpicked: r, onPick: i }) {
]
})
}, n);
- }) : /* @__PURE__ */ (0, z.jsx)(kO, { children: Hle }),
+ }) : /* @__PURE__ */ (0, z.jsx)(XO, { children: Qce }),
(e.external_searches || []).map((e) => /* @__PURE__ */ (0, z.jsxs)("div", {
className: "flex flex-wrap items-center gap-2",
children: [/* @__PURE__ */ (0, z.jsx)("small", {
className: "text-caption-1-regular text-text-secondary",
children: e.evidence
- }), /* @__PURE__ */ (0, z.jsx)(MO, {
+ }), /* @__PURE__ */ (0, z.jsx)($O, {
href: e.url,
children: `${e.label}:${e.query}`
})]
}, e.url)),
- o.length ? /* @__PURE__ */ (0, z.jsx)(kO, { children: o.map(([e, t]) => `${e}:${t}`).join(";") }) : null
+ o.length ? /* @__PURE__ */ (0, z.jsx)(XO, { children: o.map(([e, t]) => `${e}:${t}`).join(";") }) : null
]
});
}
-function Kle({ data: e, credentials: t, readOnly: n, toast: r, openCredentials: i }) {
+function nle({ data: e, credentials: t, readOnly: n, toast: r, openCredentials: i }) {
let [a, o] = (0, R.useState)(""), [s, c] = (0, R.useState)(""), [l, u] = (0, R.useState)(""), [d, f] = (0, R.useState)(!1), [p, m] = (0, R.useState)(null), [h, g] = (0, R.useState)(-1), _ = (0, R.useRef)(null), v = (0, R.useRef)(null), [y, b] = (0, R.useState)(/* @__PURE__ */ new Set()), [x, S] = (0, R.useState)(/* @__PURE__ */ new Set()), [C, w] = (0, R.useState)(""), [T, E] = (0, R.useState)(0);
(0, R.useEffect)(() => {
let e = a.trim();
@@ -38419,18 +38918,18 @@ function Kle({ data: e, credentials: t, readOnly: n, toast: r, openCredentials:
return () => clearTimeout(t);
}, [a]);
let D = Nn({
- queryKey: Oce(l),
- queryFn: ({ signal: e }) => Hce(l, e),
+ queryKey: DM(l),
+ queryFn: ({ signal: e }) => rN(l, e),
enabled: l.length > 0 && d
}), O = (0, R.useMemo)(() => (D.data?.groups || []).flatMap((e) => e.items.map((t) => ({
value: t.value,
matched: t.matched || "",
n: t.n || 0,
group: e.label
- }))), [D.data]), { job: k, running: A, outcome: j, start: M, dismiss: N } = WO({
- queryKey: Dce,
- queryFn: ({ signal: e }) => Vce(e),
- start: (e) => Uce([e]),
+ }))), [D.data]), { job: k, running: A, outcome: j, start: M, dismiss: N } = uk({
+ queryKey: TM,
+ queryFn: ({ signal: e }) => nN(e),
+ start: (e) => aN([e]),
onStarted: () => S(/* @__PURE__ */ new Set()),
onError: (e) => w(U(e)),
onFinish: (e) => {
@@ -38464,14 +38963,14 @@ function Kle({ data: e, credentials: t, readOnly: n, toast: r, openCredentials:
}
}, ne = j?.results || [], re = ne.flatMap((e, t) => (e.candidates || []).filter((e) => !e.known && !y.has(e.provider_label || "")).map((e) => ({
candidate: e,
- key: RM(t, e)
+ key: qN(t, e)
})).filter((e) => !x.has(e.key))), ie = Pn({
mutationFn: async (e) => {
let t = [], n = [];
E(0);
for (let r of e) {
try {
- let e = await Wce(r.candidate);
+ let e = await cN(r.candidate);
n.push(e.source);
} catch (e) {
t.push(`${r.candidate.label}:${U(e)}`);
@@ -38479,7 +38978,7 @@ function Kle({ data: e, credentials: t, readOnly: n, toast: r, openCredentials:
E((e) => e + 1);
}
if (n.length) try {
- await nM(n);
+ await iN(n);
} catch (e) {
t.push(U(e));
}
@@ -38489,7 +38988,7 @@ function Kle({ data: e, credentials: t, readOnly: n, toast: r, openCredentials:
};
},
onSuccess: (e) => {
- if (fM(), e.failures.length) {
+ if (xN(), e.failures.length) {
w(e.failures.join(";"));
return;
}
@@ -38518,15 +39017,15 @@ function Kle({ 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, z.jsx)(ck, {
+ children: [/* @__PURE__ */ (0, z.jsx)(Ek, {
"aria-label": "来源链接、名字或 id",
- placeholder: zle,
+ placeholder: Yce,
value: a,
leadingIcon: Ze,
isDisabled: n,
onChange: o,
onKeyDown: te
- }), F ? /* @__PURE__ */ (0, z.jsx)(Ule, {
+ }), F ? /* @__PURE__ */ (0, z.jsx)($ce, {
field: _,
menu: v,
options: O,
@@ -38536,7 +39035,7 @@ function Kle({ data: e, credentials: t, readOnly: n, toast: r, openCredentials:
onClose: I
}) : null]
}),
- /* @__PURE__ */ (0, z.jsx)(Wle, {
+ /* @__PURE__ */ (0, z.jsx)(ele, {
credentials: t,
hidden: y,
onHidden: b,
@@ -38554,9 +39053,9 @@ function Kle({ data: e, credentials: t, readOnly: n, toast: r, openCredentials:
/* @__PURE__ */ (0, z.jsxs)("div", {
"aria-live": "polite",
className: "flex flex-col gap-3 empty:hidden",
- children: [A || M.isPending ? /* @__PURE__ */ (0, z.jsx)(SO, {
+ children: [A || M.isPending ? /* @__PURE__ */ (0, z.jsx)(UO, {
embedded: !0,
- label: k?.message || (k?.total ? `查找中:${k.checked || 0}/${k.total}` : oe ? Ble : Vle),
+ label: k?.message || (k?.total ? `查找中:${k.checked || 0}/${k.total}` : oe ? Xce : Zce),
value: k?.checked,
total: k?.total
}) : null, C ? /* @__PURE__ */ (0, z.jsx)(G, {
@@ -38568,8 +39067,8 @@ function Kle({ data: e, credentials: t, readOnly: n, toast: r, openCredentials:
ne.length ? /* @__PURE__ */ (0, z.jsxs)("div", {
className: "flex flex-col gap-3",
children: [
- /* @__PURE__ */ (0, z.jsx)(jO, { children: "查找结果" }),
- ne.map((e, t) => /* @__PURE__ */ (0, z.jsx)(Gle, {
+ /* @__PURE__ */ (0, z.jsx)(QO, { children: "查找结果" }),
+ ne.map((e, t) => /* @__PURE__ */ (0, z.jsx)(tle, {
row: e,
at: t,
hidden: y,
@@ -38624,16 +39123,16 @@ function Kle({ data: e, credentials: t, readOnly: n, toast: r, openCredentials:
}
//#endregion
//#region src/react/follow-manage/alias-manager.tsx
-var qle = (e) => `将移除别名「${e}」,对应来源恢复为独立创作者组。`, zM = (e) => e.alias;
-function Jle(e, t, n) {
+var rle = (e) => `将移除别名「${e}」,对应来源恢复为独立创作者组。`, JN = (e) => e.alias;
+function ile(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 BM({ sources: e, name: t, canonicalKey: n }) {
+function YN({ sources: e, name: t, canonicalKey: n }) {
return /* @__PURE__ */ (0, z.jsxs)("span", {
className: "flex items-center gap-2",
- children: [/* @__PURE__ */ (0, z.jsx)(PM, {
- group: Jle(e, t, n),
+ children: [/* @__PURE__ */ (0, z.jsx)(UN, {
+ group: ile(e, t, n),
name: t
}), /* @__PURE__ */ (0, z.jsx)("b", {
className: "text-body-medium",
@@ -38641,15 +39140,15 @@ function BM({ sources: e, name: t, canonicalKey: n }) {
})]
});
}
-function Yle({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i }) {
+function ale({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i }) {
let [a, o] = (0, R.useState)(/* @__PURE__ */ new Set()), [s, c] = (0, R.useState)(""), [l, u] = (0, R.useState)(""), [d, f] = (0, R.useState)(""), p = Pn({
mutationFn: async (e) => {
let t = 0;
for (let n of e) {
try {
- await aM(n.canonical, n.alias);
+ await lN(n.canonical, n.alias);
} catch (n) {
- throw t && fM(), Error(`${U(n)}(还有 ${e.length - t} 组没有合并)`);
+ throw t && xN(), Error(`${U(n)}(还有 ${e.length - t} 组没有合并)`);
}
t += 1;
}
@@ -38659,19 +39158,19 @@ function Yle({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i
};
},
onSuccess: (e) => {
- c(""), o(/* @__PURE__ */ new Set()), fM(), i(`已合并 ${e.done} 组创作者别名`);
+ c(""), o(/* @__PURE__ */ new Set()), xN(), i(`已合并 ${e.done} 组创作者别名`);
},
onError: (e) => c(U(e))
}), m = Pn({
- mutationFn: (e) => aM(e.canonical, e.alias),
+ mutationFn: (e) => lN(e.canonical, e.alias),
onSuccess: () => {
- c(""), u(""), f(""), fM(), i("已保存创作者别名");
+ c(""), u(""), f(""), xN(), i("已保存创作者别名");
},
onError: (e) => c(U(e))
}), h = Pn({
- mutationFn: (e) => Gce(e),
+ mutationFn: (e) => uN(e),
onSuccess: () => {
- c(""), fM(), i("已移除创作者别名");
+ c(""), xN(), i("已移除创作者别名");
},
onError: (e) => c(U(e))
}), g = (e, t) => {
@@ -38681,7 +39180,7 @@ function Yle({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i
confirmLabel: t ? "合并全部别名" : "合并所选别名",
onConfirm: () => p.mutateAsync(e)
});
- }, _ = t.filter((e) => a.has(zM(e))), v = t.length > 0 && _.length === t.length, b = K(p.isPending);
+ }, _ = t.filter((e) => a.has(JN(e))), v = t.length > 0 && _.length === t.length, b = K(p.isPending);
return /* @__PURE__ */ (0, z.jsxs)("div", {
className: Mi({
padding: "none",
@@ -38694,10 +39193,10 @@ function Yle({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i
}),
/* @__PURE__ */ (0, z.jsxs)("div", {
className: "flex flex-col gap-2",
- children: [/* @__PURE__ */ (0, z.jsx)(jO, { children: "手动添加别名" }), /* @__PURE__ */ (0, z.jsxs)("div", {
+ children: [/* @__PURE__ */ (0, z.jsx)(QO, { children: "手动添加别名" }), /* @__PURE__ */ (0, z.jsxs)("div", {
className: "flex flex-wrap items-end gap-2",
children: [
- /* @__PURE__ */ (0, z.jsx)(ck, {
+ /* @__PURE__ */ (0, z.jsx)(Ek, {
"aria-label": "规范创作者名",
placeholder: "规范创作者名",
value: l,
@@ -38705,7 +39204,7 @@ function Yle({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i
isDisabled: r,
className: "w-56"
}),
- /* @__PURE__ */ (0, z.jsx)(ck, {
+ /* @__PURE__ */ (0, z.jsx)(Ek, {
"aria-label": "平台别名",
placeholder: "平台别名",
value: d,
@@ -38726,13 +39225,13 @@ function Yle({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i
]
})]
}),
- s ? /* @__PURE__ */ (0, z.jsx)(AO, { children: s }) : null,
+ s ? /* @__PURE__ */ (0, z.jsx)(ZO, { children: s }) : null,
t.length ? /* @__PURE__ */ (0, z.jsxs)("div", {
className: "flex flex-col gap-2",
children: [/* @__PURE__ */ (0, z.jsxs)("div", {
className: "flex flex-wrap items-center gap-2",
children: [
- /* @__PURE__ */ (0, z.jsx)(jO, { children: "待合并" }),
+ /* @__PURE__ */ (0, z.jsx)(QO, { children: "待合并" }),
/* @__PURE__ */ (0, z.jsx)("span", {
className: "mr-auto text-body-2-regular text-text-secondary",
children: `${t.length} 组`
@@ -38754,44 +39253,44 @@ function Yle({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i
children: `全部合并(${t.length})`
})
]
- }), /* @__PURE__ */ (0, z.jsx)(QO, { children: /* @__PURE__ */ (0, z.jsxs)(YO, {
+ }), /* @__PURE__ */ (0, z.jsx)(_k, { children: /* @__PURE__ */ (0, z.jsxs)(hk, {
"aria-label": "待合并创作者别名",
size: "sm",
- children: [/* @__PURE__ */ (0, z.jsxs)(dS, { children: [
- /* @__PURE__ */ (0, z.jsx)(fS, {
+ children: [/* @__PURE__ */ (0, z.jsxs)(fS, { children: [
+ /* @__PURE__ */ (0, z.jsx)(pS, {
id: "select",
- children: /* @__PURE__ */ (0, z.jsx)(JO, {
+ children: /* @__PURE__ */ (0, z.jsx)(mk, {
slot: null,
isSelected: v,
isIndeterminate: _.length > 0 && !v,
"aria-label": "全选待合并别名",
- onChange: (e) => o(e ? new Set(t.map(zM)) : /* @__PURE__ */ new Set())
+ onChange: (e) => o(e ? new Set(t.map(JN)) : /* @__PURE__ */ new Set())
})
}),
- /* @__PURE__ */ (0, z.jsx)(fS, {
+ /* @__PURE__ */ (0, z.jsx)(pS, {
id: "canonical",
children: "规范创作者"
}),
- /* @__PURE__ */ (0, z.jsx)(fS, {
+ /* @__PURE__ */ (0, z.jsx)(pS, {
id: "alias",
isRowHeader: !0,
children: "平台别名"
}),
- /* @__PURE__ */ (0, z.jsx)(fS, {
+ /* @__PURE__ */ (0, z.jsx)(pS, {
id: "evidence",
children: "依据"
}),
- /* @__PURE__ */ (0, z.jsx)(fS, {
+ /* @__PURE__ */ (0, z.jsx)(pS, {
id: "actions",
children: "操作"
})
- ] }), /* @__PURE__ */ (0, z.jsx)(mS, { children: t.map((e) => {
- let t = zM(e);
- return /* @__PURE__ */ (0, z.jsxs)(_S, {
+ ] }), /* @__PURE__ */ (0, z.jsx)(hS, { children: t.map((e) => {
+ let t = JN(e);
+ return /* @__PURE__ */ (0, z.jsxs)(vS, {
id: t,
"data-board-selected": a.has(t) || void 0,
children: [
- /* @__PURE__ */ (0, z.jsx)(yS, { children: /* @__PURE__ */ (0, z.jsx)(JO, {
+ /* @__PURE__ */ (0, z.jsx)(bS, { children: /* @__PURE__ */ (0, z.jsx)(mk, {
slot: null,
isSelected: a.has(t),
"aria-label": `选择别名 ${e.alias},归入 ${e.canonical}`,
@@ -38800,16 +39299,16 @@ function Yle({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i
e ? n.add(t) : n.delete(t), o(n);
}
}) }),
- /* @__PURE__ */ (0, z.jsx)(yS, { children: /* @__PURE__ */ (0, z.jsx)(BM, {
+ /* @__PURE__ */ (0, z.jsx)(bS, { children: /* @__PURE__ */ (0, z.jsx)(YN, {
sources: n,
name: e.canonical
}) }),
- /* @__PURE__ */ (0, z.jsx)(yS, { children: e.alias }),
- /* @__PURE__ */ (0, z.jsx)(yS, { children: /* @__PURE__ */ (0, z.jsx)("span", {
+ /* @__PURE__ */ (0, z.jsx)(bS, { children: e.alias }),
+ /* @__PURE__ */ (0, z.jsx)(bS, { children: /* @__PURE__ */ (0, z.jsx)("span", {
className: "text-body-2-regular text-text-secondary",
children: e.evidence
}) }),
- /* @__PURE__ */ (0, z.jsx)(yS, { children: /* @__PURE__ */ (0, z.jsx)(H, {
+ /* @__PURE__ */ (0, z.jsx)(bS, { children: /* @__PURE__ */ (0, z.jsx)(H, {
variant: "secondary",
size: "small",
disabled: r,
@@ -38826,27 +39325,27 @@ function Yle({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i
className: "flex flex-col gap-2",
children: [/* @__PURE__ */ (0, z.jsxs)("div", {
className: "flex flex-wrap items-center gap-2",
- children: [/* @__PURE__ */ (0, z.jsx)(jO, { children: "已保存别名" }), /* @__PURE__ */ (0, z.jsx)("span", {
+ children: [/* @__PURE__ */ (0, z.jsx)(QO, { children: "已保存别名" }), /* @__PURE__ */ (0, z.jsx)("span", {
className: "text-body-2-regular text-text-secondary",
children: `${e.length} 组`
})]
- }), e.length ? /* @__PURE__ */ (0, z.jsx)(QO, { children: /* @__PURE__ */ (0, z.jsxs)(YO, {
+ }), e.length ? /* @__PURE__ */ (0, z.jsx)(_k, { children: /* @__PURE__ */ (0, z.jsxs)(hk, {
"aria-label": "已保存创作者别名",
size: "sm",
- children: [/* @__PURE__ */ (0, z.jsxs)(dS, { children: [/* @__PURE__ */ (0, z.jsx)(fS, {
+ children: [/* @__PURE__ */ (0, z.jsxs)(fS, { children: [/* @__PURE__ */ (0, z.jsx)(pS, {
id: "canonical",
isRowHeader: !0,
children: "规范创作者"
- }), /* @__PURE__ */ (0, z.jsx)(fS, {
+ }), /* @__PURE__ */ (0, z.jsx)(pS, {
id: "aliases",
children: "平台别名"
- })] }), /* @__PURE__ */ (0, z.jsx)(mS, { children: e.map((e) => /* @__PURE__ */ (0, z.jsxs)(_S, {
+ })] }), /* @__PURE__ */ (0, z.jsx)(hS, { children: e.map((e) => /* @__PURE__ */ (0, z.jsxs)(vS, {
id: e.canonical_key,
- children: [/* @__PURE__ */ (0, z.jsx)(yS, { children: /* @__PURE__ */ (0, z.jsx)(BM, {
+ children: [/* @__PURE__ */ (0, z.jsx)(bS, { children: /* @__PURE__ */ (0, z.jsx)(YN, {
sources: n,
name: e.canonical_name,
canonicalKey: e.canonical_key
- }) }), /* @__PURE__ */ (0, z.jsx)(yS, { children: /* @__PURE__ */ (0, z.jsx)("span", {
+ }) }), /* @__PURE__ */ (0, z.jsx)(bS, { children: /* @__PURE__ */ (0, z.jsx)("span", {
className: "flex flex-wrap items-center gap-1.5",
children: e.aliases.map((e) => /* @__PURE__ */ (0, z.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",
@@ -38860,7 +39359,7 @@ function Yle({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i
...K(h.isPending),
onClick: () => void y({
title: "移除创作者别名",
- body: qle(e.name),
+ body: rle(e.name),
confirmLabel: "移除创作者别名",
onConfirm: () => h.mutateAsync(e.name)
})
@@ -38880,12 +39379,12 @@ function Yle({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i
}
//#endregion
//#region src/react/follow-manage/credentials.tsx
-var Xle = "这些账号信息存在哪里", Zle = "存成运行 Peach 那台电脑上的一个文件。在 Windows 上它不额外加锁,能登录那台电脑的人都能打开。", Qle = "将清除这个来源在本机和共享副本中的登录凭据。", $le = "文件权限过宽。在运行 Peach 的 POSIX 主机上收紧为 0600。";
-function eue(e, t) {
+var ole = "这些账号信息存在哪里", sle = "存成运行 Peach 那台电脑上的一个文件。在 Windows 上它不额外加锁,能登录那台电脑的人都能打开。", cle = "将清除这个来源在本机和共享副本中的登录凭据。", lle = "文件权限过宽。在运行 Peach 的 POSIX 主机上收紧为 0600。";
+function ule(e, t) {
return (e.shared_fields || []).includes(t) ? "来自共享,留空表示不改" : e.fields.includes(t) ? "已保存,留空表示不改" : "未填写";
}
-function tue({ row: e }) {
- if (mM(e)) return /* @__PURE__ */ (0, z.jsx)(yi, {
+function dle({ row: e }) {
+ if (CN(e)) return /* @__PURE__ */ (0, z.jsx)(yi, {
variant: "caption",
color: "lime",
children: "已配置"
@@ -38894,19 +39393,19 @@ function tue({ row: e }) {
return /* @__PURE__ */ (0, z.jsx)(yi, {
variant: "caption",
color: t,
- children: rle[e.requirement] || ""
+ children: pce[e.requirement] || ""
});
}
-function nue({ row: e, readOnly: t, toast: n }) {
- let [r, i] = (0, R.useState)({}), [a, o] = (0, R.useState)(""), s = mM(e), c = Pn({
- mutationFn: (t) => Kce(e.provider, t),
+function fle({ row: e, readOnly: t, toast: n }) {
+ let [r, i] = (0, R.useState)({}), [a, o] = (0, R.useState)(""), s = CN(e), c = Pn({
+ mutationFn: (t) => dN(e.provider, t),
onSuccess: (e, t) => {
if (e.note) {
o(e.note);
return;
}
o(""), i({}), q.invalidateQueries({
- queryKey: Rj,
+ queryKey: CM,
exact: !0
}), n(Object.keys(t).length ? "已保存来源凭据" : "已清除来源凭据");
},
@@ -38922,17 +39421,17 @@ function nue({ row: e, readOnly: t, toast: n }) {
return /* @__PURE__ */ (0, z.jsxs)("div", {
className: "flex flex-col gap-3",
children: [
- /* @__PURE__ */ (0, z.jsxs)(kO, { children: [e.why, e.where ? /* @__PURE__ */ (0, z.jsxs)(z.Fragment, { children: [" ", /* @__PURE__ */ (0, z.jsx)(MO, {
+ /* @__PURE__ */ (0, z.jsxs)(XO, { children: [e.why, e.where ? /* @__PURE__ */ (0, z.jsxs)(z.Fragment, { children: [" ", /* @__PURE__ */ (0, z.jsx)($O, {
href: e.where,
children: "去取"
})] }) : null] }),
- e.howto ? /* @__PURE__ */ (0, z.jsx)(kO, { children: e.howto }) : null,
+ e.howto ? /* @__PURE__ */ (0, z.jsx)(XO, { children: e.howto }) : null,
/* @__PURE__ */ (0, z.jsx)("div", {
className: "flex w-full flex-col gap-3",
- children: (e.needs || []).map((n) => /* @__PURE__ */ (0, z.jsx)(ck, {
+ children: (e.needs || []).map((n) => /* @__PURE__ */ (0, z.jsx)(Ek, {
type: "password",
label: n,
- placeholder: eue(e, n),
+ placeholder: ule(e, n),
autoComplete: "off",
spellCheck: "false",
isDisabled: t,
@@ -38960,7 +39459,7 @@ function nue({ row: e, readOnly: t, toast: n }) {
...K(c.isPending),
onClick: () => void y({
title: "清除来源凭据",
- body: Qle,
+ body: cle,
confirmLabel: "清除来源凭据",
danger: !0,
onConfirm: () => c.mutateAsync({})
@@ -38968,9 +39467,9 @@ function nue({ row: e, readOnly: t, toast: n }) {
children: "清除"
}) : null]
}),
- a ? /* @__PURE__ */ (0, z.jsx)(AO, { children: a }) : null,
- (e.shared_fields || []).length ? /* @__PURE__ */ (0, z.jsx)(kO, { children: `${e.shared_fields.join("、")} 是从共享副本回填的,本机没有单独存。清除会把两边一起删。` }) : null,
- e.path ? /* @__PURE__ */ (0, z.jsx)(xO, {
+ a ? /* @__PURE__ */ (0, z.jsx)(ZO, { children: a }) : null,
+ (e.shared_fields || []).length ? /* @__PURE__ */ (0, z.jsx)(XO, { children: `${e.shared_fields.join("、")} 是从共享副本回填的,本机没有单独存。清除会把两边一起删。` }) : null,
+ e.path ? /* @__PURE__ */ (0, z.jsx)(HO, {
path: e.path,
className: "font-mono text-caption-1-regular text-text-tertiary",
onRevealed: n
@@ -38978,24 +39477,24 @@ function nue({ row: e, readOnly: t, toast: n }) {
e.world_readable ? /* @__PURE__ */ (0, z.jsx)(G, {
tone: "error",
title: "凭据文件权限过宽",
- children: $le
+ children: lle
}) : null
]
});
}
-function rue({ row: e, readOnly: t, toast: n }) {
+function ple({ row: e, readOnly: t, toast: n }) {
let r = /* @__PURE__ */ (0, z.jsxs)("span", {
className: "flex min-w-0 items-center gap-2",
children: [
/* @__PURE__ */ (0, z.jsx)("span", {
className: "inline-flex size-3.5 shrink-0 items-center justify-center",
- children: /* @__PURE__ */ (0, z.jsx)(NM, { provider: e.provider })
+ children: /* @__PURE__ */ (0, z.jsx)(HN, { provider: e.provider })
}),
/* @__PURE__ */ (0, z.jsx)("b", {
className: "text-body-medium text-text-primary",
children: e.provider_label
}),
- /* @__PURE__ */ (0, z.jsx)(tue, { row: e }),
+ /* @__PURE__ */ (0, z.jsx)(dle, { row: e }),
e.missing.length ? /* @__PURE__ */ (0, z.jsx)(yi, {
variant: "caption",
color: "rose",
@@ -39005,13 +39504,13 @@ function rue({ row: e, readOnly: t, toast: n }) {
});
return e.requirement === "none" || e.requirement === "blocked" ? /* @__PURE__ */ (0, z.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, z.jsx)(kO, { children: e.why }) : null]
+ children: [r, e.requirement === "blocked" ? /* @__PURE__ */ (0, z.jsx)(XO, { children: e.why }) : null]
}) : /* @__PURE__ */ (0, z.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, z.jsx)(FO, {
- summary: mM(e) ? "修改凭据" : "填写凭据",
- defaultOpen: e.requirement === "required" && !mM(e),
- children: /* @__PURE__ */ (0, z.jsx)(nue, {
+ children: [r, /* @__PURE__ */ (0, z.jsx)(nk, {
+ summary: CN(e) ? "修改凭据" : "填写凭据",
+ defaultOpen: e.requirement === "required" && !CN(e),
+ children: /* @__PURE__ */ (0, z.jsx)(fle, {
row: e,
readOnly: t,
toast: n
@@ -39019,8 +39518,8 @@ function rue({ row: e, readOnly: t, toast: n }) {
})]
});
}
-function iue({ data: e, readOnly: t, toast: n }) {
- let r = e.providers || [], i = r.filter((e) => e.requirement === "required" && !mM(e));
+function mle({ data: e, readOnly: t, toast: n }) {
+ let r = e.providers || [], i = r.filter((e) => e.requirement === "required" && !CN(e));
return r.length ? /* @__PURE__ */ (0, z.jsxs)("div", {
className: Mi({
padding: "none",
@@ -39062,7 +39561,7 @@ function iue({ data: e, readOnly: t, toast: n }) {
padding: "none",
className: "flex flex-col overflow-hidden"
}),
- children: e.rows.map((e) => /* @__PURE__ */ (0, z.jsx)(rue, {
+ children: e.rows.map((e) => /* @__PURE__ */ (0, z.jsx)(ple, {
row: e,
readOnly: t,
toast: n
@@ -39074,13 +39573,13 @@ function iue({ data: e, readOnly: t, toast: n }) {
children: [
/* @__PURE__ */ (0, z.jsx)("b", {
className: "text-body-medium text-text-primary",
- children: Xle
+ children: ole
}),
/* @__PURE__ */ (0, z.jsx)("span", {
className: "text-body-2-regular text-text-secondary",
- children: Zle
+ children: sle
}),
- /* @__PURE__ */ (0, z.jsx)(xO, {
+ /* @__PURE__ */ (0, z.jsx)(HO, {
path: e.root,
prefix: "凭据文件在 ",
className: "text-body-2-regular text-text-secondary",
@@ -39098,7 +39597,7 @@ function iue({ data: e, readOnly: t, toast: n }) {
}
//#endregion
//#region node_modules/@tanstack/table-core/build/lib/index.mjs
-function VM() {
+function XN() {
return {
accessor: (e, t) => typeof e == "function" ? {
...t,
@@ -39111,24 +39610,24 @@ function VM() {
group: (e) => e
};
}
-function HM(e, t) {
+function ZN(e, t) {
return typeof e == "function" ? e(t) : e;
}
-function UM(e, t) {
+function QN(e, t) {
return (n) => {
t.setState((t) => ({
...t,
- [e]: HM(n, t[e])
+ [e]: ZN(n, t[e])
}));
};
}
-function WM(e) {
+function $N(e) {
return e instanceof Function;
}
-function aue(e) {
+function hle(e) {
return Array.isArray(e) && e.every((e) => typeof e == "number");
}
-function oue(e, t) {
+function gle(e, t) {
let n = [], r = (e) => {
e.forEach((e) => {
n.push(e);
@@ -39138,7 +39637,7 @@ function oue(e, t) {
};
return r(e), n;
}
-function GM(e, t, n) {
+function eP(e, t, n) {
let r = [], i;
return (a) => {
let o;
@@ -39160,21 +39659,21 @@ function GM(e, t, n) {
return i;
};
}
-function KM(e, t, n, r) {
+function tP(e, t, n, r) {
return {
debug: () => e?.debugAll ?? e[t],
key: !1,
onChange: r
};
}
-function sue(e, t, n, r) {
+function _le(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: GM(() => [
+ getContext: eP(() => [
e,
n,
t,
@@ -39186,13 +39685,13 @@ function sue(e, t, n, r) {
cell: r,
getValue: r.getValue,
renderValue: r.renderValue
- }), KM(e.options, "debugCells", "cell.getContext"))
+ }), tP(e.options, "debugCells", "cell.getContext"))
};
return e._features.forEach((r) => {
r.createCell == null || r.createCell(i, n, t, e);
}, {}), i;
}
-function cue(e, t, n, r) {
+function vle(e, t, n, r) {
let i = {
...e._getDefaultColumnDef(),
...t
@@ -39209,17 +39708,17 @@ function cue(e, t, n, r) {
depth: n,
columnDef: i,
columns: [],
- getFlatColumns: GM(() => [!0], () => [c, ...c.columns?.flatMap((e) => e.getFlatColumns())], KM(e.options, "debugColumns", "column.getFlatColumns")),
- getLeafColumns: GM(() => [e._getOrderColumnsFn()], (e) => {
+ getFlatColumns: eP(() => [!0], () => [c, ...c.columns?.flatMap((e) => e.getFlatColumns())], tP(e.options, "debugColumns", "column.getFlatColumns")),
+ getLeafColumns: eP(() => [e._getOrderColumnsFn()], (e) => {
var t;
return (t = c.columns) != null && t.length ? e(c.columns.flatMap((e) => e.getLeafColumns())) : [c];
- }, KM(e.options, "debugColumns", "column.getLeafColumns"))
+ }, tP(e.options, "debugColumns", "column.getLeafColumns"))
};
for (let t of e._features) t.createColumn == null || t.createColumn(c, e);
return c;
}
-var qM = "debugHeaders";
-function JM(e, t, n) {
+var nP = "debugHeaders";
+function rP(e, t, n) {
let r = {
id: n.id ?? t.id,
column: t,
@@ -39247,42 +39746,42 @@ function JM(e, t, n) {
t.createHeader == null || t.createHeader(r, e);
}), r;
}
-var lue = { createTable: (e) => {
- e.getHeaderGroups = GM(() => [
+var yle = { createTable: (e) => {
+ e.getHeaderGroups = eP(() => [
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 YM(t, [
+ return iP(t, [
...a,
...s,
...o
], e);
- }, KM(e.options, qM, "getHeaderGroups")), e.getCenterHeaderGroups = GM(() => [
+ }, tP(e.options, nP, "getHeaderGroups")), e.getCenterHeaderGroups = eP(() => [
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))), YM(t, n, e, "center")), KM(e.options, qM, "getCenterHeaderGroups")), e.getLeftHeaderGroups = GM(() => [
+ ], (t, n, r, i) => (n = n.filter((e) => !(r != null && r.includes(e.id)) && !(i != null && i.includes(e.id))), iP(t, n, e, "center")), tP(e.options, nP, "getCenterHeaderGroups")), e.getLeftHeaderGroups = eP(() => [
e.getAllColumns(),
e.getVisibleLeafColumns(),
e.getState().columnPinning.left
- ], (t, n, r) => YM(t, r?.map((e) => n.find((t) => t.id === e)).filter(Boolean) ?? [], e, "left"), KM(e.options, qM, "getLeftHeaderGroups")), e.getRightHeaderGroups = GM(() => [
+ ], (t, n, r) => iP(t, r?.map((e) => n.find((t) => t.id === e)).filter(Boolean) ?? [], e, "left"), tP(e.options, nP, "getLeftHeaderGroups")), e.getRightHeaderGroups = eP(() => [
e.getAllColumns(),
e.getVisibleLeafColumns(),
e.getState().columnPinning.right
- ], (t, n, r) => YM(t, r?.map((e) => n.find((t) => t.id === e)).filter(Boolean) ?? [], e, "right"), KM(e.options, qM, "getRightHeaderGroups")), e.getFooterGroups = GM(() => [e.getHeaderGroups()], (e) => [...e].reverse(), KM(e.options, qM, "getFooterGroups")), e.getLeftFooterGroups = GM(() => [e.getLeftHeaderGroups()], (e) => [...e].reverse(), KM(e.options, qM, "getLeftFooterGroups")), e.getCenterFooterGroups = GM(() => [e.getCenterHeaderGroups()], (e) => [...e].reverse(), KM(e.options, qM, "getCenterFooterGroups")), e.getRightFooterGroups = GM(() => [e.getRightHeaderGroups()], (e) => [...e].reverse(), KM(e.options, qM, "getRightFooterGroups")), e.getFlatHeaders = GM(() => [e.getHeaderGroups()], (e) => e.map((e) => e.headers).flat(), KM(e.options, qM, "getFlatHeaders")), e.getLeftFlatHeaders = GM(() => [e.getLeftHeaderGroups()], (e) => e.map((e) => e.headers).flat(), KM(e.options, qM, "getLeftFlatHeaders")), e.getCenterFlatHeaders = GM(() => [e.getCenterHeaderGroups()], (e) => e.map((e) => e.headers).flat(), KM(e.options, qM, "getCenterFlatHeaders")), e.getRightFlatHeaders = GM(() => [e.getRightHeaderGroups()], (e) => e.map((e) => e.headers).flat(), KM(e.options, qM, "getRightFlatHeaders")), e.getCenterLeafHeaders = GM(() => [e.getCenterFlatHeaders()], (e) => e.filter((e) => {
+ ], (t, n, r) => iP(t, r?.map((e) => n.find((t) => t.id === e)).filter(Boolean) ?? [], e, "right"), tP(e.options, nP, "getRightHeaderGroups")), e.getFooterGroups = eP(() => [e.getHeaderGroups()], (e) => [...e].reverse(), tP(e.options, nP, "getFooterGroups")), e.getLeftFooterGroups = eP(() => [e.getLeftHeaderGroups()], (e) => [...e].reverse(), tP(e.options, nP, "getLeftFooterGroups")), e.getCenterFooterGroups = eP(() => [e.getCenterHeaderGroups()], (e) => [...e].reverse(), tP(e.options, nP, "getCenterFooterGroups")), e.getRightFooterGroups = eP(() => [e.getRightHeaderGroups()], (e) => [...e].reverse(), tP(e.options, nP, "getRightFooterGroups")), e.getFlatHeaders = eP(() => [e.getHeaderGroups()], (e) => e.map((e) => e.headers).flat(), tP(e.options, nP, "getFlatHeaders")), e.getLeftFlatHeaders = eP(() => [e.getLeftHeaderGroups()], (e) => e.map((e) => e.headers).flat(), tP(e.options, nP, "getLeftFlatHeaders")), e.getCenterFlatHeaders = eP(() => [e.getCenterHeaderGroups()], (e) => e.map((e) => e.headers).flat(), tP(e.options, nP, "getCenterFlatHeaders")), e.getRightFlatHeaders = eP(() => [e.getRightHeaderGroups()], (e) => e.map((e) => e.headers).flat(), tP(e.options, nP, "getRightFlatHeaders")), e.getCenterLeafHeaders = eP(() => [e.getCenterFlatHeaders()], (e) => e.filter((e) => {
var t;
return !((t = e.subHeaders) != null && t.length);
- }), KM(e.options, qM, "getCenterLeafHeaders")), e.getLeftLeafHeaders = GM(() => [e.getLeftFlatHeaders()], (e) => e.filter((e) => {
+ }), tP(e.options, nP, "getCenterLeafHeaders")), e.getLeftLeafHeaders = eP(() => [e.getLeftFlatHeaders()], (e) => e.filter((e) => {
var t;
return !((t = e.subHeaders) != null && t.length);
- }), KM(e.options, qM, "getLeftLeafHeaders")), e.getRightLeafHeaders = GM(() => [e.getRightFlatHeaders()], (e) => e.filter((e) => {
+ }), tP(e.options, nP, "getLeftLeafHeaders")), e.getRightLeafHeaders = eP(() => [e.getRightFlatHeaders()], (e) => e.filter((e) => {
var t;
return !((t = e.subHeaders) != null && t.length);
- }), KM(e.options, qM, "getRightLeafHeaders")), e.getLeafHeaders = GM(() => [
+ }), tP(e.options, nP, "getRightLeafHeaders")), e.getLeafHeaders = eP(() => [
e.getLeftHeaderGroups(),
e.getCenterHeaderGroups(),
e.getRightHeaderGroups()
@@ -39290,9 +39789,9 @@ var lue = { createTable: (e) => {
...e[0]?.headers ?? [],
...t[0]?.headers ?? [],
...n[0]?.headers ?? []
- ].map((e) => e.getLeafHeaders()).flat(), KM(e.options, qM, "getLeafHeaders"));
+ ].map((e) => e.getLeafHeaders()).flat(), tP(e.options, nP, "getLeafHeaders"));
} };
-function YM(e, t, n, r) {
+function iP(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;
@@ -39310,7 +39809,7 @@ function YM(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 = JM(n, c, {
+ let i = rP(n, c, {
id: [
r,
t,
@@ -39327,7 +39826,7 @@ function YM(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) => JM(n, e, {
+ s(t.map((e, t) => rP(n, e, {
depth: i,
index: t
})), i - 1), o.reverse();
@@ -39345,7 +39844,7 @@ function YM(e, t, n, r) {
});
return c(o[0]?.headers ?? []), o;
}
-var uue = (e, t, n, r, i, a, o) => {
+var ble = (e, t, n, r, i, a, o) => {
let s = {
id: t,
index: r,
@@ -39366,7 +39865,7 @@ var uue = (e, t, n, r, i, a, o) => {
},
renderValue: (t) => s.getValue(t) ?? e.options.renderFallbackValue,
subRows: a ?? [],
- getLeafRows: () => oue(s.subRows, (e) => e.subRows),
+ getLeafRows: () => gle(s.subRows, (e) => e.subRows),
getParentRow: () => s.parentId ? e.getRow(s.parentId, !0) : void 0,
getParentRows: () => {
let e = [], t = s;
@@ -39377,95 +39876,95 @@ var uue = (e, t, n, r, i, a, o) => {
}
return e.reverse();
},
- getAllCells: GM(() => [e.getAllLeafColumns()], (t) => t.map((t) => sue(e, s, t, t.id)), KM(e.options, "debugRows", "getAllCells")),
- _getAllCellsByColumnId: GM(() => [s.getAllCells()], (e) => e.reduce((e, t) => (e[t.column.id] = t, e), {}), KM(e.options, "debugRows", "getAllCellsByColumnId"))
+ getAllCells: eP(() => [e.getAllLeafColumns()], (t) => t.map((t) => _le(e, s, t, t.id)), tP(e.options, "debugRows", "getAllCells")),
+ _getAllCellsByColumnId: eP(() => [s.getAllCells()], (e) => e.reduce((e, t) => (e[t.column.id] = t, e), {}), tP(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;
-}, due = { createColumn: (e, t) => {
+}, xle = { 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();
};
-} }, XM = (e, t, n) => {
+} }, aP = (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));
};
-XM.autoRemove = (e) => oN(e);
-var ZM = (e, t, n) => {
+aP.autoRemove = (e) => hP(e);
+var oP = (e, t, n) => {
var r;
return !!((r = e.getValue(t)) != null && (r = r.toString()) != null && r.includes(n));
};
-ZM.autoRemove = (e) => oN(e);
-var QM = (e, t, n) => {
+oP.autoRemove = (e) => hP(e);
+var sP = (e, t, n) => {
var r;
return ((r = e.getValue(t)) == null || (r = r.toString()) == null ? void 0 : r.toLowerCase()) === n?.toLowerCase();
};
-QM.autoRemove = (e) => oN(e);
-var $M = (e, t, n) => e.getValue(t)?.includes(n);
-$M.autoRemove = (e) => oN(e);
-var eN = (e, t, n) => !n.some((n) => {
+sP.autoRemove = (e) => hP(e);
+var cP = (e, t, n) => e.getValue(t)?.includes(n);
+cP.autoRemove = (e) => hP(e);
+var lP = (e, t, n) => !n.some((n) => {
var r;
return !((r = e.getValue(t)) != null && r.includes(n));
});
-eN.autoRemove = (e) => oN(e) || !(e != null && e.length);
-var tN = (e, t, n) => n.some((n) => e.getValue(t)?.includes(n));
-tN.autoRemove = (e) => oN(e) || !(e != null && e.length);
-var nN = (e, t, n) => e.getValue(t) === n;
-nN.autoRemove = (e) => oN(e);
-var rN = (e, t, n) => e.getValue(t) == n;
-rN.autoRemove = (e) => oN(e);
-var iN = (e, t, n) => {
+lP.autoRemove = (e) => hP(e) || !(e != null && e.length);
+var uP = (e, t, n) => n.some((n) => e.getValue(t)?.includes(n));
+uP.autoRemove = (e) => hP(e) || !(e != null && e.length);
+var dP = (e, t, n) => e.getValue(t) === n;
+dP.autoRemove = (e) => hP(e);
+var fP = (e, t, n) => e.getValue(t) == n;
+fP.autoRemove = (e) => hP(e);
+var pP = (e, t, n) => {
let [r, i] = n, a = e.getValue(t);
return a >= r && a <= i;
};
-iN.resolveFilterValue = (e) => {
+pP.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];
-}, iN.autoRemove = (e) => oN(e) || oN(e[0]) && oN(e[1]);
-var aN = {
- includesString: XM,
- includesStringSensitive: ZM,
- equalsString: QM,
- arrIncludes: $M,
- arrIncludesAll: eN,
- arrIncludesSome: tN,
- equals: nN,
- weakEquals: rN,
- inNumberRange: iN
+}, pP.autoRemove = (e) => hP(e) || hP(e[0]) && hP(e[1]);
+var mP = {
+ includesString: aP,
+ includesStringSensitive: oP,
+ equalsString: sP,
+ arrIncludes: cP,
+ arrIncludesAll: lP,
+ arrIncludesSome: uP,
+ equals: dP,
+ weakEquals: fP,
+ inNumberRange: pP
};
-function oN(e) {
+function hP(e) {
return e == null || e === "";
}
-var fue = {
+var Sle = {
getDefaultColumnDef: () => ({ filterFn: "auto" }),
getInitialState: (e) => ({
columnFilters: [],
...e
}),
getDefaultOptions: (e) => ({
- onColumnFiltersChange: UM("columnFilters", e),
+ onColumnFiltersChange: QN("columnFilters", e),
filterFromLeafRows: !1,
maxLeafRowFilterDepth: 100
}),
createColumn: (e, t) => {
e.getAutoFilterFn = () => {
let n = t.getCoreRowModel().flatRows[0]?.getValue(e.id);
- return typeof n == "string" ? aN.includesString : typeof n == "number" ? aN.inNumberRange : typeof n == "boolean" || typeof n == "object" && n ? aN.equals : Array.isArray(n) ? aN.arrIncludes : aN.weakEquals;
- }, e.getFilterFn = () => WM(e.columnDef.filterFn) ? e.columnDef.filterFn : e.columnDef.filterFn === "auto" ? e.getAutoFilterFn() : t.options.filterFns?.[e.columnDef.filterFn] ?? aN[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" ? mP.includesString : typeof n == "number" ? mP.inNumberRange : typeof n == "boolean" || typeof n == "object" && n ? mP.equals : Array.isArray(n) ? mP.arrIncludes : mP.weakEquals;
+ }, e.getFilterFn = () => $N(e.columnDef.filterFn) ? e.columnDef.filterFn : e.columnDef.filterFn === "auto" ? e.getAutoFilterFn() : t.options.filterFns?.[e.columnDef.filterFn] ?? mP[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 = HM(n, i ? i.value : void 0);
- if (sN(r, a, e)) return t?.filter((t) => t.id !== e.id) ?? [];
+ let r = e.getFilterFn(), i = t?.find((t) => t.id === e.id), a = ZN(n, i ? i.value : void 0);
+ if (gP(r, a, e)) return t?.filter((t) => t.id !== e.id) ?? [];
let o = {
id: e.id,
value: a
@@ -39480,19 +39979,19 @@ var fue = {
createTable: (e) => {
e.setColumnFilters = (t) => {
let n = e.getAllLeafColumns();
- e.options.onColumnFiltersChange == null || e.options.onColumnFiltersChange((e) => HM(t, e)?.filter((e) => {
+ e.options.onColumnFiltersChange == null || e.options.onColumnFiltersChange((e) => ZN(t, e)?.filter((e) => {
let t = n.find((t) => t.id === e.id);
- return !(t && sN(t.getFilterFn(), e.value, t));
+ return !(t && gP(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 sN(e, t, n) {
+function gP(e, t, n) {
return (e && e.autoRemove ? e.autoRemove(t, n) : !1) || t === void 0 || typeof t == "string" && !t;
}
-var cN = {
+var _P = {
sum: (e, t, n) => n.reduce((t, n) => {
let r = n.getValue(e);
return t + (typeof r == "number" ? r : 0);
@@ -39528,7 +40027,7 @@ var cN = {
median: (e, t) => {
if (!t.length) return;
let n = t.map((t) => t.getValue(e));
- if (!aue(n)) return;
+ if (!hle(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];
@@ -39536,7 +40035,7 @@ var cN = {
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
-}, pue = {
+}, Cle = {
getDefaultColumnDef: () => ({
aggregatedCell: (e) => {
var t;
@@ -39549,7 +40048,7 @@ var cN = {
...e
}),
getDefaultOptions: (e) => ({
- onGroupingChange: UM("grouping", e),
+ onGroupingChange: QN("grouping", e),
groupedColumnMode: "reorder"
}),
createColumn: (e, t) => {
@@ -39562,11 +40061,11 @@ var cN = {
};
}, e.getAutoAggregationFn = () => {
let n = t.getCoreRowModel().flatRows[0]?.getValue(e.id);
- if (typeof n == "number") return cN.sum;
- if (Object.prototype.toString.call(n) === "[object Date]") return cN.extent;
+ if (typeof n == "number") return _P.sum;
+ if (Object.prototype.toString.call(n) === "[object Date]") return _P.extent;
}, e.getAggregationFn = () => {
if (!e) throw Error();
- return WM(e.columnDef.aggregationFn) ? e.columnDef.aggregationFn : e.columnDef.aggregationFn === "auto" ? e.getAutoAggregationFn() : t.options.aggregationFns?.[e.columnDef.aggregationFn] ?? cN[e.columnDef.aggregationFn];
+ return $N(e.columnDef.aggregationFn) ? e.columnDef.aggregationFn : e.columnDef.aggregationFn === "auto" ? e.getAutoAggregationFn() : t.options.aggregationFns?.[e.columnDef.aggregationFn] ?? _P[e.columnDef.aggregationFn];
};
},
createTable: (e) => {
@@ -39588,27 +40087,27 @@ var cN = {
};
}
};
-function mue(e, t, n) {
+function wle(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 hue = {
+var Tle = {
getInitialState: (e) => ({
columnOrder: [],
...e
}),
- getDefaultOptions: (e) => ({ onColumnOrderChange: UM("columnOrder", e) }),
+ getDefaultOptions: (e) => ({ onColumnOrderChange: QN("columnOrder", e) }),
createColumn: (e, t) => {
- e.getIndex = GM((e) => [mN(t, e)], (t) => t.findIndex((t) => t.id === e.id), KM(t.options, "debugColumns", "getIndex")), e.getIsFirstColumn = (n) => mN(t, n)[0]?.id === e.id, e.getIsLastColumn = (n) => {
- let r = mN(t, n);
+ e.getIndex = eP((e) => [CP(t, e)], (t) => t.findIndex((t) => t.id === e.id), tP(t.options, "debugColumns", "getIndex")), e.getIsFirstColumn = (n) => CP(t, n)[0]?.id === e.id, e.getIsLastColumn = (n) => {
+ let r = CP(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 = GM(() => [
+ }, e._getOrderColumnsFn = eP(() => [
e.getState().columnOrder,
e.getState().grouping,
e.options.groupedColumnMode
@@ -39623,18 +40122,18 @@ var hue = {
}
i = [...i, ...n];
}
- return mue(i, t, n);
- }, KM(e.options, "debugTable", "_getOrderColumnsFn"));
+ return wle(i, t, n);
+ }, tP(e.options, "debugTable", "_getOrderColumnsFn"));
}
-}, lN = () => ({
+}, vP = () => ({
left: [],
right: []
-}), gue = {
+}), Ele = {
getInitialState: (e) => ({
- columnPinning: lN(),
+ columnPinning: vP(),
...e
}),
- getDefaultOptions: (e) => ({ onColumnPinningChange: UM("columnPinning", e) }),
+ getDefaultOptions: (e) => ({ onColumnPinningChange: QN("columnPinning", e) }),
createColumn: (e, t) => {
e.pin = (n) => {
let r = e.getLeafColumns().map((e) => e.id).filter(Boolean);
@@ -39658,75 +40157,75 @@ var hue = {
};
},
createRow: (e, t) => {
- e.getCenterVisibleCells = GM(() => [
+ e.getCenterVisibleCells = eP(() => [
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));
- }, KM(t.options, "debugRows", "getCenterVisibleCells")), e.getLeftVisibleCells = GM(() => [e._getAllVisibleCells(), t.getState().columnPinning.left], (e, t) => (t ?? []).map((t) => e.find((e) => e.column.id === t)).filter(Boolean).map((e) => ({
+ }, tP(t.options, "debugRows", "getCenterVisibleCells")), e.getLeftVisibleCells = eP(() => [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"
- })), KM(t.options, "debugRows", "getLeftVisibleCells")), e.getRightVisibleCells = GM(() => [e._getAllVisibleCells(), t.getState().columnPinning.right], (e, t) => (t ?? []).map((t) => e.find((e) => e.column.id === t)).filter(Boolean).map((e) => ({
+ })), tP(t.options, "debugRows", "getLeftVisibleCells")), e.getRightVisibleCells = eP(() => [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"
- })), KM(t.options, "debugRows", "getRightVisibleCells"));
+ })), tP(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 ? lN() : e.initialState?.columnPinning ?? lN()), e.getIsSomeColumnsPinned = (t) => {
+ e.setColumnPinning = (t) => e.options.onColumnPinningChange == null ? void 0 : e.options.onColumnPinningChange(t), e.resetColumnPinning = (t) => e.setColumnPinning(t ? vP() : e.initialState?.columnPinning ?? vP()), e.getIsSomeColumnsPinned = (t) => {
let n = e.getState().columnPinning;
return t ? !!n[t]?.length : !!(n.left?.length || n.right?.length);
- }, e.getLeftLeafColumns = GM(() => [e.getAllLeafColumns(), e.getState().columnPinning.left], (e, t) => (t ?? []).map((t) => e.find((e) => e.id === t)).filter(Boolean), KM(e.options, "debugColumns", "getLeftLeafColumns")), e.getRightLeafColumns = GM(() => [e.getAllLeafColumns(), e.getState().columnPinning.right], (e, t) => (t ?? []).map((t) => e.find((e) => e.id === t)).filter(Boolean), KM(e.options, "debugColumns", "getRightLeafColumns")), e.getCenterLeafColumns = GM(() => [
+ }, e.getLeftLeafColumns = eP(() => [e.getAllLeafColumns(), e.getState().columnPinning.left], (e, t) => (t ?? []).map((t) => e.find((e) => e.id === t)).filter(Boolean), tP(e.options, "debugColumns", "getLeftLeafColumns")), e.getRightLeafColumns = eP(() => [e.getAllLeafColumns(), e.getState().columnPinning.right], (e, t) => (t ?? []).map((t) => e.find((e) => e.id === t)).filter(Boolean), tP(e.options, "debugColumns", "getRightLeafColumns")), e.getCenterLeafColumns = eP(() => [
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));
- }, KM(e.options, "debugColumns", "getCenterLeafColumns"));
+ }, tP(e.options, "debugColumns", "getCenterLeafColumns"));
}
};
-function _ue(e) {
+function Dle(e) {
return e || (typeof document < "u" ? document : null);
}
-var uN = {
+var yP = {
size: 150,
minSize: 20,
maxSize: 2 ** 53 - 1
-}, dN = () => ({
+}, bP = () => ({
startOffset: null,
startSize: null,
deltaOffset: null,
deltaPercentage: null,
isResizingColumn: !1,
columnSizingStart: []
-}), vue = {
- getDefaultColumnDef: () => uN,
+}), Ole = {
+ getDefaultColumnDef: () => yP,
getInitialState: (e) => ({
columnSizing: {},
- columnSizingInfo: dN(),
+ columnSizingInfo: bP(),
...e
}),
getDefaultOptions: (e) => ({
columnResizeMode: "onEnd",
columnResizeDirection: "ltr",
- onColumnSizingChange: UM("columnSizing", e),
- onColumnSizingInfoChange: UM("columnSizingInfo", e)
+ onColumnSizingChange: QN("columnSizing", e),
+ onColumnSizingInfoChange: QN("columnSizingInfo", e)
}),
createColumn: (e, t) => {
e.getSize = () => {
let n = t.getState().columnSizing[e.id];
- return Math.min(Math.max(e.columnDef.minSize ?? uN.minSize, n ?? e.columnDef.size ?? uN.size), e.columnDef.maxSize ?? uN.maxSize);
- }, e.getStart = GM((e) => [
+ return Math.min(Math.max(e.columnDef.minSize ?? yP.minSize, n ?? e.columnDef.size ?? yP.size), e.columnDef.maxSize ?? yP.maxSize);
+ }, e.getStart = eP((e) => [
e,
- mN(t, e),
+ CP(t, e),
t.getState().columnSizing
- ], (t, n) => n.slice(0, e.getIndex(t)).reduce((e, t) => e + t.getSize(), 0), KM(t.options, "debugColumns", "getStart")), e.getAfter = GM((e) => [
+ ], (t, n) => n.slice(0, e.getIndex(t)).reduce((e, t) => e + t.getSize(), 0), tP(t.options, "debugColumns", "getStart")), e.getAfter = eP((e) => [
e,
- mN(t, e),
+ CP(t, e),
t.getState().columnSizing
- ], (t, n) => n.slice(e.getIndex(t) + 1).reduce((e, t) => e + t.getSize(), 0), KM(t.options, "debugColumns", "getAfter")), e.resetSize = () => {
+ ], (t, n) => n.slice(e.getIndex(t) + 1).reduce((e, t) => e + t.getSize(), 0), tP(t.options, "debugColumns", "getAfter")), e.resetSize = () => {
t.setColumnSizing((t) => {
let { [e.id]: n, ...r } = t;
return r;
@@ -39748,8 +40247,8 @@ var uN = {
}, e.getResizeHandler = (n) => {
let r = t.getColumn(e.column.id), i = r?.getCanResize();
return (a) => {
- if (!r || !i || (a.persist == null || a.persist(), pN(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 = pN(a) ? Math.round(a.touches[0].clientX) : a.clientX, l = {}, u = (e, n) => {
+ if (!r || !i || (a.persist == null || a.persist(), SP(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 = SP(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) => {
@@ -39774,7 +40273,7 @@ var uN = {
deltaPercentage: null,
columnSizingStart: []
}));
- }, p = _ue(n), m = {
+ }, p = Dle(n), m = {
moveHandler: (e) => d(e.clientX),
upHandler: (e) => {
p?.removeEventListener("mousemove", m.moveHandler), p?.removeEventListener("mouseup", m.upHandler), f(e.clientX);
@@ -39784,8 +40283,8 @@ var uN = {
upHandler: (e) => {
p?.removeEventListener("touchmove", h.moveHandler), p?.removeEventListener("touchend", h.upHandler), e.cancelable && (e.preventDefault(), e.stopPropagation()), f(e.touches[0]?.clientX);
}
- }, g = yue() ? { passive: !1 } : !1;
- pN(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 = kle() ? { passive: !1 } : !1;
+ SP(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,
@@ -39801,12 +40300,12 @@ var uN = {
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 ? dN() : e.initialState.columnSizingInfo ?? dN());
+ e.setColumnSizingInfo(t ? bP() : e.initialState.columnSizingInfo ?? bP());
}, 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;
}
-}, fN = null;
-function yue() {
- if (typeof fN == "boolean") return fN;
+}, xP = null;
+function kle() {
+ if (typeof xP == "boolean") return xP;
let e = !1;
try {
let t = { get passive() {
@@ -39816,17 +40315,17 @@ function yue() {
} catch {
e = !1;
}
- return fN = e, fN;
+ return xP = e, xP;
}
-function pN(e) {
+function SP(e) {
return e.type === "touchstart";
}
-var bue = {
+var Ale = {
getInitialState: (e) => ({
columnVisibility: {},
...e
}),
- getDefaultOptions: (e) => ({ onColumnVisibilityChange: UM("columnVisibility", e) }),
+ getDefaultOptions: (e) => ({ onColumnVisibilityChange: QN("columnVisibility", e) }),
createColumn: (e, t) => {
e.toggleVisibility = (n) => {
e.getCanHide() && t.setColumnVisibility((t) => ({
@@ -39841,7 +40340,7 @@ var bue = {
};
},
createRow: (e, t) => {
- e._getAllVisibleCells = GM(() => [e.getAllCells(), t.getState().columnVisibility], (e) => e.filter((e) => e.column.getIsVisible()), KM(t.options, "debugRows", "_getAllVisibleCells")), e.getVisibleCells = GM(() => [
+ e._getAllVisibleCells = eP(() => [e.getAllCells(), t.getState().columnVisibility], (e) => e.filter((e) => e.column.getIsVisible()), tP(t.options, "debugRows", "_getAllVisibleCells")), e.getVisibleCells = eP(() => [
e.getLeftVisibleCells(),
e.getCenterVisibleCells(),
e.getRightVisibleCells()
@@ -39849,10 +40348,10 @@ var bue = {
...e,
...t,
...n
- ], KM(t.options, "debugRows", "getVisibleCells"));
+ ], tP(t.options, "debugRows", "getVisibleCells"));
},
createTable: (e) => {
- let t = (t, n) => GM(() => [n(), n().filter((e) => e.getIsVisible()).map((e) => e.id).join("_")], (e) => e.filter((e) => e.getIsVisible == null ? void 0 : e.getIsVisible()), KM(e.options, "debugColumns", t));
+ let t = (t, n) => eP(() => [n(), n().filter((e) => e.getIsVisible()).map((e) => e.id).join("_")], (e) => e.filter((e) => e.getIsVisible == null ? void 0 : e.getIsVisible()), tP(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) => {
@@ -39865,20 +40364,20 @@ var bue = {
};
}
};
-function mN(e, t) {
+function CP(e, t) {
return t ? t === "center" ? e.getCenterVisibleLeafColumns() : t === "left" ? e.getLeftVisibleLeafColumns() : e.getRightVisibleLeafColumns() : e.getVisibleLeafColumns();
}
-var xue = { createTable: (e) => {
+var jle = { 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();
};
-} }, Sue = {
+} }, Mle = {
getInitialState: (e) => ({
globalFilter: void 0,
...e
}),
getDefaultOptions: (e) => ({
- onGlobalFilterChange: UM("globalFilter", e),
+ onGlobalFilterChange: QN("globalFilter", e),
globalFilterFn: "auto",
getColumnCanGlobalFilter: (t) => {
var n;
@@ -39890,22 +40389,22 @@ var xue = { 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 = () => aN.includesString, e.getGlobalFilterFn = () => {
+ e.getGlobalAutoFilterFn = () => mP.includesString, e.getGlobalFilterFn = () => {
let { globalFilterFn: t } = e.options;
- return WM(t) ? t : t === "auto" ? e.getGlobalAutoFilterFn() : e.options.filterFns?.[t] ?? aN[t];
+ return $N(t) ? t : t === "auto" ? e.getGlobalAutoFilterFn() : e.options.filterFns?.[t] ?? mP[t];
}, e.setGlobalFilter = (t) => {
e.options.onGlobalFilterChange == null || e.options.onGlobalFilterChange(t);
}, e.resetGlobalFilter = (t) => {
e.setGlobalFilter(t ? void 0 : e.initialState.globalFilter);
};
}
-}, Cue = {
+}, Nle = {
getInitialState: (e) => ({
expanded: {},
...e
}),
getDefaultOptions: (e) => ({
- onExpandedChange: UM("expanded", e),
+ onExpandedChange: QN("expanded", e),
paginateExpandedRows: !0
}),
createTable: (e) => {
@@ -39976,18 +40475,18 @@ var xue = { createTable: (e) => {
};
};
}
-}, hN = 0, gN = 10, _N = () => ({
- pageIndex: hN,
- pageSize: gN
-}), wue = {
+}, wP = 0, TP = 10, EP = () => ({
+ pageIndex: wP,
+ pageSize: TP
+}), Ple = {
getInitialState: (e) => ({
...e,
pagination: {
- ..._N(),
+ ...EP(),
...e?.pagination
}
}),
- getDefaultOptions: (e) => ({ onPaginationChange: UM("pagination", e) }),
+ getDefaultOptions: (e) => ({ onPaginationChange: QN("pagination", e) }),
createTable: (e) => {
let t = !1, n = !1;
e._autoResetPageIndex = () => {
@@ -40003,11 +40502,11 @@ var xue = { createTable: (e) => {
e.resetPageIndex(), n = !1;
});
}
- }, e.setPagination = (t) => e.options.onPaginationChange == null ? void 0 : e.options.onPaginationChange((e) => HM(t, e)), e.resetPagination = (t) => {
- e.setPagination(t ? _N() : e.initialState.pagination ?? _N());
+ }, e.setPagination = (t) => e.options.onPaginationChange == null ? void 0 : e.options.onPaginationChange((e) => ZN(t, e)), e.resetPagination = (t) => {
+ e.setPagination(t ? EP() : e.initialState.pagination ?? EP());
}, e.setPageIndex = (t) => {
e.setPagination((n) => {
- let r = HM(t, n.pageIndex), i = e.options.pageCount === void 0 || e.options.pageCount === -1 ? 2 ** 53 - 1 : e.options.pageCount - 1;
+ let r = ZN(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
@@ -40015,13 +40514,13 @@ var xue = { createTable: (e) => {
});
}, e.resetPageIndex = (t) => {
var n;
- e.setPageIndex(t ? hN : ((n = e.initialState) == null || (n = n.pagination) == null ? void 0 : n.pageIndex) ?? hN);
+ e.setPageIndex(t ? wP : ((n = e.initialState) == null || (n = n.pagination) == null ? void 0 : n.pageIndex) ?? wP);
}, e.resetPageSize = (t) => {
var n;
- e.setPageSize(t ? gN : ((n = e.initialState) == null || (n = n.pagination) == null ? void 0 : n.pageSize) ?? gN);
+ e.setPageSize(t ? TP : ((n = e.initialState) == null || (n = n.pagination) == null ? void 0 : n.pageSize) ?? TP);
}, e.setPageSize = (t) => {
e.setPagination((e) => {
- let n = Math.max(1, HM(t, e.pageSize)), r = e.pageSize * e.pageIndex, i = Math.floor(r / n);
+ let n = Math.max(1, ZN(t, e.pageSize)), r = e.pageSize * e.pageIndex, i = Math.floor(r / n);
return {
...e,
pageIndex: i,
@@ -40029,28 +40528,28 @@ var xue = { createTable: (e) => {
};
});
}, e.setPageCount = (t) => e.setPagination((n) => {
- let r = HM(t, e.options.pageCount ?? -1);
+ let r = ZN(t, e.options.pageCount ?? -1);
return typeof r == "number" && (r = Math.max(-1, r)), {
...n,
pageCount: r
};
- }), e.getPageOptions = GM(() => [e.getPageCount()], (e) => {
+ }), e.getPageOptions = eP(() => [e.getPageCount()], (e) => {
let t = [];
return e && e > 0 && (t = [...Array(e)].fill(null).map((e, t) => t)), t;
- }, KM(e.options, "debugTable", "getPageOptions")), e.getCanPreviousPage = () => e.getState().pagination.pageIndex > 0, e.getCanNextPage = () => {
+ }, tP(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;
}
-}, vN = () => ({
+}, DP = () => ({
top: [],
bottom: []
-}), Tue = {
+}), Fle = {
getInitialState: (e) => ({
- rowPinning: vN(),
+ rowPinning: DP(),
...e
}),
- getDefaultOptions: (e) => ({ onRowPinningChange: UM("rowPinning", e) }),
+ getDefaultOptions: (e) => ({ onRowPinningChange: QN("rowPinning", e) }),
createRow: (e, t) => {
e.pin = (n, r, i) => {
let a = r ? e.getLeafRows().map((e) => {
@@ -40089,7 +40588,7 @@ var xue = { createTable: (e) => {
};
},
createTable: (e) => {
- e.setRowPinning = (t) => e.options.onRowPinningChange == null ? void 0 : e.options.onRowPinningChange(t), e.resetRowPinning = (t) => e.setRowPinning(t ? vN() : e.initialState?.rowPinning ?? vN()), e.getIsSomeRowsPinned = (t) => {
+ e.setRowPinning = (t) => e.options.onRowPinningChange == null ? void 0 : e.options.onRowPinningChange(t), e.resetRowPinning = (t) => e.setRowPinning(t ? DP() : e.initialState?.rowPinning ?? DP()), 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) => {
@@ -40098,22 +40597,22 @@ var xue = { createTable: (e) => {
}) : (n ?? []).map((e) => t.find((t) => t.id === e))).filter(Boolean).map((e) => ({
...e,
position: r
- })), e.getTopRows = GM(() => [e.getRowModel().rows, e.getState().rowPinning.top], (t, n) => e._getPinnedRows(t, n, "top"), KM(e.options, "debugRows", "getTopRows")), e.getBottomRows = GM(() => [e.getRowModel().rows, e.getState().rowPinning.bottom], (t, n) => e._getPinnedRows(t, n, "bottom"), KM(e.options, "debugRows", "getBottomRows")), e.getCenterRows = GM(() => [
+ })), e.getTopRows = eP(() => [e.getRowModel().rows, e.getState().rowPinning.top], (t, n) => e._getPinnedRows(t, n, "top"), tP(e.options, "debugRows", "getTopRows")), e.getBottomRows = eP(() => [e.getRowModel().rows, e.getState().rowPinning.bottom], (t, n) => e._getPinnedRows(t, n, "bottom"), tP(e.options, "debugRows", "getBottomRows")), e.getCenterRows = eP(() => [
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));
- }, KM(e.options, "debugRows", "getCenterRows"));
+ }, tP(e.options, "debugRows", "getCenterRows"));
}
-}, Eue = {
+}, Ile = {
getInitialState: (e) => ({
rowSelection: {},
...e
}),
getDefaultOptions: (e) => ({
- onRowSelectionChange: UM("rowSelection", e),
+ onRowSelectionChange: QN("rowSelection", e),
enableRowSelection: !0,
enableMultiRowSelection: !0,
enableSubRowSelection: !0
@@ -40132,21 +40631,21 @@ var xue = { createTable: (e) => {
}, e.toggleAllPageRowsSelected = (t) => e.setRowSelection((n) => {
let r = t === void 0 ? !e.getIsAllPageRowsSelected() : t, i = { ...n };
return e.getRowModel().rows.forEach((t) => {
- yN(i, t.id, r, !0, e);
+ OP(i, t.id, r, !0, e);
}), i;
- }), e.getPreSelectedRowModel = () => e.getCoreRowModel(), e.getSelectedRowModel = GM(() => [e.getState().rowSelection, e.getCoreRowModel()], (t, n) => Object.keys(t).length ? bN(e, n) : {
+ }), e.getPreSelectedRowModel = () => e.getCoreRowModel(), e.getSelectedRowModel = eP(() => [e.getState().rowSelection, e.getCoreRowModel()], (t, n) => Object.keys(t).length ? kP(e, n) : {
rows: [],
flatRows: [],
rowsById: {}
- }, KM(e.options, "debugTable", "getSelectedRowModel")), e.getFilteredSelectedRowModel = GM(() => [e.getState().rowSelection, e.getFilteredRowModel()], (t, n) => Object.keys(t).length ? bN(e, n) : {
+ }, tP(e.options, "debugTable", "getSelectedRowModel")), e.getFilteredSelectedRowModel = eP(() => [e.getState().rowSelection, e.getFilteredRowModel()], (t, n) => Object.keys(t).length ? kP(e, n) : {
rows: [],
flatRows: [],
rowsById: {}
- }, KM(e.options, "debugTable", "getFilteredSelectedRowModel")), e.getGroupedSelectedRowModel = GM(() => [e.getState().rowSelection, e.getSortedRowModel()], (t, n) => Object.keys(t).length ? bN(e, n) : {
+ }, tP(e.options, "debugTable", "getFilteredSelectedRowModel")), e.getGroupedSelectedRowModel = eP(() => [e.getState().rowSelection, e.getSortedRowModel()], (t, n) => Object.keys(t).length ? kP(e, n) : {
rows: [],
flatRows: [],
rowsById: {}
- }, KM(e.options, "debugTable", "getGroupedSelectedRowModel")), e.getIsAllRowsSelected = () => {
+ }, tP(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 = () => {
@@ -40170,17 +40669,17 @@ var xue = { createTable: (e) => {
t.setRowSelection((a) => {
if (n = n === void 0 ? !i : n, e.getCanSelect() && i === n) return a;
let o = { ...a };
- return yN(o, e.id, n, r?.selectChildren ?? !0, t), o;
+ return OP(o, e.id, n, r?.selectChildren ?? !0, t), o;
});
}, e.getIsSelected = () => {
let { rowSelection: n } = t.getState();
- return xN(e, n);
+ return AP(e, n);
}, e.getIsSomeSelected = () => {
let { rowSelection: n } = t.getState();
- return SN(e, n) === "some";
+ return jP(e, n) === "some";
}, e.getIsAllSubRowsSelected = () => {
let { rowSelection: n } = t.getState();
- return SN(e, n) === "all";
+ return jP(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) => {
@@ -40188,16 +40687,16 @@ var xue = { createTable: (e) => {
};
};
}
-}, yN = (e, t, n, r, i) => {
+}, OP = (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) => yN(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) => OP(e, t.id, n, r, i));
};
-function bN(e, t) {
+function kP(e, t) {
let n = e.getState().rowSelection, r = [], i = {}, a = function(e, t) {
return e.map((e) => {
var t;
- let o = xN(e, n);
+ let o = AP(e, n);
if (o && (r.push(e), i[e.id] = e), (t = e.subRows) != null && t.length && (e = {
...e,
subRows: a(e.subRows)
@@ -40210,32 +40709,32 @@ function bN(e, t) {
rowsById: i
};
}
-function xN(e, t) {
+function AP(e, t) {
return t[e.id] ?? !1;
}
-function SN(e, t, n) {
+function jP(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() && (xN(e, t) ? a = !0 : i = !1), e.subRows && e.subRows.length)) {
- let n = SN(e, t);
+ if (!(a && !i) && (e.getCanSelect() && (AP(e, t) ? a = !0 : i = !1), e.subRows && e.subRows.length)) {
+ let n = jP(e, t);
n === "all" ? a = !0 : (n === "some" && (a = !0), i = !1);
}
}), i ? "all" : a ? "some" : !1;
}
-var CN = /([0-9]+)/gm, Due = (e, t, n) => EN(TN(e.getValue(n)).toLowerCase(), TN(t.getValue(n)).toLowerCase()), Oue = (e, t, n) => EN(TN(e.getValue(n)), TN(t.getValue(n))), kue = (e, t, n) => wN(TN(e.getValue(n)).toLowerCase(), TN(t.getValue(n)).toLowerCase()), Aue = (e, t, n) => wN(TN(e.getValue(n)), TN(t.getValue(n))), jue = (e, t, n) => {
+var MP = /([0-9]+)/gm, Lle = (e, t, n) => FP(PP(e.getValue(n)).toLowerCase(), PP(t.getValue(n)).toLowerCase()), Rle = (e, t, n) => FP(PP(e.getValue(n)), PP(t.getValue(n))), zle = (e, t, n) => NP(PP(e.getValue(n)).toLowerCase(), PP(t.getValue(n)).toLowerCase()), Ble = (e, t, n) => NP(PP(e.getValue(n)), PP(t.getValue(n))), Vle = (e, t, n) => {
let r = e.getValue(n), i = t.getValue(n);
return r > i ? 1 : r < i ? -1 : 0;
-}, Mue = (e, t, n) => wN(e.getValue(n), t.getValue(n));
-function wN(e, t) {
+}, Hle = (e, t, n) => NP(e.getValue(n), t.getValue(n));
+function NP(e, t) {
return e === t ? 0 : e > t ? 1 : -1;
}
-function TN(e) {
+function PP(e) {
return typeof e == "number" ? isNaN(e) || e === Infinity || e === -Infinity ? "" : String(e) : typeof e == "string" ? e : "";
}
-function EN(e, t) {
- let n = e.split(CN).filter(Boolean), r = t.split(CN).filter(Boolean);
+function FP(e, t) {
+ let n = e.split(MP).filter(Boolean), r = t.split(MP).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])) {
@@ -40249,22 +40748,22 @@ function EN(e, t) {
}
return n.length - r.length;
}
-var DN = {
- alphanumeric: Due,
- alphanumericCaseSensitive: Oue,
- text: kue,
- textCaseSensitive: Aue,
- datetime: jue,
- basic: Mue
-}, Nue = [
- lue,
- bue,
- hue,
- gue,
- due,
- fue,
- xue,
- Sue,
+var IP = {
+ alphanumeric: Lle,
+ alphanumericCaseSensitive: Rle,
+ text: zle,
+ textCaseSensitive: Ble,
+ datetime: Vle,
+ basic: Hle
+}, Ule = [
+ yle,
+ Ale,
+ Tle,
+ Ele,
+ xle,
+ Sle,
+ jle,
+ Mle,
{
getInitialState: (e) => ({
sorting: [],
@@ -40275,7 +40774,7 @@ var DN = {
sortUndefined: 1
}),
getDefaultOptions: (e) => ({
- onSortingChange: UM("sorting", e),
+ onSortingChange: QN("sorting", e),
isMultiSortEvent: (e) => e.shiftKey
}),
createColumn: (e, t) => {
@@ -40283,13 +40782,13 @@ var DN = {
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 DN.datetime;
- if (typeof n == "string" && (r = !0, n.split(CN).length > 1)) return DN.alphanumeric;
+ if (Object.prototype.toString.call(n) === "[object Date]") return IP.datetime;
+ if (typeof n == "string" && (r = !0, n.split(MP).length > 1)) return IP.alphanumeric;
}
- return r ? DN.text : DN.basic;
+ return r ? IP.text : IP.basic;
}, e.getAutoSortDir = () => typeof t.getFilteredRowModel().flatRows[0]?.getValue(e.id) == "string" ? "asc" : "desc", e.getSortingFn = () => {
if (!e) throw Error();
- return WM(e.columnDef.sortingFn) ? e.columnDef.sortingFn : e.columnDef.sortingFn === "auto" ? e.getAutoSortingFn() : t.options.sortingFns?.[e.columnDef.sortingFn] ?? DN[e.columnDef.sortingFn];
+ return $N(e.columnDef.sortingFn) ? e.columnDef.sortingFn : e.columnDef.sortingFn === "auto" ? e.getAutoSortingFn() : t.options.sortingFns?.[e.columnDef.sortingFn] ?? IP[e.columnDef.sortingFn];
}, e.toggleSorting = (n, r) => {
let i = e.getNextSortingOrder(), a = n != null;
t.setSorting((o) => {
@@ -40326,15 +40825,15 @@ var DN = {
}, 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());
}
},
- pue,
- Cue,
- wue,
- Tue,
- Eue,
- vue
+ Cle,
+ Nle,
+ Ple,
+ Fle,
+ Ile,
+ Ole
];
-function Pue(e) {
- let t = [...Nue, ...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 Wle(e) {
+ let t = [...Ule, ...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 ?? {} };
@@ -40360,7 +40859,7 @@ function Pue(e) {
n.setState(n.initialState);
},
setOptions: (e) => {
- let t = HM(e, n.options);
+ let t = ZN(e, n.options);
n.options = i(t);
},
getState: () => n.options.state,
@@ -40375,7 +40874,7 @@ function Pue(e) {
if (!r && (r = n.getCoreRowModel().rowsById[e], !r)) throw Error();
return r;
},
- _getDefaultColumnDef: GM(() => [n.options.defaultColumn], (e) => (e ??= {}, {
+ _getDefaultColumnDef: eP(() => [n.options.defaultColumn], (e) => (e ??= {}, {
header: (e) => {
let t = e.header.column.columnDef;
return t.accessorKey ? t.accessorKey : t.accessorFn ? t.id : null;
@@ -40386,20 +40885,20 @@ function Pue(e) {
},
...n._features.reduce((e, t) => Object.assign(e, t.getDefaultColumnDef == null ? void 0 : t.getDefaultColumnDef()), {}),
...e
- }), KM(e, "debugColumns", "_getDefaultColumnDef")),
+ }), tP(e, "debugColumns", "_getDefaultColumnDef")),
_getColumnDefs: () => n.options.columns,
- getAllColumns: GM(() => [n._getColumnDefs()], (e) => {
+ getAllColumns: eP(() => [n._getColumnDefs()], (e) => {
let t = function(e, r, i) {
return i === void 0 && (i = 0), e.map((e) => {
- let a = cue(n, e, i, r), o = e;
+ let a = vle(n, e, i, r), o = e;
return a.columns = o.columns ? t(o.columns, a, i + 1) : [], a;
});
};
return t(e);
- }, KM(e, "debugColumns", "getAllColumns")),
- getAllFlatColumns: GM(() => [n.getAllColumns()], (e) => e.flatMap((e) => e.getFlatColumns()), KM(e, "debugColumns", "getAllFlatColumns")),
- _getAllFlatColumnsById: GM(() => [n.getAllFlatColumns()], (e) => e.reduce((e, t) => (e[t.id] = t, e), {}), KM(e, "debugColumns", "getAllFlatColumnsById")),
- getAllLeafColumns: GM(() => [n.getAllColumns(), n._getOrderColumnsFn()], (e, t) => t(e.flatMap((e) => e.getLeafColumns())), KM(e, "debugColumns", "getAllLeafColumns")),
+ }, tP(e, "debugColumns", "getAllColumns")),
+ getAllFlatColumns: eP(() => [n.getAllColumns()], (e) => e.flatMap((e) => e.getFlatColumns()), tP(e, "debugColumns", "getAllFlatColumns")),
+ _getAllFlatColumnsById: eP(() => [n.getAllFlatColumns()], (e) => e.reduce((e, t) => (e[t.id] = t, e), {}), tP(e, "debugColumns", "getAllFlatColumnsById")),
+ getAllLeafColumns: eP(() => [n.getAllColumns(), n._getOrderColumnsFn()], (e, t) => t(e.flatMap((e) => e.getLeafColumns())), tP(e, "debugColumns", "getAllLeafColumns")),
getColumn: (e) => n._getAllFlatColumnsById()[e]
};
Object.assign(n, c);
@@ -40409,8 +40908,8 @@ function Pue(e) {
}
return n;
}
-function ON() {
- return (e) => GM(() => [e.options.data], (t) => {
+function LP() {
+ return (e) => eP(() => [e.options.data], (t) => {
let n = {
rows: [],
flatRows: [],
@@ -40419,7 +40918,7 @@ function ON() {
i === void 0 && (i = 0);
let o = [];
for (let c = 0; c < t.length; c++) {
- let l = uue(e, e._getRowId(t[c], c, a), t[c], c, i, void 0, a?.id);
+ let l = ble(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));
@@ -40428,9 +40927,9 @@ function ON() {
return o;
};
return n.rows = r(t), n;
- }, KM(e.options, "debugTable", "getRowModel", () => e._autoResetPageIndex()));
+ }, tP(e.options, "debugTable", "getRowModel", () => e._autoResetPageIndex()));
}
-function Fue(e) {
+function Gle(e) {
let t = [], n = (e) => {
var r;
t.push(e), (r = e.subRows) != null && r.length && e.getIsExpanded() && e.subRows.forEach(n);
@@ -40441,8 +40940,8 @@ function Fue(e) {
rowsById: e.rowsById
};
}
-function kN(e) {
- return (e) => GM(() => [
+function RP(e) {
+ return (e) => eP(() => [
e.getState().pagination,
e.getPrePaginationRowModel(),
e.options.paginateExpandedRows ? void 0 : e.getState().expanded
@@ -40455,7 +40954,7 @@ function kN(e) {
rows: a,
flatRows: o,
rowsById: s
- } : Fue({
+ } : Gle({
rows: a,
flatRows: o,
rowsById: s
@@ -40464,32 +40963,32 @@ function kN(e) {
u.flatRows.push(e), e.subRows.length && e.subRows.forEach(d);
};
return u.rows.forEach(d), u;
- }, KM(e.options, "debugTable", "getPaginationRowModel"));
+ }, tP(e.options, "debugTable", "getPaginationRowModel"));
}
//#endregion
//#region node_modules/@tanstack/react-table/build/lib/index.mjs
-function AN(e, t) {
- return e ? Iue(e) ? /*#__PURE__*/ R.createElement(e, t) : e : null;
+function zP(e, t) {
+ return e ? Kle(e) ? /*#__PURE__*/ R.createElement(e, t) : e : null;
}
-function Iue(e) {
- return Lue(e) || typeof e == "function" || jN(e);
+function Kle(e) {
+ return qle(e) || typeof e == "function" || Jle(e);
}
-function Lue(e) {
+function qle(e) {
return typeof e == "function" && (() => {
let t = Object.getPrototypeOf(e);
return t.prototype && t.prototype.isReactComponent;
})();
}
-function jN(e) {
+function Jle(e) {
return typeof e == "object" && typeof e.$$typeof == "symbol" && ["react.memo", "react.forward_ref"].includes(e.$$typeof.description);
}
-function MN(e) {
+function BP(e) {
let t = {
state: {},
onStateChange: () => {},
renderFallbackValue: null,
...e
- }, [n] = R.useState(() => ({ current: Pue(t) })), [r, i] = R.useState(() => n.current.initialState);
+ }, [n] = R.useState(() => ({ current: Wle(t) })), [r, i] = R.useState(() => n.current.initialState);
return n.current.setOptions((t) => ({
...t,
...e,
@@ -40504,7 +41003,7 @@ function MN(e) {
}
//#endregion
//#region src/react/boardui/components/base/switch/switch.tsx
-var NN = _i({
+var Yle = _i({
sm: {
track: "h-4 w-7",
trackRadius: {
@@ -40566,8 +41065,8 @@ var NN = _i({
}
}
});
-function PN({ state: e, size: t = "md", shape: n = "pill" }) {
- let r = NN[t];
+function Xle({ state: e, size: t = "md", shape: n = "pill" }) {
+ let r = Yle[t];
return /* @__PURE__ */ (0, z.jsx)("span", {
"aria-hidden": !0,
className: gi("relative shrink-0 transition-colors duration-200 ease", r.track, r.trackRadius[n], e.isSelected ? gi("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"),
@@ -40577,12 +41076,12 @@ function PN({ state: e, size: t = "md", shape: n = "pill" }) {
})
});
}
-function FN({ className: e, children: t, size: n = "md", shape: r = "pill", ref: i, ...a }) {
- return /* @__PURE__ */ (0, z.jsx)(Bte, {
+function VP({ className: e, children: t, size: n = "md", shape: r = "pill", ref: i, ...a }) {
+ return /* @__PURE__ */ (0, z.jsx)(zte, {
ref: i,
...a,
className: (t) => gi("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, z.jsxs)(z.Fragment, { children: [/* @__PURE__ */ (0, z.jsx)(PN, {
+ children: (e) => /* @__PURE__ */ (0, z.jsxs)(z.Fragment, { children: [/* @__PURE__ */ (0, z.jsx)(Xle, {
state: e,
size: n,
shape: r
@@ -40594,50 +41093,50 @@ function FN({ className: e, children: t, size: n = "md", shape: r = "pill", ref:
}
//#endregion
//#region src/react/components/legacy-avatar.ts
-var IN = "[&_img]:absolute [&_img]:inset-0 [&_img]:size-full [&_img]:max-w-none [&_img]:max-h-none [&_img]:object-cover", LN = (0, R.createContext)({});
+var HP = "[&_img]:absolute [&_img]:inset-0 [&_img]:size-full [&_img]:max-w-none [&_img]:max-h-none [&_img]:object-cover", UP = (0, R.createContext)({});
//#endregion
//#region node_modules/framer-motion/dist/es/utils/use-constant.mjs
-function RN(e) {
+function WP(e) {
let t = (0, R.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 zN = typeof window < "u" ? R.useLayoutEffect : R.useEffect, BN = /* @__PURE__ */ (0, R.createContext)(null), VN = (0, R.createContext)({
+var GP = typeof window < "u" ? R.useLayoutEffect : R.useEffect, KP = /* @__PURE__ */ (0, R.createContext)(null), qP = (0, R.createContext)({
transformPagePoint: (e) => e,
isStatic: !1,
reducedMotion: "never"
});
//#endregion
//#region node_modules/framer-motion/dist/es/utils/use-composed-ref.mjs
-function HN(e, t) {
+function JP(e, t) {
if (typeof e == "function") return e(t);
e != null && (e.current = t);
}
-function UN(...e) {
+function Zle(...e) {
return (t) => {
let n = !1, r = e.map((e) => {
- let r = HN(e, t);
+ let r = JP(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() : HN(e[t], null);
+ typeof n == "function" ? n() : JP(e[t], null);
}
};
};
}
-function WN(...e) {
- return R.useCallback(UN(...e), e);
+function Qle(...e) {
+ return R.useCallback(Zle(...e), e);
}
//#endregion
//#region node_modules/framer-motion/dist/es/components/AnimatePresence/PopChild.mjs
-var GN = class extends R.Component {
+var $le = class extends R.Component {
getSnapshotBeforeUpdate(e) {
let t = this.props.childRef.current;
- if (ZT(t) && e.isPresent && !this.props.isPresent && this.props.pop !== !1) {
- let e = t.offsetParent, n = ZT(e) && e.offsetWidth || 0, r = ZT(e) && e.offsetHeight || 0, i = getComputedStyle(t), a = this.props.sizeRef.current;
+ if (lE(t) && e.isPresent && !this.props.isPresent && this.props.pop !== !1) {
+ let e = t.offsetParent, n = lE(e) && e.offsetWidth || 0, r = lE(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;
@@ -40647,7 +41146,7 @@ var GN = class extends R.Component {
return this.props.children;
}
};
-function KN({ children: e, isPresent: t, anchorX: n, anchorY: r, root: i, pop: a }) {
+function eue({ children: e, isPresent: t, anchorX: n, anchorY: r, root: i, pop: a }) {
let o = (0, R.useId)(), s = (0, R.useRef)(null), c = (0, R.useRef)({
width: 0,
height: 0,
@@ -40656,7 +41155,7 @@ function KN({ children: e, isPresent: t, anchorX: n, anchorY: r, root: i, pop: a
right: 0,
bottom: 0,
direction: "ltr"
- }), { nonce: l } = (0, R.useContext)(VN), u = WN(s, a === !1 ? void 0 : e.props?.ref ?? e?.ref);
+ }), { nonce: l } = (0, R.useContext)(qP), u = Qle(s, a === !1 ? void 0 : e.props?.ref ?? e?.ref);
return (0, R.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;
@@ -40676,7 +41175,7 @@ function KN({ children: e, isPresent: t, anchorX: n, anchorY: r, root: i, pop: a
`), () => {
s.current?.removeAttribute("data-motion-pop-id"), b.contains(y) && b.removeChild(y);
};
- }, [t]), (0, z.jsx)(GN, {
+ }, [t]), (0, z.jsx)($le, {
isPresent: t,
childRef: s,
sizeRef: c,
@@ -40686,9 +41185,9 @@ function KN({ children: e, isPresent: t, anchorX: n, anchorY: r, root: i, pop: a
}
//#endregion
//#region node_modules/framer-motion/dist/es/components/AnimatePresence/PresenceChild.mjs
-var qN = ({ children: e, initial: t, isPresent: n, onExitComplete: r, custom: i, presenceAffectsLayout: a, mode: o, anchorX: s, anchorY: c, root: l }) => {
- let u = RN(JN), d = (0, R.useId)(), f = (0, R.useRef)(n), p = (0, R.useRef)(r);
- zN(() => {
+var tue = ({ children: e, initial: t, isPresent: n, onExitComplete: r, custom: i, presenceAffectsLayout: a, mode: o, anchorX: s, anchorY: c, root: l }) => {
+ let u = WP(nue), d = (0, R.useId)(), f = (0, R.useRef)(n), p = (0, R.useRef)(r);
+ GP(() => {
f.current = n, p.current = r;
});
let m = !0, h = (0, R.useMemo)(() => (m = !1, {
@@ -40713,25 +41212,25 @@ var qN = ({ children: e, initial: t, isPresent: n, onExitComplete: r, custom: i,
u.forEach((e, t) => u.set(t, !1));
}, [n]), R.useEffect(() => {
!n && !u.size && r && r();
- }, [n]), e = (0, z.jsx)(KN, {
+ }, [n]), e = (0, z.jsx)(eue, {
pop: o === "popLayout",
isPresent: n,
anchorX: s,
anchorY: c,
root: l,
children: e
- }), (0, z.jsx)(BN.Provider, {
+ }), (0, z.jsx)(KP.Provider, {
value: h,
children: e
});
};
-function JN() {
+function nue() {
return /* @__PURE__ */ new Map();
}
//#endregion
//#region node_modules/framer-motion/dist/es/components/AnimatePresence/use-presence.mjs
-function YN(e = !0) {
- let t = (0, R.useContext)(BN);
+function YP(e = !0) {
+ let t = (0, R.useContext)(KP);
if (t === null) return [!0, null];
let { isPresent: n, onExitComplete: r, register: i } = t, a = (0, R.useId)();
(0, R.useEffect)(() => {
@@ -40744,16 +41243,16 @@ function YN(e = !0) {
]);
return !n && r ? [!1, o] : [!0];
}
-function XN() {
- return ZN((0, R.useContext)(BN));
+function rue() {
+ return iue((0, R.useContext)(KP));
}
-function ZN(e) {
+function iue(e) {
return e === null || e.isPresent;
}
//#endregion
//#region node_modules/framer-motion/dist/es/components/AnimatePresence/utils.mjs
-var QN = (e) => e.key || "";
-function $N(e) {
+var XP = (e) => e.key || "";
+function ZP(e) {
let t = [];
return R.Children.forEach(e, (e) => {
(0, R.isValidElement)(e) && t.push(e);
@@ -40761,12 +41260,12 @@ function $N(e) {
}
//#endregion
//#region node_modules/framer-motion/dist/es/components/AnimatePresence/index.mjs
-var eP = ({ 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] = YN(o), f = (0, R.useMemo)(() => $N(e), [e]), p = o && !u ? [] : f.map(QN), m = (0, R.useRef)(!0), h = (0, R.useRef)(f), g = RN(() => /* @__PURE__ */ new Map()), _ = (0, R.useRef)(/* @__PURE__ */ new Set()), [v, y] = (0, R.useState)(f), [b, x] = (0, R.useState)(f);
- zN(() => {
+var aue = ({ 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] = YP(o), f = (0, R.useMemo)(() => ZP(e), [e]), p = o && !u ? [] : f.map(XP), m = (0, R.useRef)(!0), h = (0, R.useRef)(f), g = WP(() => /* @__PURE__ */ new Map()), _ = (0, R.useRef)(/* @__PURE__ */ new Set()), [v, y] = (0, R.useState)(f), [b, x] = (0, R.useState)(f);
+ GP(() => {
m.current = !1, h.current = f;
for (let e = 0; e < b.length; e++) {
- let t = QN(b[e]);
+ let t = XP(b[e]);
p.includes(t) ? (g.delete(t), _.current.delete(t)) : g.get(t) !== !0 && g.set(t, !1);
}
}, [
@@ -40778,15 +41277,15 @@ var eP = ({ children: e, custom: t, initial: n = !0, onExitComplete: r, presence
if (f !== v) {
let e = [...f];
for (let t = 0; t < b.length; t++) {
- let n = b[t], r = QN(n);
+ let n = b[t], r = XP(n);
p.includes(r) || (e.splice(t, 0, n), S.push(n));
}
- return a === "wait" && S.length && (e = S), x($N(e)), y(f), null;
+ return a === "wait" && S.length && (e = S), x(ZP(e)), y(f), null;
}
- let { forceRender: C } = (0, R.useContext)(LN);
+ let { forceRender: C } = (0, R.useContext)(UP);
return (0, z.jsx)(z.Fragment, { children: b.map((e) => {
- let v = QN(e), y = o && !u ? !1 : f === b || p.includes(v);
- return (0, z.jsx)(qN, {
+ let v = XP(e), y = o && !u ? !1 : f === b || p.includes(v);
+ return (0, z.jsx)(tue, {
isPresent: y,
initial: !m.current || n ? void 0 : !1,
custom: t,
@@ -40807,7 +41306,7 @@ var eP = ({ children: e, custom: t, initial: n = !0, onExitComplete: r, presence
children: e
}, v);
}) });
-}, tP = (0, R.createContext)({ strict: !1 }), nP = {
+}, QP = (0, R.createContext)({ strict: !1 }), $P = {
animation: [
"animate",
"variants",
@@ -40844,98 +41343,98 @@ var eP = ({ children: e, custom: t, initial: n = !0, onExitComplete: r, presence
"onViewportLeave"
],
layout: ["layout", "layoutId"]
-}, rP = !1;
-function iP() {
- if (rP) return;
+}, eF = !1;
+function oue() {
+ if (eF) return;
let e = {};
- for (let t in nP) e[t] = { isEnabled: (e) => nP[t].some((t) => !!e[t]) };
- FE(e), rP = !0;
+ for (let t in $P) e[t] = { isEnabled: (e) => $P[t].some((t) => !!e[t]) };
+ nD(e), eF = !0;
}
-function aP() {
- return iP(), Yie();
+function tF() {
+ return oue(), Oie();
}
//#endregion
//#region node_modules/framer-motion/dist/es/motion/features/load-features.mjs
-function oP(e) {
- let t = aP();
+function sue(e) {
+ let t = tF();
for (let n in e) t[n] = {
...t[n],
...e[n]
};
- FE(t);
+ nD(t);
}
//#endregion
//#region node_modules/framer-motion/dist/es/motion/utils/valid-prop.mjs
-var sP = /* @__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 cP(e) {
- return e.startsWith("while") || e.startsWith("drag") && e !== "draggable" || e.startsWith("layout") || e.startsWith("onTap") || e.startsWith("onPan") || e.startsWith("onLayout") || sP.has(e);
+var cue = /* @__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 nF(e) {
+ return e.startsWith("while") || e.startsWith("drag") && e !== "draggable" || e.startsWith("layout") || e.startsWith("onTap") || e.startsWith("onPan") || e.startsWith("onLayout") || cue.has(e);
}
//#endregion
//#region __vite-optional-peer-dep:@emotion/is-prop-valid:framer-motion
-var lP = /* @__PURE__ */ le({ default: () => uP }), uP, dP = se((() => {
- throw uP = {}, Error("Could not resolve \"@emotion/is-prop-valid\" imported by \"framer-motion\". Is it installed?");
-})), fP = (e) => !cP(e);
-function pP(e) {
- typeof e == "function" && (fP = (t) => t.startsWith("on") ? !cP(t) : e(t));
+var lue = /* @__PURE__ */ le({ default: () => rF }), rF, uue = se((() => {
+ throw rF = {}, Error("Could not resolve \"@emotion/is-prop-valid\" imported by \"framer-motion\". Is it installed?");
+})), iF = (e) => !nF(e);
+function aF(e) {
+ typeof e == "function" && (iF = (t) => t.startsWith("on") ? !nF(t) : e(t));
}
try {
- pP((dP(), de(lP)).default);
+ aF((uue(), de(lue)).default);
} catch {}
-function mP(e, t, n) {
+function due(e, t, n) {
let r = {};
- for (let i in e) (i !== "values" || typeof e.values != "object") && (MT(e[i]) || (fP(i) || n === !0 && cP(i) || !t && !cP(i) || e.draggable && i.startsWith("onDrag")) && (r[i] = e[i]));
+ for (let i in e) (i !== "values" || typeof e.values != "object") && (OT(e[i]) || (iF(i) || n === !0 && nF(i) || !t && !nF(i) || e.draggable && i.startsWith("onDrag")) && (r[i] = e[i]));
return r;
}
//#endregion
//#region node_modules/framer-motion/dist/es/components/MotionConfig/index.mjs
-function hP({ children: e, isValidProp: t, ...n }) {
- t && pP(t);
- let r = (0, R.useContext)(VN);
+function fue({ children: e, isValidProp: t, ...n }) {
+ t && aF(t);
+ let r = (0, R.useContext)(qP);
n = {
...r,
...n
- }, n.transition = CT(n.transition, r.transition), n.isStatic = RN(() => n.isStatic);
+ }, n.transition = gT(n.transition, r.transition), n.isStatic = WP(() => n.isStatic);
let i = (0, R.useMemo)(() => n, [
JSON.stringify(n.transition),
n.transformPagePoint,
n.reducedMotion,
n.skipAnimations
]);
- return (0, z.jsx)(VN.Provider, {
+ return (0, z.jsx)(qP.Provider, {
value: i,
children: e
});
}
//#endregion
//#region node_modules/framer-motion/dist/es/context/MotionContext/index.mjs
-var gP = /* @__PURE__ */ (0, R.createContext)({});
+var oF = /* @__PURE__ */ (0, R.createContext)({});
//#endregion
//#region node_modules/framer-motion/dist/es/context/MotionContext/utils.mjs
-function _P(e, t) {
- if (OE(e)) {
+function pue(e, t) {
+ if (YE(e)) {
let { initial: t, animate: n } = e;
return {
- initial: t === !1 || TE(t) ? t : void 0,
- animate: TE(n) ? n : void 0
+ initial: t === !1 || KE(t) ? t : void 0,
+ animate: KE(n) ? n : void 0
};
}
return e.inherit === !1 ? {} : t;
}
//#endregion
//#region node_modules/framer-motion/dist/es/context/MotionContext/create.mjs
-function vP(e) {
- let { initial: t, animate: n } = _P(e, (0, R.useContext)(gP));
+function mue(e) {
+ let { initial: t, animate: n } = pue(e, (0, R.useContext)(oF));
return (0, R.useMemo)(() => ({
initial: t,
animate: n
- }), [yP(t), yP(n)]);
+ }), [sF(t), sF(n)]);
}
-function yP(e) {
+function sF(e) {
return Array.isArray(e) ? e.join(" ") : e;
}
//#endregion
//#region node_modules/framer-motion/dist/es/render/html/utils/create-render-state.mjs
-var bP = () => ({
+var cF = () => ({
style: {},
transform: {},
transformOrigin: {},
@@ -40943,42 +41442,42 @@ var bP = () => ({
});
//#endregion
//#region node_modules/framer-motion/dist/es/render/html/use-props.mjs
-function xP(e, t, n) {
- for (let r in t) !MT(t[r]) && !oD(r, n) && (e[r] = t[r]);
+function lF(e, t, n) {
+ for (let r in t) !OT(t[r]) && !DD(r, n) && (e[r] = t[r]);
}
-function SP({ transformTemplate: e }, t) {
+function hue({ transformTemplate: e }, t) {
return (0, R.useMemo)(() => {
- let n = bP();
- return tD(n, t, e), Object.assign({}, n.vars, n.style);
+ let n = cF();
+ return SD(n, t, e), Object.assign({}, n.vars, n.style);
}, [t]);
}
-function CP(e, t) {
+function gue(e, t) {
let n = e.style || {}, r = {};
- return xP(r, n, e), Object.assign(r, SP(e, t)), r;
+ return lF(r, n, e), Object.assign(r, hue(e, t)), r;
}
-function wP(e, t) {
- let n = {}, r = CP(e, t);
+function _ue(e, t) {
+ let n = {}, r = gue(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 TP = () => ({
- ...bP(),
+var uF = () => ({
+ ...cF(),
attrs: {}
});
//#endregion
//#region node_modules/framer-motion/dist/es/render/svg/use-props.mjs
-function EP(e, t, n, r) {
+function vue(e, t, n, r) {
let i = (0, R.useMemo)(() => {
- let n = TP();
- return cD(n, t, uD(r), e.transformTemplate, e.style), {
+ let n = uF();
+ return kD(n, t, jD(r), e.transformTemplate, e.style), {
...n.attrs,
style: { ...n.style }
};
}, [t]);
if (e.style) {
let t = {};
- xP(t, e.style, e), i.style = {
+ lF(t, e.style, e), i.style = {
...t,
...i.style
};
@@ -40987,7 +41486,7 @@ function EP(e, t, n, r) {
}
//#endregion
//#region node_modules/framer-motion/dist/es/render/svg/lowercase-elements.mjs
-var DP = [
+var yue = [
"animate",
"circle",
"defs",
@@ -41016,17 +41515,17 @@ var DP = [
];
//#endregion
//#region node_modules/framer-motion/dist/es/render/dom/utils/is-svg-component.mjs
-function OP(e) {
- return typeof e != "string" || e.includes("-") ? !1 : !!(DP.indexOf(e) > -1 || /[A-Z]/u.test(e));
+function dF(e) {
+ return typeof e != "string" || e.includes("-") ? !1 : !!(yue.indexOf(e) > -1 || /[A-Z]/u.test(e));
}
//#endregion
//#region node_modules/framer-motion/dist/es/render/dom/use-render.mjs
-function kP(e, t, n, { latestValues: r }, i, a = !1, o) {
- let s = (o ?? OP(e) ? EP : wP)(t, r, i, e), c = mP(t, typeof e == "string", a), l = e === R.Fragment ? {} : {
+function bue(e, t, n, { latestValues: r }, i, a = !1, o) {
+ let s = (o ?? dF(e) ? vue : _ue)(t, r, i, e), c = due(t, typeof e == "string", a), l = e === R.Fragment ? {} : {
...c,
...s,
ref: n
- }, { children: u } = t, d = (0, R.useMemo)(() => MT(u) ? u.get() : u, [u]);
+ }, { children: u } = t, d = (0, R.useMemo)(() => OT(u) ? u.get() : u, [u]);
return (0, R.createElement)(e, {
...l,
children: d
@@ -41034,24 +41533,24 @@ function kP(e, t, n, { latestValues: r }, i, a = !1, o) {
}
//#endregion
//#region node_modules/framer-motion/dist/es/motion/utils/use-visual-state.mjs
-function AP({ scrapeMotionValuesFromProps: e, createRenderState: t }, n, r, i) {
+function xue({ scrapeMotionValuesFromProps: e, createRenderState: t }, n, r, i) {
return {
- latestValues: jP(n, r, i, e),
+ latestValues: Sue(n, r, i, e),
renderState: t()
};
}
-function jP(e, t, n, r) {
+function Sue(e, t, n, r) {
let i = {}, a = r(e, {});
- for (let e in a) i[e] = VD(a[e]);
- let { initial: o, animate: s } = e, c = OE(e), l = kE(e);
+ for (let e in a) i[e] = cO(a[e]);
+ let { initial: o, animate: s } = e, c = YE(e), l = XE(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" && !wE(d)) {
+ if (d && typeof d != "boolean" && !GE(d)) {
let t = Array.isArray(d) ? d : [d];
for (let n = 0; n < t.length; n++) {
- let r = OT(e, t[n]);
+ let r = xT(e, t[n]);
if (r) {
let { transitionEnd: e, transition: t, ...n } = r;
for (let e in n) {
@@ -41068,19 +41567,19 @@ function jP(e, t, n, r) {
}
return i;
}
-var MP = (e) => (t, n) => {
- let r = (0, R.useContext)(gP), i = (0, R.useContext)(BN), a = () => AP(e, t, r, i);
- return n ? a() : RN(a);
-}, NP = /*@__PURE__*/ MP({
- scrapeMotionValuesFromProps: sD,
- createRenderState: bP
-}), PP = /*@__PURE__*/ MP({
- scrapeMotionValuesFromProps: dD,
- createRenderState: TP
-}), FP = Symbol.for("motionComponentSymbol");
+var fF = (e) => (t, n) => {
+ let r = (0, R.useContext)(oF), i = (0, R.useContext)(KP), a = () => xue(e, t, r, i);
+ return n ? a() : WP(a);
+}, Cue = /*@__PURE__*/ fF({
+ scrapeMotionValuesFromProps: OD,
+ createRenderState: cF
+}), wue = /*@__PURE__*/ fF({
+ scrapeMotionValuesFromProps: MD,
+ createRenderState: uF
+}), Tue = Symbol.for("motionComponentSymbol");
//#endregion
//#region node_modules/framer-motion/dist/es/motion/utils/use-motion-ref.mjs
-function IP(e, t, n) {
+function Eue(e, t, n) {
let r = (0, R.useRef)(n);
(0, R.useInsertionEffect)(() => {
r.current = n;
@@ -41099,16 +41598,16 @@ function IP(e, t, n) {
}
//#endregion
//#region node_modules/framer-motion/dist/es/context/SwitchLayoutGroupContext.mjs
-var LP = (0, R.createContext)({});
+var pF = (0, R.createContext)({});
//#endregion
//#region node_modules/framer-motion/dist/es/utils/is-ref-object.mjs
-function RP(e) {
+function mF(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 zP(e, t, n, r, i, a) {
- let { visualElement: o } = (0, R.useContext)(gP), s = (0, R.useContext)(tP), c = (0, R.useContext)(BN), l = (0, R.useContext)(VN), u = l.reducedMotion, d = l.skipAnimations, f = (0, R.useRef)(null), p = (0, R.useRef)(!1);
+function Due(e, t, n, r, i, a) {
+ let { visualElement: o } = (0, R.useContext)(oF), s = (0, R.useContext)(QP), c = (0, R.useContext)(KP), l = (0, R.useContext)(qP), u = l.reducedMotion, d = l.skipAnimations, f = (0, R.useRef)(null), p = (0, R.useRef)(!1);
r ||= s.renderer, !f.current && r && (f.current = r(e, {
visualState: t,
parent: o,
@@ -41119,14 +41618,14 @@ function zP(e, t, n, r, i, a) {
skipAnimations: d,
isSVG: a
}), p.current && f.current && (f.current.manuallyAnimateOnMount = !0));
- let m = f.current, h = (0, R.useContext)(LP);
- m && !m.projection && i && (m.type === "html" || m.type === "svg") && BP(f.current, n, i, h);
+ let m = f.current, h = (0, R.useContext)(pF);
+ m && !m.projection && i && (m.type === "html" || m.type === "svg") && Oue(f.current, n, i, h);
let g = (0, R.useRef)(!1);
(0, R.useInsertionEffect)(() => {
m && g.current && m.update(n, c);
});
- let _ = n[FT], v = (0, R.useRef)(!!_ && typeof window < "u" && !window.MotionHandoffIsComplete?.(_) && window.MotionHasOptimisedAnimation?.(_));
- return zN(() => {
+ let _ = n[MT], v = (0, R.useRef)(!!_ && typeof window < "u" && !window.MotionHandoffIsComplete?.(_) && window.MotionHasOptimisedAnimation?.(_));
+ return GP(() => {
p.current = !0, m && (g.current = !0, window.MotionIsMounted = !0, m.updateFeatures(), m.scheduleRenderMicrotask(), v.current && m.animationState && m.animationState.animateChanges());
}), (0, R.useEffect)(() => {
m && (!v.current && m.animationState && m.animationState.animateChanges(), v.current &&= (queueMicrotask(() => {
@@ -41134,12 +41633,12 @@ function zP(e, t, n, r, i, a) {
}), !1), m.enteringChildren = void 0);
}), m;
}
-function BP(e, t, n, r) {
+function Oue(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 : VP(e.parent)), e.projection.setOptions({
+ e.projection = new n(e.latestValues, t["data-framer-portal-id"] ? void 0 : hF(e.parent)), e.projection.setOptions({
layoutId: i,
layout: a,
- alwaysMeasureLayout: !!o || s && RP(s),
+ alwaysMeasureLayout: !!o || s && mF(s),
visualElement: e,
animationType: typeof a == "string" ? a : "both",
initialPromotionConfig: r,
@@ -41149,46 +41648,46 @@ function BP(e, t, n, r) {
layoutAnchor: u
});
}
-function VP(e) {
- if (e) return e.options.allowProjection === !1 ? VP(e.parent) : e.projection;
+function hF(e) {
+ if (e) return e.options.allowProjection === !1 ? hF(e.parent) : e.projection;
}
//#endregion
//#region node_modules/framer-motion/dist/es/motion/index.mjs
-function HP(e, { forwardMotionProps: t = !1, type: n } = {}, r, i) {
- r && oP(r);
- let a = n ? n === "svg" : OP(e), o = a ? PP : NP;
+function gF(e, { forwardMotionProps: t = !1, type: n } = {}, r, i) {
+ r && sue(r);
+ let a = n ? n === "svg" : dF(e), o = a ? wue : Cue;
function s(n, s) {
let c, l = {
- ...(0, R.useContext)(VN),
+ ...(0, R.useContext)(qP),
...n,
- layoutId: UP(n)
- }, { isStatic: u } = l, d = vP(n), f = o(n, u);
+ layoutId: kue(n)
+ }, { isStatic: u } = l, d = mue(n), f = o(n, u);
if (!u && typeof window < "u") {
- WP(l, r);
- let t = GP(l);
- c = t.MeasureLayout, d.visualElement = zP(e, f, l, i, t.ProjectionNode, a);
+ Aue(l, r);
+ let t = jue(l);
+ c = t.MeasureLayout, d.visualElement = Due(e, f, l, i, t.ProjectionNode, a);
}
- return (0, z.jsxs)(gP.Provider, {
+ return (0, z.jsxs)(oF.Provider, {
value: d,
children: [c && d.visualElement ? (0, z.jsx)(c, {
visualElement: d.visualElement,
...l
- }) : null, kP(e, n, IP(f, d.visualElement, s), f, u, t, a)]
+ }) : null, bue(e, n, Eue(f, d.visualElement, s), f, u, t, a)]
});
}
s.displayName = `motion.${typeof e == "string" ? e : `create(${e.displayName ?? e.name ?? ""})`}`;
let c = (0, R.forwardRef)(s);
- return c[FP] = e, c;
+ return c[Tue] = e, c;
}
-function UP({ layoutId: e }) {
- let t = (0, R.useContext)(LN).id;
+function kue({ layoutId: e }) {
+ let t = (0, R.useContext)(UP).id;
return t && e !== void 0 ? t + "-" + e : e;
}
-function WP(e, t) {
- (0, R.useContext)(tP).strict;
+function Aue(e, t) {
+ (0, R.useContext)(QP).strict;
}
-function GP(e) {
- let { drag: t, layout: n } = aP();
+function jue(e) {
+ let { drag: t, layout: n } = tF();
if (!t && !n) return {};
let r = {
...t,
@@ -41201,20 +41700,20 @@ function GP(e) {
}
//#endregion
//#region node_modules/framer-motion/dist/es/render/components/create-proxy.mjs
-function KP(e, t) {
- if (typeof Proxy > "u") return HP;
- let n = /* @__PURE__ */ new Map(), r = (n, r) => HP(n, r, e, t);
- return new Proxy((e, t) => r(e, t), { get: (i, a) => a === "create" ? r : (n.has(a) || n.set(a, HP(a, void 0, e, t)), n.get(a)) });
+function Mue(e, t) {
+ if (typeof Proxy > "u") return gF;
+ let n = /* @__PURE__ */ new Map(), r = (n, r) => gF(n, r, e, t);
+ return new Proxy((e, t) => r(e, t), { get: (i, a) => a === "create" ? r : (n.has(a) || n.set(a, gF(a, void 0, e, t)), n.get(a)) });
}
//#endregion
//#region node_modules/framer-motion/dist/es/render/dom/create-visual-element.mjs
-var qP = (e, t) => t.isSVG ?? OP(e) ? new fae(t) : new oae(t, { allowProjection: e !== R.Fragment }), JP = class extends LE {
+var Nue = (e, t) => t.isSVG ?? dF(e) ? new Gie(t) : new zie(t, { allowProjection: e !== R.Fragment }), Pue = class extends iD {
constructor(e) {
- super(e), e.animationState ||= _ae(e);
+ super(e), e.animationState ||= Xie(e);
}
updateAnimationControlsSubscription() {
let { animate: e } = this.node.getProps();
- wE(e) && (this.unmountControls = e.subscribe(this.node));
+ GE(e) && (this.unmountControls = e.subscribe(this.node));
}
mount() {
this.updateAnimationControlsSubscription();
@@ -41226,11 +41725,11 @@ var qP = (e, t) => t.isSVG ?? OP(e) ? new fae(t) : new oae(t, { allowProjection:
unmount() {
this.node.animationState.reset(), this.unmountControls?.();
}
-}, YP = 0, XP = {
- animation: { Feature: JP },
- exit: { Feature: class extends LE {
+}, Fue = 0, Iue = {
+ animation: { Feature: Pue },
+ exit: { Feature: class extends iD {
constructor() {
- super(...arguments), this.id = YP++, this.isExitComplete = !1;
+ super(...arguments), this.id = Fue++, this.isExitComplete = !1;
}
update() {
if (!this.node.presenceContext) return;
@@ -41240,7 +41739,7 @@ var qP = (e, t) => t.isSVG ?? OP(e) ? new fae(t) : new oae(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 = kT(this.node, e, t);
+ let n = ST(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]);
@@ -41265,21 +41764,21 @@ var qP = (e, t) => t.isSVG ?? OP(e) ? new fae(t) : new oae(t, { allowProjection:
};
//#endregion
//#region node_modules/framer-motion/dist/es/events/event-info.mjs
-function ZP(e) {
+function _F(e) {
return { point: {
x: e.pageX,
y: e.pageY
} };
}
-var QP = (e) => (t) => rE(t) && e(t, ZP(t));
+var Lue = (e) => (t) => vE(t) && e(t, _F(t));
//#endregion
//#region node_modules/framer-motion/dist/es/events/add-pointer-event.mjs
-function $P(e, t, n, r) {
- return BD(e, t, QP(n), r);
+function vF(e, t, n, r) {
+ return sO(e, t, Lue(n), r);
}
//#endregion
//#region node_modules/framer-motion/dist/es/utils/get-context-window.mjs
-var eF = ({ current: e }) => e ? e.ownerDocument.defaultView : null, tF = /*#__PURE__*/ new Set(["auto", "scroll"]), nF = class {
+var yF = ({ current: e }) => e ? e.ownerDocument.defaultView : null, bF = /*#__PURE__*/ new Set(["auto", "scroll"]), xF = 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);
@@ -41287,13 +41786,13 @@ var eF = ({ current: e }) => e ? e.ownerDocument.defaultView : null, tF = /*#__P
this.handleScroll(window);
}, this.updatePoint = () => {
if (!(this.lastMoveEvent && this.lastMoveEventInfo)) return;
- this.lastRawMoveEventInfo && (this.lastMoveEventInfo = rF(this.lastRawMoveEventInfo, this.transformPagePoint));
- let e = aF(this.lastMoveEventInfo, this.history), t = this.startEvent !== null, n = soe(e.offset, {
+ this.lastRawMoveEventInfo && (this.lastMoveEventInfo = SF(this.lastRawMoveEventInfo, this.transformPagePoint));
+ let e = wF(this.lastMoveEventInfo, this.history), t = this.startEvent !== null, n = Bae(e.offset, {
x: 0,
y: 0
}) >= this.distanceThreshold;
if (!t && !n) return;
- let { point: r } = e, { timestamp: i } = AC;
+ let { point: r } = e, { timestamp: i } = OC;
this.history.push({
...r,
timestamp: i
@@ -41301,33 +41800,33 @@ var eF = ({ current: e }) => e ? e.ownerDocument.defaultView : null, tF = /*#__P
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 = rF(t, this.transformPagePoint), OC.update(this.updatePoint, !0);
+ this.lastMoveEvent = e, this.lastRawMoveEventInfo = t, this.lastMoveEventInfo = SF(t, this.transformPagePoint), EC.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 = aF(e.type === "pointercancel" ? this.lastMoveEventInfo : rF(t, this.transformPagePoint), this.history);
+ let a = wF(e.type === "pointercancel" ? this.lastMoveEventInfo : SF(t, this.transformPagePoint), this.history);
this.startEvent && n && n(e, a), r && r(e, a);
- }, !rE(e)) return;
+ }, !vE(e)) return;
this.dragSnapToOrigin = i, this.handlers = t, this.transformPagePoint = n, this.distanceThreshold = a, this.contextWindow = r || window;
- let s = rF(ZP(e), this.transformPagePoint), { point: c } = s, { timestamp: l } = AC;
+ let s = SF(_F(e), this.transformPagePoint), { point: c } = s, { timestamp: l } = OC;
this.history = [{
...c,
timestamp: l
}];
let { onSessionStart: u } = t;
- u && u(e, aF(s, this.history));
+ u && u(e, wF(s, this.history));
let d = {
passive: !0,
capture: !0
};
- this.removeListeners = XS($P(this.contextWindow, "pointermove", this.handlePointerMove, d), $P(this.contextWindow, "pointerup", this.handlePointerUp, d), $P(this.contextWindow, "pointercancel", this.handlePointerUp, d)), o && this.startScrollTracking(o);
+ this.removeListeners = rC(vF(this.contextWindow, "pointermove", this.handlePointerMove, d), vF(this.contextWindow, "pointerup", this.handlePointerUp, d), vF(this.contextWindow, "pointercancel", this.handlePointerUp, d)), o && this.startScrollTracking(o);
}
startScrollTracking(e) {
let t = e.parentElement;
for (; t;) {
let e = getComputedStyle(t);
- (tF.has(e.overflowX) || tF.has(e.overflowY)) && this.scrollPositions.set(t, {
+ (bF.has(e.overflowX) || bF.has(e.overflowY)) && this.scrollPositions.set(t, {
x: t.scrollLeft,
y: t.scrollTop
}), t = t.parentElement;
@@ -41352,51 +41851,51 @@ var eF = ({ current: e }) => e ? e.ownerDocument.defaultView : null, tF = /*#__P
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), OC.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), EC.update(this.updatePoint, !0));
}
updateHandlers(e) {
this.handlers = e;
}
end() {
- this.removeListeners && this.removeListeners(), this.removeScrollListeners && this.removeScrollListeners(), this.scrollPositions.clear(), kC(this.updatePoint);
+ this.removeListeners && this.removeListeners(), this.removeScrollListeners && this.removeScrollListeners(), this.scrollPositions.clear(), DC(this.updatePoint);
}
};
-function rF(e, t) {
+function SF(e, t) {
return t ? { point: t(e.point) } : e;
}
-function iF(e, t) {
+function CF(e, t) {
return {
x: e.x - t.x,
y: e.y - t.y
};
}
-function aF({ point: e }, t) {
+function wF({ point: e }, t) {
return {
point: e,
- delta: iF(e, sF(t)),
- offset: iF(e, oF(t)),
- velocity: cF(t, .1)
+ delta: CF(e, TF(t)),
+ offset: CF(e, Rue(t)),
+ velocity: zue(t, .1)
};
}
-function oF(e) {
+function Rue(e) {
return e[0];
}
-function sF(e) {
+function TF(e) {
return e[e.length - 1];
}
-function cF(e, t) {
+function zue(e, t) {
if (e.length < 2) return {
x: 0,
y: 0
};
- let n = e.length - 1, r = null, i = sF(e);
- for (; n >= 0 && (r = e[n], !(i.timestamp - r.timestamp > /* @__PURE__ */ $S(t)));) n--;
+ let n = e.length - 1, r = null, i = TF(e);
+ for (; n >= 0 && (r = e[n], !(i.timestamp - r.timestamp > /* @__PURE__ */ oC(t)));) n--;
if (!r) return {
x: 0,
y: 0
};
- r === e[0] && e.length > 2 && i.timestamp - r.timestamp > /* @__PURE__ */ $S(t) * 2 && (r = e[1]);
- let a = /* @__PURE__ */ eC(i.timestamp - r.timestamp);
+ r === e[0] && e.length > 2 && i.timestamp - r.timestamp > /* @__PURE__ */ oC(t) * 2 && (r = e[1]);
+ let a = /* @__PURE__ */ sC(i.timestamp - r.timestamp);
if (a === 0) return {
x: 0,
y: 0
@@ -41409,86 +41908,86 @@ function cF(e, t) {
}
//#endregion
//#region node_modules/framer-motion/dist/es/gestures/drag/utils/constraints.mjs
-function lF(e, { min: t, max: n }, r) {
- return t !== void 0 && e < t ? e = r ? pw(t, e, r.min) : Math.max(e, t) : n !== void 0 && e > n && (e = r ? pw(n, e, r.max) : Math.min(e, n)), e;
+function Bue(e, { min: t, max: n }, r) {
+ return t !== void 0 && e < t ? e = r ? ow(t, e, r.min) : Math.max(e, t) : n !== void 0 && e > n && (e = r ? ow(n, e, r.max) : Math.min(e, n)), e;
}
-function uF(e, t, n) {
+function EF(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 dF(e, { top: t, left: n, bottom: r, right: i }) {
+function Vue(e, { top: t, left: n, bottom: r, right: i }) {
return {
- x: uF(e.x, n, i),
- y: uF(e.y, t, r)
+ x: EF(e.x, n, i),
+ y: EF(e.y, t, r)
};
}
-function fF(e, t) {
+function DF(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 pF(e, t) {
+function Hue(e, t) {
return {
- x: fF(e.x, t.x),
- y: fF(e.y, t.y)
+ x: DF(e.x, t.x),
+ y: DF(e.y, t.y)
};
}
-function mF(e, t) {
- let n = .5, r = yD(e), i = yD(t);
- return i > r ? n = /* @__PURE__ */ ZS(t.min, t.max - r, e.min) : r > i && (n = /* @__PURE__ */ ZS(e.min, e.max - i, t.min)), US(0, 1, n);
+function Uue(e, t) {
+ let n = .5, r = BD(e), i = BD(t);
+ return i > r ? n = /* @__PURE__ */ iC(t.min, t.max - r, e.min) : r > i && (n = /* @__PURE__ */ iC(e.min, e.max - i, t.min)), XS(0, 1, n);
}
-function hF(e, t) {
+function Wue(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 gF = .35;
-function _F(e = gF) {
- return e === !1 ? e = 0 : e === !0 && (e = gF), {
- x: vF(e, "left", "right"),
- y: vF(e, "top", "bottom")
+var OF = .35;
+function Gue(e = OF) {
+ return e === !1 ? e = 0 : e === !0 && (e = OF), {
+ x: kF(e, "left", "right"),
+ y: kF(e, "top", "bottom")
};
}
-function vF(e, t, n) {
+function kF(e, t, n) {
return {
- min: yF(e, t),
- max: yF(e, n)
+ min: AF(e, t),
+ max: AF(e, n)
};
}
-function yF(e, t) {
+function AF(e, t) {
return typeof e == "number" ? e : e[t] || 0;
}
//#endregion
//#region node_modules/framer-motion/dist/es/gestures/drag/VisualElementDragControls.mjs
-var bF = /* @__PURE__ */ new WeakMap(), xF = class {
+var Kue = /* @__PURE__ */ new WeakMap(), que = 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 = CE(), this.latestPointerEvent = null, this.latestPanInfo = null, this.visualElement = e;
+ }, this.constraints = !1, this.hasMutatedConstraints = !1, this.elastic = WE(), 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(ZP(e).point), this.stopAnimation();
+ t && this.snapToCursor(_F(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 = wie(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), FD((e) => {
+ if (n && !r && (this.openDragLock && this.openDragLock(), this.openDragLock = pE(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), nO((e) => {
let t = this.getAxisMotionValue(e).get() || 0;
- if (tw.test(t)) {
+ if (JC.test(t)) {
let { projection: n } = this.visualElement;
if (n && n.layout) {
let r = n.layout.layoutBox[e];
- r && (t = yD(r) * (parseFloat(t) / 100));
+ r && (t = BD(r) * (parseFloat(t) / 100));
}
}
this.originPoint[e] = t;
- }), i && OC.update(() => i(e, t), !1, !0), NT(this.visualElement, "transform");
+ }), i && EC.update(() => i(e, t), !1, !0), AT(this.visualElement, "transform");
let { animationState: a } = this.visualElement;
a && a.setActive("whileDrag", !0);
}, o = (e, t) => {
@@ -41497,10 +41996,10 @@ var bF = /* @__PURE__ */ new WeakMap(), xF = class {
if (!n && !this.openDragLock) return;
let { offset: o } = t;
if (r && this.currentDirection === null) {
- this.currentDirection = Rue(o), this.currentDirection !== null && i && i(this.currentDirection);
+ this.currentDirection = Yue(o), this.currentDirection !== null && i && i(this.currentDirection);
return;
}
- this.updateAxis("x", t.point, o), this.updateAxis("y", t.point, o), this.visualElement.render(), a && OC.update(() => a(e, t), !1, !0);
+ this.updateAxis("x", t.point, o), this.updateAxis("y", t.point, o), this.visualElement.render(), a && EC.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 = () => {
@@ -41510,7 +42009,7 @@ var bF = /* @__PURE__ */ new WeakMap(), xF = class {
y: 0
});
}, { dragSnapToOrigin: l } = this.getProps();
- this.panSession = new nF(e, {
+ this.panSession = new xF(e, {
onSessionStart: i,
onStart: a,
onMove: o,
@@ -41520,7 +42019,7 @@ var bF = /* @__PURE__ */ new WeakMap(), xF = class {
transformPagePoint: this.visualElement.getTransformPagePoint(),
dragSnapToOrigin: l,
distanceThreshold: n,
- contextWindow: eF(this.visualElement),
+ contextWindow: yF(this.visualElement),
element: this.visualElement.current
});
}
@@ -41530,7 +42029,7 @@ var bF = /* @__PURE__ */ new WeakMap(), xF = class {
let { velocity: a } = r;
this.startAnimation(a);
let { onDragEnd: o } = this.getProps();
- o && OC.postRender(() => o(n, r));
+ o && EC.postRender(() => o(n, r));
}
cancel() {
this.isDragging = !1;
@@ -41544,32 +42043,32 @@ var bF = /* @__PURE__ */ new WeakMap(), xF = class {
}
updateAxis(e, t, n) {
let { drag: r } = this.getProps();
- if (!n || !wF(e, r, this.currentDirection)) return;
+ if (!n || !MF(e, r, this.currentDirection)) return;
let i = this.getAxisMotionValue(e), a = this.originPoint[e] + n[e];
- this.constraints && this.constraints[e] && (a = lF(a, this.constraints[e], this.elastic[e])), i.set(a);
+ this.constraints && this.constraints[e] && (a = Bue(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 && RP(e) ? this.constraints ||= this.resolveRefConstraints() : this.constraints = e && n ? dF(n.layoutBox, e) : !1, this.elastic = _F(t), r !== this.constraints && !RP(e) && n && this.constraints && !this.hasMutatedConstraints && FD((e) => {
- this.constraints !== !1 && this.getAxisMotionValue(e) && (this.constraints[e] = hF(n.layoutBox[e], this.constraints[e]));
+ e && mF(e) ? this.constraints ||= this.resolveRefConstraints() : this.constraints = e && n ? Vue(n.layoutBox, e) : !1, this.elastic = Gue(t), r !== this.constraints && !mF(e) && n && this.constraints && !this.hasMutatedConstraints && nO((e) => {
+ this.constraints !== !1 && this.getAxisMotionValue(e) && (this.constraints[e] = Wue(n.layoutBox[e], this.constraints[e]));
});
}
resolveRefConstraints() {
let { dragConstraints: e, onMeasureDragConstraints: t } = this.getProps();
- if (!e || !RP(e)) return !1;
+ if (!e || !mF(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 = eae(n, r.root, this.visualElement.getTransformPagePoint()), a = pF(r.layout.layoutBox, i);
+ let i = Nie(n, r.root, this.visualElement.getTransformPagePoint()), a = Hue(r.layout.layoutBox, i);
if (t) {
- let e = t(Zie(a));
- this.hasMutatedConstraints = !!e, e && (a = RE(e));
+ let e = t(Aie(a));
+ this.hasMutatedConstraints = !!e, e && (a = aD(e));
}
return a;
}
startAnimation(e) {
- let { drag: t, dragMomentum: n, dragElastic: r, dragTransition: i, dragSnapToOrigin: a, onDragTransitionEnd: o } = this.getProps(), s = this.constraints || {}, c = FD((o) => {
- if (!wF(o, t, this.currentDirection)) return;
+ let { drag: t, dragMomentum: n, dragElastic: r, dragTransition: i, dragSnapToOrigin: a, onDragTransitionEnd: o } = this.getProps(), s = this.constraints || {}, c = nO((o) => {
+ if (!MF(o, t, this.currentDirection)) return;
let c = s && s[o] || {};
(a === !0 || a === o) && (c = {
min: 0,
@@ -41592,65 +42091,65 @@ var bF = /* @__PURE__ */ new WeakMap(), xF = class {
}
startAxisValueAnimation(e, t) {
let n = this.getAxisMotionValue(e);
- return NT(this.visualElement, e), n.start(TT(e, n, 0, t, this.visualElement, !1));
+ return AT(this.visualElement, e), n.start(vT(e, n, 0, t, this.visualElement, !1));
}
stopAnimation() {
- FD((e) => this.getAxisMotionValue(e).stop());
+ nO((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) {
- FD((t) => {
+ nO((t) => {
let { drag: n } = this.getProps();
- if (!wF(t, n, this.currentDirection)) return;
+ if (!MF(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] - pw(n, a, .5) + o);
+ i.set(e[t] - ow(n, a, .5) + o);
}
});
}
scalePositionWithinConstraints() {
if (!this.visualElement.current) return;
let { drag: e, dragConstraints: t } = this.getProps(), { projection: n } = this.visualElement;
- if (!RP(t) || !n || !this.constraints) return;
+ if (!mF(t) || !n || !this.constraints) return;
this.stopAnimation();
let r = {
x: 0,
y: 0
};
- FD((e) => {
+ nO((e) => {
let t = this.getAxisMotionValue(e);
if (t && this.constraints !== !1) {
let n = t.get();
- r[e] = mF({
+ r[e] = Uue({
min: n,
max: n
}, this.constraints[e]);
}
});
let { transformTemplate: i } = this.visualElement.getProps();
- this.visualElement.current.style.transform = i ? i({}, "") : "none", n.root && n.root.updateScroll(), n.updateLayout(), this.constraints = !1, this.resolveConstraints(), FD((t) => {
- if (!wF(t, e, null)) return;
+ this.visualElement.current.style.transform = i ? i({}, "") : "none", n.root && n.root.updateScroll(), n.updateLayout(), this.constraints = !1, this.resolveConstraints(), nO((t) => {
+ if (!MF(t, e, null)) return;
let n = this.getAxisMotionValue(t), { min: i, max: a } = this.constraints[t];
- n.set(pw(i, a, r[t]));
+ n.set(ow(i, a, r[t]));
}), this.visualElement.render();
}
addListeners() {
if (!this.visualElement.current) return;
- bF.set(this.visualElement, this);
- let e = this.visualElement.current, t = $P(e, "pointerdown", (t) => {
- let { drag: n, dragListener: r = !0 } = this.getProps(), i = t.target, a = i !== e && Aie(i);
+ Kue.set(this.visualElement, this);
+ let e = this.visualElement.current, t = vF(e, "pointerdown", (t) => {
+ let { drag: n, dragListener: r = !0 } = this.getProps(), i = t.target, a = i !== e && SE(i);
n && r && !a && this.start(t);
}), n, r = () => {
let { dragConstraints: t } = this.getProps();
- RP(t) && t.current && (this.constraints = this.resolveRefConstraints(), n ||= CF(e, t.current, () => this.scalePositionWithinConstraints()));
+ mF(t) && t.current && (this.constraints = this.resolveRefConstraints(), n ||= Jue(e, t.current, () => this.scalePositionWithinConstraints()));
}, { projection: i } = this.visualElement, a = i.addEventListener("measure", r);
- i && !i.layout && (i.root && i.root.updateScroll(), i.updateLayout()), OC.read(r);
- let o = BD(window, "resize", () => this.scalePositionWithinConstraints()), s = i.addEventListener("didUpdate", (({ delta: e, hasLayoutChanged: t }) => {
- this.isDragging && t && (FD((t) => {
+ i && !i.layout && (i.root && i.root.updateScroll(), i.updateLayout()), EC.read(r);
+ let o = sO(window, "resize", () => this.scalePositionWithinConstraints()), s = i.addEventListener("didUpdate", (({ delta: e, hasLayoutChanged: t }) => {
+ this.isDragging && t && (nO((t) => {
let n = this.getAxisMotionValue(t);
n && (this.originPoint[t] += e[t].translate, n.set(n.get() + e[t].translate));
}), this.visualElement.render());
@@ -41660,7 +42159,7 @@ var bF = /* @__PURE__ */ new WeakMap(), xF = class {
};
}
getProps() {
- let e = this.visualElement.getProps(), { drag: t = !1, dragDirectionLock: n = !1, dragPropagation: r = !1, dragConstraints: i = !1, dragElastic: a = gF, dragMomentum: o = !0 } = e;
+ let e = this.visualElement.getProps(), { drag: t = !1, dragDirectionLock: n = !1, dragPropagation: r = !1, dragConstraints: i = !1, dragElastic: a = OF, dragMomentum: o = !0 } = e;
return {
...e,
drag: t,
@@ -41672,7 +42171,7 @@ var bF = /* @__PURE__ */ new WeakMap(), xF = class {
};
}
};
-function SF(e) {
+function jF(e) {
let t = !0;
return () => {
if (t) {
@@ -41682,28 +42181,28 @@ function SF(e) {
e();
};
}
-function CF(e, t, n) {
- let r = gE(e, SF(n)), i = gE(t, SF(n));
+function Jue(e, t, n) {
+ let r = LE(e, jF(n)), i = LE(t, jF(n));
return () => {
r(), i();
};
}
-function wF(e, t, n) {
+function MF(e, t, n) {
return (t === !0 || t === e) && (n === null || n === e);
}
-function Rue(e, t = 10) {
+function Yue(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 zue = class extends LE {
+var Xue = class extends iD {
constructor(e) {
- super(e), this.removeGroupControls = YS, this.removeListeners = YS, this.controls = new xF(e);
+ super(e), this.removeGroupControls = nC, this.removeListeners = nC, this.controls = new que(e);
}
mount() {
let { dragControls: e } = this.node.getProps();
- e && (this.removeGroupControls = e.subscribe(this.controls)), this.removeListeners = this.controls.addListeners() || YS;
+ e && (this.removeGroupControls = e.subscribe(this.controls)), this.removeListeners = this.controls.addListeners() || nC;
}
update() {
let { dragControls: e } = this.node.getProps(), { dragControls: t } = this.node.prevProps || {};
@@ -41712,31 +42211,31 @@ var zue = class extends LE {
unmount() {
this.removeGroupControls(), this.removeListeners(), this.controls.isDragging || this.controls.endPanSession();
}
-}, TF = (e) => (t, n) => {
- e && OC.update(() => e(t, n), !1, !0);
-}, Bue = class extends LE {
+}, NF = (e) => (t, n) => {
+ e && EC.update(() => e(t, n), !1, !0);
+}, Zue = class extends iD {
constructor() {
- super(...arguments), this.removePointerDownListener = YS;
+ super(...arguments), this.removePointerDownListener = nC;
}
onPointerDown(e) {
- this.session = new nF(e, this.createPanHandlers(), {
+ this.session = new xF(e, this.createPanHandlers(), {
transformPagePoint: this.node.getTransformPagePoint(),
- contextWindow: eF(this.node)
+ contextWindow: yF(this.node)
});
}
createPanHandlers() {
let { onPanSessionStart: e, onPanStart: t, onPan: n, onPanEnd: r } = this.node.getProps();
return {
- onSessionStart: TF(e),
- onStart: TF(t),
- onMove: TF(n),
+ onSessionStart: NF(e),
+ onStart: NF(t),
+ onMove: NF(n),
onEnd: (e, t) => {
- delete this.session, r && OC.postRender(() => r(e, t));
+ delete this.session, r && EC.postRender(() => r(e, t));
}
};
}
mount() {
- this.removePointerDownListener = $P(this.node.current, "pointerdown", (e) => this.onPointerDown(e));
+ this.removePointerDownListener = vF(this.node.current, "pointerdown", (e) => this.onPointerDown(e));
}
update() {
this.session && this.session.updateHandlers(this.createPanHandlers());
@@ -41744,36 +42243,36 @@ var zue = class extends LE {
unmount() {
this.removePointerDownListener(), this.session && this.session.end();
}
-}, EF = !1, Vue = class extends R.Component {
+}, PF = !1, Que = class extends R.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), EF && i.root.didUpdate(), i.addEventListener("animationComplete", () => {
+ i && (t.group && t.group.add(i), n && n.register && r && n.register(i), PF && i.root.didUpdate(), i.addEventListener("animationComplete", () => {
this.safeToRemove();
}), i.setOptions({
...i.options,
layoutDependency: this.props.layoutDependency,
onExitComplete: () => this.safeToRemove()
- })), HD.hasEverUpdated = !0;
+ })), lO.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
- }), EF = !0, r || e.layoutDependency !== t || t === void 0 || e.isPresent !== i ? a.willUpdate() : this.safeToRemove(), e.isPresent !== i && (i ? a.promote() : a.relegate() || OC.postRender(() => {
+ }), PF = !0, r || e.layoutDependency !== t || t === void 0 || e.isPresent !== i ? a.willUpdate() : this.safeToRemove(), e.isPresent !== i && (i ? a.promote() : a.relegate() || EC.postRender(() => {
let e = a.getStack();
(!e || !e.members.length) && this.safeToRemove();
})), null) : null;
}
componentDidUpdate() {
let { visualElement: e, layoutAnchor: t } = this.props, { projection: n } = e;
- n && (n.options.layoutAnchor = t, n.root.didUpdate(), QT.postRender(() => {
+ n && (n.options.layoutAnchor = t, n.root.didUpdate(), uE.postRender(() => {
!n.currentAnimation && n.isLead() && this.safeToRemove();
}));
}
componentWillUnmount() {
let { visualElement: e, layoutGroup: t, switchLayoutGroup: n } = this.props, { projection: r } = e;
- EF = !0, r && (r.scheduleCheckAfterUnmount(), t && t.group && t.group.remove(r), n && n.deregister && n.deregister(r));
+ PF = !0, r && (r.scheduleCheckAfterUnmount(), t && t.group && t.group.remove(r), n && n.deregister && n.deregister(r));
}
safeToRemove() {
let { safeToRemove: e } = this.props;
@@ -41783,41 +42282,41 @@ var zue = class extends LE {
return null;
}
};
-function DF(e) {
- let [t, n] = YN(), r = (0, R.useContext)(LN);
- return (0, z.jsx)(Vue, {
+function FF(e) {
+ let [t, n] = YP(), r = (0, R.useContext)(UP);
+ return (0, z.jsx)(Que, {
...e,
layoutGroup: r,
- switchLayoutGroup: (0, R.useContext)(LP),
+ switchLayoutGroup: (0, R.useContext)(pF),
isPresent: t,
safeToRemove: n
});
}
//#endregion
//#region node_modules/framer-motion/dist/es/motion/features/drag.mjs
-var Hue = {
- pan: { Feature: Bue },
+var $ue = {
+ pan: { Feature: Zue },
drag: {
- Feature: zue,
- ProjectionNode: iO,
- MeasureLayout: DF
+ Feature: Xue,
+ ProjectionNode: TO,
+ MeasureLayout: FF
}
};
//#endregion
//#region node_modules/framer-motion/dist/es/gestures/hover.mjs
-function OF(e, t, n) {
+function IF(e, t, n) {
let { props: r } = e;
e.animationState && r.whileHover && e.animationState.setActive("whileHover", n === "Start");
let i = r["onHover" + n];
- i && OC.postRender(() => i(t, ZP(t)));
+ i && EC.postRender(() => i(t, _F(t)));
}
-var Uue = class extends LE {
+var ede = class extends iD {
mount() {
let { current: e } = this.node;
- e && (this.unmount = Eie(e, (e, t) => (OF(this.node, t, "Start"), (e) => OF(this.node, e, "End"))));
+ e && (this.unmount = gE(e, (e, t) => (IF(this.node, t, "Start"), (e) => IF(this.node, e, "End"))));
}
unmount() {}
-}, Wue = class extends LE {
+}, tde = class extends iD {
constructor() {
super(...arguments), this.isActive = !1;
}
@@ -41834,57 +42333,57 @@ var Uue = class extends LE {
!this.isActive || !this.node.animationState || (this.node.animationState.setActive("whileFocus", !1), this.isActive = !1);
}
mount() {
- this.unmount = XS(BD(this.node.current, "focus", () => this.onFocus()), BD(this.node.current, "blur", () => this.onBlur()));
+ this.unmount = rC(sO(this.node.current, "focus", () => this.onFocus()), sO(this.node.current, "blur", () => this.onBlur()));
}
unmount() {}
};
//#endregion
//#region node_modules/framer-motion/dist/es/gestures/press.mjs
-function kF(e, t, n) {
+function LF(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 && OC.postRender(() => i(t, ZP(t)));
+ i && EC.postRender(() => i(t, _F(t)));
}
-var Gue = class extends LE {
+var nde = class extends iD {
mount() {
let { current: e } = this.node;
if (!e) return;
let { globalTapTarget: t, propagate: n } = this.node.props;
- this.unmount = Mie(e, (e, t) => (kF(this.node, t, "Start"), (e, { success: t }) => kF(this.node, e, t ? "End" : "Cancel")), {
+ this.unmount = kE(e, (e, t) => (LF(this.node, t, "Start"), (e, { success: t }) => LF(this.node, e, t ? "End" : "Cancel")), {
useGlobalTarget: t,
stopPropagation: n?.tap === !1
});
}
unmount() {}
-}, AF = /* @__PURE__ */ new WeakMap(), jF = /* @__PURE__ */ new WeakMap(), Kue = (e) => {
- let t = AF.get(e.target);
+}, RF = /* @__PURE__ */ new WeakMap(), zF = /* @__PURE__ */ new WeakMap(), rde = (e) => {
+ let t = RF.get(e.target);
t && t(e);
-}, que = (e) => {
- e.forEach(Kue);
+}, ide = (e) => {
+ e.forEach(rde);
};
-function Jue({ root: e, ...t }) {
+function ade({ root: e, ...t }) {
let n = e || document;
- jF.has(n) || jF.set(n, {});
- let r = jF.get(n), i = JSON.stringify(t);
- return r[i] || (r[i] = new IntersectionObserver(que, {
+ zF.has(n) || zF.set(n, {});
+ let r = zF.get(n), i = JSON.stringify(t);
+ return r[i] || (r[i] = new IntersectionObserver(ide, {
root: e,
...t
})), r[i];
}
-function Yue(e, t, n) {
- let r = Jue(t);
- return AF.set(e, n), r.observe(e), () => {
- AF.delete(e), r.unobserve(e);
+function ode(e, t, n) {
+ let r = ade(t);
+ return RF.set(e, n), r.observe(e), () => {
+ RF.delete(e), r.unobserve(e);
};
}
//#endregion
//#region node_modules/framer-motion/dist/es/motion/features/viewport/index.mjs
-var Xue = {
+var sde = {
some: 0,
all: 1
-}, Zue = class extends LE {
+}, cde = class extends iD {
constructor() {
super(...arguments), this.hasEnteredView = !1, this.isInView = !1;
}
@@ -41893,7 +42392,7 @@ var Xue = {
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 : Xue[r]
+ threshold: typeof r == "number" ? r : sde[r]
}, o = (e) => {
let { isIntersecting: t } = e;
if (this.isInView === t || (this.isInView = t, i && !t && this.hasEnteredView)) return;
@@ -41901,7 +42400,7 @@ var Xue = {
let { onViewportEnter: n, onViewportLeave: r } = this.node.getProps(), a = t ? n : r;
a && a(e);
};
- this.stopObserver = Yue(this.node.current, a, o);
+ this.stopObserver = ode(this.node.current, a, o);
}
mount() {
this.startObserver();
@@ -41913,34 +42412,34 @@ var Xue = {
"amount",
"margin",
"root"
- ].some(Que(e, t)) && this.startObserver();
+ ].some(lde(e, t)) && this.startObserver();
}
unmount() {
this.stopObserver?.(), this.hasEnteredView = !1, this.isInView = !1;
}
};
-function Que({ viewport: e = {} }, { viewport: t = {} } = {}) {
+function lde({ viewport: e = {} }, { viewport: t = {} } = {}) {
return (n) => e[n] !== t[n];
}
//#endregion
//#region node_modules/framer-motion/dist/es/motion/features/gestures.mjs
-var $ue = {
- inView: { Feature: Zue },
- tap: { Feature: Gue },
- focus: { Feature: Wue },
- hover: { Feature: Uue }
-}, ede = { layout: {
- ProjectionNode: iO,
- MeasureLayout: DF
-} }, tde = /*@__PURE__*/ KP({
- ...XP,
+var ude = {
+ inView: { Feature: cde },
+ tap: { Feature: nde },
+ focus: { Feature: tde },
+ hover: { Feature: ede }
+}, dde = { layout: {
+ ProjectionNode: TO,
+ MeasureLayout: FF
+} }, fde = /*@__PURE__*/ Mue({
+ ...Iue,
+ ...ude,
...$ue,
- ...Hue,
- ...ede
-}, qP);
+ ...dde
+}, Nue);
//#endregion
//#region node_modules/framer-motion/dist/es/utils/use-motion-value-event.mjs
-function MF(e, t, n) {
+function BF(e, t, n) {
(0, R.useInsertionEffect)(() => e.on(t, n), [
e,
t,
@@ -41949,8 +42448,8 @@ function MF(e, t, n) {
}
//#endregion
//#region node_modules/framer-motion/dist/es/value/use-motion-value.mjs
-function NF(e) {
- let t = RN(() => ST(e)), { isStatic: n } = (0, R.useContext)(VN);
+function VF(e) {
+ let t = WP(() => hT(e)), { isStatic: n } = (0, R.useContext)(qP);
if (n) {
let [, n] = (0, R.useState)(e);
(0, R.useEffect)(() => t.on("change", n), []);
@@ -41959,28 +42458,28 @@ function NF(e) {
}
//#endregion
//#region node_modules/framer-motion/dist/es/value/use-combine-values.mjs
-function PF(e, t) {
- let n = NF(t()), r = () => n.set(t());
- return r(), zN(() => {
- let t = () => OC.preRender(r, !1, !0), n = e.map((e) => e.on("change", t));
+function HF(e, t) {
+ let n = VF(t()), r = () => n.set(t());
+ return r(), GP(() => {
+ let t = () => EC.preRender(r, !1, !0), n = e.map((e) => e.on("change", t));
return () => {
- n.forEach((e) => e()), kC(r);
+ n.forEach((e) => e()), DC(r);
};
}), n;
}
//#endregion
//#region node_modules/framer-motion/dist/es/value/use-computed.mjs
-function nde(e) {
- xT.current = [], e();
- let t = PF(xT.current, e);
- return xT.current = void 0, t;
+function pde(e) {
+ mT.current = [], e();
+ let t = HF(mT.current, e);
+ return mT.current = void 0, t;
}
//#endregion
//#region node_modules/framer-motion/dist/es/value/use-transform.mjs
-function FF(e, t, n, r) {
- if (typeof e == "function") return nde(e);
- if (n !== void 0 && !Array.isArray(n) && typeof t != "function") return rde(e, t, n, r);
- let i = typeof t == "function" ? t : Hie(t, n, r), a = Array.isArray(e) ? IF(e, i) : IF([e], ([e]) => i(e)), o = Array.isArray(e) ? void 0 : e.accelerate;
+function UF(e, t, n, r) {
+ if (typeof e == "function") return pde(e);
+ if (n !== void 0 && !Array.isArray(n) && typeof t != "function") return mde(e, t, n, r);
+ let i = typeof t == "function" ? t : xie(t, n, r), a = Array.isArray(e) ? WF(e, i) : WF([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,
@@ -41989,55 +42488,55 @@ function FF(e, t, n, r) {
...r?.ease ? { ease: r.ease } : {}
}), a;
}
-function IF(e, t) {
- let n = RN(() => []);
- return PF(e, () => {
+function WF(e, t) {
+ let n = WP(() => []);
+ return HF(e, () => {
n.length = 0;
let r = e.length;
for (let t = 0; t < r; t++) n[t] = e[t].get();
return t(n);
});
}
-function rde(e, t, n, r) {
- let i = RN(() => Object.keys(n)), a = RN(() => ({}));
- for (let o of i) a[o] = FF(e, t, n[o], r);
+function mde(e, t, n, r) {
+ let i = WP(() => Object.keys(n)), a = WP(() => ({}));
+ for (let o of i) a[o] = UF(e, t, n[o], r);
return a;
}
//#endregion
//#region node_modules/framer-motion/dist/es/value/use-follow-value.mjs
-function ide(e, t = {}) {
- let { isStatic: n } = (0, R.useContext)(VN), r = () => MT(e) ? e.get() : e;
- if (n) return FF(r);
- let i = NF(r());
- return (0, R.useInsertionEffect)(() => Uie(i, e, t), [i, JSON.stringify(t)]), i;
+function hde(e, t = {}) {
+ let { isStatic: n } = (0, R.useContext)(qP), r = () => OT(e) ? e.get() : e;
+ if (n) return UF(r);
+ let i = VF(r());
+ return (0, R.useInsertionEffect)(() => Sie(i, e, t), [i, JSON.stringify(t)]), i;
}
//#endregion
//#region node_modules/framer-motion/dist/es/value/use-spring.mjs
-function LF(e, t = {}) {
- return ide(e, {
+function GF(e, t = {}) {
+ return hde(e, {
type: "spring",
...t
});
}
//#endregion
//#region node_modules/framer-motion/dist/es/utils/reduced-motion/use-reduced-motion.mjs
-function ade() {
- !jE.current && ME();
- let [e] = (0, R.useState)(AE.current);
+function gde() {
+ !QE.current && $E();
+ let [e] = (0, R.useState)(ZE.current);
return e;
}
//#endregion
//#region node_modules/motion/dist/es/react.mjs
-var RF = tde, zF = "(prefers-reduced-motion: reduce)", ode = () => matchMedia(zF).matches, sde = (e) => {
- let t = matchMedia(zF);
+var KF = fde, qF = "(prefers-reduced-motion: reduce)", _de = () => matchMedia(qF).matches, vde = (e) => {
+ let t = matchMedia(qF);
return t.addEventListener("change", e), () => t.removeEventListener("change", e);
};
-function cde({ children: e, count: t, label: n }) {
- let r = XN(), i = (0, R.useSyncExternalStore)(sde, ode, () => !1), { isFocusVisible: a } = Vd(), o = i || a, s = {
+function yde({ children: e, count: t, label: n }) {
+ let r = rue(), i = (0, R.useSyncExternalStore)(vde, _de, () => !1), { isFocusVisible: a } = Vd(), o = i || a, s = {
opacity: 0,
transform: "translate(-50%, 8px)"
};
- return /* @__PURE__ */ (0, z.jsxs)(RF.div, {
+ return /* @__PURE__ */ (0, z.jsxs)(KF.div, {
role: "group",
"aria-label": n,
"data-selection-dock": !0,
@@ -42069,13 +42568,13 @@ function cde({ children: e, count: t, label: n }) {
}), e]
});
}
-function BF({ visible: e, ...t }) {
- return /* @__PURE__ */ (0, z.jsx)(eP, { children: e ? /* @__PURE__ */ (0, z.jsx)(cde, { ...t }, "selection") : null });
+function JF({ visible: e, ...t }) {
+ return /* @__PURE__ */ (0, z.jsx)(aue, { children: e ? /* @__PURE__ */ (0, z.jsx)(yde, { ...t }, "selection") : null });
}
//#endregion
//#region src/react/follow-manage/add-feed.tsx
-var lde = "输入女优名,到 JavDB 找她的演员页";
-function ude(e, t) {
+var bde = "输入女优名,到 JavDB 找她的演员页";
+function xde(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 {
@@ -42094,10 +42593,10 @@ function ude(e, t) {
blocked: !1
};
}
-function dde({ card: e, picked: t, onPick: n }) {
+function Sde({ card: e, picked: t, onPick: n }) {
return /* @__PURE__ */ (0, z.jsxs)("div", {
className: "flex flex-wrap items-center gap-2",
- children: [/* @__PURE__ */ (0, z.jsx)(JO, {
+ children: [/* @__PURE__ */ (0, z.jsx)(mk, {
isSelected: t,
onChange: n,
children: /* @__PURE__ */ (0, z.jsxs)("span", {
@@ -42118,16 +42617,16 @@ function dde({ card: e, picked: t, onPick: n }) {
}) : null
]
})
- }), /* @__PURE__ */ (0, z.jsx)(MO, {
+ }), /* @__PURE__ */ (0, z.jsx)($O, {
href: e.url,
children: e.id
})]
});
}
-function fde({ readOnly: e, toast: t, onAdded: n }) {
+function Cde({ readOnly: e, toast: t, onAdded: n }) {
let [r, i] = (0, R.useState)(""), [a, o] = (0, R.useState)(null), [s, c] = (0, R.useState)(/* @__PURE__ */ new Set()), l = Bi(), u = () => {
let t = r.trim();
- !t || e || l.run("lookup", (e) => Yce(t, e), (e) => {
+ !t || e || l.run("lookup", (e) => vN(t, e), (e) => {
o(e), c(new Set(e.suggested));
});
}, d = (e) => {
@@ -42135,10 +42634,10 @@ function fde({ readOnly: e, toast: t, onAdded: n }) {
}, f = () => {
o(null), c(/* @__PURE__ */ new Set()), l.setError("");
}, p = () => {
- a && l.run("follow", (e) => Xce(a.q, [...s], e), (e) => {
+ a && l.run("follow", (e) => oce(a.q, [...s], e), (e) => {
t(e.created ? `已新建「${e.entity_name}」并订阅她的新作` : `已订阅「${e.entity_name}」的新作`), i(""), f(), n();
});
- }, m = a ? ude(a, s) : null;
+ }, m = a ? xde(a, s) : null;
return /* @__PURE__ */ (0, z.jsxs)("div", {
className: Mi({
padding: "none",
@@ -42153,9 +42652,9 @@ function fde({ readOnly: e, toast: t, onAdded: n }) {
className: "flex flex-wrap items-end gap-2",
children: [/* @__PURE__ */ (0, z.jsx)("div", {
className: "min-w-64 grow",
- children: /* @__PURE__ */ (0, z.jsx)(ck, {
+ children: /* @__PURE__ */ (0, z.jsx)(Ek, {
"aria-label": "女优名",
- placeholder: lde,
+ placeholder: bde,
value: r,
leadingIcon: Ze,
isDisabled: e,
@@ -42178,16 +42677,16 @@ function fde({ readOnly: e, toast: t, onAdded: n }) {
a ? /* @__PURE__ */ (0, z.jsxs)("div", {
className: "flex flex-col gap-3",
children: [
- /* @__PURE__ */ (0, z.jsx)(jO, { children: "JavDB 上的演员卡" }),
- a.candidates.length ? a.candidates.map((e) => /* @__PURE__ */ (0, z.jsx)(dde, {
+ /* @__PURE__ */ (0, z.jsx)(QO, { children: "JavDB 上的演员卡" }),
+ a.candidates.length ? a.candidates.map((e) => /* @__PURE__ */ (0, z.jsx)(Sde, {
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, z.jsx)(kO, { children: "JavDB 上没有搜到这个名字。" }),
- a.candidates.length ? /* @__PURE__ */ (0, z.jsx)(kO, {
+ }, e.id)) : /* @__PURE__ */ (0, z.jsx)(XO, { children: "JavDB 上没有搜到这个名字。" }),
+ a.candidates.length ? /* @__PURE__ */ (0, z.jsx)(XO, {
role: "status",
children: s.size ? m.text : "勾选她的演员卡;有碼与無碼两条记录都是她的话,两张都勾。"
}) : null,
@@ -42214,19 +42713,19 @@ function fde({ readOnly: e, toast: t, onAdded: n }) {
}
//#endregion
//#region src/react/follow-manage/source-list.tsx
-var pde = Object.fromEntries(Object.entries(Hj).map(([e, t]) => [t, e])), VF = 740;
-function mde() {
+var wde = Object.fromEntries(Object.entries(jM).map(([e, t]) => [t, e])), YF = 740;
+function Tde() {
let [e, t] = (0, R.useState)(!1), n = (0, R.useRef)(null), r = (0, R.useCallback)((e) => {
if (n.current?.disconnect(), !e) {
n.current = null;
return;
}
- let r = new ResizeObserver(() => t(e.clientWidth < VF));
- r.observe(e), n.current = r, t(e.clientWidth < VF);
+ let r = new ResizeObserver(() => t(e.clientWidth < YF));
+ r.observe(e), n.current = r, t(e.clientWidth < YF);
}, []);
return (0, R.useEffect)(() => () => n.current?.disconnect(), []), [r, e];
}
-var hde = {
+var Ede = {
select: "选择",
author: "创作者",
source: "来源",
@@ -42235,7 +42734,7 @@ var hde = {
checked: "上次检查",
actions: "操作"
};
-function HF({ page: e, pages: t, onPage: n, label: r = "关注列表分页" }) {
+function XF({ page: e, pages: t, onPage: n, label: r = "关注列表分页" }) {
return t <= 1 ? null : /* @__PURE__ */ (0, z.jsxs)("nav", {
"aria-label": r,
className: "flex flex-wrap items-center justify-center gap-2",
@@ -42272,22 +42771,22 @@ function HF({ page: e, pages: t, onPage: n, label: r = "关注列表分页" }) {
]
});
}
-function gde({ source: e, selected: t, onToggle: n, handlers: r }) {
+function Dde({ source: e, selected: t, onToggle: n, handlers: r }) {
return /* @__PURE__ */ (0, z.jsxs)("div", {
"data-selected": t || void 0,
className: "flex min-h-16 flex-wrap items-center gap-3 px-2 py-3",
onClick: (e) => {
- ZO(e, e.currentTarget) && n(!t);
+ gk(e, e.currentTarget) && n(!t);
},
children: [
- /* @__PURE__ */ (0, z.jsx)(JO, {
+ /* @__PURE__ */ (0, z.jsx)(mk, {
isSelected: t,
onChange: n,
"aria-label": `选择 ${e.label}`
}),
/* @__PURE__ */ (0, z.jsxs)("span", {
className: "flex min-w-0 grow flex-col gap-0.5",
- children: [/* @__PURE__ */ (0, z.jsx)(IM, { source: e }), e.last_error ? /* @__PURE__ */ (0, z.jsx)("small", {
+ children: [/* @__PURE__ */ (0, z.jsx)(GN, { source: e }), e.last_error ? /* @__PURE__ */ (0, z.jsx)("small", {
className: "text-caption-1-regular text-text-error-primary",
children: e.last_error
}) : null]
@@ -42295,17 +42794,17 @@ function gde({ source: e, selected: t, onToggle: n, handlers: r }) {
/* @__PURE__ */ (0, z.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, z.jsx)(NM, {
+ children: /* @__PURE__ */ (0, z.jsx)(HN, {
provider: e.provider,
label: e.provider_label
})
}),
- /* @__PURE__ */ (0, z.jsx)(FM, { source: e }),
+ /* @__PURE__ */ (0, z.jsx)(WN, { source: e }),
/* @__PURE__ */ (0, z.jsx)("span", {
className: "shrink-0 text-body-2-regular whitespace-nowrap text-text-secondary",
- children: pM(e)
+ children: SN(e)
}),
- /* @__PURE__ */ (0, z.jsx)(FN, {
+ /* @__PURE__ */ (0, z.jsx)(VP, {
"aria-label": `启用 ${e.label}`,
isSelected: e.enabled,
isDisabled: r.readOnly,
@@ -42335,8 +42834,8 @@ function gde({ source: e, selected: t, onToggle: n, handlers: r }) {
]
});
}
-function _de({ group: e, name: t, open: n, selected: r, handlers: i, onOpen: a, onToggleGroup: o, onToggle: s }) {
- let c = e.map((e) => e.id), l = e.filter((e) => e.enabled).map((e) => e.id), u = e.filter(Wj).length, d = [...new Set(e.map((e) => e.provider_label || e.provider))].join("、"), f = `follow-author-${e[0].id}`, p = Qj(r, c);
+function Ode({ 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(RM).length, d = [...new Set(e.map((e) => e.provider_label || e.provider))].join("、"), f = `follow-author-${e[0].id}`, p = ZM(r, c);
return /* @__PURE__ */ (0, z.jsxs)("section", {
"aria-label": `${t} 的关注来源`,
className: Mi({
@@ -42349,7 +42848,7 @@ function _de({ group: e, name: t, open: n, selected: r, handlers: i, onOpen: a,
"data-open": n || void 0,
className: "flex flex-wrap items-center gap-3 px-2 py-2.5",
children: [
- /* @__PURE__ */ (0, z.jsx)(PM, {
+ /* @__PURE__ */ (0, z.jsx)(UN, {
group: e,
name: t
}),
@@ -42370,7 +42869,7 @@ function _de({ group: e, name: t, open: n, selected: r, handlers: i, onOpen: a,
/* @__PURE__ */ (0, z.jsxs)("span", {
className: "flex shrink-0 items-center gap-1",
title: d,
- children: [e.map((e) => /* @__PURE__ */ (0, z.jsx)(NM, { provider: e.provider }, e.id)), /* @__PURE__ */ (0, z.jsx)(Qm, { children: `来源:${d}` })]
+ children: [e.map((e) => /* @__PURE__ */ (0, z.jsx)(HN, { provider: e.provider }, e.id)), /* @__PURE__ */ (0, z.jsx)(Qm, { children: `来源:${d}` })]
}),
u ? /* @__PURE__ */ (0, z.jsx)("span", {
className: "shrink-0 text-body-2-regular text-text-error-primary",
@@ -42400,7 +42899,7 @@ function _de({ group: e, name: t, open: n, selected: r, handlers: i, onOpen: a,
id: f,
hidden: !n,
"data-source-divider": !0,
- children: e.map((e) => /* @__PURE__ */ (0, z.jsx)(gde, {
+ children: e.map((e) => /* @__PURE__ */ (0, z.jsx)(Dde, {
source: e,
handlers: i,
selected: r.has(e.id),
@@ -42409,37 +42908,37 @@ function _de({ group: e, name: t, open: n, selected: r, handlers: i, onOpen: a,
})]
});
}
-function vde(e) {
- let { data: t, sort: n, dir: r, page: i, layout: a, pageSize: o, selected: s, readOnly: c, onSort: l, onPage: u, onLayout: f, onPageSize: p, onSelected: m, toast: h, openFollow: g } = e, _ = t.sources, v = (0, R.useMemo)(() => t.author_aliases || [], [t.author_aliases]), b = t.counts || {}, [x, S] = (0, R.useState)(/* @__PURE__ */ new Set()), [C, w] = mde(), [T, E] = (0, R.useState)(""), D = (0, R.useMemo)(() => Lce(_, n, r, v), [
+function kde(e) {
+ let { data: t, sort: n, dir: r, page: i, layout: a, pageSize: o, selected: s, readOnly: c, onSort: l, onPage: u, onLayout: f, onPageSize: p, onSelected: m, toast: h, openFollow: g } = e, _ = t.sources, v = (0, R.useMemo)(() => t.author_aliases || [], [t.author_aliases]), b = t.counts || {}, [x, S] = (0, R.useState)(/* @__PURE__ */ new Set()), [C, w] = Tde(), [T, E] = (0, R.useState)(""), D = (0, R.useMemo)(() => qM(_, n, r, v), [
_,
n,
r,
v
- ]), O = (0, R.useMemo)(() => Rce(D, n, r, v), [
+ ]), O = (0, R.useMemo)(() => JM(D, n, r, v), [
D,
n,
r,
v
- ]), { job: k, running: A, outcome: j, start: M } = WO({
- queryKey: Ece,
- queryFn: ({ signal: e }) => Bce(e),
- start: (e) => nM(e),
+ ]), { job: k, running: A, outcome: j, start: M } = uk({
+ queryKey: wM,
+ queryFn: ({ signal: e }) => tN(e),
+ start: (e) => iN(e),
onError: (e) => E(U(e)),
onFinish: (e) => {
- fM(), h(e.status === "failed" ? e.error || "检查失败" : Qce(e));
+ xN(), h(e.status === "failed" ? e.error || "检查失败" : cce(e));
}
}), N = (e) => {
A || M.isPending || (E(""), M.mutate(e));
- }, P = (e, t) => m($j(s, [e], t)), ee = (e, t) => m($j(s, e, t)), F = Pn({
- mutationFn: (e) => iM(e),
+ }, P = (e, t) => m(QM(s, [e], t)), ee = (e, t) => m(QM(s, e, t)), F = Pn({
+ mutationFn: (e) => sN(e),
onSuccess: (e, t) => {
- dM([t]), m($j(s, [t], !1)), h("已取消关注来源");
+ bN([t]), m(QM(s, [t], !1)), h("已取消关注来源");
},
onError: (e) => E(U(e))
}), I = Pn({
- mutationFn: (e) => rM(e.id, e.enabled),
+ mutationFn: (e) => oN(e.id, e.enabled),
onSuccess: (e, t) => {
- uM(t.id, { enabled: t.enabled }), E("");
+ yN(t.id, { enabled: t.enabled }), E("");
},
onError: (e) => E(U(e))
}), te = (e) => void y({
@@ -42451,7 +42950,7 @@ function vde(e) {
}), ne = Pn({
mutationFn: async (e) => {
let t = await d(e.ids, 4, async (t) => {
- e.action === "remove" ? await iM(t) : await rM(t, e.action === "enabled");
+ e.action === "remove" ? await sN(t) : await oN(t, e.action === "enabled");
});
return {
...e,
@@ -42460,9 +42959,9 @@ function vde(e) {
};
},
onSuccess: (e) => {
- if (e.action === "remove") dM(e.done);
- else for (let t of e.done) uM(t, { enabled: e.action === "enabled" });
- m($j(s, e.done, !1));
+ if (e.action === "remove") bN(e.done);
+ else for (let t of e.done) yN(t, { enabled: e.action === "enabled" });
+ m(QM(s, e.done, !1));
let t = e.results.filter((e) => !e.ok);
if (t.length) {
E(`${t.length}/${e.ids.length} 个来源未更新:${U(t[0]?.error)}`);
@@ -42475,18 +42974,18 @@ function vde(e) {
onError: (e) => E(U(e))
}), re = Pn({
mutationFn: async (e) => {
- let t = ((await Jce()).groups || []).flatMap((e) => [
+ let t = ((await pN()).groups || []).flatMap((e) => [
e.primary,
...e.variants,
...e.duplicates
]).filter((e) => e.status === "new").map((e) => e.id);
return {
ids: t,
- failed: (await d(t, 6, (t) => qce(t, e))).filter((e) => !e.ok)
+ failed: (await d(t, 6, (t) => fN(t, e))).filter((e) => !e.ok)
};
},
onSuccess: (e) => {
- if (fM(), e.failed.length) {
+ if (xN(), e.failed.length) {
E(`批量更新 ${e.failed.length}/${e.ids.length} 项未完成`);
return;
}
@@ -42511,12 +43010,12 @@ function vde(e) {
readOnly: c
};
let oe = ae.current, se = (0, R.useMemo)(() => {
- let e = VM(), t = (e) => () => hde[e] || e;
+ let e = XN(), t = (e) => () => Ede[e] || e;
return [
e.display({
id: "select",
header: t("select"),
- cell: (e) => /* @__PURE__ */ (0, z.jsx)(JO, {
+ cell: (e) => /* @__PURE__ */ (0, z.jsx)(mk, {
slot: null,
isSelected: e.row.getIsSelected(),
onChange: (t) => e.row.toggleSelected(t),
@@ -42528,7 +43027,7 @@ function vde(e) {
header: t("author"),
cell: (e) => /* @__PURE__ */ (0, z.jsxs)("span", {
className: "flex min-w-0 items-center gap-2",
- children: [/* @__PURE__ */ (0, z.jsx)(PM, {
+ children: [/* @__PURE__ */ (0, z.jsx)(UN, {
group: e.row.original.group,
name: e.row.original.author
}), /* @__PURE__ */ (0, z.jsx)("span", {
@@ -42542,7 +43041,7 @@ function vde(e) {
header: t("source"),
cell: (e) => /* @__PURE__ */ (0, z.jsxs)("span", {
className: "flex min-w-0 flex-col gap-0.5",
- children: [/* @__PURE__ */ (0, z.jsx)(IM, { source: e.row.original.source }), e.row.original.source.last_error ? /* @__PURE__ */ (0, z.jsx)("small", {
+ children: [/* @__PURE__ */ (0, z.jsx)(GN, { source: e.row.original.source }), e.row.original.source.last_error ? /* @__PURE__ */ (0, z.jsx)("small", {
className: "text-caption-1-regular text-text-error-primary",
children: e.row.original.source.last_error
}) : null]
@@ -42553,18 +43052,18 @@ function vde(e) {
header: t("provider"),
cell: (e) => /* @__PURE__ */ (0, z.jsxs)("span", {
className: "flex items-center gap-1.5",
- children: [/* @__PURE__ */ (0, z.jsx)(NM, { provider: e.row.original.source.provider }), e.row.original.source.provider_label]
+ children: [/* @__PURE__ */ (0, z.jsx)(HN, { provider: e.row.original.source.provider }), e.row.original.source.provider_label]
})
}),
e.display({
id: "status",
header: t("status"),
- cell: (e) => /* @__PURE__ */ (0, z.jsx)(FM, { source: e.row.original.source })
+ cell: (e) => /* @__PURE__ */ (0, z.jsx)(WN, { source: e.row.original.source })
}),
e.accessor((e) => e.source.last_checked_at || "", {
id: "checked",
header: t("checked"),
- cell: (e) => pM(e.row.original.source)
+ cell: (e) => SN(e.row.original.source)
}),
e.display({
id: "actions",
@@ -42572,7 +43071,7 @@ function vde(e) {
cell: (e) => /* @__PURE__ */ (0, z.jsxs)("span", {
className: "flex items-center gap-1",
children: [
- /* @__PURE__ */ (0, z.jsx)(FN, {
+ /* @__PURE__ */ (0, z.jsx)(VP, {
"aria-label": `启用 ${e.row.original.source.label}`,
isSelected: e.row.original.source.enabled,
isDisabled: oe.readOnly,
@@ -42602,12 +43101,12 @@ function vde(e) {
})
];
}, [oe]), ce = (0, R.useMemo)(() => {
- let e = pde[n];
+ let e = wde[n];
return e ? [{
id: e,
desc: r === "desc"
}] : [];
- }, [n, r]), le = (0, R.useMemo)(() => Object.fromEntries([...s].map((e) => [String(e), !0])), [s]), ue = a === "table", L = Zj(ue ? O.length : D.length, o, i), de = MN({
+ }, [n, r]), le = (0, R.useMemo)(() => Object.fromEntries([...s].map((e) => [String(e), !0])), [s]), ue = a === "table", L = YM(ue ? O.length : D.length, o, i), de = BP({
data: O,
columns: se,
getRowId: (e) => String(e.source.id),
@@ -42624,7 +43123,7 @@ function vde(e) {
onSortingChange: (e) => {
let t = (typeof e == "function" ? e(ce) : e)[0];
if (!t) return;
- let n = Hj[t.id];
+ let n = jM[t.id];
n && l(n, t.desc ? "desc" : "asc");
},
onRowSelectionChange: (e) => {
@@ -42638,9 +43137,9 @@ function vde(e) {
}, n = typeof e == "function" ? e(t) : e;
n.pageSize === o ? n.pageIndex !== t.pageIndex && u(n.pageIndex + 1) : p(n.pageSize);
},
- getCoreRowModel: ON(),
- getPaginationRowModel: kN()
- }), fe = de.getRowModel().rows, pe = ue ? fe.map((e) => e.original.source.id) : D.slice(L.start, L.end).flatMap((e) => e.map((e) => e.id)), me = Qj(s, pe), he = [...s], ge = $ce(j), _e = ele(j), ve = D.length > 0 && x.size >= D.length;
+ getCoreRowModel: LP(),
+ getPaginationRowModel: RP()
+ }), fe = de.getRowModel().rows, pe = ue ? fe.map((e) => e.original.source.id) : D.slice(L.start, L.end).flatMap((e) => e.map((e) => e.id)), me = ZM(s, pe), he = [...s], ge = lce(j), _e = uce(j), ve = D.length > 0 && x.size >= D.length;
return _.length ? /* @__PURE__ */ (0, z.jsxs)("div", {
className: Mi({
padding: "none",
@@ -42677,27 +43176,27 @@ function vde(e) {
variant: "ghost",
iconOnly: !0,
leadingIcon: Ke,
- "aria-label": Bj[0][1],
+ "aria-label": OM[0][1],
"aria-pressed": !ue,
onClick: () => f("default")
}), /* @__PURE__ */ (0, z.jsx)(H, {
variant: "ghost",
iconOnly: !0,
leadingIcon: Qe,
- "aria-label": Bj[1][1],
+ "aria-label": OM[1][1],
"aria-pressed": ue,
onClick: () => f("table")
})]
}),
- /* @__PURE__ */ (0, z.jsx)(BO, {
+ /* @__PURE__ */ (0, z.jsx)(sk, {
"aria-label": "关注列表排序",
selectedKey: n,
onSelectionChange: (e) => {
if (e === null) return;
let t = String(e);
- l(t, Dj[t]);
+ l(t, oM[t]);
},
- children: Ej.map(([e, t]) => /* @__PURE__ */ (0, z.jsx)(VO, {
+ children: iM.map(([e, t]) => /* @__PURE__ */ (0, z.jsx)(ck, {
id: e,
children: t
}, e))
@@ -42706,7 +43205,7 @@ function vde(e) {
variant: "secondary",
iconOnly: !0,
leadingIcon: r === "asc" ? De : Ce,
- "aria-label": Nce(n, r),
+ "aria-label": FM(n, r),
onClick: () => l(n, r === "asc" ? "desc" : "asc")
}),
ue ? null : /* @__PURE__ */ (0, z.jsx)(H, {
@@ -42723,7 +43222,7 @@ function vde(e) {
"aria-live": "polite",
className: "flex flex-col gap-3 empty:hidden",
children: [
- A ? /* @__PURE__ */ (0, z.jsx)(SO, {
+ A ? /* @__PURE__ */ (0, z.jsx)(UO, {
embedded: !0,
label: k?.message || (k?.total ? `${k.older ? "抓取历史" : "检查更新"}:已完成 ${k.checked || 0}/${k.total} 个来源` : "正在准备检查任务"),
value: k?.checked,
@@ -42749,7 +43248,7 @@ function vde(e) {
}) : null
]
}),
- /* @__PURE__ */ (0, z.jsxs)(BF, {
+ /* @__PURE__ */ (0, z.jsxs)(JF, {
label: "关注来源批量操作",
visible: he.length > 0,
count: `已选 ${he.length} 个来源`,
@@ -42809,10 +43308,10 @@ function vde(e) {
})
]
}),
- ue ? /* @__PURE__ */ (0, z.jsx)(QO, {
+ ue ? /* @__PURE__ */ (0, z.jsx)(_k, {
follow: !0,
onRowClick: (e) => P(Number(e), !s.has(Number(e))),
- children: /* @__PURE__ */ (0, z.jsxs)(YO, {
+ children: /* @__PURE__ */ (0, z.jsxs)(hk, {
"aria-label": "关注来源",
size: "sm",
sortDescriptor: ce[0] ? {
@@ -42823,9 +43322,9 @@ function vde(e) {
id: String(e.column),
desc: e.direction === "descending"
}]),
- children: [/* @__PURE__ */ (0, z.jsx)(dS, { children: de.getHeaderGroups()[0].headers.map((e) => {
- let t = e.column.id in Hj, n = AN(e.column.columnDef.header, e.getContext());
- return /* @__PURE__ */ (0, z.jsx)(fS, {
+ children: [/* @__PURE__ */ (0, z.jsx)(fS, { children: de.getHeaderGroups()[0].headers.map((e) => {
+ let t = e.column.id in jM, n = zP(e.column.columnDef.header, e.getContext());
+ return /* @__PURE__ */ (0, z.jsx)(pS, {
id: e.id,
allowsSorting: t,
isRowHeader: e.column.id === "source",
@@ -42834,20 +43333,20 @@ function vde(e) {
children: [n, /* @__PURE__ */ (0, z.jsx)("span", {
"data-sort-indicator": !0,
"data-direction": e || void 0,
- children: /* @__PURE__ */ (0, z.jsx)(joe, {})
+ children: /* @__PURE__ */ (0, z.jsx)(uoe, {})
})]
}) : /* @__PURE__ */ (0, z.jsx)(Qm, { children: n })
}, e.id);
- }) }), /* @__PURE__ */ (0, z.jsx)(mS, {
+ }) }), /* @__PURE__ */ (0, z.jsx)(hS, {
renderEmptyState: () => "这一页没有来源",
- children: fe.map((e) => /* @__PURE__ */ (0, z.jsx)(_S, {
+ children: fe.map((e) => /* @__PURE__ */ (0, z.jsx)(vS, {
id: e.id,
"data-follow-selected": e.getIsSelected() || void 0,
- children: e.getVisibleCells().map((e) => /* @__PURE__ */ (0, z.jsx)(yS, { children: AN(e.column.columnDef.cell, e.getContext()) }, e.id))
+ children: e.getVisibleCells().map((e) => /* @__PURE__ */ (0, z.jsx)(bS, { children: zP(e.column.columnDef.cell, e.getContext()) }, e.id))
}, e.id))
})]
})
- }) : /* @__PURE__ */ (0, z.jsxs)(z.Fragment, { children: [/* @__PURE__ */ (0, z.jsx)(JO, {
+ }) : /* @__PURE__ */ (0, z.jsxs)(z.Fragment, { children: [/* @__PURE__ */ (0, z.jsx)(mk, {
isSelected: me.all,
isIndeterminate: me.some,
onChange: (e) => ee(pe, e),
@@ -42857,9 +43356,9 @@ function vde(e) {
className: "flex flex-col gap-3",
children: D.slice(L.start, L.end).map((e) => {
let t = String(e[0].author_key || e[0].id);
- return /* @__PURE__ */ (0, z.jsx)(_de, {
+ return /* @__PURE__ */ (0, z.jsx)(Ode, {
group: e,
- name: Yj(e, v),
+ name: UM(e, v),
handlers: oe,
selected: s,
open: !x.has(t),
@@ -42879,19 +43378,19 @@ function vde(e) {
className: "text-body-2-regular text-text-secondary",
children: `${L.start + 1}–${L.end} / ${L.total} ${ue ? "个来源" : "位创作者"}`
}),
- /* @__PURE__ */ (0, z.jsx)(BO, {
+ /* @__PURE__ */ (0, z.jsx)(sk, {
"aria-label": "每页显示数量",
size: "sm",
selectedKey: String(o),
onSelectionChange: (e) => {
e !== null && de.setPageSize(Number(e));
},
- children: Vj.map((e) => /* @__PURE__ */ (0, z.jsx)(VO, {
+ children: kM.map((e) => /* @__PURE__ */ (0, z.jsx)(ck, {
id: String(e),
children: `每页 ${e} ${ue ? "条" : "位"}`
}, e))
}),
- /* @__PURE__ */ (0, z.jsx)(HF, {
+ /* @__PURE__ */ (0, z.jsx)(XF, {
page: L.page,
pages: L.pages,
onPage: (e) => de.setPageIndex(e - 1)
@@ -42955,7 +43454,7 @@ function vde(e) {
}
//#endregion
//#region src/react/follow-manage/feed-sources.tsx
-var yde = {
+var Ade = {
select: "选择",
name: "名称",
kind: "类型",
@@ -42965,18 +43464,18 @@ var yde = {
fetched: "上次拉取",
fresh: "上次新增",
actions: "操作"
-}, bde = /* @__PURE__ */ new Set(["select", "actions"]), UF = () => q.invalidateQueries({
- queryKey: zj,
+}, jde = /* @__PURE__ */ new Set(["select", "actions"]), ZF = () => q.invalidateQueries({
+ queryKey: EM,
exact: !0
-}), WF = (e) => e.name || e.url, xde = (e) => e >= 60 ? `每 ${Math.round(e / 60)} 小时` : `每 ${e} 分钟`;
-function Sde(e) {
+}), QF = (e) => e.name || e.url, Mde = (e) => e >= 60 ? `每 ${Math.round(e / 60)} 小时` : `每 ${e} 分钟`;
+function Nde(e) {
try {
return new URL(e).hostname.replace(/^www\./, "");
} catch {
return e;
}
}
-function Cde({ source: e }) {
+function Pde({ source: e }) {
return e.last_error ? /* @__PURE__ */ (0, z.jsx)(yi, {
variant: "caption",
color: "rose",
@@ -42991,7 +43490,7 @@ function Cde({ source: e }) {
children: "已暂停"
});
}
-function wde({ source: e, avatarInner: t }) {
+function Fde({ source: e, avatarInner: t }) {
let n = e.entity_id ? {
id: e.entity_id,
has_image: !!e.has_image,
@@ -42999,31 +43498,31 @@ function wde({ source: e, avatarInner: t }) {
} : null;
return /* @__PURE__ */ (0, z.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 ${IN}`,
- dangerouslySetInnerHTML: { __html: t(WF(e), n, 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 ${HP}`,
+ dangerouslySetInnerHTML: { __html: t(QF(e), n, null, "performer") }
});
}
-var Tde = (e, t) => e.entity_id !== null && t.has(e.entity_id) && e.page_name && e.page_name !== e.name ? e.page_name : "";
-function Ede(e) {
+var Ide = (e, t) => e.entity_id !== null && t.has(e.entity_id) && e.page_name && e.page_name !== e.name ? e.page_name : "";
+function Lde(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 GF(e, t) {
+function $F(e, t) {
let n = e.length === 1 ? e[0] : null;
return y({
title: n ? "移除订阅源" : `移除 ${e.length} 条订阅源`,
- body: n ? `将移除订阅源「${WF(n)}」,之后不再拉取它的新作;已经拉到的新作保留。` : "将移除所选订阅源,之后不再拉取它们的新作;已经拉到的新作保留。",
+ body: n ? `将移除订阅源「${QF(n)}」,之后不再拉取它的新作;已经拉到的新作保留。` : "将移除所选订阅源,之后不再拉取它们的新作;已经拉到的新作保留。",
confirmLabel: n ? "移除订阅源" : "移除所选订阅源",
danger: !0,
onConfirm: t
});
}
-function Dde({ readOnly: e, toast: t, avatarInner: n }) {
+function Rde({ readOnly: e, toast: t, avatarInner: n }) {
let r = Nn({
- queryKey: zj,
- queryFn: ({ signal: e }) => oM(e)
- }), i = Bi(), a = r.data, o = (0, R.useMemo)(() => a?.sources ?? [], [a]), [s, c] = (0, R.useState)(/* @__PURE__ */ new Set()), [l, u] = (0, R.useState)(1), [f, p] = (0, R.useState)(20), m = Zj(o.length, f, l);
+ queryKey: EM,
+ queryFn: ({ signal: e }) => mN(e)
+ }), i = Bi(), a = r.data, o = (0, R.useMemo)(() => a?.sources ?? [], [a]), [s, c] = (0, R.useState)(/* @__PURE__ */ new Set()), [l, u] = (0, R.useState)(1), [f, p] = (0, R.useState)(20), m = YM(o.length, f, l);
(0, R.useEffect)(() => {
u((e) => Math.min(e, m.pages));
}, [m.pages]), (0, R.useEffect)(() => {
@@ -43035,7 +43534,7 @@ function Dde({ readOnly: e, toast: t, avatarInner: n }) {
let h = Pn({
mutationFn: async (e) => {
let t = await d(e.ids, 4, async (t) => {
- e.action === "remove" ? await cM(t) : await sM(t, e.action === "enabled");
+ e.action === "remove" ? await gN(t) : await hN(t, e.action === "enabled");
});
return {
...e,
@@ -43044,13 +43543,13 @@ function Dde({ readOnly: e, toast: t, avatarInner: n }) {
},
onSuccess: (e) => {
let n = e.results.filter((e) => !e.ok), r = e.ids.length - n.length;
- if (c(/* @__PURE__ */ new Set()), UF(), e.action === "remove" && r && t(`已移除 ${r} 条订阅源`), n.length) {
+ if (c(/* @__PURE__ */ new Set()), ZF(), e.action === "remove" && r && t(`已移除 ${r} 条订阅源`), n.length) {
let e = n[0];
i.setError(`${n.length} 条没有写入:${e.ok ? "" : U(e.error)}`);
}
},
onError: (e) => i.setError(U(e))
- }), g = (0, R.useMemo)(() => Ede(o), [o]), _ = (0, R.useRef)({
+ }), g = (0, R.useMemo)(() => Lde(o), [o]), _ = (0, R.useRef)({
readOnly: e,
avatarInner: n,
shared: g,
@@ -43064,34 +43563,34 @@ function Dde({ readOnly: e, toast: t, avatarInner: n }) {
avatarInner: n,
shared: g,
busy: i.busy,
- toggle: (e, t) => void i.run(`enabled-${e.id}`, (n) => sM(e.id, t, n), () => void UF()),
- fetch: (e) => void i.run(`check-${e.id}`, (t) => lM(t, [e.id]), () => void UF()),
- remove: (e) => void GF([e], async () => {
- await cM(e.id), t(`已移除订阅源「${WF(e)}」`), UF();
+ toggle: (e, t) => void i.run(`enabled-${e.id}`, (n) => hN(e.id, t, n), () => void ZF()),
+ fetch: (e) => void i.run(`check-${e.id}`, (t) => _N(t, [e.id]), () => void ZF()),
+ remove: (e) => void $F([e], async () => {
+ await gN(e.id), t(`已移除订阅源「${QF(e)}」`), ZF();
})
};
let v = (0, R.useMemo)(() => {
- let e = VM(), t = (e) => () => yde[e] || e;
+ let e = XN(), t = (e) => () => Ade[e] || e;
return [
e.display({
id: "select",
header: t("select"),
- cell: (e) => /* @__PURE__ */ (0, z.jsx)(JO, {
+ cell: (e) => /* @__PURE__ */ (0, z.jsx)(mk, {
slot: null,
isSelected: e.row.getIsSelected(),
onChange: (t) => e.row.toggleSelected(t),
- "aria-label": `选择 ${WF(e.row.original)}`
+ "aria-label": `选择 ${QF(e.row.original)}`
})
}),
- e.accessor(WF, {
+ e.accessor(QF, {
id: "name",
header: t("name"),
cell: (e) => {
- let t = Tde(e.row.original, _.current.shared);
+ let t = Ide(e.row.original, _.current.shared);
return /* @__PURE__ */ (0, z.jsxs)("span", {
className: "flex items-center gap-2 whitespace-nowrap text-body-medium text-text-primary",
children: [
- /* @__PURE__ */ (0, z.jsx)(wde, {
+ /* @__PURE__ */ (0, z.jsx)(Fde, {
source: e.row.original,
avatarInner: _.current.avatarInner
}),
@@ -43122,15 +43621,15 @@ function Dde({ readOnly: e, toast: t, avatarInner: n }) {
rel: "noreferrer noopener",
title: "打开来源页面",
className: "text-text-primary underline-offset-2 hover:underline",
- children: Sde(e.getValue())
+ children: Nde(e.getValue())
})
}),
e.display({
id: "status",
header: t("status"),
- cell: (e) => /* @__PURE__ */ (0, z.jsx)(Cde, { source: e.row.original })
+ cell: (e) => /* @__PURE__ */ (0, z.jsx)(Pde, { source: e.row.original })
}),
- e.accessor((e) => xde(e.interval_minutes), {
+ e.accessor((e) => Mde(e.interval_minutes), {
id: "interval",
header: t("interval"),
cell: (e) => /* @__PURE__ */ (0, z.jsx)("span", {
@@ -43160,8 +43659,8 @@ function Dde({ readOnly: e, toast: t, avatarInner: n }) {
cell: (e) => /* @__PURE__ */ (0, z.jsxs)("span", {
className: "flex items-center gap-1",
children: [
- /* @__PURE__ */ (0, z.jsx)(FN, {
- "aria-label": `启用 ${WF(e.row.original)}`,
+ /* @__PURE__ */ (0, z.jsx)(VP, {
+ "aria-label": `启用 ${QF(e.row.original)}`,
isSelected: e.row.original.enabled,
isDisabled: _.current.readOnly,
onChange: (t) => _.current.toggle(e.row.original, t)
@@ -43171,7 +43670,7 @@ function Dde({ readOnly: e, toast: t, avatarInner: n }) {
size: "xs",
iconOnly: !0,
leadingIcon: Ye,
- "aria-label": `拉取 ${WF(e.row.original)}`,
+ "aria-label": `拉取 ${QF(e.row.original)}`,
disabled: _.current.readOnly,
...K(_.current.busy === `check-${e.row.original.id}`),
onClick: () => _.current.fetch(e.row.original)
@@ -43181,7 +43680,7 @@ function Dde({ readOnly: e, toast: t, avatarInner: n }) {
size: "xs",
iconOnly: !0,
leadingIcon: Pe,
- "aria-label": `移除 ${WF(e.row.original)}`,
+ "aria-label": `移除 ${QF(e.row.original)}`,
disabled: _.current.readOnly,
onClick: () => _.current.remove(e.row.original)
})
@@ -43189,7 +43688,7 @@ function Dde({ readOnly: e, toast: t, avatarInner: n }) {
})
})
];
- }, []), y = (0, R.useMemo)(() => Object.fromEntries([...s].map((e) => [String(e), !0])), [s]), b = MN({
+ }, []), y = (0, R.useMemo)(() => Object.fromEntries([...s].map((e) => [String(e), !0])), [s]), b = BP({
data: o,
columns: v,
getRowId: (e) => String(e.id),
@@ -43205,24 +43704,24 @@ function Dde({ readOnly: e, toast: t, avatarInner: n }) {
let t = typeof e == "function" ? e(y) : e;
c(new Set(Object.entries(t).filter(([, e]) => e).map(([e]) => Number(e))));
},
- getCoreRowModel: ON(),
- getPaginationRowModel: kN()
+ getCoreRowModel: LP(),
+ getPaginationRowModel: RP()
});
if (!a) return r.error ? /* @__PURE__ */ (0, z.jsx)(G, {
tone: "error",
title: "打不开订阅源",
children: U(r.error)
- }) : /* @__PURE__ */ (0, z.jsx)(kO, { children: "正在读订阅源。" });
- let x = () => void i.run("check", (e) => lM(e), () => void UF()), S = (e) => c((t) => {
+ }) : /* @__PURE__ */ (0, z.jsx)(XO, { children: "正在读订阅源。" });
+ let x = () => void i.run("check", (e) => _N(e), () => void ZF()), S = (e) => c((t) => {
let n = new Set(t);
return n.has(e) ? n.delete(e) : n.add(e), n;
}), C = o.filter((e) => s.has(e.id)), w = o.filter((e) => e.last_error);
return /* @__PURE__ */ (0, z.jsxs)("div", {
className: "flex flex-col gap-3",
- children: [/* @__PURE__ */ (0, z.jsx)(fde, {
+ children: [/* @__PURE__ */ (0, z.jsx)(Cde, {
readOnly: e,
toast: t,
- onAdded: () => void UF()
+ onAdded: () => void ZF()
}), /* @__PURE__ */ (0, z.jsxs)("section", {
"aria-label": "JAV 订阅列表",
className: Mi({
@@ -43253,11 +43752,11 @@ function Dde({ readOnly: e, toast: t, avatarInner: n }) {
className: "flex flex-col gap-3",
children: [w.map((e) => /* @__PURE__ */ (0, z.jsx)(G, {
tone: "error",
- title: `${WF(e)} 拉取失败`,
+ title: `${QF(e)} 拉取失败`,
children: e.last_error
- }, e.id)), i.error ? /* @__PURE__ */ (0, z.jsx)(AO, { children: i.error }) : null]
+ }, e.id)), i.error ? /* @__PURE__ */ (0, z.jsx)(ZO, { children: i.error }) : null]
}) : null,
- /* @__PURE__ */ (0, z.jsxs)(BF, {
+ /* @__PURE__ */ (0, z.jsxs)(JF, {
visible: C.length > 0,
label: "订阅源批量操作",
count: `已选 ${C.length} 条订阅源`,
@@ -43289,7 +43788,7 @@ function Dde({ readOnly: e, toast: t, avatarInner: n }) {
size: "small",
disabled: e,
...K(h.isPending),
- onClick: () => void GF(C, () => h.mutateAsync({
+ onClick: () => void $F(C, () => h.mutateAsync({
ids: C.map((e) => e.id),
action: "remove"
})),
@@ -43303,22 +43802,22 @@ function Dde({ readOnly: e, toast: t, avatarInner: n }) {
})
]
}),
- o.length ? /* @__PURE__ */ (0, z.jsx)(QO, {
+ o.length ? /* @__PURE__ */ (0, z.jsx)(_k, {
onRowClick: (e) => S(Number(e)),
- children: /* @__PURE__ */ (0, z.jsxs)(YO, {
+ children: /* @__PURE__ */ (0, z.jsxs)(hk, {
"aria-label": "JAV 订阅源",
size: "sm",
- children: [/* @__PURE__ */ (0, z.jsx)(dS, { children: b.getHeaderGroups()[0].headers.map((e) => {
- let t = AN(e.column.columnDef.header, e.getContext());
- return /* @__PURE__ */ (0, z.jsx)(fS, {
+ children: [/* @__PURE__ */ (0, z.jsx)(fS, { children: b.getHeaderGroups()[0].headers.map((e) => {
+ let t = zP(e.column.columnDef.header, e.getContext());
+ return /* @__PURE__ */ (0, z.jsx)(pS, {
id: e.id,
isRowHeader: e.column.id === "name",
- children: bde.has(e.column.id) ? /* @__PURE__ */ (0, z.jsx)(Qm, { children: t }) : t
+ children: jde.has(e.column.id) ? /* @__PURE__ */ (0, z.jsx)(Qm, { children: t }) : t
}, e.id);
- }) }), /* @__PURE__ */ (0, z.jsx)(mS, { children: b.getRowModel().rows.map((e) => /* @__PURE__ */ (0, z.jsx)(_S, {
+ }) }), /* @__PURE__ */ (0, z.jsx)(hS, { children: b.getRowModel().rows.map((e) => /* @__PURE__ */ (0, z.jsx)(vS, {
id: e.id,
"data-follow-selected": e.getIsSelected() || void 0,
- children: e.getVisibleCells().map((e) => /* @__PURE__ */ (0, z.jsx)(yS, { children: AN(e.column.columnDef.cell, e.getContext()) }, e.id))
+ children: e.getVisibleCells().map((e) => /* @__PURE__ */ (0, z.jsx)(bS, { children: zP(e.column.columnDef.cell, e.getContext()) }, e.id))
}, e.id)) })]
})
}) : /* @__PURE__ */ (0, z.jsx)(Pi, {
@@ -43334,19 +43833,19 @@ function Dde({ readOnly: e, toast: t, avatarInner: n }) {
className: "text-body-2-regular text-text-secondary",
children: `${m.start + 1}–${m.end} / ${m.total} 个订阅源`
}),
- /* @__PURE__ */ (0, z.jsx)(BO, {
+ /* @__PURE__ */ (0, z.jsx)(sk, {
"aria-label": "每页显示数量",
size: "sm",
selectedKey: String(f),
onSelectionChange: (e) => {
e !== null && (p(Number(e)), u(1));
},
- children: Vj.map((e) => /* @__PURE__ */ (0, z.jsx)(VO, {
+ children: kM.map((e) => /* @__PURE__ */ (0, z.jsx)(ck, {
id: String(e),
children: `每页 ${e} 条`
}, e))
}),
- /* @__PURE__ */ (0, z.jsx)(HF, {
+ /* @__PURE__ */ (0, z.jsx)(XF, {
label: "JAV 订阅分页",
page: m.page,
pages: m.pages,
@@ -43368,13 +43867,13 @@ function Dde({ readOnly: e, toast: t, avatarInner: n }) {
}
//#endregion
//#region src/react/follow-manage/follow-manage-page.tsx
-var KF = [
+var eI = [
["list", "关注列表"],
["add", "添加关注"],
["feeds", "JAV 订阅源"],
["source", "来源和凭证"]
-], qF = (e) => KF.some(([t]) => t === e);
-function JF({ term: e, figure: t, unit: n }) {
+], tI = (e) => eI.some(([t]) => t === e);
+function nI({ term: e, figure: t, unit: n }) {
return /* @__PURE__ */ (0, z.jsxs)("div", {
className: Mi({
padding: "none",
@@ -43392,23 +43891,23 @@ function JF({ term: e, figure: t, unit: n }) {
})]
});
}
-function Ode(e) {
- let { route: t, savePreference: n, toast: r, openFollow: i, readOnly: a, readOnlyMessage: o, writerUrl: s } = e, [c, l] = (0, R.useState)(qF(e.tab) ? e.tab : "list"), [u, d] = (0, R.useState)(Math.max(1, Math.floor(e.page) || 1)), [f, p] = (0, R.useState)(() => Oj(e.sort, e.dir).sort), [m, h] = (0, R.useState)(() => Oj(e.sort, e.dir).dir), [g, _] = (0, R.useState)(Ace(e.layout) ? e.layout : "default"), [v, y] = (0, R.useState)(jce(e.pageSize)), [b, x] = (0, R.useState)(/* @__PURE__ */ new Set()), S = Nn({
- queryKey: Lj,
- queryFn: ({ signal: e }) => eM(e)
+function zde(e) {
+ let { route: t, savePreference: n, toast: r, openFollow: i, readOnly: a, readOnlyMessage: o, writerUrl: s } = e, [c, l] = (0, R.useState)(tI(e.tab) ? e.tab : "list"), [u, d] = (0, R.useState)(Math.max(1, Math.floor(e.page) || 1)), [f, p] = (0, R.useState)(() => cM(e.sort, e.dir).sort), [m, h] = (0, R.useState)(() => cM(e.sort, e.dir).dir), [g, _] = (0, R.useState)(MM(e.layout) ? e.layout : "default"), [v, y] = (0, R.useState)(NM(e.pageSize)), [b, x] = (0, R.useState)(/* @__PURE__ */ new Set()), S = Nn({
+ queryKey: SM,
+ queryFn: ({ signal: e }) => $M(e)
}), C = Nn({
- queryKey: Rj,
- queryFn: ({ signal: e }) => tM(e)
+ queryKey: CM,
+ queryFn: ({ signal: e }) => eN(e)
}), w = Nn({
- queryKey: zj,
- queryFn: ({ signal: e }) => oM(e)
+ queryKey: EM,
+ queryFn: ({ signal: e }) => mN(e)
}), T = S.data || { sources: [] }, E = C.data || {
root: "",
providers: []
}, D = T.sources;
(0, R.useEffect)(() => {
x((e) => {
- let t = zce(e, D);
+ let t = XM(e, D);
return t.size === e.size ? e : t;
});
}, [D]);
@@ -43418,9 +43917,9 @@ function Ode(e) {
tab: e.tab ?? c,
page: e.page ?? u,
sort: n === "checked" ? "" : n,
- dir: r === Dj[n] ? "" : r
+ dir: r === oM[n] ? "" : r
});
- }, k = Xj(D), A = D.filter(Wj).length, j = D.filter((e) => e.enabled).length, M = (E.providers || []).filter((e) => e.requirement === "required" && !mM(e)).length, N = new Set((w.data?.sources || []).map((e) => e.entity_id ?? `source-${e.id}`)).size;
+ }, k = KM(D), A = D.filter(RM).length, j = D.filter((e) => e.enabled).length, M = (E.providers || []).filter((e) => e.requirement === "required" && !CN(e)).length, N = new Set((w.data?.sources || []).map((e) => e.entity_id ?? `source-${e.id}`)).size;
return /* @__PURE__ */ (0, z.jsxs)(Ii, { children: [
a ? /* @__PURE__ */ (0, z.jsx)(G, {
tone: "warning",
@@ -43439,61 +43938,61 @@ function Ode(e) {
className: Sl,
"aria-label": "关注概览",
children: [
- /* @__PURE__ */ (0, z.jsx)(JF, {
+ /* @__PURE__ */ (0, z.jsx)(nI, {
term: "关注创作者",
figure: k.length,
unit: "位"
}),
- /* @__PURE__ */ (0, z.jsx)(JF, {
+ /* @__PURE__ */ (0, z.jsx)(nI, {
term: "启用来源",
figure: j,
unit: `/ ${D.length}`
}),
- /* @__PURE__ */ (0, z.jsx)(JF, {
+ /* @__PURE__ */ (0, z.jsx)(nI, {
term: "检查失败",
figure: A,
unit: "个来源"
}),
- /* @__PURE__ */ (0, z.jsx)(JF, {
+ /* @__PURE__ */ (0, z.jsx)(nI, {
term: "未看更新",
figure: T.counts?.new || 0,
unit: "条"
}),
- /* @__PURE__ */ (0, z.jsx)(JF, {
+ /* @__PURE__ */ (0, z.jsx)(nI, {
term: "JAV 订阅",
figure: N,
unit: "位"
}),
- /* @__PURE__ */ (0, z.jsx)(JF, {
+ /* @__PURE__ */ (0, z.jsx)(nI, {
term: "未看新作",
figure: w.data?.unread || 0,
unit: "条"
})
]
}),
- /* @__PURE__ */ (0, z.jsxs)(jS, {
+ /* @__PURE__ */ (0, z.jsxs)(RS, {
selectedKey: c,
onSelectionChange: (e) => {
let t = String(e);
- qF(t) && (l(t), O({ tab: t }));
+ tI(t) && (l(t), O({ tab: t }));
},
className: "flex flex-col gap-6",
children: [
- /* @__PURE__ */ (0, z.jsx)(NS, {
+ /* @__PURE__ */ (0, z.jsx)(BS, {
"aria-label": "关注管理区域",
"data-section-nav": !0,
"data-section-items": !0,
className: "flex max-w-full flex-nowrap overflow-x-auto",
- children: KF.map(([e, t]) => /* @__PURE__ */ (0, z.jsx)(FS, {
+ children: eI.map(([e, t]) => /* @__PURE__ */ (0, z.jsx)(HS, {
id: e,
className: "cursor-pointer whitespace-nowrap",
children: e === "source" && M ? `${t}(${M})` : t
}, e))
}),
- /* @__PURE__ */ (0, z.jsx)(IS, {
+ /* @__PURE__ */ (0, z.jsx)(US, {
id: "list",
className: "flex flex-col gap-4",
- children: /* @__PURE__ */ (0, z.jsx)(vde, {
+ children: /* @__PURE__ */ (0, z.jsx)(kde, {
data: T,
sort: f,
dir: m,
@@ -43523,10 +44022,10 @@ function Ode(e) {
}
})
}),
- /* @__PURE__ */ (0, z.jsxs)(IS, {
+ /* @__PURE__ */ (0, z.jsxs)(US, {
id: "add",
className: "flex flex-col gap-8",
- children: [/* @__PURE__ */ (0, z.jsx)(Kle, {
+ children: [/* @__PURE__ */ (0, z.jsx)(nle, {
data: T,
credentials: E,
readOnly: a,
@@ -43534,7 +44033,7 @@ function Ode(e) {
openCredentials: () => {
l("source"), O({ tab: "source" });
}
- }), /* @__PURE__ */ (0, z.jsx)(Yle, {
+ }), /* @__PURE__ */ (0, z.jsx)(ale, {
groups: T.author_aliases || [],
readOnly: a,
toast: r,
@@ -43542,19 +44041,19 @@ function Ode(e) {
sources: T.sources
})]
}),
- /* @__PURE__ */ (0, z.jsx)(IS, {
+ /* @__PURE__ */ (0, z.jsx)(US, {
id: "feeds",
className: "flex flex-col gap-4",
- children: /* @__PURE__ */ (0, z.jsx)(Dde, {
+ children: /* @__PURE__ */ (0, z.jsx)(Rde, {
readOnly: a,
toast: r,
avatarInner: e.avatarInner
})
}),
- /* @__PURE__ */ (0, z.jsx)(IS, {
+ /* @__PURE__ */ (0, z.jsx)(US, {
id: "source",
className: "flex flex-col gap-4",
- children: /* @__PURE__ */ (0, z.jsx)(iue, {
+ children: /* @__PURE__ */ (0, z.jsx)(mle, {
data: E,
readOnly: a,
toast: r
@@ -43565,83 +44064,24 @@ function Ode(e) {
] });
}
//#endregion
-//#region src/react/components/board-tabs.tsx
-function kde({ value: e }) {
- return /* @__PURE__ */ (0, z.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 Ade = "relative z-1 flex flex-none cursor-pointer items-center whitespace-nowrap border-b-2 border-transparent px-3 py-2.5 text-body-regular text-text-secondary outline-none focus-visible:outline-2 focus-visible:-outline-offset-3 focus-visible:outline-border-focus-ring aria-selected:font-medium aria-selected:text-border-focus-ring max-board-narrow:px-2.25 max-board-narrow:text-body-2-regular";
-function YF({ tabs: e, value: t, label: n, onChange: r }) {
- let i = (0, R.useRef)(null), a = (0, R.useRef)(null);
- return (0, R.useLayoutEffect)(() => {
- let e = i.current;
- if (!e) return;
- let t = () => {
- let t = e.querySelector("[role=\"tab\"][aria-selected=\"true\"]");
- !t || !t.offsetWidth || (e.style.setProperty("--tab-x", `${t.offsetLeft}px`), e.style.setProperty("--tab-width", `${t.offsetWidth}px`));
- };
- t();
- let n = requestAnimationFrame(() => a.current?.setAttribute("data-ready", "")), r = new ResizeObserver(t);
- return r.observe(e), () => {
- cancelAnimationFrame(n), r.disconnect();
- };
- }, [t]), /* @__PURE__ */ (0, z.jsxs)("div", {
- ref: i,
- role: "tablist",
- "aria-label": n,
- "data-board-tab-list": "",
- onKeyDown: (n) => {
- let a = e.findIndex((e) => e.value === t), o = n.key === "ArrowRight" ? a + 1 : n.key === "ArrowLeft" ? a - 1 : n.key === "Home" ? 0 : n.key === "End" ? e.length - 1 : -2;
- if (o === -2) return;
- n.preventDefault();
- let s = e[(o + e.length) % e.length];
- i.current?.querySelector(`[data-tab="${s.value}"]`)?.focus(), s.value !== t && r(s.value);
- },
- className: "relative mb-5.5 flex flex-none gap-1 overflow-x-auto border-b border-border-button-default max-board-narrow:gap-0",
- children: [e.map((e) => {
- let n = e.symbol ? oo(e.symbol) : null, i = e.value === t;
- return /* @__PURE__ */ (0, z.jsxs)("button", {
- type: "button",
- role: "tab",
- "data-tab": e.value,
- "aria-selected": i,
- tabIndex: i ? 0 : -1,
- className: Ade,
- onClick: () => {
- i || r(e.value);
- },
- children: [n ? /* @__PURE__ */ (0, z.jsx)(n, { className: "mr-1.5 size-4" }) : null, e.label]
- }, e.value);
- }), /* @__PURE__ */ (0, z.jsx)("span", {
- ref: a,
- "aria-hidden": !0,
- "data-tab-indicator": "",
- className: "pointer-events-none absolute bottom-0 left-0 z-1 h-0.5 bg-border-focus-ring"
- })]
- });
-}
-//#endregion
//#region src/react/index/index-tags.tsx
-var XF = () => /* @__PURE__ */ (0, z.jsx)("span", {
+var rI = () => /* @__PURE__ */ (0, z.jsx)("span", {
"aria-hidden": !0,
"data-tag-dot": "",
className: "size-1.75 flex-none rounded-full"
});
-function jde({ tag: e, actions: t }) {
+function Bde({ tag: e, actions: t }) {
let n = t.picked.has(e.k);
return /* @__PURE__ */ (0, z.jsxs)("button", {
type: "button",
"data-alpha-tag": "",
"data-k": e.k,
- "data-tag-cat": Bk(t.online, e.cat),
+ "data-tag-cat": Qk(t.online, e.cat),
"aria-pressed": n,
onClick: () => t.press(e.k),
className: "flex h-9 min-w-0 cursor-pointer items-center gap-2.25 rounded-lg px-2.5 text-left text-body-regular text-text-secondary outline-none hover:text-text-primary focus-visible:ring-2 focus-visible:ring-border-focus-ring",
children: [
- /* @__PURE__ */ (0, z.jsx)(XF, {}),
+ /* @__PURE__ */ (0, z.jsx)(rI, {}),
/* @__PURE__ */ (0, z.jsx)("span", {
className: "min-w-0 flex-1 truncate",
children: e.label
@@ -43653,7 +44093,7 @@ function jde({ tag: e, actions: t }) {
]
});
}
-function Mde({ groups: e, actions: t }) {
+function Vde({ groups: e, actions: t }) {
return /* @__PURE__ */ (0, z.jsx)("div", {
"data-alphabet": "",
className: "flex flex-col gap-4",
@@ -43666,10 +44106,10 @@ function Mde({ groups: e, actions: t }) {
}),
children: [/* @__PURE__ */ (0, z.jsxs)("h3", {
className: "mb-2 flex items-center text-title-2-medium text-text-primary",
- children: [e, /* @__PURE__ */ (0, z.jsx)(kde, { value: n.length })]
+ children: [e, /* @__PURE__ */ (0, z.jsx)(OA, { value: n.length })]
}), /* @__PURE__ */ (0, z.jsx)("div", {
className: "index-tag-list gap-x-4 gap-y-0.5",
- children: n.map((e) => /* @__PURE__ */ (0, z.jsx)(jde, {
+ children: n.map((e) => /* @__PURE__ */ (0, z.jsx)(Bde, {
tag: e,
actions: t
}, e.k))
@@ -43677,8 +44117,8 @@ function Mde({ groups: e, actions: t }) {
}, e))
});
}
-var Nde = "\xA0";
-function Pde({ tags: e, actions: t }) {
+var Hde = "\xA0";
+function Ude({ tags: e, actions: t }) {
return /* @__PURE__ */ (0, z.jsx)("div", {
"data-tag-cloud": "",
className: "flex flex-wrap gap-1.75",
@@ -43686,11 +44126,11 @@ function Pde({ tags: e, actions: t }) {
type: "button",
"data-tag-chip": "",
"data-k": e.k,
- "data-tag-cat": Bk(t.online, e.cat),
+ "data-tag-cat": Qk(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 + Nde, /* @__PURE__ */ (0, z.jsx)("span", {
+ children: [e.label + Hde, /* @__PURE__ */ (0, z.jsx)("span", {
"data-tag-n": "",
className: "text-caption-1-regular opacity-60",
children: e.n.toLocaleString()
@@ -43698,7 +44138,7 @@ function Pde({ tags: e, actions: t }) {
}, e.k))
});
}
-var Fde = [[
+var Wde = [[
"cloud",
"标签云",
"tags"
@@ -43707,16 +44147,16 @@ var Fde = [[
"字母表",
"text-aa"
]];
-function Ide({ categories: e, category: t, online: n, readout: r, letters: i, view: a, onCategory: o, onJump: s, onView: c }) {
- return /* @__PURE__ */ (0, z.jsx)(yk, {
+function Gde({ categories: e, category: t, online: n, readout: r, letters: i, view: a, onCategory: o, onJump: s, onView: c }) {
+ return /* @__PURE__ */ (0, z.jsx)(Pk, {
label: "标签筛选",
topLabel: "标签类型",
- top: e.map(([e, r]) => /* @__PURE__ */ (0, z.jsxs)(bk, {
+ top: e.map(([e, r]) => /* @__PURE__ */ (0, z.jsxs)(Fk, {
"data-tag-pill": "",
- "data-tag-cat": e === "all" ? "all" : Bk(n, e),
+ "data-tag-cat": e === "all" ? "all" : Qk(n, e),
pressed: t === e,
onPress: () => o(e),
- children: [/* @__PURE__ */ (0, z.jsx)(XF, {}), r]
+ children: [/* @__PURE__ */ (0, z.jsx)(rI, {}), r]
}, e)),
bottom: /* @__PURE__ */ (0, z.jsxs)(z.Fragment, { children: [
/* @__PURE__ */ (0, z.jsx)("span", {
@@ -43735,19 +44175,19 @@ function Ide({ categories: e, category: t, online: n, readout: r, letters: i, vi
children: e
}, e))
}) : null,
- /* @__PURE__ */ (0, z.jsx)(tx, {
+ /* @__PURE__ */ (0, z.jsx)(nx, {
"aria-label": "标签视图",
orientation: "horizontal",
value: a,
onChange: (e) => c(e),
- className: `ml-auto ${oA}`,
- children: Fde.map(([e, t, n]) => {
+ className: `ml-auto ${_A}`,
+ children: Wde.map(([e, t, n]) => {
let r = oo(n);
- return /* @__PURE__ */ (0, z.jsx)(nx, {
+ return /* @__PURE__ */ (0, z.jsx)(rx, {
value: e,
"aria-label": t,
"data-glass-segment": "",
- className: sA,
+ className: vA,
children: /* @__PURE__ */ (0, z.jsx)("span", {
title: t,
className: "contents",
@@ -43759,13 +44199,13 @@ function Ide({ categories: e, category: t, online: n, readout: r, letters: i, vi
] })
});
}
-function Lde({ count: e, match: t, onMatch: n, onClear: r, onApply: i }) {
- return /* @__PURE__ */ (0, z.jsxs)(BF, {
+function Kde({ count: e, match: t, onMatch: n, onClear: r, onApply: i }) {
+ return /* @__PURE__ */ (0, z.jsxs)(JF, {
visible: e > 0,
label: "所选标签操作",
count: `已选 ${e} 个标签`,
children: [
- /* @__PURE__ */ (0, z.jsx)(JO, {
+ /* @__PURE__ */ (0, z.jsx)(mk, {
isSelected: t === "any",
onChange: (e) => n(e ? "any" : "all"),
children: /* @__PURE__ */ (0, z.jsxs)("span", {
@@ -43797,7 +44237,7 @@ function Lde({ count: e, match: t, onMatch: n, onClear: r, onApply: i }) {
}
//#endregion
//#region src/react/index/index-page.tsx
-var Rde = [{
+var qde = [{
value: "studios",
label: "厂牌",
symbol: "clapperboard"
@@ -43805,7 +44245,7 @@ var Rde = [{
value: "agencies",
label: "事务所",
symbol: "briefcase"
-}], ZF = [{
+}], iI = [{
value: "local",
label: "本地",
symbol: "hard-drive"
@@ -43813,7 +44253,7 @@ var Rde = [{
value: "online",
label: "在线",
symbol: "rss"
-}], zde = {
+}], Jde = {
people: [[
"big",
"大图 · 竖幅头像",
@@ -43833,20 +44273,20 @@ var Rde = [{
"layout-grid"
]]
};
-function Bde({ kind: e, layout: t, onChange: n }) {
- return /* @__PURE__ */ (0, z.jsx)(rA, {
- "aria-label": `${Ek[e]}索引版式`,
+function Yde({ kind: e, layout: t, onChange: n }) {
+ return /* @__PURE__ */ (0, z.jsx)(mA, {
+ "aria-label": `${Vk[e]}索引版式`,
orientation: "horizontal",
value: t,
onChange: (e) => n(e),
"data-index-layout": "",
- className: `flex-none max-board-narrow:order-3 ${iA}`,
- children: zde[jk(e) ? "company" : "people"].map(([e, t, n]) => {
+ className: `flex-none max-board-narrow:order-3 ${hA}`,
+ children: Jde[Kk(e) ? "company" : "people"].map(([e, t, n]) => {
let r = oo(n);
- return /* @__PURE__ */ (0, z.jsx)(nx, {
+ return /* @__PURE__ */ (0, z.jsx)(rx, {
value: e,
"aria-label": t,
- className: Use,
+ className: Mse,
children: /* @__PURE__ */ (0, z.jsx)("span", {
title: t,
className: "contents",
@@ -43856,8 +44296,8 @@ function Bde({ kind: e, layout: t, onChange: n }) {
})
});
}
-var Vde = oo("search");
-function Hde({ label: e, value: t, onQuery: n }) {
+var Xde = oo("search");
+function Zde({ label: e, value: t, onQuery: n }) {
let [r, i] = (0, R.useState)(t), a = (0, R.useRef)(!1), o = (0, R.useRef)(void 0);
(0, R.useEffect)(() => () => clearTimeout(o.current), []);
let s = (e) => {
@@ -43872,15 +44312,15 @@ function Hde({ label: e, value: t, onQuery: n }) {
onCompositionEnd: (e) => {
a.current = !1, s(e.target.value);
},
- children: /* @__PURE__ */ (0, z.jsx)(ak, {
+ children: /* @__PURE__ */ (0, z.jsx)(Ck, {
"aria-label": e,
value: r,
onChange: (e) => {
i(e), a.current || s(e);
},
- children: /* @__PURE__ */ (0, z.jsx)(sk, {
+ children: /* @__PURE__ */ (0, z.jsx)(Tk, {
type: "search",
- leadingIcon: Vde,
+ leadingIcon: Xde,
spellCheck: !1,
autoComplete: "off",
onKeyDown: (e) => {
@@ -43890,14 +44330,14 @@ function Hde({ label: e, value: t, onQuery: n }) {
})
});
}
-function Ude(e) {
- let [t, n] = (0, R.useState)(() => Mk({
+function Qde(e) {
+ let [t, n] = (0, R.useState)(() => qk({
kind: e.kind,
q: e.q,
scope: e.scope,
view: e.view,
category: e.category
- })), [r, i] = (0, R.useState)(e.layout), [a, o] = (0, R.useState)(/* @__PURE__ */ new Set()), [s, c] = (0, R.useState)("any"), l = (0, R.useRef)(null), { kind: u, q: d, scope: f, view: p, category: h } = t, g = Ek[u], _ = u === "tags" && f === "online", v = u === "performers" && f === "online";
+ })), [r, i] = (0, R.useState)(e.layout), [a, o] = (0, R.useState)(/* @__PURE__ */ new Set()), [s, c] = (0, R.useState)("any"), l = (0, R.useRef)(null), { kind: u, q: d, scope: f, view: p, category: h } = t, g = Vk[u], _ = u === "tags" && f === "online", v = u === "performers" && f === "online";
(0, R.useEffect)(() => {
e.selectMode || o(/* @__PURE__ */ new Set());
}, [e.selectMode]);
@@ -43907,7 +44347,7 @@ function Ude(e) {
...r
};
b(Object.keys(r).every((e) => e === "q")), n(a), e.route(a, { replace: i });
- }, S = Ik(Nk(t)), C = Fn({
+ }, S = Zk(Jk(t)), C = Fn({
queryKey: S.queryKey,
queryFn: ({ pageParam: e, signal: t }) => S.queryFn({
pageParam: e,
@@ -43916,21 +44356,21 @@ function Ude(e) {
initialPageParam: 0,
getNextPageParam: S.getNextPageParam,
placeholderData: y ? jt : void 0
- }), T = Rk(C.data), E = !!C.hasNextPage && !C.isPlaceholderData, D = zk(T.length, !!C.hasNextPage);
+ }), T = use(C.data), E = !!C.hasNextPage && !C.isPlaceholderData, D = dse(T.length, !!C.hasNextPage);
(0, R.useEffect)(() => {
l.current && e.refitImages(l.current);
}, [r]);
let O = (0, R.useMemo)(() => u === "tags" ? T.map((t) => ({
...t,
label: e.tagLabel(t.k)
- })) : [], [T, u]), k = (0, R.useMemo)(() => u === "tags" && p === "alphabet" ? Tse(O, (t) => e.tagLabel(t)) : [], [
+ })) : [], [T, u]), k = (0, R.useMemo)(() => u === "tags" && p === "alphabet" ? mse(O, (t) => e.tagLabel(t)) : [], [
O,
p,
u
]), A = (t) => {
i(t), e.savePreference({ layout: t });
- }, j = u === "tags" ? /* @__PURE__ */ (0, z.jsx)(YF, {
- tabs: ZF,
+ }, j = u === "tags" ? /* @__PURE__ */ (0, z.jsx)(kA, {
+ tabs: iI,
value: f,
label: "词表",
onChange: (e) => {
@@ -43940,15 +44380,15 @@ function Ude(e) {
view: e === "online" ? "alphabet" : p
});
}
- }) : u === "performers" ? /* @__PURE__ */ (0, z.jsx)(YF, {
- tabs: ZF,
+ }) : u === "performers" ? /* @__PURE__ */ (0, z.jsx)(kA, {
+ tabs: iI,
value: f,
label: "名册",
onChange: (t) => {
t === "online" && e.exitSelectMode(), x({ scope: t });
}
- }) : jk(u) ? /* @__PURE__ */ (0, z.jsx)(YF, {
- tabs: Rde,
+ }) : Kk(u) ? /* @__PURE__ */ (0, z.jsx)(kA, {
+ tabs: qde,
value: u,
label: "公司类型",
onChange: (e) => x({ kind: e })
@@ -43965,7 +44405,7 @@ function Ude(e) {
let n = new Set(e);
return n.delete(t) || n.add(t), n;
});
- }, N = (_ ? Ok : Dk).filter(([e]) => e === "all" || Number(C.data?.pages[0]?.categories?.[e] || 0) > 0);
+ }, N = (_ ? Uk : Hk).filter(([e]) => e === "all" || Number(C.data?.pages[0]?.categories?.[e] || 0) > 0);
return /* @__PURE__ */ (0, z.jsxs)("div", {
ref: l,
"data-index-page": u,
@@ -43980,12 +44420,12 @@ function Ude(e) {
className: "flex items-center text-display-4-medium whitespace-nowrap text-text-primary max-board-narrow:text-title-1-medium",
children: g
}),
- Ak(u) ? /* @__PURE__ */ (0, z.jsx)("span", {
+ Gk(u) ? /* @__PURE__ */ (0, z.jsx)("span", {
"data-index-count": "",
className: "text-caption-1-regular leading-5 whitespace-nowrap text-text-secondary tabular-nums",
children: C.isPending ? "" : D
}) : null,
- Ak(u) ? /* @__PURE__ */ (0, z.jsx)(Bde, {
+ Gk(u) ? /* @__PURE__ */ (0, z.jsx)(Yde, {
kind: u,
layout: r,
onChange: A
@@ -43994,7 +44434,7 @@ function Ude(e) {
"aria-hidden": !0,
className: "hidden h-0 basis-full max-board-narrow:order-2 max-board-narrow:block"
}),
- /* @__PURE__ */ (0, z.jsx)(Hde, {
+ /* @__PURE__ */ (0, z.jsx)(Zde, {
label: `过滤${g}`,
value: d,
onQuery: (e) => {
@@ -44004,7 +44444,7 @@ function Ude(e) {
]
}),
j,
- u === "tags" ? /* @__PURE__ */ (0, z.jsx)(Ide, {
+ u === "tags" ? /* @__PURE__ */ (0, z.jsx)(Gde, {
categories: N,
category: h,
online: _,
@@ -44039,18 +44479,18 @@ function Ude(e) {
}),
children: m(C.error)
});
- if (!T.length) return /* @__PURE__ */ (0, z.jsx)(Gde, {
+ if (!T.length) return /* @__PURE__ */ (0, z.jsx)(efe, {
kind: u,
filtered: !!d || u === "tags" && h !== "all",
online: _ || v,
configurable: e.configurable
});
- if (v) return /* @__PURE__ */ (0, z.jsx)(Dse, {
+ if (v) return /* @__PURE__ */ (0, z.jsx)(gse, {
items: T,
layout: r,
props: e
});
- if (Ak(u)) return /* @__PURE__ */ (0, z.jsx)(Wk, {
+ if (Gk(u)) return /* @__PURE__ */ (0, z.jsx)(tA, {
kind: u,
items: T,
layout: r,
@@ -44061,10 +44501,10 @@ function Ude(e) {
picked: a,
press: M
};
- return p === "alphabet" ? /* @__PURE__ */ (0, z.jsx)(Mde, {
+ return p === "alphabet" ? /* @__PURE__ */ (0, z.jsx)(Vde, {
groups: k,
actions: t
- }) : /* @__PURE__ */ (0, z.jsx)(Pde, {
+ }) : /* @__PURE__ */ (0, z.jsx)(Ude, {
tags: O,
actions: t
});
@@ -44085,7 +44525,7 @@ function Ude(e) {
}) : "载入更多"
})
}) : null,
- u === "tags" && !_ && e.selectMode ? /* @__PURE__ */ (0, z.jsx)(Lde, {
+ u === "tags" && !_ && e.selectMode ? /* @__PURE__ */ (0, z.jsx)(Kde, {
count: a.size,
match: s,
onMatch: c,
@@ -44098,14 +44538,14 @@ function Ude(e) {
]
});
}
-var Wde = {
+var $de = {
tags: "标签",
performers: "艺人",
creators: "创作者",
studios: "厂牌",
agencies: "事务所"
};
-function Gde({ kind: e, filtered: t, online: n, configurable: r }) {
+function efe({ kind: e, filtered: t, online: n, configurable: r }) {
if (t) return /* @__PURE__ */ (0, z.jsx)(Pi, {
icon: oo("search"),
title: "没有符合条件的内容",
@@ -44116,7 +44556,7 @@ function Gde({ kind: e, filtered: t, online: n, configurable: r }) {
}),
children: "清除筛选或搜索条件后查看全部内容。"
});
- let i = n && e === "performers" ? "创作者" : Wde[e], a = /* @__PURE__ */ (0, z.jsx)(xi, {
+ let i = n && e === "performers" ? "创作者" : $de[e], a = /* @__PURE__ */ (0, z.jsx)(xi, {
variant: !r || n ? "primary" : "secondary",
href: "/follow-manage?tab=add",
children: "添加关注"
@@ -44132,15 +44572,15 @@ function Gde({ kind: e, filtered: t, online: n, configurable: r }) {
children: n ? `添加关注来源并获取内容后,这里会显示来源上的${i}。` : "添加内容并补充资料后,这里会显示对应信息。"
});
}
-var QF = {
+var aI = {
video: ["视频", "play"],
image: ["图片", "pics"],
archive: ["压缩包", "file-archive"],
audio: ["音频", "file-audio"],
url: ["网址快捷方式", "globe"],
other: ["其它文件", "hard-drive"]
-}, Kde = (e) => QF[e.junk_kind || "other"] || QF.other;
-function qde(e) {
+}, tfe = (e) => aI[e.junk_kind || "other"] || aI.other;
+function nfe(e) {
return e === "dismissed" ? {
operation: "reconsider-junk",
label: "重新判断",
@@ -44151,21 +44591,21 @@ function qde(e) {
glyph: "check"
};
}
-var Jde = (e, t) => Number((t ? e.counts?.[t] : e.all_total) || 0), Yde = (e, t) => [
+var rfe = (e, t) => Number((t ? e.counts?.[t] : e.all_total) || 0), ife = (e, t) => [
"junk-queue",
e.view,
e.kind,
t
];
-function Xde({ kind: e, view: t }) {
+function afe({ kind: e, view: t }) {
let n = new URLSearchParams({
limit: "200",
status: t
});
return e && n.set("kind", e), n.toString();
}
-async function Zde(e, t) {
- let n = await wi(`/api/ads?${Xde(e)}`, t);
+async function ofe(e, t) {
+ let n = await wi(`/api/ads?${afe(e)}`, t);
return {
...n,
items: n.items || []
@@ -44173,19 +44613,19 @@ async function Zde(e, t) {
}
//#endregion
//#region src/react/junk-queue/junk-card.tsx
-function $F({ name: e }) {
+function oI({ name: e }) {
return /* @__PURE__ */ (0, z.jsx)("svg", {
viewBox: "0 0 24 24",
"aria-hidden": "true",
children: /* @__PURE__ */ (0, z.jsx)("use", { href: `#i-${e}` })
});
}
-var eI = (e, t) => e || t.shiftKey || t.ctrlKey || t.metaKey;
-function Qde({ item: e, view: t, selected: n, selectMode: r, helpers: a, actions: o }) {
- let c = (0, R.useRef)(null), [l, u] = (0, R.useState)(""), [d, f] = (0, R.useState)(""), p = e.junk_kind || "other", [m, h] = Kde(e), g = String(e.name || ""), _ = qde(t), v = p === "video" ? `/thumb?id=${e.id}&c=4` : p === "image" ? `/photo-thumb?id=${e.id}` : "", y = p === "video" || p === "image", b = (t) => {
- t.target.closest("[data-junk-actions]") || eI(r, t) && (t.preventDefault(), o.toggleSelection(e.id, t.shiftKey));
+var sI = (e, t) => e || t.shiftKey || t.ctrlKey || t.metaKey;
+function sfe({ item: e, view: t, selected: n, selectMode: r, helpers: a, actions: o }) {
+ let c = (0, R.useRef)(null), [l, u] = (0, R.useState)(""), [d, f] = (0, R.useState)(""), p = e.junk_kind || "other", [m, h] = tfe(e), g = String(e.name || ""), _ = nfe(t), v = p === "video" ? `/thumb?id=${e.id}&c=4` : p === "image" ? `/photo-thumb?id=${e.id}` : "", y = p === "video" || p === "image", b = (t) => {
+ t.target.closest("[data-junk-actions]") || sI(r, t) && (t.preventDefault(), o.toggleSelection(e.id, t.shiftKey));
}, x = (t) => {
- if (t.stopPropagation(), eI(r, t)) {
+ if (t.stopPropagation(), sI(r, t)) {
t.preventDefault(), o.toggleSelection(e.id, t.shiftKey);
return;
}
@@ -44227,7 +44667,7 @@ function Qde({ item: e, view: t, selected: n, selectMode: r, helpers: a, actions
children: [
/* @__PURE__ */ (0, z.jsxs)("span", {
"data-media-glyph": "",
- children: [/* @__PURE__ */ (0, z.jsx)($F, { name: h }), /* @__PURE__ */ (0, z.jsx)("b", { children: m })]
+ children: [/* @__PURE__ */ (0, z.jsx)(oI, { name: h }), /* @__PURE__ */ (0, z.jsx)("b", { children: m })]
}),
v ? /* @__PURE__ */ (0, z.jsx)("span", {
"data-media-art": "thumb",
@@ -44239,7 +44679,7 @@ function Qde({ item: e, view: t, selected: n, selectMode: r, helpers: a, actions
}),
/* @__PURE__ */ (0, z.jsx)("span", {
"data-media-check": "",
- children: /* @__PURE__ */ (0, z.jsx)($F, { name: "check" })
+ children: /* @__PURE__ */ (0, z.jsx)(oI, { name: "check" })
})
]
}),
@@ -44276,7 +44716,7 @@ function Qde({ item: e, view: t, selected: n, selectMode: r, helpers: a, actions
children: [l === "reveal" ? /* @__PURE__ */ (0, z.jsx)("span", {
"data-junk-spinner": "",
dangerouslySetInnerHTML: { __html: F("正在定位") }
- }) : /* @__PURE__ */ (0, z.jsx)($F, { name: "folder-open" }), /* @__PURE__ */ (0, z.jsx)("span", {
+ }) : /* @__PURE__ */ (0, z.jsx)(oI, { name: "folder-open" }), /* @__PURE__ */ (0, z.jsx)("span", {
"data-junk-label": "",
children: "打开位置"
})]
@@ -44288,7 +44728,7 @@ function Qde({ item: e, view: t, selected: n, selectMode: r, helpers: a, actions
"aria-label": _.label,
...w(_.operation),
onClick: C(_.operation),
- children: [/* @__PURE__ */ (0, z.jsx)($F, { name: _.glyph }), /* @__PURE__ */ (0, z.jsx)("span", {
+ children: [/* @__PURE__ */ (0, z.jsx)(oI, { name: _.glyph }), /* @__PURE__ */ (0, z.jsx)("span", {
"data-junk-label": "",
children: _.label
})]
@@ -44300,7 +44740,7 @@ function Qde({ item: e, view: t, selected: n, selectMode: r, helpers: a, actions
"aria-label": "移入回收站",
...w("dispose"),
onClick: C("dispose"),
- children: [/* @__PURE__ */ (0, z.jsx)($F, { name: "trash" }), /* @__PURE__ */ (0, z.jsx)("span", {
+ children: [/* @__PURE__ */ (0, z.jsx)(oI, { name: "trash" }), /* @__PURE__ */ (0, z.jsx)("span", {
"data-junk-label": "",
children: "移入回收站"
})]
@@ -44315,7 +44755,7 @@ function Qde({ item: e, view: t, selected: n, selectMode: r, helpers: a, actions
]
});
}
-var $de = (0, R.memo)(Qde), efe = [
+var cfe = (0, R.memo)(sfe), lfe = [
[
"",
"全部",
@@ -44352,53 +44792,53 @@ var $de = (0, R.memo)(Qde), efe = [
"hard-drive"
]
];
-function tI(e = "", t = "pending") {
+function cI(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 tfe(e) {
+function ufe(e) {
return e === "dismissed" ? {
view: "pending",
label: "返回待判断",
glyph: "rotate-ccw",
- href: tI("", "pending")
+ href: cI("", "pending")
} : {
view: "dismissed",
label: "已排除",
glyph: "eye-off",
- href: tI("", "dismissed")
+ href: cI("", "dismissed")
};
}
-var nfe = (e) => e === "dismissed" ? "已排除" : "待判断";
+var dfe = (e) => e === "dismissed" ? "已排除" : "待判断";
//#endregion
//#region src/react/junk-queue/junk-count.tsx
-function nI({ name: e }) {
+function lI({ name: e }) {
return /* @__PURE__ */ (0, z.jsx)("svg", {
viewBox: "0 0 24 24",
"aria-hidden": "true",
children: /* @__PURE__ */ (0, z.jsx)("use", { href: `#i-${e}` })
});
}
-function rI({ scope: e, count: t }) {
+function uI({ scope: e, count: t }) {
return t ? /* @__PURE__ */ (0, z.jsxs)(z.Fragment, { children: [" ", /* @__PURE__ */ (0, z.jsx)("span", {
"data-count-badge": `junk:${e}`,
children: t.toLocaleString()
})] }) : null;
}
-function rfe({ route: e, page: t, failed: n, onNavigate: r }) {
- let i = vO(), { kind: a, view: o } = e, s = tfe(o), c = (e) => {
+function ffe({ route: e, page: t, failed: n, onNavigate: r }) {
+ let i = zO(), { kind: a, view: o } = e, s = ufe(o), c = (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") || tI()));
+ !t || e.button !== 0 || e.metaKey || e.ctrlKey || e.shiftKey || e.altKey || (e.preventDefault(), r(t.getAttribute("href") || cI()));
}, l = t ? `${Number(t.total || 0).toLocaleString()} 个` : n ? "—" : "";
return /* @__PURE__ */ (0, z.jsxs)("div", {
"data-junk-count": "",
children: [/* @__PURE__ */ (0, z.jsx)("div", {
"data-junk-summary": "",
"aria-live": "polite",
- children: /* @__PURE__ */ (0, z.jsx)(_k, {
- label: nfe(o),
+ children: /* @__PURE__ */ (0, z.jsx)(Mk, {
+ label: dfe(o),
figure: l,
pending: !t && !n,
flush: !0
@@ -44411,16 +44851,16 @@ function rfe({ route: e, page: t, failed: n, onNavigate: r }) {
"aria-label": "垃圾文件分类",
onClick: c,
children: [
- efe.map(([e, n, r]) => /* @__PURE__ */ (0, z.jsxs)("a", {
- href: tI(e, o),
+ lfe.map(([e, n, r]) => /* @__PURE__ */ (0, z.jsxs)("a", {
+ href: cI(e, o),
"data-junk-kind-link": e,
"aria-current": e === a ? "page" : void 0,
children: [
- /* @__PURE__ */ (0, z.jsx)(nI, { name: r }),
+ /* @__PURE__ */ (0, z.jsx)(lI, { name: r }),
n,
- /* @__PURE__ */ (0, z.jsx)(rI, {
+ /* @__PURE__ */ (0, z.jsx)(uI, {
scope: e,
- count: t ? Jde(t, e) : 0
+ count: t ? rfe(t, e) : 0
})
]
}, e || "all")),
@@ -44433,9 +44873,9 @@ function rfe({ route: e, page: t, failed: n, onNavigate: r }) {
"data-junk-view-link": s.view,
"aria-current": o === "dismissed" ? "page" : void 0,
children: [
- /* @__PURE__ */ (0, z.jsx)(nI, { name: s.glyph }),
+ /* @__PURE__ */ (0, z.jsx)(lI, { name: s.glyph }),
s.label,
- /* @__PURE__ */ (0, z.jsx)(rI, {
+ /* @__PURE__ */ (0, z.jsx)(uI, {
scope: "dismissed",
count: Number(t?.dismissed_total || 0)
})
@@ -44448,38 +44888,38 @@ function rfe({ route: e, page: t, failed: n, onNavigate: r }) {
}
//#endregion
//#region src/react/junk-queue/junk-queue-page.tsx
-var ife = oo("check"), afe = (e, t) => e[1] === t.view && e[2] === t.kind;
-function ofe(e) {
+var pfe = oo("check"), mfe = (e, t) => e[1] === t.view && e[2] === t.kind;
+function hfe(e) {
let t = {
kind: e.kind,
view: e.view
}, n = (0, R.useRef)(e.cache);
n.current = e.cache;
let r = Nn({
- queryKey: Yde(t, e.revision),
+ queryKey: ife(t, e.revision),
queryFn: async ({ signal: e }) => {
- let r = await Zde(t, e);
+ let r = await ofe(t, e);
return n.current(r.items), r;
},
- placeholderData: (e, n) => n && afe(n.queryKey, t) ? e : void 0
+ placeholderData: (e, n) => n && mfe(n.queryKey, t) ? e : void 0
});
(0, R.useEffect)(() => {
r.isFetching || e.settled?.(e.revision);
}, [r.isFetching, e.revision]);
- let i = sfe(e.countRow), a = r.isPending;
+ let i = gfe(e.countRow), a = r.isPending;
(0, R.useLayoutEffect)(() => {
let t = e.countRow;
t && (a ? t.setAttribute("aria-busy", "true") : t.removeAttribute("aria-busy"));
}, [e.countRow, a]), (0, R.useLayoutEffect)(() => {
i && r.data && O(i, "junk");
}, [i, r.data]);
- let { navigate: o } = e.actions, s = i ? (0, be.createPortal)(/* @__PURE__ */ (0, z.jsx)(rfe, {
+ let { navigate: o } = e.actions, s = i ? (0, be.createPortal)(/* @__PURE__ */ (0, z.jsx)(ffe, {
route: t,
page: r.data,
failed: r.isError && !r.data,
onNavigate: o
}), i) : null;
- return /* @__PURE__ */ (0, z.jsxs)(z.Fragment, { children: [s, /* @__PURE__ */ (0, z.jsx)(cfe, {
+ return /* @__PURE__ */ (0, z.jsxs)(z.Fragment, { children: [s, /* @__PURE__ */ (0, z.jsx)(_fe, {
props: e,
data: r.data,
pending: a,
@@ -44487,7 +44927,7 @@ function ofe(e) {
retry: () => void r.refetch()
}, `${t.view}:${t.kind}`)] });
}
-function sfe(e) {
+function gfe(e) {
let [t, n] = (0, R.useState)(null);
return (0, R.useLayoutEffect)(() => {
if (!e) return;
@@ -44497,7 +44937,7 @@ function sfe(e) {
};
}, [e]), t;
}
-function cfe({ props: e, data: t, pending: n, error: r, retry: i }) {
+function _fe({ props: e, data: t, pending: n, error: r, retry: i }) {
let a = Ra(n, e.skeletonHtml), o = Math.max(1, e.batchSize || 60), [s, c] = (0, R.useState)(1), l = t?.items || [], u = l.slice(0, s * o), { canLoadMore: d } = e, f = (0, R.useCallback)(() => {
d?.() !== !1 && c((e) => e + 1);
}, [d]);
@@ -44513,7 +44953,7 @@ function cfe({ props: e, data: t, pending: n, error: r, retry: i }) {
if (!l.length) {
let t = e.view === "dismissed";
return /* @__PURE__ */ (0, z.jsx)(Pi, {
- icon: ife,
+ icon: pfe,
title: t ? "没有已排除的文件" : "没有待判断的垃圾文件",
children: t ? "点“不是垃圾”的资源会保留在这里,可随时重新判断。" : "当前分类没有候选文件。"
});
@@ -44522,7 +44962,7 @@ function cfe({ 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, z.jsx)($de, {
+ children: u.map((t) => /* @__PURE__ */ (0, z.jsx)(cfe, {
item: t,
view: e.view,
selected: e.selected.has(t.id),
@@ -44530,11 +44970,11 @@ function cfe({ props: e, data: t, pending: n, error: r, retry: i }) {
helpers: e.helpers,
actions: e.actions
}, t.id))
- }), u.length < l.length ? /* @__PURE__ */ (0, z.jsx)(lfe, { onMore: f }, s) : null] });
+ }), u.length < l.length ? /* @__PURE__ */ (0, z.jsx)(vfe, { onMore: f }, s) : null] });
})()]
});
}
-function lfe({ onMore: e }) {
+function vfe({ onMore: e }) {
let t = (0, R.useRef)(null);
return (0, R.useEffect)(() => {
let n = t.current;
@@ -44552,12 +44992,12 @@ function lfe({ onMore: e }) {
}
//#endregion
//#region src/react/library-processing/library-processing-notice.tsx
-var iI = "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", ufe = {
- gray: `${iI} border-separator-border bg-background-secondary-default text-text-secondary`,
- warning: `${iI} border-current/35 bg-status-yellow-background text-status-yellow-text`,
- error: `${iI} border-current/35 bg-background-tertiary-error text-text-error-primary`
+var dI = "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", yfe = {
+ gray: `${dI} border-separator-border bg-background-secondary-default text-text-secondary`,
+ warning: `${dI} border-current/35 bg-status-yellow-background text-status-yellow-text`,
+ error: `${dI} border-current/35 bg-background-tertiary-error text-text-error-primary`
};
-function dfe({ value: e, max: t }) {
+function bfe({ value: e, max: t }) {
let n = Math.max(0, Math.min(100, e / t * 100));
return /* @__PURE__ */ (0, z.jsxs)("svg", {
role: "progressbar",
@@ -44585,16 +45025,16 @@ function dfe({ value: e, max: t }) {
})]
});
}
-function ffe(e) {
- let { job: t } = LO(e), n = t.data, r = t.isError ? n ? Zo : U(t.error) : "", i = n?.status ?? "idle", a = i === "failed", o = i === "running";
+function xfe(e) {
+ let { job: t } = ik(e), n = t.data, r = t.isError ? n ? Zo : U(t.error) : "", i = n?.status ?? "idle", a = i === "failed", o = i === "running";
if (!r && !o && !a) return null;
let s = a ? "error" : r || n?.stalled ? "warning" : "gray", c = n?.checked || 0, l = n?.total || 0, u = r || (a ? "扫描与资料采集未完成" : ns(n) + (l ? ` · ${c} / ${l}` : "")), d = s === "gray" ? We : Fe;
return /* @__PURE__ */ (0, z.jsxs)("aside", {
role: a ? "alert" : "status",
- className: ufe[s],
+ className: yfe[s],
children: [/* @__PURE__ */ (0, z.jsxs)("div", {
className: "flex min-w-0 items-center gap-3",
- children: [o && l ? /* @__PURE__ */ (0, z.jsx)(dfe, {
+ children: [o && l ? /* @__PURE__ */ (0, z.jsx)(bfe, {
value: c,
max: l
}) : /* @__PURE__ */ (0, z.jsx)(d, {
@@ -44604,7 +45044,7 @@ function ffe(e) {
className: "min-w-0 text-body-2-regular",
children: u
})]
- }), /* @__PURE__ */ (0, z.jsx)(lO, {
+ }), /* @__PURE__ */ (0, z.jsx)(AO, {
href: "/data-cleanup#libraryProcessing",
size: "small",
trailingIcon: Te,
@@ -44614,32 +45054,32 @@ function ffe(e) {
}
//#endregion
//#region src/react/playlists/playlists.ts
-var pfe = "/api/playlists", aI = "/api/playlist", oI = ["playlists"], sI = (e) => wi(pfe, e);
-async function mfe(e) {
+var Sfe = "/api/playlists", fI = "/api/playlist", pI = ["playlists"], mI = (e) => wi(Sfe, e);
+async function Cfe(e) {
await q.fetchQuery({
- queryKey: oI,
- queryFn: () => sI(e),
+ queryKey: pI,
+ queryFn: () => mI(e),
staleTime: 0
});
}
-var cI = () => q.invalidateQueries({
- queryKey: oI,
+var hI = () => q.invalidateQueries({
+ queryKey: pI,
exact: !0
-}), hfe = (e) => e.current_asset_id || e.preview_asset_id || null, lI = (e) => `/poster?id=${e}&c=4`, gfe = (e) => W(aI, {
+}), wfe = (e) => e.current_asset_id || e.preview_asset_id || null, gI = (e) => `/poster?id=${e}&c=4`, Tfe = (e) => W(fI, {
action: "create",
name: e,
asset_ids: []
-}), uI = (e, t) => W(aI, {
+}), _I = (e, t) => W(fI, {
action: "rename",
id: e,
name: t
-}), dI = (e) => W(aI, {
+}), vI = (e) => W(fI, {
action: "delete",
id: e
-}), _fe = (e) => wi(`${aI}?id=${e}`).catch(() => null);
-function vfe(e) {
+}), Efe = (e) => wi(`${fI}?id=${e}`).catch(() => null);
+function Dfe(e) {
let t = (e.items || []).map((e) => e.id), n = e.source_seed_asset_id;
- return W(aI, {
+ return W(fI, {
action: "create",
name: e.name,
asset_ids: t,
@@ -44649,18 +45089,18 @@ function vfe(e) {
}
//#endregion
//#region src/react/playlists/playlists-page.tsx
-var yfe = oo("ellipsis"), bfe = oo("pencil"), xfe = oo("trash"), Sfe = oo("playlist"), fI = gi(dO, fO, "text-body-2-medium"), pI = "播放列表名称不能为空", mI = (e) => async () => {
+var Ofe = oo("ellipsis"), kfe = oo("pencil"), Afe = oo("trash"), jfe = oo("playlist"), yI = gi(MO, NO, "text-body-2-medium"), bI = "播放列表名称不能为空", xI = (e) => async () => {
try {
await e();
} finally {
- cI();
+ hI();
}
};
-function Cfe({ toast: e }) {
+function Mfe({ toast: e }) {
let [t, n] = (0, R.useState)(""), [r, i] = (0, R.useState)(""), a = Pn({
- mutationFn: (e) => gfe(e),
+ mutationFn: (e) => Tfe(e),
onSuccess: (t) => {
- n(""), i(""), cI(), e("已新建播放列表", { undo: mI(() => dI(t.playlist.id)) });
+ n(""), i(""), hI(), e("已新建播放列表", { undo: xI(() => vI(t.playlist.id)) });
},
onError: (e) => i(U(e) || "新建失败")
});
@@ -44670,7 +45110,7 @@ function Cfe({ toast: e }) {
onSubmit: (e) => {
if (e.preventDefault(), !a.isPending) {
if (!t.trim()) {
- i(pI);
+ i(bI);
return;
}
a.mutate(t);
@@ -44679,7 +45119,7 @@ function Cfe({ toast: e }) {
className: "flex flex-wrap items-end gap-2",
children: [/* @__PURE__ */ (0, z.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, z.jsx)(ck, {
+ children: /* @__PURE__ */ (0, z.jsx)(Ek, {
label: "新播放列表",
placeholder: "输入名称",
maxLength: 80,
@@ -44698,7 +45138,7 @@ function Cfe({ toast: e }) {
})]
});
}
-function wfe({ target: e, close: t, toast: n }) {
+function Nfe({ target: e, close: t, toast: n }) {
let [r, i] = (0, R.useState)(""), [a, o] = (0, R.useState)(""), s = (0, R.useRef)(null);
(0, R.useEffect)(() => {
if (!e) return;
@@ -44709,13 +45149,13 @@ function wfe({ target: e, close: t, toast: n }) {
return () => cancelAnimationFrame(t);
}, [e]);
let c = Pn({
- mutationFn: ({ row: e, value: t }) => uI(e.id, t),
+ mutationFn: ({ row: e, value: t }) => _I(e.id, t),
onSuccess: (e, { row: r }) => {
- t(), cI(), n("已重命名播放列表", { undo: mI(() => uI(r.id, r.name)) });
+ t(), hI(), n("已重命名播放列表", { undo: xI(() => _I(r.id, r.name)) });
},
onError: (e) => o(U(e))
});
- return /* @__PURE__ */ (0, z.jsx)(TA, {
+ return /* @__PURE__ */ (0, z.jsx)(ZA, {
isOpen: !!e,
onOpenChange: (e) => {
e || t();
@@ -44727,7 +45167,7 @@ function wfe({ target: e, close: t, toast: n }) {
if (t.preventDefault(), !e || c.isPending) return;
let n = r.trim();
if (!n) {
- o(pI);
+ o(bI);
return;
}
c.mutate({
@@ -44742,7 +45182,7 @@ function wfe({ target: e, close: t, toast: n }) {
slot: "title",
className: "text-title-2-semibold text-text-primary",
children: "编辑名称"
- }), /* @__PURE__ */ (0, z.jsx)(ck, {
+ }), /* @__PURE__ */ (0, z.jsx)(Ek, {
ref: s,
label: "名称",
placeholder: "输入名称",
@@ -44770,7 +45210,7 @@ function wfe({ target: e, close: t, toast: n }) {
})
});
}
-function Tfe({ name: e, onRename: t, onDelete: n }) {
+function Pfe({ name: e, onRename: t, onDelete: n }) {
let r = (0, R.useRef)(null), [i, a] = (0, R.useState)(!1), o = (e) => {
a(!1), e();
};
@@ -44784,33 +45224,33 @@ function Tfe({ 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, z.jsx)(yfe, {
+ children: /* @__PURE__ */ (0, z.jsx)(Ofe, {
"aria-hidden": !0,
className: "size-4.5"
})
- }), /* @__PURE__ */ (0, z.jsx)(gy, {
+ }), /* @__PURE__ */ (0, z.jsx)(sy, {
triggerRef: r,
isOpen: i,
onOpenChange: a,
placement: "bottom end",
offset: 4,
- className: uO,
- children: /* @__PURE__ */ (0, z.jsxs)(sO, {
+ className: jO,
+ children: /* @__PURE__ */ (0, z.jsxs)(OO, {
"aria-label": `播放列表操作:${e}`,
className: "flex w-37.5 flex-col gap-0.5 outline-none",
children: [/* @__PURE__ */ (0, z.jsxs)("button", {
type: "button",
- className: fI,
+ className: yI,
onClick: () => o(t),
- children: [/* @__PURE__ */ (0, z.jsx)(bfe, {
+ children: [/* @__PURE__ */ (0, z.jsx)(kfe, {
"aria-hidden": !0,
className: "size-4 shrink-0"
}), "编辑名称"]
}), /* @__PURE__ */ (0, z.jsxs)("button", {
type: "button",
- className: fI,
+ className: yI,
onClick: () => o(n),
- children: [/* @__PURE__ */ (0, z.jsx)(xfe, {
+ children: [/* @__PURE__ */ (0, z.jsx)(Afe, {
"aria-hidden": !0,
className: "size-4 shrink-0"
}), "删除播放列表"]
@@ -44818,13 +45258,13 @@ function Tfe({ name: e, onRename: t, onDelete: n }) {
})
})] });
}
-function Efe({ openPlaylist: e, openEntity: t, faceAvatar: n, canFlip: r, toast: i, revision: a }) {
+function Ffe({ openPlaylist: e, openEntity: t, faceAvatar: n, canFlip: r, toast: i, revision: a }) {
let o = Nn({
- queryKey: oI,
- queryFn: ({ signal: e }) => sI(e)
+ queryKey: pI,
+ queryFn: ({ signal: e }) => mI(e)
}), [s, c] = (0, R.useState)(null), l = (0, R.useRef)(a);
(0, R.useEffect)(() => {
- l.current !== a && (l.current = a, cI());
+ l.current !== a && (l.current = a, hI());
}, [a]);
let u = o.data;
if (!u) return /* @__PURE__ */ (0, z.jsx)("div", {
@@ -44842,8 +45282,8 @@ function Efe({ openPlaylist: e, openEntity: t, faceAvatar: n, canFlip: r, toast:
confirmLabel: "删除播放列表",
danger: !0,
onConfirm: async () => {
- let t = await _fe(e.id);
- await dI(e.id), cI(), i("已删除播放列表", t ? { undo: mI(() => vfe(t)) } : void 0);
+ let t = await Efe(e.id);
+ await vI(e.id), hI(), i("已删除播放列表", t ? { undo: xI(() => Dfe(t)) } : void 0);
}
});
};
@@ -44858,27 +45298,27 @@ function Efe({ openPlaylist: e, openEntity: t, faceAvatar: n, canFlip: r, toast:
}), /* @__PURE__ */ (0, z.jsx)("p", {
className: "text-body-2-regular text-text-secondary",
children: "保存 Mix,按自己的顺序继续播放。"
- })] }), /* @__PURE__ */ (0, z.jsx)(Cfe, { toast: i })]
+ })] }), /* @__PURE__ */ (0, z.jsx)(Mfe, { toast: i })]
}),
d.length ? /* @__PURE__ */ (0, z.jsx)("div", {
"data-playlist-grid": "",
className: "card-grid-cover gap-4.5",
children: d.map((i) => {
- let a = hfe(i);
+ let a = wfe(i);
return /* @__PURE__ */ (0, z.jsx)(_o, {
"data-playlist-card": String(i.id),
name: i.name,
caption: i.source_kind === "mix" ? "由 Mix 保存" : "手动播放列表",
count: i.item_count,
- poster: i.preview_asset_id ? lI(i.preview_asset_id) : null,
- flipImages: async () => (i.preview_ids || []).map(lI),
+ poster: i.preview_asset_id ? gI(i.preview_asset_id) : null,
+ flipImages: async () => (i.preview_ids || []).map(gI),
canFlip: r,
faces: i.faces || [],
faceAvatar: n,
onOpenEntity: t,
...a ? { onOpen: () => e(i.id, a) } : {},
openLabel: `打开播放列表 ${i.name}`,
- menu: /* @__PURE__ */ (0, z.jsx)(Tfe, {
+ menu: /* @__PURE__ */ (0, z.jsx)(Pfe, {
name: i.name,
onRename: () => c(i),
onDelete: () => f(i)
@@ -44886,11 +45326,11 @@ function Efe({ openPlaylist: e, openEntity: t, faceAvatar: n, canFlip: r, toast:
}, i.id);
})
}) : /* @__PURE__ */ (0, z.jsx)(Pi, {
- icon: Sfe,
+ icon: jfe,
title: "还没有播放列表",
children: "保存 Mix 或新建列表后,会在这里按自己的顺序继续播放。"
}),
- /* @__PURE__ */ (0, z.jsx)(wfe, {
+ /* @__PURE__ */ (0, z.jsx)(Nfe, {
target: s,
close: () => c(null),
toast: i
@@ -44900,7 +45340,7 @@ function Efe({ openPlaylist: e, openEntity: t, faceAvatar: n, canFlip: r, toast:
}
//#endregion
//#region src/react/quality-goals/quality-goals-page.tsx
-function Dfe({ item: t, openItem: n, javTitleHtml: r, javDisplayName: i, srcBadge: a }) {
+function Ife({ item: t, openItem: n, javTitleHtml: r, javDisplayName: i, srcBadge: a }) {
let c = () => n(t.id);
return /* @__PURE__ */ (0, z.jsxs)("li", {
"data-goal-id": t.id,
@@ -44968,7 +45408,7 @@ function Dfe({ item: t, openItem: n, javTitleHtml: r, javDisplayName: i, srcBadg
})]
});
}
-function Ofe(e) {
+function Lfe(e) {
let t = Nn({
queryKey: vs,
queryFn: ({ signal: e }) => ys(e)
@@ -44993,7 +45433,7 @@ function Ofe(e) {
})]
}), /* @__PURE__ */ (0, z.jsx)("ul", {
className: "card-grid-cover gap-5",
- children: r.map((t) => /* @__PURE__ */ (0, z.jsx)(Dfe, {
+ children: r.map((t) => /* @__PURE__ */ (0, z.jsx)(Ife, {
item: t,
...e
}, t.id))
@@ -45006,17 +45446,17 @@ function Ofe(e) {
}
//#endregion
//#region src/react/providers.tsx
-var hI = null;
-function kfe() {
- return hI?.isConnected || (hI = document.createElement("div"), hI.className = "peach-react", hI.dataset.reactOverlays = "", document.body.append(hI)), hI;
+var SI = null;
+function Rfe() {
+ return SI?.isConnected || (SI = document.createElement("div"), SI.className = "peach-react", SI.dataset.reactOverlays = "", document.body.append(SI)), SI;
}
-function gI({ children: e }) {
+function CI({ children: e }) {
return /* @__PURE__ */ (0, z.jsx)(ct, {
client: q,
- children: /* @__PURE__ */ (0, z.jsx)(hP, {
+ children: /* @__PURE__ */ (0, z.jsx)(fue, {
reducedMotion: "user",
- children: /* @__PURE__ */ (0, z.jsx)(ay, {
- getContainer: kfe,
+ children: /* @__PURE__ */ (0, z.jsx)(Xv, {
+ getContainer: Rfe,
children: e
})
})
@@ -45024,7 +45464,7 @@ function gI({ children: e }) {
}
//#endregion
//#region src/react/review/bulk-toolbar.tsx
-function Afe(e) {
+function zfe(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 = Bs(u), b = d && u.some((e) => (e.candidates?.length || 0) > 1), x = y.length ? "统一选择来源" : "所选项目无共同来源";
return /* @__PURE__ */ (0, z.jsxs)(z.Fragment, { children: [/* @__PURE__ */ (0, z.jsxs)("div", {
role: "group",
@@ -45033,29 +45473,29 @@ function Afe(e) {
"data-glass-pane": "",
className: "sticky top-topbar z-10 flex flex-wrap items-center gap-2 p-3",
children: [
- /* @__PURE__ */ (0, z.jsx)(BO, {
+ /* @__PURE__ */ (0, z.jsx)(sk, {
"aria-label": "筛选分组方式",
size: "sm",
selectedKey: n,
onSelectionChange: (e) => {
e !== null && r(String(e));
},
- children: t.map(([e, t]) => /* @__PURE__ */ (0, z.jsx)(VO, {
+ children: t.map(([e, t]) => /* @__PURE__ */ (0, z.jsx)(ck, {
id: e,
children: t
}, e))
}),
- i.length > 1 ? /* @__PURE__ */ (0, z.jsxs)(BO, {
+ i.length > 1 ? /* @__PURE__ */ (0, z.jsxs)(sk, {
"aria-label": n === "field" ? "筛选字段分类" : "筛选当前分类",
size: "sm",
selectedKey: a || "*",
onSelectionChange: (e) => {
e !== null && o(String(e) === "*" ? "" : String(e));
},
- children: [/* @__PURE__ */ (0, z.jsx)(VO, {
+ children: [/* @__PURE__ */ (0, z.jsx)(ck, {
id: "*",
children: "全部分类"
- }), i.map((e) => /* @__PURE__ */ (0, z.jsx)(VO, {
+ }), i.map((e) => /* @__PURE__ */ (0, z.jsx)(ck, {
id: e.key,
children: `${e.title} · ${e.rows.length}`
}, e.key))]
@@ -45074,12 +45514,12 @@ function Afe(e) {
children: v ? "清空当前选择" : a ? "全选当前分类" : "全选本页"
})
]
- }), /* @__PURE__ */ (0, z.jsxs)(BF, {
+ }), /* @__PURE__ */ (0, z.jsxs)(JF, {
label: "复核所选项目",
visible: c.size > 0,
count: `已选 ${c.size} 项`,
children: [
- b ? /* @__PURE__ */ (0, z.jsxs)(BO, {
+ b ? /* @__PURE__ */ (0, z.jsxs)(sk, {
"aria-label": "统一选择来源",
size: "sm",
selectedKey: "",
@@ -45087,10 +45527,10 @@ function Afe(e) {
onSelectionChange: (e) => {
e !== null && e !== "" && h(String(e));
},
- children: [/* @__PURE__ */ (0, z.jsx)(VO, {
+ children: [/* @__PURE__ */ (0, z.jsx)(ck, {
id: "",
children: x
- }), y.map((e) => /* @__PURE__ */ (0, z.jsx)(VO, {
+ }), y.map((e) => /* @__PURE__ */ (0, z.jsx)(ck, {
id: e,
children: e
}, e))]
@@ -45126,7 +45566,7 @@ function Afe(e) {
}
//#endregion
//#region src/react/review/candidate-form.tsx
-var jfe = {
+var Bfe = {
title: "标题",
original_title: "原标题",
runtime: "来源时长",
@@ -45136,14 +45576,14 @@ var jfe = {
cover_url: "封面",
screenshot_urls: "截图",
trailer_url: "预告片"
-}, _I = "reviewgenretags";
-function Mfe({ tags: e }) {
+}, wI = "reviewgenretags";
+function Vfe({ tags: e }) {
return e.length ? /* @__PURE__ */ (0, z.jsx)("datalist", {
- id: _I,
+ id: wI,
children: e.map((e) => /* @__PURE__ */ (0, z.jsx)("option", { value: e }, e))
}) : null;
}
-function vI({ candidate: e, selectable: t = !1 }) {
+function TI({ 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, z.jsxs)("span", {
className: "flex min-w-0 flex-1 flex-col",
@@ -45180,7 +45620,7 @@ function vI({ candidate: e, selectable: t = !1 }) {
children: [
/* @__PURE__ */ (0, z.jsx)("dt", {
className: "text-body-2-regular text-text-secondary",
- children: jfe[e] || e
+ children: Bfe[e] || e
}),
/* @__PURE__ */ (0, z.jsx)("dd", {
className: "min-w-0 text-body-2-regular break-words text-text-primary",
@@ -45195,28 +45635,28 @@ function vI({ candidate: e, selectable: t = !1 }) {
}) : null]
});
}
-function Nfe({ row: e, fieldName: t, value: n, onChange: r, locked: i }) {
+function Hfe({ row: e, fieldName: t, value: n, onChange: r, locked: i }) {
let a = e.candidates || [];
return a.length ? a.length === 1 ? /* @__PURE__ */ (0, z.jsx)("div", {
className: "flex overflow-hidden rounded-surface border border-separator-border bg-background-secondary-default",
- children: /* @__PURE__ */ (0, z.jsx)(vI, { candidate: a[0] })
- }) : /* @__PURE__ */ (0, z.jsx)(tx, {
+ children: /* @__PURE__ */ (0, z.jsx)(TI, { candidate: a[0] })
+ }) : /* @__PURE__ */ (0, z.jsx)(nx, {
"aria-label": `${t || "候选"}的来源`,
value: n,
isDisabled: i,
onChange: r,
className: "flex flex-col gap-2",
- children: a.map((e) => /* @__PURE__ */ (0, z.jsx)(nx, {
+ children: a.map((e) => /* @__PURE__ */ (0, z.jsx)(rx, {
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, z.jsx)(vI, {
+ children: /* @__PURE__ */ (0, z.jsx)(TI, {
candidate: e,
selectable: !0
})
}, e.candidate_key))
}) : null;
}
-function Pfe({ genre: e, tags: t, locked: n, toast: r }) {
+function Ufe({ genre: e, tags: t, locked: n, toast: r }) {
let [i, a] = (0, R.useState)(""), [o, s] = (0, R.useState)(""), c = Pn({
mutationFn: (t) => ec(e, t),
onSuccess: async (t, n) => {
@@ -45243,16 +45683,16 @@ function Pfe({ genre: e, tags: t, locked: n, toast: r }) {
className: "text-body-medium text-text-primary",
children: e
}),
- /* @__PURE__ */ (0, z.jsx)(ak, {
+ /* @__PURE__ */ (0, z.jsx)(Ck, {
"aria-label": `「${e}」收录成的中文标签`,
value: i,
onChange: a,
maxLength: 40,
isDisabled: n || c.isPending,
className: "min-w-40 flex-1",
- children: /* @__PURE__ */ (0, z.jsx)(sk, {
+ children: /* @__PURE__ */ (0, z.jsx)(Tk, {
size: "small",
- list: t.length ? _I : void 0,
+ list: t.length ? wI : void 0,
autoComplete: "off",
placeholder: "中文标签",
onKeyDown: (e) => {
@@ -45284,7 +45724,7 @@ function Pfe({ genre: e, tags: t, locked: n, toast: r }) {
]
});
}
-function Ffe({ row: e, tags: t, locked: n, toast: r }) {
+function Wfe({ row: e, tags: t, locked: n, toast: r }) {
let i = Js(e);
return i.length ? /* @__PURE__ */ (0, z.jsxs)("div", {
role: "group",
@@ -45293,7 +45733,7 @@ function Ffe({ row: e, tags: t, locked: n, toast: r }) {
children: [/* @__PURE__ */ (0, z.jsx)("h5", {
className: "text-body-2-medium text-text-secondary",
children: `未收录 genre · ${i.length}`
- }), i.map((e) => /* @__PURE__ */ (0, z.jsx)(Pfe, {
+ }), i.map((e) => /* @__PURE__ */ (0, z.jsx)(Ufe, {
genre: e,
tags: t,
locked: n,
@@ -45303,9 +45743,9 @@ function Ffe({ row: e, tags: t, locked: n, toast: r }) {
}
//#endregion
//#region src/react/review/review-evidence.tsx
-var yI = (e = "") => /^https?:\/\//i.test(e) ? e : "", Ife = (e = "") => yI(e) || (e.startsWith("/") && !e.startsWith("//") ? e : "");
-function bI({ url: e }) {
- let t = Ife(e || ""), [n, r] = (0, R.useState)(!1);
+var EI = (e = "") => /^https?:\/\//i.test(e) ? e : "", Gfe = (e = "") => EI(e) || (e.startsWith("/") && !e.startsWith("//") ? e : "");
+function DI({ url: e }) {
+ let t = Gfe(e || ""), [n, r] = (0, R.useState)(!1);
return /* @__PURE__ */ (0, z.jsx)("div", {
className: "flex h-review-image items-center justify-center overflow-hidden rounded-surface bg-background-secondary-default",
children: t && !n ? /* @__PURE__ */ (0, z.jsx)("img", {
@@ -45320,7 +45760,7 @@ function bI({ url: e }) {
})
});
}
-function xI({ asset: e, openItem: t }) {
+function OI({ asset: e, openItem: t }) {
let n = e.name || "";
return /* @__PURE__ */ (0, z.jsxs)("div", {
className: "flex min-w-0 items-center gap-2.5 rounded-surface bg-background-secondary-default p-2",
@@ -45353,14 +45793,14 @@ function xI({ asset: e, openItem: t }) {
})]
});
}
-function Lfe({ kind: e, name: t, works: n, avatar: r, openEntity: i }) {
+function Kfe({ kind: e, name: t, works: n, avatar: r, openEntity: i }) {
return /* @__PURE__ */ (0, z.jsxs)("div", {
className: "flex min-w-0 items-center gap-3",
children: [/* @__PURE__ */ (0, z.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 ${IN}`,
+ 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 ${HP}`,
dangerouslySetInnerHTML: { __html: r }
}), /* @__PURE__ */ (0, z.jsxs)("div", {
className: "flex min-w-0 flex-col items-start",
@@ -45376,8 +45816,8 @@ function Lfe({ kind: e, name: t, works: n, avatar: r, openEntity: i }) {
})]
});
}
-function Rfe({ row: e, openItem: t, openEntity: n, onReveal: r, revealing: i, note: a }) {
- let o = yI(e.profile_url || ""), s = (e.preview_assets || []).slice(0, 6), c = Math.max(0, Number(e.video_count || e.videos || 0));
+function qfe({ row: e, openItem: t, openEntity: n, onReveal: r, revealing: i, note: a }) {
+ let o = EI(e.profile_url || ""), s = (e.preview_assets || []).slice(0, 6), c = Math.max(0, Number(e.video_count || e.videos || 0));
return /* @__PURE__ */ (0, z.jsxs)("section", {
className: "flex flex-col gap-3",
children: [
@@ -45402,7 +45842,7 @@ function Rfe({ row: e, openItem: t, openEntity: n, onReveal: r, revealing: i, no
children: `查看全部 ${c.toLocaleString()} 部作品`
})]
}),
- /* @__PURE__ */ (0, z.jsx)(bI, { url: e.preview_url }),
+ /* @__PURE__ */ (0, z.jsx)(DI, { url: e.preview_url }),
/* @__PURE__ */ (0, z.jsx)("p", {
className: "text-body-2-regular text-text-secondary",
children: "通过后记录身份判断。"
@@ -45445,7 +45885,7 @@ function Rfe({ row: e, openItem: t, openEntity: n, onReveal: r, revealing: i, no
]
});
}
-function zfe({ assets: e, picked: t, onPicked: n, locked: r }) {
+function Jfe({ assets: e, picked: t, onPicked: n, locked: r }) {
let [i, a] = (0, R.useState)(null), o = new Set(t), s = (t, s) => {
if (r) return;
let c = new Set(o);
@@ -45501,7 +45941,7 @@ function zfe({ assets: e, picked: t, onPicked: n, locked: r }) {
}),
/* @__PURE__ */ (0, z.jsx)("span", {
className: "absolute top-1 right-1",
- children: /* @__PURE__ */ (0, z.jsx)(qO, {
+ children: /* @__PURE__ */ (0, z.jsx)(pk, {
size: "sm",
state: {
isSelected: n,
@@ -45521,19 +45961,19 @@ function zfe({ assets: e, picked: t, onPicked: n, locked: r }) {
}
//#endregion
//#region src/react/review/review-card.tsx
-var Bfe = Mi({
+var Yfe = Mi({
variant: "outlined",
padding: "none",
className: "flex flex-col gap-4 px-5 pt-4"
-}), SI = "flex min-h-6 min-w-0 items-center", Vfe = (e) => e === "western_identity" ? "h-review-card-tall" : "h-review-card";
-function Hfe(e) {
- let { category: t, row: n, choice: r, onChoice: i, selected: a, onSelect: o, locked: s, busy: c, problem: l, genreTags: u, onDecide: d, handlers: f } = e, p = (0, R.useRef)(!1), m = vO(), h = vO(), g = t === "metadata_fields", _ = Fs[t] || "", v = String(n.creator || "").trim(), y = !!_ && !!v, b = Gs(t, n), x = Ws(t, n), S = Us(t, n), C = Ks(n), w = qs(n), T = Hs(t, n), E = n.comparison_assets || [], D = n.preview_assets || [], O = String(n.decision || "pending") !== "pending", k = E.length > 1 ? /* @__PURE__ */ (0, z.jsx)("div", {
+}), kI = "flex min-h-6 min-w-0 items-center", Xfe = (e) => e === "western_identity" ? "h-review-card-tall" : "h-review-card";
+function Zfe(e) {
+ let { category: t, row: n, choice: r, onChoice: i, selected: a, onSelect: o, locked: s, busy: c, problem: l, genreTags: u, onDecide: d, handlers: f } = e, p = (0, R.useRef)(!1), m = zO(), h = zO(), g = t === "metadata_fields", _ = Fs[t] || "", v = String(n.creator || "").trim(), y = !!_ && !!v, b = Gs(t, n), x = Ws(t, n), S = Us(t, n), C = Ks(n), w = qs(n), T = Hs(t, n), E = n.comparison_assets || [], D = n.preview_assets || [], O = String(n.decision || "pending") !== "pending", k = E.length > 1 ? /* @__PURE__ */ (0, z.jsx)("div", {
className: "flex flex-col gap-3",
- children: E.map((e) => /* @__PURE__ */ (0, z.jsx)(xI, {
+ children: E.map((e) => /* @__PURE__ */ (0, z.jsx)(OI, {
asset: e,
openItem: f.openItem
}, e.id))
- }) : y ? /* @__PURE__ */ (0, z.jsx)(Lfe, {
+ }) : y ? /* @__PURE__ */ (0, z.jsx)(Kfe, {
kind: _,
name: v,
works: Number(n.video_count || n.videos || 0),
@@ -45543,14 +45983,14 @@ function Hfe(e) {
has_image: !!n.has_image,
avatar_focus: n.avatar_focus
} : null, null, _)
- }) : n.asset_id ? /* @__PURE__ */ (0, z.jsx)(xI, {
+ }) : n.asset_id ? /* @__PURE__ */ (0, z.jsx)(OI, {
openItem: f.openItem,
asset: {
id: n.asset_id,
name: n.asset_name,
preview_url: n.asset_preview_url
}
- }) : null, A = g ? /* @__PURE__ */ (0, z.jsx)(Nfe, {
+ }) : null, A = g ? /* @__PURE__ */ (0, z.jsx)(Hfe, {
row: n,
fieldName: x,
value: r.candidateKey,
@@ -45559,7 +45999,7 @@ function Hfe(e) {
candidateKey: e
}),
locked: s
- }) : t === "creator_tags" ? D.length ? /* @__PURE__ */ (0, z.jsx)(zfe, {
+ }) : t === "creator_tags" ? D.length ? /* @__PURE__ */ (0, z.jsx)(Jfe, {
assets: D,
picked: r.assets,
locked: s,
@@ -45572,15 +46012,15 @@ function Hfe(e) {
icon: He,
title: "这批作品尚未抽帧",
children: `${n.video_count || ""} 条作品还没有可用预览;批准后仍会按候选写入标签。`
- }) : t === "fc2_similarity" ? null : t === "western_identity" ? /* @__PURE__ */ (0, z.jsx)(Rfe, {
+ }) : t === "fc2_similarity" ? null : t === "western_identity" ? /* @__PURE__ */ (0, z.jsx)(qfe, {
row: n,
openItem: f.openItem,
openEntity: f.openEntity,
onReveal: f.onReveal,
revealing: f.revealing,
note: f.revealNote
- }) : /* @__PURE__ */ (0, z.jsx)(bI, { url: n.preview_url }), j = y ? k : x ? /* @__PURE__ */ (0, z.jsxs)("h4", {
- className: `${SI} flex-wrap gap-2`,
+ }) : /* @__PURE__ */ (0, z.jsx)(DI, { url: n.preview_url }), j = y ? k : x ? /* @__PURE__ */ (0, z.jsxs)("h4", {
+ className: `${kI} flex-wrap gap-2`,
children: [/* @__PURE__ */ (0, z.jsx)(yi, {
variant: "caption",
color: "blue",
@@ -45591,7 +46031,7 @@ function Hfe(e) {
children: S
})]
}) : /* @__PURE__ */ (0, z.jsx)("h4", {
- className: SI,
+ className: kI,
children: /* @__PURE__ */ (0, z.jsx)("span", {
title: b,
className: "min-w-0 truncate text-body-medium text-text-primary",
@@ -45601,20 +46041,20 @@ function Hfe(e) {
return /* @__PURE__ */ (0, z.jsxs)("section", {
"aria-label": b,
"data-review-key": n.item_key,
- className: `${Bfe} ${Vfe(t)} overflow-hidden`,
+ className: `${Yfe} ${Xfe(t)} overflow-hidden`,
children: [
/* @__PURE__ */ (0, z.jsxs)("header", {
className: "flex min-w-0 shrink-0 items-start gap-2",
children: [
s ? null : /* @__PURE__ */ (0, z.jsx)("span", {
- className: `${SI} shrink-0`,
+ className: `${kI} shrink-0`,
onPointerDownCapture: (e) => {
p.current = e.shiftKey;
},
onKeyDownCapture: (e) => {
p.current = e.shiftKey;
},
- children: /* @__PURE__ */ (0, z.jsx)(JO, {
+ children: /* @__PURE__ */ (0, z.jsx)(mk, {
isSelected: a,
"aria-label": `选择 ${b}`,
onChange: (e) => o(p.current, e)
@@ -45658,7 +46098,7 @@ function Hfe(e) {
})
}) : null,
A,
- /* @__PURE__ */ (0, z.jsx)(Ffe, {
+ /* @__PURE__ */ (0, z.jsx)(Wfe, {
row: n,
tags: u,
locked: s,
@@ -45720,8 +46160,8 @@ function Hfe(e) {
}
//#endregion
//#region src/react/review/review-page.tsx
-var Ufe = "flex cursor-pointer items-center justify-between gap-2";
-function Wfe({ page: e, pages: t, onPage: n }) {
+var Qfe = "flex cursor-pointer items-center justify-between gap-2";
+function $fe({ page: e, pages: t, onPage: n }) {
return t <= 1 ? null : /* @__PURE__ */ (0, z.jsxs)("nav", {
"aria-label": "复核分页",
className: "flex w-full flex-wrap items-center justify-between gap-2",
@@ -45758,7 +46198,7 @@ function Wfe({ page: e, pages: t, onPage: n }) {
]
});
}
-function Gfe(e) {
+function epe(e) {
let [t, n] = (0, R.useState)(() => matchMedia("(max-width:900px)").matches);
(0, R.useEffect)(() => {
let e = matchMedia("(max-width:900px)"), t = () => n(e.matches);
@@ -45868,8 +46308,8 @@ function Gfe(e) {
}) : void 0,
children: ve
}) : null,
- /* @__PURE__ */ (0, z.jsx)(Mfe, { tags: ye }),
- /* @__PURE__ */ (0, z.jsxs)(jS, {
+ /* @__PURE__ */ (0, z.jsx)(Vfe, { tags: ye }),
+ /* @__PURE__ */ (0, z.jsxs)(RS, {
orientation: t ? "horizontal" : "vertical",
selectedKey: f,
onSelectionChange: (e) => {
@@ -45883,15 +46323,15 @@ function Gfe(e) {
children: [/* @__PURE__ */ (0, z.jsx)("h2", {
id: "reviewcategories",
children: "复核分类"
- }), /* @__PURE__ */ (0, z.jsx)(NS, {
+ }), /* @__PURE__ */ (0, z.jsx)(BS, {
"aria-labelledby": "reviewcategories",
"data-section-items": !0,
className: "flex review-split:flex-col review-split:items-stretch",
children: Ms.map((e) => {
let t = Number(P.counts[e] || 0);
- return /* @__PURE__ */ (0, z.jsxs)(FS, {
+ return /* @__PURE__ */ (0, z.jsxs)(HS, {
id: e,
- className: Ufe,
+ className: Qfe,
children: [js[e], t ? /* @__PURE__ */ (0, z.jsx)("span", {
className: "tabular-nums text-caption-1-medium text-text-secondary",
children: t.toLocaleString()
@@ -45899,11 +46339,11 @@ function Gfe(e) {
}, e);
})
})]
- }), /* @__PURE__ */ (0, z.jsxs)(IS, {
+ }), /* @__PURE__ */ (0, z.jsxs)(US, {
id: f,
className: "flex min-w-0 flex-1 flex-col gap-5",
children: [
- ee.length && !I ? /* @__PURE__ */ (0, z.jsx)(Afe, {
+ ee.length && !I ? /* @__PURE__ */ (0, z.jsx)(zfe, {
groupOptions: te,
groupBy: ne,
onGroupBy: (e) => {
@@ -45944,7 +46384,7 @@ function Gfe(e) {
})]
}) : null, /* @__PURE__ */ (0, z.jsx)("div", {
className: "review-grid gap-5",
- children: e.rows.map((e) => /* @__PURE__ */ (0, z.jsx)(Hfe, {
+ children: e.rows.map((e) => /* @__PURE__ */ (0, z.jsx)(Zfe, {
category: f,
row: e,
choice: le(e),
@@ -45972,7 +46412,7 @@ function Gfe(e) {
title: "此分类没有待复核项目",
children: "可切换分类查看其他候选。"
}),
- /* @__PURE__ */ (0, z.jsx)(Wfe, {
+ /* @__PURE__ */ (0, z.jsx)($fe, {
page: ae.page,
pages: ae.pages,
onPage: y
@@ -45985,30 +46425,30 @@ function Gfe(e) {
}
//#endregion
//#region src/react/scraping/scraping.ts
-var Kfe = "/api/scraping", qfe = "/api/scraping/settings", Jfe = "/api/scraping/check", CI = "/api/scraping/cover", Yfe = "/api/scraping/amane-bridge", Xfe = "/api/scraping/amane-bridge/check", Zfe = "/api/scraping/amane-bridge/rebuild", wI = ["scraping"], TI = ["scraping", "cover"], EI = ["scraping", "amane-bridge"], DI = (e) => wi(Kfe, e), OI = (e) => wi(CI, e), kI = (e) => wi(Yfe, e);
-async function Qfe(e) {
+var tpe = "/api/scraping", npe = "/api/scraping/settings", rpe = "/api/scraping/check", AI = "/api/scraping/cover", ipe = "/api/scraping/amane-bridge", ape = "/api/scraping/amane-bridge/check", ope = "/api/scraping/amane-bridge/rebuild", jI = ["scraping"], MI = ["scraping", "cover"], NI = ["scraping", "amane-bridge"], PI = (e) => wi(tpe, e), FI = (e) => wi(AI, e), II = (e) => wi(ipe, e);
+async function spe(e) {
await Promise.all([
q.fetchQuery({
- queryKey: wI,
- queryFn: () => DI(e)
+ queryKey: jI,
+ queryFn: () => PI(e)
}),
q.fetchQuery({
- queryKey: TI,
- queryFn: () => OI(e)
+ queryKey: MI,
+ queryFn: () => FI(e)
}),
q.fetchQuery({
- queryKey: EI,
- queryFn: () => kI(e)
+ queryKey: NI,
+ queryFn: () => II(e)
})
]);
}
-function $fe(e, t) {
+function cpe(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 epe = [["peach", "Peach 代理"], ["direct", "直接连接"]], AI = [["paste", "粘贴 Cookie"], ["file", "导入文件"]];
-function jI({ source: e }) {
+var lpe = [["peach", "Peach 代理"], ["direct", "直接连接"]], LI = [["paste", "粘贴 Cookie"], ["file", "导入文件"]];
+function RI({ source: e }) {
let t = [
"javten",
"fc2ppvdb",
@@ -46025,16 +46465,16 @@ function jI({ source: e }) {
className: "size-4 shrink-0 rounded-sm object-contain"
});
}
-function tpe() {
- return /* @__PURE__ */ (0, z.jsx)(jI, { source: "github" });
+function upe() {
+ return /* @__PURE__ */ (0, z.jsx)(RI, { source: "github" });
}
-function npe({ source: e, toast: t }) {
- let [n, r] = (0, R.useState)(e.network), [i, a] = (0, R.useState)(""), [o, s] = (0, R.useState)(""), [c, l] = (0, R.useState)(AI[0][0]), [u, d] = (0, R.useState)(""), [f, p] = (0, R.useState)(""), m = (0, R.useRef)(null);
+function dpe({ source: e, toast: t }) {
+ let [n, r] = (0, R.useState)(e.network), [i, a] = (0, R.useState)(""), [o, s] = (0, R.useState)(""), [c, l] = (0, R.useState)(LI[0][0]), [u, d] = (0, R.useState)(""), [f, p] = (0, R.useState)(""), m = (0, R.useRef)(null);
function h() {
a(""), s(""), d(""), p(""), m.current && (m.current.value = "");
}
let g = Pn({
- mutationFn: (t) => W(qfe, {
+ mutationFn: (t) => W(npe, {
source: e.source,
network: n,
cookie: i,
@@ -46042,12 +46482,12 @@ function npe({ source: e, toast: t }) {
revoke: t
}),
onSuccess: (e, n) => {
- q.setQueryData(wI, (t) => t && {
+ q.setQueryData(jI, (t) => t && {
...t,
sources: t.sources.map((t) => t.source === e.saved.source ? e.saved : t)
}), h(), t(n ? "Cookie 已撤销" : "来源设置已保存");
}
- }), _ = Pn({ mutationFn: () => W(Jfe, { source: e.source }) }), v = g.isPending || _.isPending, y = (e) => {
+ }), _ = Pn({ mutationFn: () => W(rpe, { source: e.source }) }), v = g.isPending || _.isPending, y = (e) => {
e.preventDefault(), !v && (_.reset(), g.mutate(!1));
}, b = () => {
v || (_.reset(), g.mutate(!0));
@@ -46072,37 +46512,37 @@ function npe({ source: e, toast: t }) {
}
}
let C = f || (g.error ? U(g.error) : "") || (_.error ? U(_.error) : ""), w = _.data?.results ?? [], T = n === "peach" || e.accepts_cookie || e.browser || !!C || w.length > 0;
- return /* @__PURE__ */ (0, z.jsxs)(TO, {
+ return /* @__PURE__ */ (0, z.jsxs)(KO, {
title: e.label,
onSubmit: y,
aside: /* @__PURE__ */ (0, z.jsxs)("span", {
className: "flex min-w-0 items-center gap-1",
- children: [/* @__PURE__ */ (0, z.jsx)(jI, { source: e.source }), /* @__PURE__ */ (0, z.jsx)(MO, {
+ children: [/* @__PURE__ */ (0, z.jsx)(RI, { source: e.source }), /* @__PURE__ */ (0, z.jsx)($O, {
href: e.login,
children: e.login
})]
}),
children: [
- /* @__PURE__ */ (0, z.jsx)(EO, { children: /* @__PURE__ */ (0, z.jsx)(wO, {
+ /* @__PURE__ */ (0, z.jsx)(qO, { children: /* @__PURE__ */ (0, z.jsx)(GO, {
label: "连接方式",
- children: /* @__PURE__ */ (0, z.jsx)(BO, {
+ children: /* @__PURE__ */ (0, z.jsx)(sk, {
"aria-label": "连接方式",
selectedKey: n,
onSelectionChange: (e) => {
e !== null && r(String(e));
},
- children: epe.map(([e, t]) => /* @__PURE__ */ (0, z.jsx)(VO, {
+ children: lpe.map(([e, t]) => /* @__PURE__ */ (0, z.jsx)(ck, {
id: e,
children: t
}, e))
})
}) }),
- T ? /* @__PURE__ */ (0, z.jsxs)(DO, {
+ T ? /* @__PURE__ */ (0, z.jsxs)(JO, {
divided: !0,
children: [
n === "peach" ? /* @__PURE__ */ (0, z.jsx)("span", {
className: "self-start",
- children: /* @__PURE__ */ (0, z.jsx)(lO, {
+ children: /* @__PURE__ */ (0, z.jsx)(AO, {
href: "/configuration#peachProxy",
size: "small",
trailingIcon: Te,
@@ -46118,20 +46558,20 @@ function npe({ source: e, toast: t }) {
className: "text-body-2-regular text-text-secondary",
children: e.cookie_saved ? "Cookie 已保存;登录是否有效要到抓取时才知道。" : "需要登录时,任选一种方式提供 Cookie。"
}),
- /* @__PURE__ */ (0, z.jsx)(rA, {
+ /* @__PURE__ */ (0, z.jsx)(mA, {
"aria-label": "提供 Cookie 的方式(二选一)",
value: c,
onChange: (e) => {
l(e), h();
},
- className: iA,
- children: AI.map(([e, t]) => /* @__PURE__ */ (0, z.jsx)(nx, {
+ className: hA,
+ children: LI.map(([e, t]) => /* @__PURE__ */ (0, z.jsx)(rx, {
value: e,
- className: aA,
+ className: gA,
children: t
}, e))
}),
- c === "paste" ? /* @__PURE__ */ (0, z.jsx)(ck, {
+ c === "paste" ? /* @__PURE__ */ (0, z.jsx)(Ek, {
type: "password",
label: "Cookie",
autoComplete: "off",
@@ -46140,7 +46580,7 @@ function npe({ source: e, toast: t }) {
}) : /* @__PURE__ */ (0, z.jsxs)("div", {
className: "flex flex-col gap-2",
children: [
- /* @__PURE__ */ (0, z.jsx)(jO, { children: "Netscape Cookie 文件(.txt)" }),
+ /* @__PURE__ */ (0, z.jsx)(QO, { children: "Netscape Cookie 文件(.txt)" }),
/* @__PURE__ */ (0, z.jsxs)("div", {
className: "flex flex-wrap items-center gap-3",
children: [/* @__PURE__ */ (0, z.jsx)(H, {
@@ -46166,14 +46606,14 @@ function npe({ source: e, toast: t }) {
]
})
] }) : null,
- C ? /* @__PURE__ */ (0, z.jsx)(AO, { children: C }) : null,
+ C ? /* @__PURE__ */ (0, z.jsx)(ZO, { children: C }) : null,
w.map((t) => /* @__PURE__ */ (0, z.jsx)(G, {
tone: t.ok ? "success" : "error",
- children: $fe(t, e.label)
+ children: cpe(t, e.label)
}, t.label))
]
}) : null,
- /* @__PURE__ */ (0, z.jsxs)(OO, { children: [
+ /* @__PURE__ */ (0, z.jsxs)(YO, { children: [
e.accepts_cookie && e.cookie_saved ? /* @__PURE__ */ (0, z.jsx)(H, {
variant: "secondary",
onClick: b,
@@ -46195,26 +46635,26 @@ function npe({ source: e, toast: t }) {
]
});
}
-function rpe({ toast: e }) {
- let [t, n] = (0, R.useState)(""), { running: r, outcome: i, start: a } = WO({
- queryKey: TI,
- queryFn: ({ signal: e }) => OI(e),
- start: () => W(CI, { code: t }),
+function fpe({ toast: e }) {
+ let [t, n] = (0, R.useState)(""), { running: r, outcome: i, start: a } = uk({
+ queryKey: MI,
+ queryFn: ({ signal: e }) => FI(e),
+ start: () => W(AI, { code: t }),
onFinish: (t) => {
t.status === "complete" && e(t.result || "封面采集完成");
}
}), o = (e) => {
e.preventDefault(), !(r || a.isPending || !t.trim()) && a.mutate();
}, s = a.error ? U(a.error) : i?.status === "failed" ? i.error || "采集未取得" : "";
- return /* @__PURE__ */ (0, z.jsx)(TO, {
+ return /* @__PURE__ */ (0, z.jsx)(KO, {
title: "高清封面",
onSubmit: o,
- children: /* @__PURE__ */ (0, z.jsxs)(DO, { children: [
+ children: /* @__PURE__ */ (0, z.jsxs)(JO, { children: [
/* @__PURE__ */ (0, z.jsxs)("div", {
className: "flex flex-wrap items-end gap-2",
children: [/* @__PURE__ */ (0, z.jsx)("div", {
className: "min-w-0 flex-1",
- children: /* @__PURE__ */ (0, z.jsx)(ck, {
+ children: /* @__PURE__ */ (0, z.jsx)(Ek, {
"aria-label": "馆藏番号",
isRequired: !0,
isDisabled: r,
@@ -46241,11 +46681,11 @@ function rpe({ toast: e }) {
] })
});
}
-function ipe({ toast: e }) {
- let { query: t, running: n, outcome: r, start: i } = WO({
- queryKey: EI,
- queryFn: ({ signal: e }) => kI(e),
- start: () => W(Zfe, {}),
+function ppe({ toast: e }) {
+ let { query: t, running: n, outcome: r, start: i } = uk({
+ queryKey: NI,
+ queryFn: ({ signal: e }) => II(e),
+ start: () => W(ope, {}),
jobOf: (e) => e.job,
withJob: (e, t) => e && {
...e,
@@ -46254,45 +46694,45 @@ function ipe({ toast: e }) {
onFinish: (t) => {
t.status === "complete" && e(t.result || "amane 桥已重建");
}
- }), a = Pn({ mutationFn: () => W(Xfe, {}) }), o = t.data;
- if (!o) return t.error ? /* @__PURE__ */ (0, z.jsx)(TO, {
+ }), a = Pn({ mutationFn: () => W(ape, {}) }), o = t.data;
+ if (!o) return t.error ? /* @__PURE__ */ (0, z.jsx)(KO, {
title: "amane",
- children: /* @__PURE__ */ (0, z.jsx)(DO, { children: /* @__PURE__ */ (0, z.jsx)(G, {
+ children: /* @__PURE__ */ (0, z.jsx)(JO, { children: /* @__PURE__ */ (0, z.jsx)(G, {
tone: "error",
children: U(t.error)
}) })
}) : null;
let s = n || i.isPending || a.isPending, c = i.error ? U(i.error) : a.error ? U(a.error) : r?.status === "failed" ? r.error || "重建未完成" : "";
- return /* @__PURE__ */ (0, z.jsxs)(TO, {
+ return /* @__PURE__ */ (0, z.jsxs)(KO, {
title: "amane",
- aside: /* @__PURE__ */ (0, z.jsx)(MO, {
+ aside: /* @__PURE__ */ (0, z.jsx)($O, {
href: o.repository,
- leadingIcon: tpe,
+ leadingIcon: upe,
children: o.repository
}),
children: [
- /* @__PURE__ */ (0, z.jsxs)(NO, { children: [
- /* @__PURE__ */ (0, z.jsx)(PO, {
+ /* @__PURE__ */ (0, z.jsxs)(ek, { children: [
+ /* @__PURE__ */ (0, z.jsx)(tk, {
term: "已安装版本",
children: o.installed_version || "未安装"
}),
- /* @__PURE__ */ (0, z.jsx)(PO, {
+ /* @__PURE__ */ (0, z.jsx)(tk, {
term: "上游最新版本",
children: a.data?.latest ?? "尚未检查"
}),
- /* @__PURE__ */ (0, z.jsx)(PO, {
+ /* @__PURE__ */ (0, z.jsx)(tk, {
term: "运行环境",
children: o.installed ? "已安装" : "未安装"
}),
- /* @__PURE__ */ (0, z.jsx)(PO, {
+ /* @__PURE__ */ (0, z.jsx)(tk, {
term: "内置站点",
children: o.sites.map((e) => e.label).join("、")
})
] }),
- /* @__PURE__ */ (0, z.jsxs)(DO, {
+ /* @__PURE__ */ (0, z.jsxs)(JO, {
divided: !0,
children: [
- /* @__PURE__ */ (0, z.jsxs)(kO, { children: [
+ /* @__PURE__ */ (0, z.jsxs)(XO, { children: [
"已安装版本:",
o.installed_version || "未安装",
"。amane(",
@@ -46312,7 +46752,7 @@ function ipe({ toast: e }) {
}) : null
]
}),
- /* @__PURE__ */ (0, z.jsxs)(OO, { children: [/* @__PURE__ */ (0, z.jsx)(H, {
+ /* @__PURE__ */ (0, z.jsxs)(YO, { children: [/* @__PURE__ */ (0, z.jsx)(H, {
variant: "secondary",
onClick: () => {
s || a.mutate();
@@ -46329,22 +46769,22 @@ function ipe({ toast: e }) {
]
});
}
-function ape({ toast: e }) {
+function mpe({ toast: e }) {
let t = Nn({
- queryKey: wI,
- queryFn: ({ signal: e }) => DI(e)
+ queryKey: jI,
+ queryFn: ({ signal: e }) => PI(e)
}), n = t.data;
return n ? /* @__PURE__ */ (0, z.jsxs)(Ii, { children: [
/* @__PURE__ */ (0, z.jsx)("p", {
className: "text-body-2-regular text-text-secondary",
children: "高清图片可能要经代理才能下载,先检查连接。"
}),
- /* @__PURE__ */ (0, z.jsx)(rpe, { toast: e }),
- (n.sources || []).map((t) => /* @__PURE__ */ (0, z.jsx)(npe, {
+ /* @__PURE__ */ (0, z.jsx)(fpe, { toast: e }),
+ (n.sources || []).map((t) => /* @__PURE__ */ (0, z.jsx)(dpe, {
source: t,
toast: e
}, t.source)),
- /* @__PURE__ */ (0, z.jsx)(ipe, { toast: e })
+ /* @__PURE__ */ (0, z.jsx)(ppe, { toast: e })
] }) : /* @__PURE__ */ (0, z.jsx)(Ii, { children: /* @__PURE__ */ (0, z.jsx)(G, {
tone: "error",
title: "采集来源读取失败",
@@ -46353,24 +46793,24 @@ function ape({ toast: e }) {
}
//#endregion
//#region src/configuration-endpoints.ts
-var MI = "/api/configuration", ope = "/api/pick-folder", NI = ["configuration"], PI = (e) => wi(MI, e);
-async function FI(e) {
+var zI = "/api/configuration", hpe = "/api/pick-folder", BI = ["configuration"], VI = (e) => wi(zI, e);
+async function HI(e) {
await q.fetchQuery({
- queryKey: NI,
- queryFn: () => PI(e)
+ queryKey: BI,
+ queryFn: () => VI(e)
});
}
//#endregion
//#region src/configuration-copy.ts
-var spe = "JavDB 或 MISSAV 无法访问时,可填写能访问的镜像域名,Peach 会保留人物页路径。 资料页只显示已有站点身份记录的入口;JavDB 和 MISSAV 还要求有 JAV 目录站记录。 缺少这些记录的 FC2 创作者不会显示这两个入口。", cpe = "仅填域名;留空使用默认地址";
+var gpe = "JavDB 或 MISSAV 无法访问时,可填写能访问的镜像域名,Peach 会保留人物页路径。 资料页只显示已有站点身份记录的入口;JavDB 和 MISSAV 还要求有 JAV 目录站记录。 缺少这些记录的 FC2 创作者不会显示这两个入口。", _pe = "仅填域名;留空使用默认地址";
//#endregion
//#region src/react/settings/entry-links-settings.tsx
-function lpe({ initial: e, receipt: t }) {
+function vpe({ initial: e, receipt: t }) {
let [n, r] = (0, R.useState)(e.sites), i = Bi(), a = (e, t) => r((n) => n.map((n) => n.key === e ? {
...n,
host: t
} : n));
- return /* @__PURE__ */ (0, z.jsxs)(TO, {
+ return /* @__PURE__ */ (0, z.jsxs)(KO, {
title: "外部入口",
onSubmit: (e) => {
e.preventDefault();
@@ -46379,9 +46819,9 @@ function lpe({ initial: e, receipt: t }) {
r(e.sites), t("已保存配置");
});
},
- children: [/* @__PURE__ */ (0, z.jsxs)(DO, { children: [
- /* @__PURE__ */ (0, z.jsx)(kO, { children: spe }),
- n.map((e) => /* @__PURE__ */ (0, z.jsx)(ck, {
+ children: [/* @__PURE__ */ (0, z.jsxs)(JO, { children: [
+ /* @__PURE__ */ (0, z.jsx)(XO, { children: gpe }),
+ n.map((e) => /* @__PURE__ */ (0, z.jsx)(Ek, {
id: `entry-link-${e.key}`,
label: `${e.label} 地址`,
autoComplete: "off",
@@ -46390,10 +46830,10 @@ function lpe({ initial: e, receipt: t }) {
placeholder: e.default_host,
onChange: (t) => a(e.key, t),
validationBehavior: "aria",
- hint: cpe
+ hint: _pe
}, e.key)),
- i.error ? /* @__PURE__ */ (0, z.jsx)(AO, { children: i.error }) : null
- ] }), /* @__PURE__ */ (0, z.jsx)(OO, { children: /* @__PURE__ */ (0, z.jsx)(H, {
+ i.error ? /* @__PURE__ */ (0, z.jsx)(ZO, { children: i.error }) : null
+ ] }), /* @__PURE__ */ (0, z.jsx)(YO, { children: /* @__PURE__ */ (0, z.jsx)(H, {
type: "submit",
...K(i.busy === "save"),
children: "保存配置"
@@ -46402,21 +46842,21 @@ function lpe({ initial: e, receipt: t }) {
}
//#endregion
//#region src/react/settings/general-settings.tsx
-function upe({ data: e, receipt: t }) {
+function ype({ data: e, receipt: t }) {
return /* @__PURE__ */ (0, z.jsxs)("div", {
className: "flex flex-col gap-6",
- children: [e.startup ? /* @__PURE__ */ (0, z.jsx)(dpe, {
+ children: [e.startup ? /* @__PURE__ */ (0, z.jsx)(bpe, {
startup: e.startup,
receipt: t
- }) : null, e.entry_links ? /* @__PURE__ */ (0, z.jsx)(lpe, {
+ }) : null, e.entry_links ? /* @__PURE__ */ (0, z.jsx)(vpe, {
initial: e.entry_links,
receipt: t
}) : null]
});
}
-function dpe({ startup: e, receipt: t }) {
+function bpe({ startup: e, receipt: t }) {
let [n, r] = (0, R.useState)(e.enabled), [i, a] = (0, R.useState)(e.silent), [o, s] = (0, R.useState)(e.desktop), c = Bi(), l = e.available && !e.desktop_message;
- return /* @__PURE__ */ (0, z.jsxs)(TO, {
+ return /* @__PURE__ */ (0, z.jsxs)(KO, {
title: "开机自启",
onSubmit: (r) => {
r.preventDefault(), e.available && c.run("save", (e) => W("/api/configuration/startup", {
@@ -46426,30 +46866,30 @@ function dpe({ startup: e, receipt: t }) {
}, "POST", e), () => t("已保存配置"));
},
children: [
- /* @__PURE__ */ (0, z.jsxs)(EO, { children: [
- /* @__PURE__ */ (0, z.jsx)(wO, {
+ /* @__PURE__ */ (0, z.jsxs)(qO, { children: [
+ /* @__PURE__ */ (0, z.jsx)(GO, {
label: "开机后启动 Peach",
- children: /* @__PURE__ */ (0, z.jsx)(FN, {
+ children: /* @__PURE__ */ (0, z.jsx)(VP, {
"aria-label": "开机后启动 Peach",
isSelected: n,
isDisabled: !e.available,
onChange: r
})
}),
- /* @__PURE__ */ (0, z.jsx)(wO, {
+ /* @__PURE__ */ (0, z.jsx)(GO, {
label: "静默启动",
description: "开机后只显示托盘图标,不打开网页;「开机后启动 Peach」打开时生效。",
- children: /* @__PURE__ */ (0, z.jsx)(FN, {
+ children: /* @__PURE__ */ (0, z.jsx)(VP, {
"aria-label": "静默启动",
isSelected: i,
isDisabled: !e.available || !n,
onChange: a
})
}),
- /* @__PURE__ */ (0, z.jsx)(wO, {
+ /* @__PURE__ */ (0, z.jsx)(GO, {
label: "在桌面创建快捷方式",
description: e.desktop_message || "双击图标打开 Peach 网页;卸载时一并移除。",
- children: /* @__PURE__ */ (0, z.jsx)(FN, {
+ children: /* @__PURE__ */ (0, z.jsx)(VP, {
"aria-label": "在桌面创建快捷方式",
isSelected: o,
isDisabled: !l,
@@ -46457,11 +46897,11 @@ function dpe({ startup: e, receipt: t }) {
})
})
] }),
- e.message || c.error ? /* @__PURE__ */ (0, z.jsxs)(DO, {
+ e.message || c.error ? /* @__PURE__ */ (0, z.jsxs)(JO, {
divided: !0,
- children: [e.message ? /* @__PURE__ */ (0, z.jsx)(kO, { children: e.message }) : null, c.error ? /* @__PURE__ */ (0, z.jsx)(AO, { children: c.error }) : null]
+ children: [e.message ? /* @__PURE__ */ (0, z.jsx)(XO, { children: e.message }) : null, c.error ? /* @__PURE__ */ (0, z.jsx)(ZO, { children: c.error }) : null]
}) : null,
- /* @__PURE__ */ (0, z.jsx)(OO, { children: /* @__PURE__ */ (0, z.jsx)(H, {
+ /* @__PURE__ */ (0, z.jsx)(YO, { children: /* @__PURE__ */ (0, z.jsx)(H, {
type: "submit",
disabled: !e.available,
...K(c.busy === "save"),
@@ -46472,23 +46912,23 @@ function dpe({ startup: e, receipt: t }) {
}
//#endregion
//#region src/react/settings/release-updates.tsx
-var II = /* @__PURE__ */ new Set([
+var UI = /* @__PURE__ */ new Set([
"downloading",
"verifying",
"extracting",
"preparing",
"restarting",
"installing"
-]), fpe = [
+]), xpe = [
65,
67,
90
-], LI = 120;
-function ppe({ initial: e, initialJob: t }) {
+], WI = 120;
+function Spe({ initial: e, initialJob: t }) {
let [n, r] = (0, R.useState)(e), [i, a] = (0, R.useState)(t || {
state: "idle",
progress: 0
- }), [o, s] = (0, R.useState)(""), c = Bi(), l = (0, R.useRef)(!1), u = (0, R.useRef)(!0), d = II.has(i.state);
+ }), [o, s] = (0, R.useState)(""), c = Bi(), l = (0, R.useRef)(!1), u = (0, R.useRef)(!0), d = UI.has(i.state);
(0, R.useEffect)(() => (u.current = !0, () => {
u.current = !1;
}), []);
@@ -46505,7 +46945,7 @@ function ppe({ initial: e, initialJob: t }) {
(0, R.useEffect)(() => {
i.state !== "ready" || l.current || (l.current = !0, p());
}, [i.state]), (0, R.useEffect)(() => {
- let e = new AbortController(), t = II.has(i.state) ? 1e3 : 3e4, n, o = 0, c = async () => {
+ let e = new AbortController(), t = UI.has(i.state) ? 1e3 : 3e4, n, o = 0, c = async () => {
try {
let t = await wi("/api/configuration/update-status", e.signal);
if (e.signal.aborted) return;
@@ -46518,9 +46958,9 @@ function ppe({ initial: e, initialJob: t }) {
let n = await wi("/api/configuration/automatic-updates", e.signal);
!e.signal.aborted && n.result && r(n.result);
} catch {
- o += 1, o >= LI && !e.signal.aborted && s("尚未连接到 Peach,请检查托盘后刷新页面。");
+ o += 1, o >= WI && !e.signal.aborted && s("尚未连接到 Peach,请检查托盘后刷新页面。");
}
- !e.signal.aborted && o < LI && (n = setTimeout(c, t));
+ !e.signal.aborted && o < WI && (n = setTimeout(c, t));
};
return n = setTimeout(c, t), () => {
e.abort(), clearTimeout(n);
@@ -46534,40 +46974,40 @@ function ppe({ initial: e, initialJob: t }) {
state: "error"
}), c.setError(U(t));
}), g = c.error || o, _ = i.state === "downloading" && i.total ? `${((i.downloaded || 0) / 1048576).toFixed(1)} / ${(i.total / 1048576).toFixed(1)} MB` : `${i.progress}%`;
- return /* @__PURE__ */ (0, z.jsxs)(TO, {
+ return /* @__PURE__ */ (0, z.jsxs)(KO, {
title: "检查更新",
children: [
- /* @__PURE__ */ (0, z.jsxs)(NO, { children: [
- /* @__PURE__ */ (0, z.jsx)(PO, {
+ /* @__PURE__ */ (0, z.jsxs)(ek, { children: [
+ /* @__PURE__ */ (0, z.jsx)(tk, {
term: "当前版本",
children: n.current_version
}),
- /* @__PURE__ */ (0, z.jsx)(PO, {
+ /* @__PURE__ */ (0, z.jsx)(tk, {
term: "安装方式",
children: n.installation
}),
- /* @__PURE__ */ (0, z.jsx)(PO, {
+ /* @__PURE__ */ (0, z.jsx)(tk, {
term: "更新通道",
children: n.channel
}),
- /* @__PURE__ */ (0, z.jsx)(PO, {
+ /* @__PURE__ */ (0, z.jsx)(tk, {
term: "最新版本",
children: n.latest_version || (n.state === "unchecked" ? "尚未检查" : "未取得")
})
] }),
- /* @__PURE__ */ (0, z.jsxs)(DO, {
+ /* @__PURE__ */ (0, z.jsxs)(JO, {
divided: !0,
children: [
- n.checked_at ? /* @__PURE__ */ (0, z.jsxs)(kO, { children: ["检查于 ", (/* @__PURE__ */ new Date(n.checked_at * 1e3)).toLocaleString()] }) : null,
+ n.checked_at ? /* @__PURE__ */ (0, z.jsxs)(XO, { children: ["检查于 ", (/* @__PURE__ */ new Date(n.checked_at * 1e3)).toLocaleString()] }) : null,
n.state === "available" && !g ? /* @__PURE__ */ (0, z.jsx)(G, {
tone: "info",
title: "有可用更新",
children: n.message
- }) : g || n.state === "error" ? /* @__PURE__ */ (0, z.jsx)(AO, { children: g || n.message }) : /* @__PURE__ */ (0, z.jsx)(kO, {
+ }) : g || n.state === "error" ? /* @__PURE__ */ (0, z.jsx)(ZO, { children: g || n.message }) : /* @__PURE__ */ (0, z.jsx)(XO, {
role: "status",
children: n.message
}),
- i.state === "error" ? /* @__PURE__ */ (0, z.jsx)(AO, { children: i.message }) : null,
+ i.state === "error" ? /* @__PURE__ */ (0, z.jsx)(ZO, { children: i.message }) : null,
i.state !== "idle" && i.state !== "error" ? /* @__PURE__ */ (0, z.jsxs)("div", {
"aria-live": "polite",
className: "flex flex-col gap-2",
@@ -46575,16 +47015,16 @@ function ppe({ initial: e, initialJob: t }) {
/* @__PURE__ */ (0, z.jsx)(zi, {
label: "更新准备进度",
value: i.progress,
- stops: fpe
+ stops: xpe
}),
- /* @__PURE__ */ (0, z.jsxs)(kO, { children: ["下载 → 校验 → 解压 → 准备安装 · ", i.message] }),
- /* @__PURE__ */ (0, z.jsx)(kO, { children: _ })
+ /* @__PURE__ */ (0, z.jsxs)(XO, { children: ["下载 → 校验 → 解压 → 准备安装 · ", i.message] }),
+ /* @__PURE__ */ (0, z.jsx)(XO, { children: _ })
]
}) : null
]
}),
- /* @__PURE__ */ (0, z.jsxs)(OO, {
- status: /* @__PURE__ */ (0, z.jsx)(MO, {
+ /* @__PURE__ */ (0, z.jsxs)(YO, {
+ status: /* @__PURE__ */ (0, z.jsx)($O, {
href: n.release_url,
children: "查看发布页"
}),
@@ -46611,98 +47051,98 @@ function ppe({ initial: e, initialJob: t }) {
}
//#endregion
//#region src/react/settings/maintenance-settings.tsx
-var mpe = [
+var Cpe = [
["6", "每 6 小时"],
["24", "每天"],
["168", "每周"]
];
-function hpe({ data: e, receipt: t, reopenTutorial: n }) {
+function wpe({ data: e, receipt: t, reopenTutorial: n }) {
return /* @__PURE__ */ (0, z.jsxs)("div", {
className: "flex flex-col gap-6",
children: [
- e.automatic_updates ? /* @__PURE__ */ (0, z.jsx)(_pe, {
+ e.automatic_updates ? /* @__PURE__ */ (0, z.jsx)(Epe, {
initial: e.automatic_updates,
receipt: t
}) : null,
- e.updates ? /* @__PURE__ */ (0, z.jsx)(ppe, {
+ e.updates ? /* @__PURE__ */ (0, z.jsx)(Spe, {
initial: e.updates,
initialJob: e.update_job
}) : null,
- /* @__PURE__ */ (0, z.jsx)(vpe, { facts: e.facts }),
- /* @__PURE__ */ (0, z.jsx)(gpe, {
+ /* @__PURE__ */ (0, z.jsx)(Dpe, { facts: e.facts }),
+ /* @__PURE__ */ (0, z.jsx)(Tpe, {
receipt: t,
reopenTutorial: n
}),
- e.uninstall ? /* @__PURE__ */ (0, z.jsx)(ype, {
+ e.uninstall ? /* @__PURE__ */ (0, z.jsx)(Ope, {
uninstall: e.uninstall,
receipt: t
}) : null
]
});
}
-function gpe({ receipt: e, reopenTutorial: t }) {
+function Tpe({ receipt: e, reopenTutorial: t }) {
let n = Bi();
- return /* @__PURE__ */ (0, z.jsxs)(TO, {
+ return /* @__PURE__ */ (0, z.jsxs)(KO, {
title: "安装教程",
- children: [/* @__PURE__ */ (0, z.jsxs)(DO, { children: [/* @__PURE__ */ (0, z.jsx)(kO, { children: "重新显示已关闭或跳过的安装步骤,保留已完成的记录。" }), n.error ? /* @__PURE__ */ (0, z.jsx)(AO, { children: n.error }) : null] }), /* @__PURE__ */ (0, z.jsx)(OO, { children: /* @__PURE__ */ (0, z.jsx)(H, {
+ children: [/* @__PURE__ */ (0, z.jsxs)(JO, { children: [/* @__PURE__ */ (0, z.jsx)(XO, { children: "重新显示已关闭或跳过的安装步骤,保留已完成的记录。" }), n.error ? /* @__PURE__ */ (0, z.jsx)(ZO, { children: n.error }) : null] }), /* @__PURE__ */ (0, z.jsx)(YO, { children: /* @__PURE__ */ (0, z.jsx)(H, {
onClick: () => void n.run("reopen", () => t(), () => e("已重新打开安装教程")),
...K(n.busy === "reopen"),
children: "重新打开教程"
}) })]
});
}
-function _pe({ initial: e, receipt: t }) {
+function Epe({ initial: e, receipt: t }) {
let [n, r] = (0, R.useState)(e.mode), [i, a] = (0, R.useState)(e.interval_hours), o = Bi(e.error), s = (r) => {
r.preventDefault(), e.available && o.run("save", (e) => W("/api/configuration/automatic-updates", {
mode: n,
interval_hours: i
}, "POST", e), () => t("已保存配置"));
}, c = e.available ? e.download_available ? "开启后一分钟内开始检查。下载完成后,在此确认重启安装。" : "开启后一分钟内开始检查。源码运行时在发布页获取新版本。" : "自动更新需要由托盘管理的服务。";
- return /* @__PURE__ */ (0, z.jsxs)(TO, {
+ return /* @__PURE__ */ (0, z.jsxs)(KO, {
title: "自动更新",
onSubmit: s,
children: [
- /* @__PURE__ */ (0, z.jsxs)(EO, { children: [
- /* @__PURE__ */ (0, z.jsx)(wO, {
+ /* @__PURE__ */ (0, z.jsxs)(qO, { children: [
+ /* @__PURE__ */ (0, z.jsx)(GO, {
label: "自动检查新版本",
- children: /* @__PURE__ */ (0, z.jsx)(FN, {
+ children: /* @__PURE__ */ (0, z.jsx)(VP, {
"aria-label": "自动检查新版本",
isSelected: n !== "off",
isDisabled: !e.available,
onChange: (e) => r(e ? "check" : "off")
})
}),
- /* @__PURE__ */ (0, z.jsx)(wO, {
+ /* @__PURE__ */ (0, z.jsx)(GO, {
label: "自动下载更新",
- children: /* @__PURE__ */ (0, z.jsx)(FN, {
+ children: /* @__PURE__ */ (0, z.jsx)(VP, {
"aria-label": "自动下载更新",
isSelected: n === "download",
isDisabled: !e.available || !e.download_available || n === "off",
onChange: (e) => r(e ? "download" : "check")
})
}),
- /* @__PURE__ */ (0, z.jsx)(wO, {
+ /* @__PURE__ */ (0, z.jsx)(GO, {
label: "检查频率",
description: c,
- children: /* @__PURE__ */ (0, z.jsx)(BO, {
+ children: /* @__PURE__ */ (0, z.jsx)(sk, {
"aria-label": "检查频率",
selectedKey: String(i),
isDisabled: !e.available,
onSelectionChange: (e) => {
e !== null && a(Number(e));
},
- children: mpe.map(([e, t]) => /* @__PURE__ */ (0, z.jsx)(VO, {
+ children: Cpe.map(([e, t]) => /* @__PURE__ */ (0, z.jsx)(ck, {
id: e,
children: t
}, e))
})
})
] }),
- o.error ? /* @__PURE__ */ (0, z.jsx)(DO, {
+ o.error ? /* @__PURE__ */ (0, z.jsx)(JO, {
divided: !0,
- children: /* @__PURE__ */ (0, z.jsx)(AO, { children: o.error })
+ children: /* @__PURE__ */ (0, z.jsx)(ZO, { children: o.error })
}) : null,
- /* @__PURE__ */ (0, z.jsx)(OO, { children: /* @__PURE__ */ (0, z.jsx)(H, {
+ /* @__PURE__ */ (0, z.jsx)(YO, { children: /* @__PURE__ */ (0, z.jsx)(H, {
type: "submit",
disabled: !e.available,
...K(o.busy === "save"),
@@ -46711,19 +47151,19 @@ function _pe({ initial: e, receipt: t }) {
]
});
}
-function vpe({ facts: e }) {
- return /* @__PURE__ */ (0, z.jsx)(TO, {
+function Dpe({ facts: e }) {
+ return /* @__PURE__ */ (0, z.jsx)(KO, {
title: "运行信息",
- children: /* @__PURE__ */ (0, z.jsx)(NO, { children: e.map((e) => /* @__PURE__ */ (0, z.jsxs)(PO, {
+ children: /* @__PURE__ */ (0, z.jsx)(ek, { children: e.map((e) => /* @__PURE__ */ (0, z.jsxs)(tk, {
term: e.term,
- children: [e.value, e.download_url ? /* @__PURE__ */ (0, z.jsx)(MO, {
+ children: [e.value, e.download_url ? /* @__PURE__ */ (0, z.jsx)($O, {
href: e.download_url,
children: e.download_label
}) : null]
}, e.term)) })
});
}
-function ype({ uninstall: e, receipt: t }) {
+function Ope({ uninstall: e, receipt: t }) {
let [n, r] = (0, R.useState)(!1), [i, a] = (0, R.useState)(""), o = () => void y({
title: "卸载 Peach",
danger: !0,
@@ -46737,26 +47177,26 @@ function ype({ uninstall: e, receipt: t }) {
a(e.message);
}
}), s = i || e.message, c = [.../* @__PURE__ */ new Set([e.data_root, ...e.directories])];
- return /* @__PURE__ */ (0, z.jsxs)(TO, {
+ return /* @__PURE__ */ (0, z.jsxs)(KO, {
id: "uninstallPeach",
title: "卸载 Peach",
- children: [/* @__PURE__ */ (0, z.jsxs)(DO, { children: [
- e.available ? /* @__PURE__ */ (0, z.jsx)(kO, { children: "卸载移除 Peach 程序本身,原始媒体文件保留。" }) : null,
- /* @__PURE__ */ (0, z.jsx)(JO, {
+ children: [/* @__PURE__ */ (0, z.jsxs)(JO, { children: [
+ e.available ? /* @__PURE__ */ (0, z.jsx)(XO, { children: "卸载移除 Peach 程序本身,原始媒体文件保留。" }) : null,
+ /* @__PURE__ */ (0, z.jsx)(mk, {
isSelected: n,
isDisabled: !e.full_available || !!i,
onChange: r,
children: "完全卸载:同时删除设置、本地数据库、观看记录、凭据和缓存"
}),
- /* @__PURE__ */ (0, z.jsx)(FO, {
+ /* @__PURE__ */ (0, z.jsx)(nk, {
summary: "数据目录",
- children: c.map((e) => /* @__PURE__ */ (0, z.jsx)(xO, {
+ children: c.map((e) => /* @__PURE__ */ (0, z.jsx)(HO, {
path: e,
className: "text-body-2-regular text-text-secondary",
onRevealed: t
}, e))
})
- ] }), /* @__PURE__ */ (0, z.jsx)(OO, {
+ ] }), /* @__PURE__ */ (0, z.jsx)(YO, {
status: s ? /* @__PURE__ */ (0, z.jsx)("p", {
role: i ? "status" : void 0,
children: s
@@ -46772,7 +47212,7 @@ function ype({ uninstall: e, receipt: t }) {
}
//#endregion
//#region src/react/settings/clouddrive-guide.tsx
-var bpe = [
+var kpe = [
{
name: "机械硬盘,或内存 8 GB 以内",
cache: "10–20 GiB",
@@ -46791,32 +47231,32 @@ var bpe = [
read: "256 / 128 KB",
task: "2 个起步"
}
-], xpe = [
+], Ape = [
["cache", "缓存上限"],
["read", "读取长度(默认 / 最小)"],
["task", "同时处理视频"]
];
-function Spe() {
+function jpe() {
return /* @__PURE__ */ (0, z.jsxs)("div", {
className: "@container flex flex-col gap-3",
- children: [/* @__PURE__ */ (0, z.jsxs)(kO, { children: ["先在 CloudDrive 登录网盘并挂载,开启「启动时自动挂载」。", /* @__PURE__ */ (0, z.jsx)(MO, {
+ children: [/* @__PURE__ */ (0, z.jsxs)(XO, { children: ["先在 CloudDrive 登录网盘并挂载,开启「启动时自动挂载」。", /* @__PURE__ */ (0, z.jsx)($O, {
href: "https://www.clouddrive2.com/help.html",
children: "挂载帮助"
- })] }), /* @__PURE__ */ (0, z.jsxs)(FO, {
+ })] }), /* @__PURE__ */ (0, z.jsxs)(nk, {
summary: "CloudDrive 缓存建议",
children: [
- /* @__PURE__ */ (0, z.jsx)(kO, { children: "按缓存所在硬盘和可用内存选择起步值,再根据播放表现调整。" }),
+ /* @__PURE__ */ (0, z.jsx)(XO, { children: "按缓存所在硬盘和可用内存选择起步值,再根据播放表现调整。" }),
/* @__PURE__ */ (0, z.jsx)("ul", {
"aria-label": "按缓存所在硬盘分档",
className: "flex flex-col gap-2",
- children: bpe.map((e) => /* @__PURE__ */ (0, z.jsxs)("li", {
+ children: kpe.map((e) => /* @__PURE__ */ (0, z.jsxs)("li", {
className: "flex flex-col gap-2 rounded-2lg border border-separator-border bg-background-primary-default p-3",
children: [/* @__PURE__ */ (0, z.jsx)("p", {
className: "text-body-medium text-text-primary",
children: e.name
}), /* @__PURE__ */ (0, z.jsx)("dl", {
className: "inline-grid grid-cols-1 gap-2 @md:grid-cols-3",
- children: xpe.map(([t, n]) => /* @__PURE__ */ (0, z.jsxs)("div", {
+ children: Ape.map(([t, n]) => /* @__PURE__ */ (0, z.jsxs)("div", {
className: "flex flex-col",
children: [/* @__PURE__ */ (0, z.jsx)("dt", {
className: "text-caption-1-regular text-text-secondary",
@@ -46837,9 +47277,9 @@ function Spe() {
/* @__PURE__ */ (0, z.jsx)("li", { children: "Buffer Cache 占内存,磁盘缓存和文件夹缓存占硬盘,改一个管不住另外两个。" })
]
}),
- /* @__PURE__ */ (0, z.jsxs)(kO, { children: [
+ /* @__PURE__ */ (0, z.jsxs)(XO, { children: [
"三处缓存的分工、往上调的方法和这些起步值的来源在",
- /* @__PURE__ */ (0, z.jsx)(MO, {
+ /* @__PURE__ */ (0, z.jsx)($O, {
href: "https://github.com/longmeidao/peach/blob/master/docs/CLOUDDRIVE.md",
children: "CloudDrive 配置与调优"
}),
@@ -46851,7 +47291,7 @@ function Spe() {
}
//#endregion
//#region src/react/settings/library-icon-picker.tsx
-var RI = [
+var GI = [
["", "自动识别"],
["hard-drive", "磁盘"],
["database", "资料库"],
@@ -46895,13 +47335,13 @@ var RI = [
["star", "收藏"],
["tags", "主题"]
];
-function Cpe(e) {
+function Mpe(e) {
let t = e === "local" ? "" : _[e];
return t ? [t, "自动识别"] : ["hard-drive", "默认"];
}
-var zI = "auto";
-function wpe({ value: e, label: t, kind: n = "local", onChange: r }) {
- let i = (0, R.useRef)(null), [a, o] = (0, R.useState)(!1), [s, c] = (0, R.useState)(e), [l, u] = Cpe(n);
+var KI = "auto";
+function Npe({ value: e, label: t, kind: n = "local", onChange: r }) {
+ let i = (0, R.useRef)(null), [a, o] = (0, R.useState)(!1), [s, c] = (0, R.useState)(e), [l, u] = Mpe(n);
return /* @__PURE__ */ (0, z.jsxs)(z.Fragment, { children: [/* @__PURE__ */ (0, z.jsx)(H, {
ref: i,
variant: "secondary",
@@ -46915,16 +47355,16 @@ function wpe({ value: e, label: t, kind: n = "local", onChange: r }) {
children: /* @__PURE__ */ (0, z.jsxs)("span", {
"data-icon-choice": !0,
className: "flex items-center gap-2",
- children: [/* @__PURE__ */ (0, z.jsx)(IO, { mark: e || l }), ((e) => e && RI.find(([t]) => t === e)?.[1] || u)(e)]
+ children: [/* @__PURE__ */ (0, z.jsx)(rk, { mark: e || l }), ((e) => e && GI.find(([t]) => t === e)?.[1] || u)(e)]
})
- }), /* @__PURE__ */ (0, z.jsx)(gy, {
+ }), /* @__PURE__ */ (0, z.jsx)(sy, {
triggerRef: i,
isOpen: a,
onOpenChange: o,
placement: "bottom start",
offset: 4,
- className: uO,
- children: /* @__PURE__ */ (0, z.jsxs)(ub, {
+ className: jO,
+ children: /* @__PURE__ */ (0, z.jsxs)(tb, {
"aria-label": `${t}候选`,
className: "flex w-72 flex-col gap-3 outline-none",
children: [
@@ -46933,17 +47373,17 @@ function wpe({ value: e, label: t, kind: n = "local", onChange: r }) {
className: "px-1 text-body-medium text-text-primary",
children: "选择媒体库图标"
}),
- /* @__PURE__ */ (0, z.jsx)(tx, {
+ /* @__PURE__ */ (0, z.jsx)(nx, {
"aria-label": "候选图标",
- value: s || zI,
- onChange: (e) => c(e === zI ? "" : e),
+ value: s || KI,
+ onChange: (e) => c(e === KI ? "" : e),
className: "inline-grid grid-cols-7 gap-1",
- children: RI.map(([e, t]) => /* @__PURE__ */ (0, z.jsx)(nx, {
- value: e || zI,
+ children: GI.map(([e, t]) => /* @__PURE__ */ (0, z.jsx)(rx, {
+ value: e || KI,
"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, z.jsx)(IO, { mark: e || l })
- }, e || zI))
+ children: /* @__PURE__ */ (0, z.jsx)(rk, { mark: e || l })
+ }, e || KI))
}),
/* @__PURE__ */ (0, z.jsxs)("div", {
className: "flex justify-end gap-2 border-t border-separator-border pt-2.5",
@@ -46965,15 +47405,15 @@ function wpe({ value: e, label: t, kind: n = "local", onChange: r }) {
}
//#endregion
//#region src/react/settings/push-discovery-settings.tsx
-var Tpe = "/api/configuration/push-discovery", Epe = "/api/configuration/push-discovery/secret";
-function Dpe({ initial: e, receipt: t }) {
- let [n, r] = (0, R.useState)(e), [i, a] = (0, R.useState)(e.prefixes), [o, s] = (0, R.useState)(""), c = Bi(), l = vO(), u = n.media_roots, [d, f] = (0, R.useState)(e), p = (e, n) => {
+var Ppe = "/api/configuration/push-discovery", Fpe = "/api/configuration/push-discovery/secret";
+function Ipe({ initial: e, receipt: t }) {
+ let [n, r] = (0, R.useState)(e), [i, a] = (0, R.useState)(e.prefixes), [o, s] = (0, R.useState)(""), c = Bi(), l = zO(), u = n.media_roots, [d, f] = (0, R.useState)(e), p = (e, n) => {
r(e), f(e), a(e.prefixes), s(""), t(n);
}, m = (e, t) => a((n) => n.map((n, r) => r === e ? {
...n,
...t
} : n));
- return /* @__PURE__ */ (0, z.jsxs)(TO, {
+ return /* @__PURE__ */ (0, z.jsxs)(KO, {
title: "推送发现",
onSubmit: (e) => {
e.preventDefault();
@@ -46983,14 +47423,14 @@ function Dpe({ initial: e, receipt: t }) {
cloud: n.cloud,
prefixes: i
};
- c.run("save", (e) => W(Tpe, t, "POST", e), (e) => p(e, "已保存配置"), (e) => s(U(e)));
+ c.run("save", (e) => W(Ppe, t, "POST", e), (e) => p(e, "已保存配置"), (e) => s(U(e)));
},
children: [
- /* @__PURE__ */ (0, z.jsxs)(EO, { children: [
- /* @__PURE__ */ (0, z.jsx)(wO, {
+ /* @__PURE__ */ (0, z.jsxs)(qO, { children: [
+ /* @__PURE__ */ (0, z.jsx)(GO, {
label: "新文件落地就入库",
description: "打开之后不必等下一轮扫描。定期全量扫描照常进行,漏掉的由它补上。",
- children: /* @__PURE__ */ (0, z.jsx)(FN, {
+ children: /* @__PURE__ */ (0, z.jsx)(VP, {
"aria-label": "新文件落地就入库",
isSelected: n.enabled,
isDisabled: !n.available,
@@ -47000,10 +47440,10 @@ function Dpe({ initial: e, receipt: t }) {
})
})
}),
- /* @__PURE__ */ (0, z.jsx)(wO, {
+ /* @__PURE__ */ (0, z.jsx)(GO, {
label: "监视本机文件夹",
description: "订阅本地来源的文件系统事件。网盘挂载不监视,因为遍历它就是走网络。",
- children: /* @__PURE__ */ (0, z.jsx)(FN, {
+ children: /* @__PURE__ */ (0, z.jsx)(VP, {
"aria-label": "监视本机文件夹",
isSelected: n.watch_local,
isDisabled: !n.available || !n.enabled,
@@ -47013,10 +47453,10 @@ function Dpe({ initial: e, receipt: t }) {
})
})
}),
- /* @__PURE__ */ (0, z.jsx)(wO, {
+ /* @__PURE__ */ (0, z.jsx)(GO, {
label: "接收 CloudDrive2 通知",
description: "由 CloudDrive2 把网盘里的新文件推给 Peach。只接受本机与局域网发来的请求。",
- children: /* @__PURE__ */ (0, z.jsx)(FN, {
+ children: /* @__PURE__ */ (0, z.jsx)(VP, {
"aria-label": "接收 CloudDrive2 通知",
isSelected: n.cloud,
isDisabled: !n.available || !n.enabled,
@@ -47027,30 +47467,30 @@ function Dpe({ initial: e, receipt: t }) {
})
})
] }),
- d.enabled ? /* @__PURE__ */ (0, z.jsx)(DO, {
+ d.enabled ? /* @__PURE__ */ (0, z.jsx)(JO, {
divided: !0,
- children: /* @__PURE__ */ (0, z.jsxs)(NO, { children: [d.watch_local ? /* @__PURE__ */ (0, z.jsx)(PO, {
+ children: /* @__PURE__ */ (0, z.jsxs)(ek, { children: [d.watch_local ? /* @__PURE__ */ (0, z.jsx)(tk, {
term: "本机文件夹监视",
children: d.local_running ? d.local_roots.join("、") : d.local_message || "没有运行"
- }) : null, /* @__PURE__ */ (0, z.jsx)(PO, {
+ }) : null, /* @__PURE__ */ (0, z.jsx)(tk, {
term: "已入库",
children: `${d.queue.ingested} 个文件,队列里还有 ${d.queue.pending} 条`
})] })
}) : null,
- d.enabled && d.cloud ? /* @__PURE__ */ (0, z.jsx)(DO, {
+ d.enabled && d.cloud ? /* @__PURE__ */ (0, z.jsx)(JO, {
divided: !0,
children: /* @__PURE__ */ (0, z.jsxs)("div", {
className: "flex flex-col gap-3",
children: [
- /* @__PURE__ */ (0, z.jsx)(jO, { children: "CloudDrive2 配置内容" }),
- /* @__PURE__ */ (0, z.jsx)(kO, { children: "Webhook 需要 CloudDrive2 会员;非会员的配置即使显示有效,也不会发送通知。 在「设置 → Webhooks」中添加配置,粘贴下方内容并保存。地址和密钥已填好;更换密钥后需重新复制。 Windows 桌面版若因换行问题显示「无效」,将配置保存为 .toml 文件,放入 %LOCALAPPDATA%\\CloudDrive.WinUI\\webhooks\\ 目录。" }),
+ /* @__PURE__ */ (0, z.jsx)(QO, { children: "CloudDrive2 配置内容" }),
+ /* @__PURE__ */ (0, z.jsx)(XO, { children: "Webhook 需要 CloudDrive2 会员;非会员的配置即使显示有效,也不会发送通知。 在「设置 → Webhooks」中添加配置,粘贴下方内容并保存。地址和密钥已填好;更换密钥后需重新复制。 Windows 桌面版若因换行问题显示「无效」,将配置保存为 .toml 文件,放入 %LOCALAPPDATA%\\CloudDrive.WinUI\\webhooks\\ 目录。" }),
d.config_toml ? /* @__PURE__ */ (0, z.jsxs)(z.Fragment, { children: [/* @__PURE__ */ (0, z.jsx)("div", { children: /* @__PURE__ */ (0, z.jsx)(H, {
size: "small",
onClick: () => {
navigator.clipboard.writeText(d.config_toml).then(() => t("已复制 CloudDrive2 配置"), () => s("浏览器没让这一页写剪贴板,展开「查看这段配置」选中自己复制。"));
},
children: "复制配置"
- }) }), /* @__PURE__ */ (0, z.jsx)(FO, {
+ }) }), /* @__PURE__ */ (0, z.jsx)(nk, {
summary: "查看这段配置",
children: /* @__PURE__ */ (0, z.jsx)("div", {
className: "relative",
@@ -47061,17 +47501,17 @@ function Dpe({ initial: e, receipt: t }) {
children: d.config_toml
})
})
- })] }) : /* @__PURE__ */ (0, z.jsx)(kO, { children: d.origin ? "尚未生成共享密钥,请保存配置后复制。" : "请先配置 CloudDrive2 能访问的 HTTPS 地址,再生成通知配置。HTTP 地址不接受通知写入,也不会自动转发。" })
+ })] }) : /* @__PURE__ */ (0, z.jsx)(XO, { children: d.origin ? "尚未生成共享密钥,请保存配置后复制。" : "请先配置 CloudDrive2 能访问的 HTTPS 地址,再生成通知配置。HTTP 地址不接受通知写入,也不会自动转发。" })
]
})
}) : null,
- n.enabled && n.cloud ? /* @__PURE__ */ (0, z.jsx)(DO, {
+ n.enabled && n.cloud ? /* @__PURE__ */ (0, z.jsx)(JO, {
divided: !0,
children: /* @__PURE__ */ (0, z.jsxs)("div", {
className: "flex flex-col gap-3",
children: [
- /* @__PURE__ */ (0, z.jsx)(jO, { children: "云端路径前缀" }),
- /* @__PURE__ */ (0, z.jsx)(kO, { children: "左侧填写 CloudDrive2 中的目录前缀,右侧选择对应的媒体文件夹。 Peach 按此对应关系定位通知中的文件。" }),
+ /* @__PURE__ */ (0, z.jsx)(QO, { children: "云端路径前缀" }),
+ /* @__PURE__ */ (0, z.jsx)(XO, { children: "左侧填写 CloudDrive2 中的目录前缀,右侧选择对应的媒体文件夹。 Peach 按此对应关系定位通知中的文件。" }),
/* @__PURE__ */ (0, z.jsx)("div", {
role: "group",
"aria-label": "云端路径前缀",
@@ -47079,7 +47519,7 @@ function Dpe({ initial: e, receipt: t }) {
children: i.map((e, t) => /* @__PURE__ */ (0, z.jsxs)("div", {
className: "flex items-start gap-2",
children: [
- /* @__PURE__ */ (0, z.jsx)(ck, {
+ /* @__PURE__ */ (0, z.jsx)(Ek, {
className: "min-w-0 flex-1",
"aria-label": `云端路径前缀 ${t + 1}`,
placeholder: "/115",
@@ -47088,18 +47528,18 @@ function Dpe({ initial: e, receipt: t }) {
value: e.prefix,
onChange: (e) => m(t, { prefix: e })
}),
- /* @__PURE__ */ (0, z.jsx)(BO, {
+ /* @__PURE__ */ (0, z.jsx)(sk, {
"aria-label": `前缀 ${t + 1} 对应的媒体根`,
selectedKey: e.root,
onSelectionChange: (e) => {
e !== null && m(t, { root: String(e) });
},
- children: u.map((e) => /* @__PURE__ */ (0, z.jsx)(VO, {
+ children: u.map((e) => /* @__PURE__ */ (0, z.jsx)(ck, {
id: e,
children: e
}, e))
}),
- /* @__PURE__ */ (0, z.jsx)(bO, {
+ /* @__PURE__ */ (0, z.jsx)(VO, {
icon: je,
"aria-label": "移除这一条",
onClick: () => a((e) => e.filter((e, n) => n !== t))
@@ -47118,15 +47558,15 @@ function Dpe({ initial: e, receipt: t }) {
]
})
}) : null,
- o || c.error ? /* @__PURE__ */ (0, z.jsx)(DO, {
+ o || c.error ? /* @__PURE__ */ (0, z.jsx)(JO, {
divided: !0,
- children: /* @__PURE__ */ (0, z.jsx)(AO, { children: o || c.error })
+ children: /* @__PURE__ */ (0, z.jsx)(ZO, { children: o || c.error })
}) : null,
- /* @__PURE__ */ (0, z.jsxs)(OO, {
+ /* @__PURE__ */ (0, z.jsxs)(YO, {
status: d.enabled && d.cloud ? "换过密钥之后,CloudDrive2 那一侧要重新贴一次配置,否则它推来的一律被拒。" : void 0,
children: [d.enabled && d.cloud ? /* @__PURE__ */ (0, z.jsx)(H, {
onClick: () => {
- c.run("secret", (e) => W(Epe, {}, "POST", e), (e) => p(e, "已更换共享密钥"), (e) => s(U(e)));
+ c.run("secret", (e) => W(Fpe, {}, "POST", e), (e) => p(e, "已更换共享密钥"), (e) => s(U(e)));
},
disabled: !n.available,
...K(c.busy === "secret"),
@@ -47143,8 +47583,8 @@ function Dpe({ initial: e, receipt: t }) {
}
//#endregion
//#region src/react/settings/media-settings.tsx
-var Ope = 8e3;
-function kpe({ className: e }) {
+var Lpe = 8e3;
+function Rpe({ className: e }) {
return /* @__PURE__ */ (0, z.jsx)("svg", {
"aria-hidden": !0,
viewBox: "0 0 24 24",
@@ -47157,33 +47597,33 @@ function kpe({ className: e }) {
children: /* @__PURE__ */ (0, z.jsx)("use", { href: "#i-folder-search" })
});
}
-var BI = [
+var qI = [
["local", "本地磁盘"],
["115", "CloudDrive · 115"],
["pikpak", "CloudDrive · PikPak"]
-], Ape = (e) => BI.find(([t]) => t === e)?.[1] ?? e, VI = (e) => _[e] || "database", HI = (e = "") => ({
+], zpe = (e) => qI.find(([t]) => t === e)?.[1] ?? e, JI = (e) => _[e] || "database", YI = (e = "") => ({
path: e,
location: "local",
root: "",
library: "",
library_icon: ""
});
-function jpe(e) {
- let t = e.media_sources?.filter((e) => BI.some(([t]) => t === e.location));
+function Bpe(e) {
+ let t = e.media_sources?.filter((e) => qI.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) => HI(e));
+ })) : (e.media_dirs.length ? e.media_dirs : [""]).map((e) => YI(e));
}
-var Mpe = (e) => !(e instanceof Si) || e.status !== 400 ? null : e.body?.errors ?? null;
-function Npe({ data: e, receipt: t }) {
+var Vpe = (e) => !(e instanceof Si) || e.status !== 400 ? null : e.body?.errors ?? null;
+function Hpe({ data: e, receipt: t }) {
return /* @__PURE__ */ (0, z.jsxs)("div", {
className: "flex flex-col gap-6",
children: [
- e.editable ? /* @__PURE__ */ (0, z.jsx)(Ppe, {
+ e.editable ? /* @__PURE__ */ (0, z.jsx)(Upe, {
data: e,
receipt: t
}) : /* @__PURE__ */ (0, z.jsx)(G, {
@@ -47191,21 +47631,21 @@ function Npe({ data: e, receipt: t }) {
title: "只读",
children: e.notice
}),
- /* @__PURE__ */ (0, z.jsx)(Ipe, { data: e }),
- e.push_discovery ? /* @__PURE__ */ (0, z.jsx)(Dpe, {
+ /* @__PURE__ */ (0, z.jsx)(Gpe, { data: e }),
+ e.push_discovery ? /* @__PURE__ */ (0, z.jsx)(Ipe, {
initial: e.push_discovery,
receipt: t
}) : null
]
});
}
-function Ppe({ data: e, receipt: t }) {
- let [n, r] = (0, R.useState)(() => jpe(e)), [i, a] = (0, R.useState)(String(e.port)), [o, s] = (0, R.useState)(!1), [c, l] = (0, R.useState)([]), [u, d] = (0, R.useState)(""), [f, p] = (0, R.useState)(""), [m, h] = (0, R.useState)(null), [g, _] = (0, R.useState)(null), [v, y] = (0, R.useState)(null), b = (0, R.useRef)(!1), x = (0, R.useRef)(e.revision), S = (0, R.useRef)([]), C = Bi();
+function Upe({ data: e, receipt: t }) {
+ let [n, r] = (0, R.useState)(() => Bpe(e)), [i, a] = (0, R.useState)(String(e.port)), [o, s] = (0, R.useState)(!1), [c, l] = (0, R.useState)([]), [u, d] = (0, R.useState)(""), [f, p] = (0, R.useState)(""), [m, h] = (0, R.useState)(null), [g, _] = (0, R.useState)(null), [v, y] = (0, R.useState)(null), b = (0, R.useRef)(!1), x = (0, R.useRef)(e.revision), S = (0, R.useRef)([]), C = Bi();
(0, R.useLayoutEffect)(() => {
g !== null && (S.current[g]?.focus(), _(null));
}, [g]), (0, R.useEffect)(() => {
if (!m) return;
- let e = setTimeout(() => location.assign(m.url), Ope);
+ let e = setTimeout(() => location.assign(m.url), Lpe);
return () => clearTimeout(e);
}, [m]);
let w = (e, t) => r((n) => n.map((n, r) => r === e ? {
@@ -47216,14 +47656,14 @@ function Ppe({ data: e, receipt: t }) {
for (; r.length <= e;) r.push("");
return r[e] = t, r;
}), E = () => {
- _(n.length), r((e) => [...e, HI()]);
+ _(n.length), r((e) => [...e, YI()]);
}, D = (e) => {
r((t) => t.filter((t, n) => n !== e)), l((t) => t.filter((t, n) => n !== e));
}, O = async (e) => {
if (!b.current) {
b.current = !0, y(e);
try {
- let { path: t } = await W(ope, { initial: n[e]?.path ?? "" });
+ let { path: t } = await W(hpe, { initial: n[e]?.path ?? "" });
t && (w(e, { path: t }), T(e, ""));
} catch (t) {
T(e, U(t));
@@ -47232,7 +47672,7 @@ function Ppe({ data: e, receipt: t }) {
}
}
}, k = (r) => {
- r.preventDefault(), p(""), C.run("save", (t) => W(MI, {
+ r.preventDefault(), p(""), C.run("save", (t) => W(zI, {
revision: x.current,
media_dirs: n.map((e) => e.path),
...e.media_sources ? { media_sources: n } : {},
@@ -47241,18 +47681,18 @@ function Ppe({ data: e, receipt: t }) {
}, "POST", t), (e) => {
x.current = e.revision, l([]), d(""), t("已保存配置"), h(e);
}, (e) => {
- let t = Mpe(e);
+ let t = Vpe(e);
l(t?.media_dirs ?? []), d(t?.port ?? ""), t || p(U(e));
});
};
- if (m) return /* @__PURE__ */ (0, z.jsx)(TO, {
+ if (m) return /* @__PURE__ */ (0, z.jsx)(KO, {
title: "这台电脑",
- children: /* @__PURE__ */ (0, z.jsx)(DO, { children: /* @__PURE__ */ (0, z.jsxs)(G, {
+ children: /* @__PURE__ */ (0, z.jsx)(JO, { children: /* @__PURE__ */ (0, z.jsxs)(G, {
tone: "success",
title: "配置已保存",
children: [
"Peach 正在重新启动。稍后自动跳转,或点击",
- /* @__PURE__ */ (0, z.jsx)(lO, {
+ /* @__PURE__ */ (0, z.jsx)(AO, {
href: m.url,
size: "small",
children: "进入馆藏"
@@ -47262,14 +47702,14 @@ function Ppe({ data: e, receipt: t }) {
}) })
});
let A = n.some((e) => e.location === "115" || e.location === "pikpak"), j = A ? (e.mount_dependencies ?? []).filter((e) => !e.available) : [];
- return /* @__PURE__ */ (0, z.jsxs)(TO, {
+ return /* @__PURE__ */ (0, z.jsxs)(KO, {
title: "这台电脑",
onSubmit: k,
- children: [/* @__PURE__ */ (0, z.jsxs)(DO, { children: [
+ children: [/* @__PURE__ */ (0, z.jsxs)(JO, { children: [
/* @__PURE__ */ (0, z.jsxs)("div", {
className: "flex flex-col gap-3",
children: [
- /* @__PURE__ */ (0, z.jsx)(jO, { children: "媒体文件夹" }),
+ /* @__PURE__ */ (0, z.jsx)(QO, { children: "媒体文件夹" }),
/* @__PURE__ */ (0, z.jsx)("div", {
role: "group",
"aria-label": "媒体文件夹",
@@ -47280,7 +47720,7 @@ function Ppe({ data: e, receipt: t }) {
children: [/* @__PURE__ */ (0, z.jsxs)("div", {
className: "flex items-start gap-2",
children: [
- /* @__PURE__ */ (0, z.jsx)(ck, {
+ /* @__PURE__ */ (0, z.jsx)(Ek, {
className: "min-w-0 flex-1",
"aria-label": `媒体文件夹 ${r + 1}`,
placeholder: "本机文件夹路径",
@@ -47293,13 +47733,13 @@ function Ppe({ data: e, receipt: t }) {
isInvalid: !!c[r],
hint: c[r] || void 0
}),
- /* @__PURE__ */ (0, z.jsx)(bO, {
- icon: kpe,
+ /* @__PURE__ */ (0, z.jsx)(VO, {
+ icon: Rpe,
"aria-label": "选择文件夹",
onClick: () => void O(r),
...K(v === r)
}),
- n.length > 1 ? /* @__PURE__ */ (0, z.jsx)(bO, {
+ n.length > 1 ? /* @__PURE__ */ (0, z.jsx)(VO, {
icon: je,
"aria-label": "移除这个文件夹",
onClick: () => D(r)
@@ -47308,7 +47748,7 @@ function Ppe({ data: e, receipt: t }) {
}), /* @__PURE__ */ (0, z.jsxs)("div", {
className: "inline-grid grid-cols-1 gap-3 @lg:grid-cols-2",
children: [
- /* @__PURE__ */ (0, z.jsx)(ck, {
+ /* @__PURE__ */ (0, z.jsx)(Ek, {
label: "媒体库名称",
maxLength: 80,
placeholder: "同名文件夹归入同一个媒体库",
@@ -47317,7 +47757,7 @@ function Ppe({ data: e, receipt: t }) {
}),
/* @__PURE__ */ (0, z.jsxs)("div", {
className: "flex flex-col gap-1.5",
- children: [/* @__PURE__ */ (0, z.jsx)(jO, { children: "媒体库图标" }), /* @__PURE__ */ (0, z.jsx)(wpe, {
+ children: [/* @__PURE__ */ (0, z.jsx)(QO, { children: "媒体库图标" }), /* @__PURE__ */ (0, z.jsx)(Npe, {
label: `媒体库图标 ${r + 1}`,
value: t.library_icon,
kind: t.location,
@@ -47326,20 +47766,20 @@ function Ppe({ data: e, receipt: t }) {
}),
/* @__PURE__ */ (0, z.jsxs)("div", {
className: "flex flex-col gap-1.5",
- children: [/* @__PURE__ */ (0, z.jsx)(jO, { children: "媒体来源" }), /* @__PURE__ */ (0, z.jsx)(BO, {
+ children: [/* @__PURE__ */ (0, z.jsx)(QO, { children: "媒体来源" }), /* @__PURE__ */ (0, z.jsx)(sk, {
"aria-label": `媒体来源 ${r + 1}`,
selectedKey: t.location,
onSelectionChange: (e) => {
e !== null && w(r, { location: String(e) });
},
- children: BI.map(([e, t]) => /* @__PURE__ */ (0, z.jsxs)(VO, {
+ children: qI.map(([e, t]) => /* @__PURE__ */ (0, z.jsxs)(ck, {
id: e,
textValue: t,
- children: [/* @__PURE__ */ (0, z.jsx)(IO, { mark: VI(e) }), t]
+ children: [/* @__PURE__ */ (0, z.jsx)(rk, { mark: JI(e) }), t]
}, e))
})]
}),
- e.windows === !1 ? /* @__PURE__ */ (0, z.jsx)(ck, {
+ e.windows === !1 ? /* @__PURE__ */ (0, z.jsx)(Ek, {
label: "Windows 中的对应路径",
placeholder: "例如 B:\\",
value: t.root,
@@ -47356,18 +47796,18 @@ function Ppe({ data: e, receipt: t }) {
})
]
}),
- A ? /* @__PURE__ */ (0, z.jsx)(Spe, {}) : null,
- j.map((e) => /* @__PURE__ */ (0, z.jsxs)(kO, { children: [
+ A ? /* @__PURE__ */ (0, z.jsx)(jpe, {}) : null,
+ j.map((e) => /* @__PURE__ */ (0, z.jsxs)(XO, { children: [
"未检测到 ",
e.name,
"。",
- /* @__PURE__ */ (0, z.jsxs)(MO, {
+ /* @__PURE__ */ (0, z.jsxs)($O, {
href: e.download_url,
children: ["下载 ", e.name]
})
] }, e.name)),
- e.windows === !1 ? /* @__PURE__ */ (0, z.jsx)(kO, { children: "本机文件夹是这台电脑读取媒体的位置。Windows 中的对应路径用于匹配馆藏中已有的路径,例如 B:\\ 对应本机挂载文件夹。" }) : null,
- e.port_editable === !1 ? null : /* @__PURE__ */ (0, z.jsx)(ck, {
+ e.windows === !1 ? /* @__PURE__ */ (0, z.jsx)(XO, { children: "本机文件夹是这台电脑读取媒体的位置。Windows 中的对应路径用于匹配馆藏中已有的路径,例如 B:\\ 对应本机挂载文件夹。" }) : null,
+ e.port_editable === !1 ? null : /* @__PURE__ */ (0, z.jsx)(Ek, {
id: "configPort",
label: "本机访问端口",
inputMode: "numeric",
@@ -47377,7 +47817,7 @@ function Ppe({ data: e, receipt: t }) {
isInvalid: !!u,
hint: u || "浏览器地址里冒号后面的数字,一般不用改。"
}),
- /* @__PURE__ */ (0, z.jsx)(JO, {
+ /* @__PURE__ */ (0, z.jsx)(mk, {
isSelected: o,
onChange: s,
children: "保存后扫描并补全资料"
@@ -47387,7 +47827,7 @@ function Ppe({ data: e, receipt: t }) {
title: "没有保存",
children: f
}) : null
- ] }), /* @__PURE__ */ (0, z.jsx)(OO, {
+ ] }), /* @__PURE__ */ (0, z.jsx)(YO, {
status: e.port_editable === !1 ? "保存后 Peach 会重新载入配置。" : "保存后 Peach 会重新启动,端口改了就用新地址打开。",
children: /* @__PURE__ */ (0, z.jsx)(H, {
type: "submit",
@@ -47397,7 +47837,7 @@ function Ppe({ data: e, receipt: t }) {
})]
});
}
-function Fpe({ online: e }) {
+function Wpe({ online: e }) {
return e === !0 ? /* @__PURE__ */ (0, z.jsxs)("span", {
"data-mount": "online",
className: "inline-flex items-center gap-1.5 text-body-2-medium text-notification-success-foreground",
@@ -47421,21 +47861,21 @@ function Fpe({ online: e }) {
}), "未检测"]
});
}
-function Ipe({ data: e }) {
+function Gpe({ data: e }) {
let t = e.media_sources, n = Bi();
- return t ? /* @__PURE__ */ (0, z.jsxs)(TO, {
+ return t ? /* @__PURE__ */ (0, z.jsxs)(KO, {
title: "挂载状态",
children: [
- /* @__PURE__ */ (0, z.jsx)(NO, { children: t.map((e, t) => /* @__PURE__ */ (0, z.jsxs)(PO, {
- term: /* @__PURE__ */ (0, z.jsxs)(z.Fragment, { children: [/* @__PURE__ */ (0, z.jsx)(IO, { mark: VI(e.location) }), Ape(e.location)] }),
- children: [e.path || "未配置挂载点", /* @__PURE__ */ (0, z.jsx)(Fpe, { online: e.online })]
+ /* @__PURE__ */ (0, z.jsx)(ek, { children: t.map((e, t) => /* @__PURE__ */ (0, z.jsxs)(tk, {
+ term: /* @__PURE__ */ (0, z.jsxs)(z.Fragment, { children: [/* @__PURE__ */ (0, z.jsx)(rk, { mark: JI(e.location) }), zpe(e.location)] }),
+ children: [e.path || "未配置挂载点", /* @__PURE__ */ (0, z.jsx)(Wpe, { online: e.online })]
}, t)) }),
- n.error ? /* @__PURE__ */ (0, z.jsx)(DO, {
+ n.error ? /* @__PURE__ */ (0, z.jsx)(JO, {
divided: !0,
- children: /* @__PURE__ */ (0, z.jsx)(AO, { children: n.error })
+ children: /* @__PURE__ */ (0, z.jsx)(ZO, { children: n.error })
}) : null,
- /* @__PURE__ */ (0, z.jsx)(OO, { children: /* @__PURE__ */ (0, z.jsx)(H, {
- onClick: () => void n.run("refresh", (e) => PI(e), (e) => q.setQueryData(NI, e)),
+ /* @__PURE__ */ (0, z.jsx)(YO, { children: /* @__PURE__ */ (0, z.jsx)(H, {
+ onClick: () => void n.run("refresh", (e) => VI(e), (e) => q.setQueryData(BI, e)),
...K(n.busy === "refresh"),
children: "刷新挂载状态"
}) })
@@ -47444,12 +47884,12 @@ function Ipe({ data: e }) {
}
//#endregion
//#region src/react/settings/access-settings.tsx
-var Lpe = {
+var Kpe = {
legacy: "当前使用系统生成的访问口令。改设自己的密码,或关闭登录要求。",
locked: "访问设置无法读取,请在本机检查配置文件。",
password: "已设置密码。新设备需要登录,登录时勾选「保持登录」可保持 30 天。"
};
-function Rpe({ initial: e, receipt: t }) {
+function qpe({ initial: e, receipt: t }) {
let [n, r] = (0, R.useState)(e), [i, a] = (0, R.useState)(""), [o, s] = (0, R.useState)(""), [c, l] = (0, R.useState)(""), [u, d] = (0, R.useState)(!1), [f, p] = (0, R.useState)({}), m = (0, R.useRef)(null), h = Bi(), g = (e) => {
e.preventDefault();
let f = {};
@@ -47470,25 +47910,25 @@ function Rpe({ initial: e, receipt: t }) {
let t = e instanceof Si ? e.body : null, n = t?.errors || t?.detail?.errors;
n ? p(n) : h.setError(U(e));
});
- }, _ = Lpe[n.mode], v = n.mode !== "locked";
- return /* @__PURE__ */ (0, z.jsxs)(TO, {
+ }, _ = Kpe[n.mode], v = n.mode !== "locked";
+ return /* @__PURE__ */ (0, z.jsxs)(KO, {
title: "访问密码",
onSubmit: g,
children: [/* @__PURE__ */ (0, z.jsx)("div", {
ref: m,
- children: /* @__PURE__ */ (0, z.jsxs)(DO, { children: [
- _ ? /* @__PURE__ */ (0, z.jsx)(kO, { children: _ }) : null,
+ children: /* @__PURE__ */ (0, z.jsxs)(JO, { children: [
+ _ ? /* @__PURE__ */ (0, z.jsx)(XO, { children: _ }) : null,
n.mode === "open" ? /* @__PURE__ */ (0, z.jsx)(G, {
tone: "warning",
title: "未设置访问密码",
children: "能连接到 Peach 的设备打开地址就能看馆藏,不需要登录。"
}) : null,
- n.mode === "password" || n.mode === "legacy" ? /* @__PURE__ */ (0, z.jsx)(JO, {
+ n.mode === "password" || n.mode === "legacy" ? /* @__PURE__ */ (0, z.jsx)(mk, {
isSelected: u,
onChange: d,
children: "关闭访问密码"
}) : null,
- n.mode === "password" ? /* @__PURE__ */ (0, z.jsx)(ck, {
+ n.mode === "password" ? /* @__PURE__ */ (0, z.jsx)(Ek, {
id: "access-current",
type: "password",
label: "当前访问密码",
@@ -47501,7 +47941,7 @@ function Rpe({ initial: e, receipt: t }) {
isInvalid: !!f.current_password,
hint: f.current_password
}) : null,
- v ? /* @__PURE__ */ (0, z.jsxs)(z.Fragment, { children: [/* @__PURE__ */ (0, z.jsx)(ck, {
+ v ? /* @__PURE__ */ (0, z.jsxs)(z.Fragment, { children: [/* @__PURE__ */ (0, z.jsx)(Ek, {
id: "access-password",
type: "password",
label: n.mode === "password" ? "新访问密码" : "设置访问密码",
@@ -47514,7 +47954,7 @@ function Rpe({ initial: e, receipt: t }) {
validationBehavior: "aria",
isInvalid: !u && !!f.password,
hint: u ? "关闭访问密码时无需填写。" : f.password || "至少 8 个字符。保存后其他设备需要重新登录。"
- }), /* @__PURE__ */ (0, z.jsx)(ck, {
+ }), /* @__PURE__ */ (0, z.jsx)(Ek, {
id: "access-confirm",
type: "password",
label: "确认访问密码",
@@ -47533,9 +47973,9 @@ function Rpe({ initial: e, receipt: t }) {
title: "访问范围",
children: "保存后,能连接到 Peach 的设备将直接访问馆藏。"
}) : null,
- h.error ? /* @__PURE__ */ (0, z.jsx)(AO, { children: h.error }) : null
+ h.error ? /* @__PURE__ */ (0, z.jsx)(ZO, { children: h.error }) : null
] })
- }), v ? /* @__PURE__ */ (0, z.jsx)(OO, {
+ }), v ? /* @__PURE__ */ (0, z.jsx)(YO, {
status: "保存后立即生效。",
children: /* @__PURE__ */ (0, z.jsx)(H, {
type: "submit",
@@ -47547,19 +47987,19 @@ function Rpe({ initial: e, receipt: t }) {
}
//#endregion
//#region src/react/settings/tunnel-settings.tsx
-var zpe = 2e3, Bpe = [["quick", "临时链接"], ["named", "命名隧道"]], Vpe = {
+var Jpe = 2e3, Ype = [["quick", "临时链接"], ["named", "命名隧道"]], Xpe = {
quick: "只用于临时预览;地址随机、重启后会变化。启动前必须设置访问密码。",
named: "地址是 Cloudflare 后台绑定的公开主机名,重启后不变。启动前必须设置访问密码,身份策略在 Cloudflare Access 里配置。"
};
-function Hpe({ revision: e, initial: t, receipt: n }) {
+function Zpe({ revision: e, initial: t, receipt: n }) {
let [r, i] = (0, R.useState)(t), [a, o] = (0, R.useState)(e), [s, c] = (0, R.useState)(t.mode), [l, u] = (0, R.useState)(t.hostname), [d, f] = (0, R.useState)(""), [p, m] = (0, R.useState)({}), h = Bi(), g = r.state === "starting" || r.state === "running", _ = r.named_available && s === "named";
(0, R.useEffect)(() => {
if (r.state !== "starting") return;
let e = new AbortController(), t = window.setInterval(() => {
- PI(e.signal).then((t) => {
- e.signal.aborted || !t.tunnel || (q.setQueryData(NI, t), i(t.tunnel), o(t.revision));
+ VI(e.signal).then((t) => {
+ e.signal.aborted || !t.tunnel || (q.setQueryData(BI, t), i(t.tunnel), o(t.revision));
}).catch(() => void 0);
- }, zpe);
+ }, Jpe);
return () => {
e.abort(), window.clearInterval(t);
};
@@ -47578,26 +48018,26 @@ function Hpe({ revision: e, initial: t, receipt: n }) {
n ? m(n) : h.setError(U(e));
});
};
- return /* @__PURE__ */ (0, z.jsxs)(TO, {
+ return /* @__PURE__ */ (0, z.jsxs)(KO, {
title: "Cloudflare 公网入口",
onSubmit: (e) => {
e.preventDefault(), v("save", g, () => n("已保存配置"));
},
- children: [/* @__PURE__ */ (0, z.jsxs)(DO, { children: [
- r.named_available ? /* @__PURE__ */ (0, z.jsx)(rA, {
+ children: [/* @__PURE__ */ (0, z.jsxs)(JO, { children: [
+ r.named_available ? /* @__PURE__ */ (0, z.jsx)(mA, {
"aria-label": "公网入口的形态(二选一)",
value: s,
isDisabled: g,
onChange: (e) => c(e),
- className: iA,
- children: Bpe.map(([e, t]) => /* @__PURE__ */ (0, z.jsx)(nx, {
+ className: hA,
+ children: Ype.map(([e, t]) => /* @__PURE__ */ (0, z.jsx)(rx, {
value: e,
- className: aA,
+ className: gA,
children: t
}, e))
}) : null,
- /* @__PURE__ */ (0, z.jsx)(kO, { children: Vpe[_ ? "named" : "quick"] }),
- _ ? /* @__PURE__ */ (0, z.jsxs)(z.Fragment, { children: [/* @__PURE__ */ (0, z.jsx)(ck, {
+ /* @__PURE__ */ (0, z.jsx)(XO, { children: Xpe[_ ? "named" : "quick"] }),
+ _ ? /* @__PURE__ */ (0, z.jsxs)(z.Fragment, { children: [/* @__PURE__ */ (0, z.jsx)(Ek, {
id: "tunnel-hostname",
label: "公开主机名",
autoComplete: "off",
@@ -47608,7 +48048,7 @@ function Hpe({ revision: e, initial: t, receipt: n }) {
validationBehavior: "aria",
isInvalid: !!p.hostname,
hint: p.hostname || "在 Cloudflare Zero Trust 里指向本机 origin 的那个主机名。"
- }), /* @__PURE__ */ (0, z.jsx)(ck, {
+ }), /* @__PURE__ */ (0, z.jsx)(Ek, {
id: "tunnel-token",
type: "password",
label: "隧道令牌",
@@ -47628,7 +48068,7 @@ function Hpe({ revision: e, initial: t, receipt: n }) {
r.state === "running" && r.url ? /* @__PURE__ */ (0, z.jsx)(G, {
tone: "info",
title: "公网地址",
- children: /* @__PURE__ */ (0, z.jsx)(MO, {
+ children: /* @__PURE__ */ (0, z.jsx)($O, {
href: r.url,
children: r.url
})
@@ -47638,9 +48078,9 @@ function Hpe({ revision: e, initial: t, receipt: n }) {
title: "正在连接",
children: "正在等待 cloudflared 连上 Cloudflare 边缘。"
}) : null,
- r.error ? /* @__PURE__ */ (0, z.jsx)(AO, { children: r.error }) : null,
- h.error ? /* @__PURE__ */ (0, z.jsx)(AO, { children: h.error }) : null
- ] }), /* @__PURE__ */ (0, z.jsxs)(OO, {
+ r.error ? /* @__PURE__ */ (0, z.jsx)(ZO, { children: r.error }) : null,
+ h.error ? /* @__PURE__ */ (0, z.jsx)(ZO, { children: h.error }) : null
+ ] }), /* @__PURE__ */ (0, z.jsxs)(YO, {
status: r.enabled ? "服务重启时会按设置尝试恢复。" : "服务重启后保持关闭。",
children: [/* @__PURE__ */ (0, z.jsx)(H, {
onClick: () => v("toggle", !g, (e) => n(e.enabled ? "公网入口已启动" : "公网入口已停止")),
@@ -47656,24 +48096,24 @@ function Hpe({ revision: e, initial: t, receipt: n }) {
}
//#endregion
//#region src/react/settings/network-settings.tsx
-var Upe = [
+var Qpe = [
["environment", "系统代理"],
["direct", "直连"],
["proxy", "自定义"]
];
-function Wpe({ data: e, receipt: t }) {
+function $pe({ data: e, receipt: t }) {
return /* @__PURE__ */ (0, z.jsxs)("div", {
className: "flex flex-col gap-6",
children: [
- e.peach_proxy ? /* @__PURE__ */ (0, z.jsx)(Gpe, {
+ e.peach_proxy ? /* @__PURE__ */ (0, z.jsx)(eme, {
initial: e.peach_proxy,
receipt: t
}) : null,
- e.access ? /* @__PURE__ */ (0, z.jsx)(Rpe, {
+ e.access ? /* @__PURE__ */ (0, z.jsx)(qpe, {
initial: e.access,
receipt: t
}) : null,
- e.tunnel ? /* @__PURE__ */ (0, z.jsx)(Hpe, {
+ e.tunnel ? /* @__PURE__ */ (0, z.jsx)(Zpe, {
revision: e.revision,
initial: e.tunnel,
receipt: t
@@ -47681,9 +48121,9 @@ function Wpe({ data: e, receipt: t }) {
]
});
}
-function Gpe({ initial: e, receipt: t }) {
+function eme({ initial: e, receipt: t }) {
let [n, r] = (0, R.useState)(e), [i, a] = (0, R.useState)(e.mode), [o, s] = (0, R.useState)(""), c = Bi();
- return /* @__PURE__ */ (0, z.jsxs)(TO, {
+ return /* @__PURE__ */ (0, z.jsxs)(KO, {
id: "peachProxy",
title: "Peach 代理",
onSubmit: (e) => {
@@ -47695,25 +48135,25 @@ function Gpe({ initial: e, receipt: t }) {
});
},
children: [
- /* @__PURE__ */ (0, z.jsx)(EO, { children: /* @__PURE__ */ (0, z.jsx)(wO, {
+ /* @__PURE__ */ (0, z.jsx)(qO, { children: /* @__PURE__ */ (0, z.jsx)(GO, {
label: "连接方式",
description: "采集来源选「Peach 代理」时共用这里的连接方式。",
- children: /* @__PURE__ */ (0, z.jsx)(BO, {
+ children: /* @__PURE__ */ (0, z.jsx)(sk, {
"aria-label": "连接方式",
selectedKey: i,
onSelectionChange: (e) => {
e !== null && a(String(e));
},
- children: Upe.map(([e, t]) => /* @__PURE__ */ (0, z.jsx)(VO, {
+ children: Qpe.map(([e, t]) => /* @__PURE__ */ (0, z.jsx)(ck, {
id: e,
children: t
}, e))
})
}) }),
- i === "proxy" || n.needs_selection || c.error ? /* @__PURE__ */ (0, z.jsxs)(DO, {
+ i === "proxy" || n.needs_selection || c.error ? /* @__PURE__ */ (0, z.jsxs)(JO, {
divided: !0,
children: [
- i === "proxy" ? /* @__PURE__ */ (0, z.jsx)(ck, {
+ i === "proxy" ? /* @__PURE__ */ (0, z.jsx)(Ek, {
id: "peachProxyAddress",
type: "password",
label: "代理地址",
@@ -47727,10 +48167,10 @@ function Gpe({ initial: e, receipt: t }) {
title: "需要选择连接方式",
children: "已有来源的代理地址不同,请选择公共连接方式。"
}) : null,
- c.error ? /* @__PURE__ */ (0, z.jsx)(AO, { children: c.error }) : null
+ c.error ? /* @__PURE__ */ (0, z.jsx)(ZO, { children: c.error }) : null
]
}) : null,
- /* @__PURE__ */ (0, z.jsx)(OO, { children: /* @__PURE__ */ (0, z.jsx)(H, {
+ /* @__PURE__ */ (0, z.jsx)(YO, { children: /* @__PURE__ */ (0, z.jsx)(H, {
type: "submit",
...K(c.busy === "save"),
children: "保存配置"
@@ -47740,10 +48180,10 @@ function Gpe({ initial: e, receipt: t }) {
}
//#endregion
//#region src/react/settings/configuration-page.tsx
-function Kpe({ receipt: e, reopenTutorial: t }) {
+function tme({ receipt: e, reopenTutorial: t }) {
let n = Nn({
- queryKey: NI,
- queryFn: ({ signal: e }) => PI(e)
+ queryKey: BI,
+ queryFn: ({ signal: e }) => VI(e)
}), r = n.data;
if (!r) return /* @__PURE__ */ (0, z.jsx)("div", {
className: "configpage",
@@ -47764,22 +48204,22 @@ function Kpe({ receipt: e, reopenTutorial: t }) {
className: "configgroup",
children: "通用"
}) : null,
- a ? /* @__PURE__ */ (0, z.jsx)(upe, { ...i }) : null,
+ a ? /* @__PURE__ */ (0, z.jsx)(ype, { ...i }) : null,
/* @__PURE__ */ (0, z.jsx)("h2", {
className: "configgroup",
children: "媒体"
}),
- /* @__PURE__ */ (0, z.jsx)(Npe, { ...i }),
+ /* @__PURE__ */ (0, z.jsx)(Hpe, { ...i }),
o ? /* @__PURE__ */ (0, z.jsx)("h2", {
className: "configgroup",
children: "网络与访问"
}) : null,
- o ? /* @__PURE__ */ (0, z.jsx)(Wpe, { ...i }) : null,
+ o ? /* @__PURE__ */ (0, z.jsx)($pe, { ...i }) : null,
/* @__PURE__ */ (0, z.jsx)("h2", {
className: "configgroup",
children: "更新与维护"
}),
- /* @__PURE__ */ (0, z.jsx)(hpe, {
+ /* @__PURE__ */ (0, z.jsx)(wpe, {
...i,
reopenTutorial: t
})
@@ -47788,35 +48228,35 @@ function Kpe({ receipt: e, reopenTutorial: t }) {
}
//#endregion
//#region src/react/settings/configuration-summary.tsx
-var qpe = (e) => {
+var nme = (e) => {
let t = e.updates;
return t ? t.message ? `${t.current_version} · ${t.message}` : t.current_version : "未取得";
};
-function Jpe({ openConfiguration: e }) {
+function rme({ openConfiguration: e }) {
let t = Nn({
- queryKey: NI,
- queryFn: ({ signal: e }) => PI(e)
+ queryKey: BI,
+ queryFn: ({ signal: e }) => VI(e)
}), n = t.data;
return /* @__PURE__ */ (0, z.jsxs)("div", {
className: "flex flex-col",
- children: [n ? /* @__PURE__ */ (0, z.jsxs)(NO, { children: [
- /* @__PURE__ */ (0, z.jsx)(PO, {
+ children: [n ? /* @__PURE__ */ (0, z.jsxs)(ek, { children: [
+ /* @__PURE__ */ (0, z.jsx)(tk, {
term: "媒体库",
children: `${n.library_count} 个`
}),
- /* @__PURE__ */ (0, z.jsx)(PO, {
+ /* @__PURE__ */ (0, z.jsx)(tk, {
term: "端口",
children: String(n.port)
}),
- /* @__PURE__ */ (0, z.jsx)(PO, {
+ /* @__PURE__ */ (0, z.jsx)(tk, {
term: "更新",
- children: qpe(n)
+ children: nme(n)
})
- ] }) : /* @__PURE__ */ (0, z.jsx)(DO, { children: /* @__PURE__ */ (0, z.jsx)(G, {
+ ] }) : /* @__PURE__ */ (0, z.jsx)(JO, { children: /* @__PURE__ */ (0, z.jsx)(G, {
tone: "error",
title: "配置读取失败",
children: t.error ? U(t.error) : "未取得配置,请刷新页面重试。"
- }) }), /* @__PURE__ */ (0, z.jsx)(OO, {
+ }) }), /* @__PURE__ */ (0, z.jsx)(YO, {
status: "媒体文件夹、端口、代理与更新在配置页上改。",
children: /* @__PURE__ */ (0, z.jsx)(H, {
onClick: e,
@@ -47827,14 +48267,14 @@ function Jpe({ openConfiguration: e }) {
}
//#endregion
//#region src/react/stats/stats.ts
-var Ype = "/api/stats", UI = ["stats"], WI = (e) => wi(Ype, e);
-async function Xpe(e) {
+var ime = "/api/stats", XI = ["stats"], ZI = (e) => wi(ime, e);
+async function ame(e) {
await q.fetchQuery({
- queryKey: UI,
- queryFn: () => WI(e)
+ queryKey: XI,
+ queryFn: () => ZI(e)
});
}
-var GI = (e, t) => t ? Math.round(e / t * 100) : 0, Zpe = (e) => e >= 3600 ? `${(e / 3600).toFixed(1)} 小时` : `${Math.round(e / 60)} 分钟`, KI = (e) => e.duration ? Math.min(e.play_seconds / e.duration, 1) * 100 : 0, qI = (e) => (e.max_reached || 0) * 100, Qpe = (e) => e.kind === "online" ? "在线直接观看" : KI(e) < qI(e) - 25 ? "快进扫过" : e.o_count ? `高潮 ${e.o_count}` : "正常观看", $pe = (e) => `${e.kind === "online" ? "/follow/item/" : "/item/"}${e.id}`, eme = (e) => Math.max(1, ...e) * 1.1, tme = (e) => Math.max(4, Math.min(14, Math.round(90 / Math.max(1, e)))), nme = {
+var QI = (e, t) => t ? Math.round(e / t * 100) : 0, ome = (e) => e >= 3600 ? `${(e / 3600).toFixed(1)} 小时` : `${Math.round(e / 60)} 分钟`, $I = (e) => e.duration ? Math.min(e.play_seconds / e.duration, 1) * 100 : 0, eL = (e) => (e.max_reached || 0) * 100, sme = (e) => e.kind === "online" ? "在线直接观看" : $I(e) < eL(e) - 25 ? "快进扫过" : e.o_count ? `高潮 ${e.o_count}` : "正常观看", cme = (e) => `${e.kind === "online" ? "/follow/item/" : "/item/"}${e.id}`, lme = (e) => Math.max(1, ...e) * 1.1, ume = (e) => Math.max(4, Math.min(14, Math.round(90 / Math.max(1, e)))), dme = {
video: "视频",
image: "图片",
illustration: "插画",
@@ -47842,18 +48282,18 @@ var GI = (e, t) => t ? Math.round(e / t * 100) : 0, Zpe = (e) => e >= 3600 ? `${
audio: "音频",
account: "账号",
other: "其它文件"
-}, rme = (e) => e.map((e) => ({
- name: nme[e.k] ?? e.k,
+}, fme = (e) => e.map((e) => ({
+ name: dme[e.k] ?? e.k,
value: e.n
-})).sort((e, t) => t.value - e.value), ime = {
+})).sort((e, t) => t.value - e.value), pme = {
速食: "<5 分钟",
短: "5–15 分钟",
中: "15–40 分钟",
长: ">40 分钟"
-}, JI = (e, t = {}) => e.map((e) => ({
+}, tL = (e, t = {}) => e.map((e) => ({
name: t[e.k] ?? e.k,
value: e.n
-})), ame = (e) => JI(e, ime), ome = [
+})), mme = (e) => tL(e, pme), hme = [
[
1,
1,
@@ -47889,49 +48329,49 @@ var GI = (e, t) => t ? Math.round(e / t * 100) : 0, Zpe = (e) => e >= 3600 ? `${
Infinity,
"≥10 次"
]
-], sme = (e) => ome.map(([t, n, r]) => ({
+], gme = (e) => hme.map(([t, n, r]) => ({
name: r,
value: e.filter((e) => e.k >= t && e.k <= n).reduce((e, t) => e + t.n, 0)
-})), cme = /* @__PURE__ */ "dangerouslySetInnerHTML.onCopy.onCopyCapture.onCut.onCutCapture.onPaste.onPasteCapture.onCompositionEnd.onCompositionEndCapture.onCompositionStart.onCompositionStartCapture.onCompositionUpdate.onCompositionUpdateCapture.onFocus.onFocusCapture.onBlur.onBlurCapture.onChange.onChangeCapture.onBeforeInput.onBeforeInputCapture.onInput.onInputCapture.onReset.onResetCapture.onSubmit.onSubmitCapture.onInvalid.onInvalidCapture.onLoad.onLoadCapture.onError.onErrorCapture.onKeyDown.onKeyDownCapture.onKeyPress.onKeyPressCapture.onKeyUp.onKeyUpCapture.onAbort.onAbortCapture.onCanPlay.onCanPlayCapture.onCanPlayThrough.onCanPlayThroughCapture.onDurationChange.onDurationChangeCapture.onEmptied.onEmptiedCapture.onEncrypted.onEncryptedCapture.onEnded.onEndedCapture.onLoadedData.onLoadedDataCapture.onLoadedMetadata.onLoadedMetadataCapture.onLoadStart.onLoadStartCapture.onPause.onPauseCapture.onPlay.onPlayCapture.onPlaying.onPlayingCapture.onProgress.onProgressCapture.onRateChange.onRateChangeCapture.onSeeked.onSeekedCapture.onSeeking.onSeekingCapture.onStalled.onStalledCapture.onSuspend.onSuspendCapture.onTimeUpdate.onTimeUpdateCapture.onVolumeChange.onVolumeChangeCapture.onWaiting.onWaitingCapture.onAuxClick.onAuxClickCapture.onClick.onClickCapture.onContextMenu.onContextMenuCapture.onDoubleClick.onDoubleClickCapture.onDrag.onDragCapture.onDragEnd.onDragEndCapture.onDragEnter.onDragEnterCapture.onDragExit.onDragExitCapture.onDragLeave.onDragLeaveCapture.onDragOver.onDragOverCapture.onDragStart.onDragStartCapture.onDrop.onDropCapture.onMouseDown.onMouseDownCapture.onMouseEnter.onMouseLeave.onMouseMove.onMouseMoveCapture.onMouseOut.onMouseOutCapture.onMouseOver.onMouseOverCapture.onMouseUp.onMouseUpCapture.onSelect.onSelectCapture.onTouchCancel.onTouchCancelCapture.onTouchEnd.onTouchEndCapture.onTouchMove.onTouchMoveCapture.onTouchStart.onTouchStartCapture.onPointerDown.onPointerDownCapture.onPointerMove.onPointerMoveCapture.onPointerUp.onPointerUpCapture.onPointerCancel.onPointerCancelCapture.onPointerEnter.onPointerEnterCapture.onPointerLeave.onPointerLeaveCapture.onPointerOver.onPointerOverCapture.onPointerOut.onPointerOutCapture.onGotPointerCapture.onGotPointerCaptureCapture.onLostPointerCapture.onLostPointerCaptureCapture.onScroll.onScrollCapture.onWheel.onWheelCapture.onAnimationStart.onAnimationStartCapture.onAnimationEnd.onAnimationEndCapture.onAnimationIteration.onAnimationIterationCapture.onTransitionEnd.onTransitionEndCapture".split(".");
-function YI(e) {
- return typeof e == "string" && cme.includes(e);
+})), _me = /* @__PURE__ */ "dangerouslySetInnerHTML.onCopy.onCopyCapture.onCut.onCutCapture.onPaste.onPasteCapture.onCompositionEnd.onCompositionEndCapture.onCompositionStart.onCompositionStartCapture.onCompositionUpdate.onCompositionUpdateCapture.onFocus.onFocusCapture.onBlur.onBlurCapture.onChange.onChangeCapture.onBeforeInput.onBeforeInputCapture.onInput.onInputCapture.onReset.onResetCapture.onSubmit.onSubmitCapture.onInvalid.onInvalidCapture.onLoad.onLoadCapture.onError.onErrorCapture.onKeyDown.onKeyDownCapture.onKeyPress.onKeyPressCapture.onKeyUp.onKeyUpCapture.onAbort.onAbortCapture.onCanPlay.onCanPlayCapture.onCanPlayThrough.onCanPlayThroughCapture.onDurationChange.onDurationChangeCapture.onEmptied.onEmptiedCapture.onEncrypted.onEncryptedCapture.onEnded.onEndedCapture.onLoadedData.onLoadedDataCapture.onLoadedMetadata.onLoadedMetadataCapture.onLoadStart.onLoadStartCapture.onPause.onPauseCapture.onPlay.onPlayCapture.onPlaying.onPlayingCapture.onProgress.onProgressCapture.onRateChange.onRateChangeCapture.onSeeked.onSeekedCapture.onSeeking.onSeekingCapture.onStalled.onStalledCapture.onSuspend.onSuspendCapture.onTimeUpdate.onTimeUpdateCapture.onVolumeChange.onVolumeChangeCapture.onWaiting.onWaitingCapture.onAuxClick.onAuxClickCapture.onClick.onClickCapture.onContextMenu.onContextMenuCapture.onDoubleClick.onDoubleClickCapture.onDrag.onDragCapture.onDragEnd.onDragEndCapture.onDragEnter.onDragEnterCapture.onDragExit.onDragExitCapture.onDragLeave.onDragLeaveCapture.onDragOver.onDragOverCapture.onDragStart.onDragStartCapture.onDrop.onDropCapture.onMouseDown.onMouseDownCapture.onMouseEnter.onMouseLeave.onMouseMove.onMouseMoveCapture.onMouseOut.onMouseOutCapture.onMouseOver.onMouseOverCapture.onMouseUp.onMouseUpCapture.onSelect.onSelectCapture.onTouchCancel.onTouchCancelCapture.onTouchEnd.onTouchEndCapture.onTouchMove.onTouchMoveCapture.onTouchStart.onTouchStartCapture.onPointerDown.onPointerDownCapture.onPointerMove.onPointerMoveCapture.onPointerUp.onPointerUpCapture.onPointerCancel.onPointerCancelCapture.onPointerEnter.onPointerEnterCapture.onPointerLeave.onPointerLeaveCapture.onPointerOver.onPointerOverCapture.onPointerOut.onPointerOutCapture.onGotPointerCapture.onGotPointerCaptureCapture.onLostPointerCapture.onLostPointerCaptureCapture.onScroll.onScrollCapture.onWheel.onWheelCapture.onAnimationStart.onAnimationStartCapture.onAnimationEnd.onAnimationEndCapture.onAnimationIteration.onAnimationIterationCapture.onTransitionEnd.onTransitionEndCapture".split(".");
+function nL(e) {
+ return typeof e == "string" && _me.includes(e);
}
//#endregion
//#region node_modules/recharts/es6/util/svgPropertiesNoEvents.js
-var lme = /* @__PURE__ */ new Set(/* @__PURE__ */ "aria-activedescendant.aria-atomic.aria-autocomplete.aria-busy.aria-checked.aria-colcount.aria-colindex.aria-colspan.aria-controls.aria-current.aria-describedby.aria-details.aria-disabled.aria-errormessage.aria-expanded.aria-flowto.aria-haspopup.aria-hidden.aria-invalid.aria-keyshortcuts.aria-label.aria-labelledby.aria-level.aria-live.aria-modal.aria-multiline.aria-multiselectable.aria-orientation.aria-owns.aria-placeholder.aria-posinset.aria-pressed.aria-readonly.aria-relevant.aria-required.aria-roledescription.aria-rowcount.aria-rowindex.aria-rowspan.aria-selected.aria-setsize.aria-sort.aria-valuemax.aria-valuemin.aria-valuenow.aria-valuetext.className.color.height.id.lang.max.media.method.min.name.style.target.width.role.tabIndex.accentHeight.accumulate.additive.alignmentBaseline.allowReorder.alphabetic.amplitude.arabicForm.ascent.attributeName.attributeType.autoReverse.azimuth.baseFrequency.baselineShift.baseProfile.bbox.begin.bias.by.calcMode.capHeight.clip.clipPath.clipPathUnits.clipRule.colorInterpolation.colorInterpolationFilters.colorProfile.colorRendering.contentScriptType.contentStyleType.cursor.cx.cy.d.decelerate.descent.diffuseConstant.direction.display.divisor.dominantBaseline.dur.dx.dy.edgeMode.elevation.enableBackground.end.exponent.externalResourcesRequired.fill.fillOpacity.fillRule.filter.filterRes.filterUnits.floodColor.floodOpacity.focusable.fontFamily.fontSize.fontSizeAdjust.fontStretch.fontStyle.fontVariant.fontWeight.format.from.fx.fy.g1.g2.glyphName.glyphOrientationHorizontal.glyphOrientationVertical.glyphRef.gradientTransform.gradientUnits.hanging.horizAdvX.horizOriginX.href.ideographic.imageRendering.in2.in.intercept.k1.k2.k3.k4.k.kernelMatrix.kernelUnitLength.kerning.keyPoints.keySplines.keyTimes.lengthAdjust.letterSpacing.lightingColor.limitingConeAngle.local.markerEnd.markerHeight.markerMid.markerStart.markerUnits.markerWidth.mask.maskContentUnits.maskUnits.mathematical.mode.numOctaves.offset.opacity.operator.order.orient.orientation.origin.overflow.overlinePosition.overlineThickness.paintOrder.panose1.pathLength.patternContentUnits.patternTransform.patternUnits.pointerEvents.pointsAtX.pointsAtY.pointsAtZ.preserveAlpha.preserveAspectRatio.primitiveUnits.r.radius.refX.refY.renderingIntent.repeatCount.repeatDur.requiredExtensions.requiredFeatures.restart.result.rotate.rx.ry.seed.shapeRendering.slope.spacing.specularConstant.specularExponent.speed.spreadMethod.startOffset.stdDeviation.stemh.stemv.stitchTiles.stopColor.stopOpacity.strikethroughPosition.strikethroughThickness.string.stroke.strokeDasharray.strokeDashoffset.strokeLinecap.strokeLinejoin.strokeMiterlimit.strokeOpacity.strokeWidth.surfaceScale.systemLanguage.tableValues.targetX.targetY.textAnchor.textDecoration.textLength.textRendering.to.transform.u1.u2.underlinePosition.underlineThickness.unicode.unicodeBidi.unicodeRange.unitsPerEm.vAlphabetic.values.vectorEffect.version.vertAdvY.vertOriginX.vertOriginY.vHanging.vIdeographic.viewTarget.visibility.vMathematical.widths.wordSpacing.writingMode.x1.x2.x.xChannelSelector.xHeight.xlinkActuate.xlinkArcrole.xlinkHref.xlinkRole.xlinkShow.xlinkTitle.xlinkType.xmlBase.xmlLang.xmlns.xmlnsXlink.xmlSpace.y1.y2.y.yChannelSelector.z.zoomAndPan.ref.key.angle".split("."));
-function XI(e) {
- return typeof e == "string" && lme.has(e);
+var vme = /* @__PURE__ */ new Set(/* @__PURE__ */ "aria-activedescendant.aria-atomic.aria-autocomplete.aria-busy.aria-checked.aria-colcount.aria-colindex.aria-colspan.aria-controls.aria-current.aria-describedby.aria-details.aria-disabled.aria-errormessage.aria-expanded.aria-flowto.aria-haspopup.aria-hidden.aria-invalid.aria-keyshortcuts.aria-label.aria-labelledby.aria-level.aria-live.aria-modal.aria-multiline.aria-multiselectable.aria-orientation.aria-owns.aria-placeholder.aria-posinset.aria-pressed.aria-readonly.aria-relevant.aria-required.aria-roledescription.aria-rowcount.aria-rowindex.aria-rowspan.aria-selected.aria-setsize.aria-sort.aria-valuemax.aria-valuemin.aria-valuenow.aria-valuetext.className.color.height.id.lang.max.media.method.min.name.style.target.width.role.tabIndex.accentHeight.accumulate.additive.alignmentBaseline.allowReorder.alphabetic.amplitude.arabicForm.ascent.attributeName.attributeType.autoReverse.azimuth.baseFrequency.baselineShift.baseProfile.bbox.begin.bias.by.calcMode.capHeight.clip.clipPath.clipPathUnits.clipRule.colorInterpolation.colorInterpolationFilters.colorProfile.colorRendering.contentScriptType.contentStyleType.cursor.cx.cy.d.decelerate.descent.diffuseConstant.direction.display.divisor.dominantBaseline.dur.dx.dy.edgeMode.elevation.enableBackground.end.exponent.externalResourcesRequired.fill.fillOpacity.fillRule.filter.filterRes.filterUnits.floodColor.floodOpacity.focusable.fontFamily.fontSize.fontSizeAdjust.fontStretch.fontStyle.fontVariant.fontWeight.format.from.fx.fy.g1.g2.glyphName.glyphOrientationHorizontal.glyphOrientationVertical.glyphRef.gradientTransform.gradientUnits.hanging.horizAdvX.horizOriginX.href.ideographic.imageRendering.in2.in.intercept.k1.k2.k3.k4.k.kernelMatrix.kernelUnitLength.kerning.keyPoints.keySplines.keyTimes.lengthAdjust.letterSpacing.lightingColor.limitingConeAngle.local.markerEnd.markerHeight.markerMid.markerStart.markerUnits.markerWidth.mask.maskContentUnits.maskUnits.mathematical.mode.numOctaves.offset.opacity.operator.order.orient.orientation.origin.overflow.overlinePosition.overlineThickness.paintOrder.panose1.pathLength.patternContentUnits.patternTransform.patternUnits.pointerEvents.pointsAtX.pointsAtY.pointsAtZ.preserveAlpha.preserveAspectRatio.primitiveUnits.r.radius.refX.refY.renderingIntent.repeatCount.repeatDur.requiredExtensions.requiredFeatures.restart.result.rotate.rx.ry.seed.shapeRendering.slope.spacing.specularConstant.specularExponent.speed.spreadMethod.startOffset.stdDeviation.stemh.stemv.stitchTiles.stopColor.stopOpacity.strikethroughPosition.strikethroughThickness.string.stroke.strokeDasharray.strokeDashoffset.strokeLinecap.strokeLinejoin.strokeMiterlimit.strokeOpacity.strokeWidth.surfaceScale.systemLanguage.tableValues.targetX.targetY.textAnchor.textDecoration.textLength.textRendering.to.transform.u1.u2.underlinePosition.underlineThickness.unicode.unicodeBidi.unicodeRange.unitsPerEm.vAlphabetic.values.vectorEffect.version.vertAdvY.vertOriginX.vertOriginY.vHanging.vIdeographic.viewTarget.visibility.vMathematical.widths.wordSpacing.writingMode.x1.x2.x.xChannelSelector.xHeight.xlinkActuate.xlinkArcrole.xlinkHref.xlinkRole.xlinkShow.xlinkTitle.xlinkType.xmlBase.xmlLang.xmlns.xmlnsXlink.xmlSpace.y1.y2.y.yChannelSelector.z.zoomAndPan.ref.key.angle".split("."));
+function rL(e) {
+ return typeof e == "string" && vme.has(e);
}
-function ZI(e) {
+function iL(e) {
return typeof e == "string" && e.startsWith("data-");
}
-function QI(e) {
+function aL(e) {
if (typeof e != "object" || !e) return {};
var t = {};
- for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && (XI(n) || ZI(n)) && (t[n] = e[n]);
+ for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && (rL(n) || iL(n)) && (t[n] = e[n]);
return t;
}
-function $I(e) {
+function oL(e) {
if (e == null) return null;
if (/*#__PURE__*/ (0, R.isValidElement)(e) && typeof e.props == "object" && e.props !== null) {
var t = e.props;
- return QI(t);
+ return aL(t);
}
- return typeof e == "object" && !Array.isArray(e) ? QI(e) : null;
+ return typeof e == "object" && !Array.isArray(e) ? aL(e) : null;
}
//#endregion
//#region node_modules/recharts/es6/util/svgPropertiesAndEvents.js
-function eL(e) {
+function sL(e) {
var t = {};
- for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && (XI(n) || ZI(n) || YI(n)) && (t[n] = e[n]);
+ for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && (rL(n) || iL(n) || nL(n)) && (t[n] = e[n]);
return t;
}
-function ume(e) {
- return e == null ? null : /*#__PURE__*/ (0, R.isValidElement)(e) ? eL(e.props) : typeof e == "object" && !Array.isArray(e) ? eL(e) : null;
+function yme(e) {
+ return e == null ? null : /*#__PURE__*/ (0, R.isValidElement)(e) ? sL(e.props) : typeof e == "object" && !Array.isArray(e) ? sL(e) : null;
}
//#endregion
//#region node_modules/recharts/es6/container/Surface.js
-var dme = [
+var bme = [
"children",
"width",
"height",
@@ -47941,25 +48381,25 @@ var dme = [
"title",
"desc"
];
-function tL() {
- return tL = Object.assign ? Object.assign.bind() : function(e) {
+function cL() {
+ return cL = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t];
for (var r in n) ({}).hasOwnProperty.call(n, r) && (e[r] = n[r]);
}
return e;
- }, tL.apply(null, arguments);
+ }, cL.apply(null, arguments);
}
-function fme(e, t) {
+function xme(e, t) {
if (e == null) return {};
- var n, r, i = pme(e, t);
+ var n, r, i = Sme(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function pme(e, t) {
+function Sme(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -47968,14 +48408,14 @@ function pme(e, t) {
}
return n;
}
-var nL = /*#__PURE__*/ (0, R.forwardRef)((e, t) => {
- var { children: n, width: r, height: i, viewBox: a, className: o, style: s, title: c, desc: l } = e, u = fme(e, dme), d = a || {
+var lL = /*#__PURE__*/ (0, R.forwardRef)((e, t) => {
+ var { children: n, width: r, height: i, viewBox: a, className: o, style: s, title: c, desc: l } = e, u = xme(e, bme), d = a || {
width: r,
height: i,
x: 0,
y: 0
}, f = Ql("recharts-surface", o);
- return /*#__PURE__*/ R.createElement("svg", tL({}, eL(u), {
+ return /*#__PURE__*/ R.createElement("svg", cL({}, sL(u), {
className: f,
width: r,
height: i,
@@ -47983,26 +48423,26 @@ var nL = /*#__PURE__*/ (0, R.forwardRef)((e, t) => {
viewBox: `${d.x} ${d.y} ${d.width} ${d.height}`,
ref: t
}), /*#__PURE__*/ R.createElement("title", null, c), /*#__PURE__*/ R.createElement("desc", null, l), n);
-}), mme = ["children", "className"];
-function rL() {
- return rL = Object.assign ? Object.assign.bind() : function(e) {
+}), Cme = ["children", "className"];
+function uL() {
+ return uL = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t];
for (var r in n) ({}).hasOwnProperty.call(n, r) && (e[r] = n[r]);
}
return e;
- }, rL.apply(null, arguments);
+ }, uL.apply(null, arguments);
}
-function hme(e, t) {
+function wme(e, t) {
if (e == null) return {};
- var n, r, i = gme(e, t);
+ var n, r, i = Tme(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function gme(e, t) {
+function Tme(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -48011,39 +48451,39 @@ function gme(e, t) {
}
return n;
}
-var iL = /*#__PURE__*/ R.forwardRef((e, t) => {
- var { children: n, className: r } = e, i = hme(e, mme), a = Ql("recharts-layer", r);
- return /*#__PURE__*/ R.createElement("g", rL({ className: a }, eL(i), { ref: t }), n);
-}), aL = /*#__PURE__*/ (0, R.createContext)(null), _me = () => (0, R.useContext)(aL);
+var dL = /*#__PURE__*/ R.forwardRef((e, t) => {
+ var { children: n, className: r } = e, i = wme(e, Cme), a = Ql("recharts-layer", r);
+ return /*#__PURE__*/ R.createElement("g", uL({ className: a }, sL(i), { ref: t }), n);
+}), fL = /*#__PURE__*/ (0, R.createContext)(null), Eme = () => (0, R.useContext)(fL);
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/constant.js
-function oL(e) {
+function pL(e) {
return function() {
return e;
};
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/math.js
-var sL = Math.cos, cL = Math.sin, lL = Math.sqrt, uL = Math.PI;
-uL / 2;
-var dL = 2 * uL, fL = Math.PI, pL = 2 * fL, mL = 1e-6, vme = pL - mL;
-function hL(e) {
+var mL = Math.cos, hL = Math.sin, gL = Math.sqrt, _L = Math.PI;
+_L / 2;
+var vL = 2 * _L, yL = Math.PI, bL = 2 * yL, xL = 1e-6, Dme = bL - xL;
+function SL(e) {
this._ += e[0];
for (let t = 1, n = e.length; t < n; ++t) this._ += arguments[t] + e[t];
}
-function yme(e) {
+function Ome(e) {
let t = Math.floor(e);
if (!(t >= 0)) throw Error(`invalid digits: ${e}`);
- if (t > 15) return hL;
+ if (t > 15) return SL;
let n = 10 ** t;
return function(e) {
this._ += e[0];
for (let t = 1, r = e.length; t < r; ++t) this._ += Math.round(arguments[t] * n) / n + e[t];
};
}
-var gL = class {
+var CL = class {
constructor(e) {
- this._x0 = this._y0 = this._x1 = this._y1 = null, this._ = "", this._append = e == null ? hL : yme(e);
+ this._x0 = this._y0 = this._x1 = this._y1 = null, this._ = "", this._append = e == null ? SL : Ome(e);
}
moveTo(e, t) {
this._append`M${this._x0 = this._x1 = +e},${this._y0 = this._y1 = +t}`;
@@ -48064,18 +48504,18 @@ var gL = class {
if (e = +e, t = +t, n = +n, r = +r, i = +i, i < 0) throw Error(`negative radius: ${i}`);
let a = this._x1, o = this._y1, s = n - e, c = r - t, l = a - e, u = o - t, d = l * l + u * u;
if (this._x1 === null) this._append`M${this._x1 = e},${this._y1 = t}`;
- else if (d > mL) {
- if (!(Math.abs(u * s - c * l) > mL) || !i) this._append`L${this._x1 = e},${this._y1 = t}`;
+ else if (d > xL) {
+ if (!(Math.abs(u * s - c * l) > xL) || !i) this._append`L${this._x1 = e},${this._y1 = t}`;
else {
- let f = n - a, p = r - o, m = s * s + c * c, h = f * f + p * p, g = Math.sqrt(m), _ = Math.sqrt(d), v = i * Math.tan((fL - Math.acos((m + d - h) / (2 * g * _))) / 2), y = v / _, b = v / g;
- Math.abs(y - 1) > mL && this._append`L${e + y * l},${t + y * u}`, this._append`A${i},${i},0,0,${+(u * f > l * p)},${this._x1 = e + b * s},${this._y1 = t + b * c}`;
+ let f = n - a, p = r - o, m = s * s + c * c, h = f * f + p * p, g = Math.sqrt(m), _ = Math.sqrt(d), v = i * Math.tan((yL - Math.acos((m + d - h) / (2 * g * _))) / 2), y = v / _, b = v / g;
+ Math.abs(y - 1) > xL && this._append`L${e + y * l},${t + y * u}`, this._append`A${i},${i},0,0,${+(u * f > l * p)},${this._x1 = e + b * s},${this._y1 = t + b * c}`;
}
}
}
arc(e, t, n, r, i, a) {
if (e = +e, t = +t, n = +n, a = !!a, n < 0) throw Error(`negative radius: ${n}`);
let o = n * Math.cos(r), s = n * Math.sin(r), c = e + o, l = t + s, u = 1 ^ a, d = a ? r - i : i - r;
- this._x1 === null ? this._append`M${c},${l}` : (Math.abs(this._x1 - c) > mL || Math.abs(this._y1 - l) > mL) && this._append`L${c},${l}`, n && (d < 0 && (d = d % pL + pL), d > vme ? this._append`A${n},${n},0,1,${u},${e - o},${t - s}A${n},${n},0,1,${u},${this._x1 = c},${this._y1 = l}` : d > mL && this._append`A${n},${n},0,${+(d >= fL)},${u},${this._x1 = e + n * Math.cos(i)},${this._y1 = t + n * Math.sin(i)}`);
+ this._x1 === null ? this._append`M${c},${l}` : (Math.abs(this._x1 - c) > xL || Math.abs(this._y1 - l) > xL) && this._append`L${c},${l}`, n && (d < 0 && (d = d % bL + bL), d > Dme ? this._append`A${n},${n},0,1,${u},${e - o},${t - s}A${n},${n},0,1,${u},${this._x1 = c},${this._y1 = l}` : d > xL && this._append`A${n},${n},0,${+(d >= yL)},${u},${this._x1 = e + n * Math.cos(i)},${this._y1 = t + n * Math.sin(i)}`);
}
rect(e, t, n, r) {
this._append`M${this._x0 = this._x1 = +e},${this._y0 = this._y1 = +t}h${n = +n}v${+r}h${-n}Z`;
@@ -48084,10 +48524,10 @@ var gL = class {
return this._;
}
};
-gL.prototype;
+CL.prototype;
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/path.js
-function _L(e) {
+function wL(e) {
let t = 3;
return e.digits = function(n) {
if (!arguments.length) return t;
@@ -48098,18 +48538,18 @@ function _L(e) {
t = e;
}
return e;
- }, () => new gL(t);
+ }, () => new CL(t);
}
Array.prototype.slice;
-function vL(e) {
+function TL(e) {
return typeof e == "object" && "length" in e ? e : Array.from(e);
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/curve/linear.js
-function yL(e) {
+function EL(e) {
this._context = e;
}
-yL.prototype = {
+EL.prototype = {
areaStart: function() {
this._line = 0;
},
@@ -48132,33 +48572,33 @@ yL.prototype = {
}
}
};
-function bL(e) {
- return new yL(e);
+function DL(e) {
+ return new EL(e);
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/point.js
-function xL(e) {
+function OL(e) {
return e[0];
}
-function SL(e) {
+function kL(e) {
return e[1];
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/line.js
-function CL(e, t) {
- var n = oL(!0), r = null, i = bL, a = null, o = _L(s);
- e = typeof e == "function" ? e : e === void 0 ? xL : oL(e), t = typeof t == "function" ? t : t === void 0 ? SL : oL(t);
+function AL(e, t) {
+ var n = pL(!0), r = null, i = DL, a = null, o = wL(s);
+ e = typeof e == "function" ? e : e === void 0 ? OL : pL(e), t = typeof t == "function" ? t : t === void 0 ? kL : pL(t);
function s(s) {
- var c, l = (s = vL(s)).length, u, d = !1, f;
+ var c, l = (s = TL(s)).length, u, d = !1, f;
for (r ?? (a = i(f = o())), c = 0; c <= l; ++c) !(c < l && n(u = s[c], c, s)) === d && ((d = !d) ? a.lineStart() : a.lineEnd()), d && a.point(+e(u, c, s), +t(u, c, s));
if (f) return a = null, f + "" || null;
}
return s.x = function(t) {
- return arguments.length ? (e = typeof t == "function" ? t : oL(+t), s) : e;
+ return arguments.length ? (e = typeof t == "function" ? t : pL(+t), s) : e;
}, s.y = function(e) {
- return arguments.length ? (t = typeof e == "function" ? e : oL(+e), s) : t;
+ return arguments.length ? (t = typeof e == "function" ? e : pL(+e), s) : t;
}, s.defined = function(e) {
- return arguments.length ? (n = typeof e == "function" ? e : oL(!!e), s) : n;
+ return arguments.length ? (n = typeof e == "function" ? e : pL(!!e), s) : n;
}, s.curve = function(e) {
return arguments.length ? (i = e, r != null && (a = i(r)), s) : i;
}, s.context = function(e) {
@@ -48167,11 +48607,11 @@ function CL(e, t) {
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/area.js
-function wL(e, t, n) {
- var r = null, i = oL(!0), a = null, o = bL, s = null, c = _L(l);
- e = typeof e == "function" ? e : e === void 0 ? xL : oL(+e), t = typeof t == "function" ? t : oL(t === void 0 ? 0 : +t), n = typeof n == "function" ? n : n === void 0 ? SL : oL(+n);
+function jL(e, t, n) {
+ var r = null, i = pL(!0), a = null, o = DL, s = null, c = wL(l);
+ e = typeof e == "function" ? e : e === void 0 ? OL : pL(+e), t = typeof t == "function" ? t : pL(t === void 0 ? 0 : +t), n = typeof n == "function" ? n : n === void 0 ? kL : pL(+n);
function l(l) {
- var u, d, f, p = (l = vL(l)).length, m, h = !1, g, _ = Array(p), v = Array(p);
+ var u, d, f, p = (l = TL(l)).length, m, h = !1, g, _ = Array(p), v = Array(p);
for (a ?? (s = o(g = c())), u = 0; u <= p; ++u) {
if (!(u < p && i(m = l[u], u, l)) === h) {
if (h = !h) d = u, s.areaStart(), s.lineStart();
@@ -48185,20 +48625,20 @@ function wL(e, t, n) {
if (g) return s = null, g + "" || null;
}
function u() {
- return CL().defined(i).curve(o).context(a);
+ return AL().defined(i).curve(o).context(a);
}
return l.x = function(t) {
- return arguments.length ? (e = typeof t == "function" ? t : oL(+t), r = null, l) : e;
+ return arguments.length ? (e = typeof t == "function" ? t : pL(+t), r = null, l) : e;
}, l.x0 = function(t) {
- return arguments.length ? (e = typeof t == "function" ? t : oL(+t), l) : e;
+ return arguments.length ? (e = typeof t == "function" ? t : pL(+t), l) : e;
}, l.x1 = function(e) {
- return arguments.length ? (r = e == null ? null : typeof e == "function" ? e : oL(+e), l) : r;
+ return arguments.length ? (r = e == null ? null : typeof e == "function" ? e : pL(+e), l) : r;
}, l.y = function(e) {
- return arguments.length ? (t = typeof e == "function" ? e : oL(+e), n = null, l) : t;
+ return arguments.length ? (t = typeof e == "function" ? e : pL(+e), n = null, l) : t;
}, l.y0 = function(e) {
- return arguments.length ? (t = typeof e == "function" ? e : oL(+e), l) : t;
+ return arguments.length ? (t = typeof e == "function" ? e : pL(+e), l) : t;
}, l.y1 = function(e) {
- return arguments.length ? (n = e == null ? null : typeof e == "function" ? e : oL(+e), l) : n;
+ return arguments.length ? (n = e == null ? null : typeof e == "function" ? e : pL(+e), l) : n;
}, l.lineX0 = l.lineY0 = function() {
return u().x(e).y(t);
}, l.lineY1 = function() {
@@ -48206,7 +48646,7 @@ function wL(e, t, n) {
}, l.lineX1 = function() {
return u().x(r).y(t);
}, l.defined = function(e) {
- return arguments.length ? (i = typeof e == "function" ? e : oL(!!e), l) : i;
+ return arguments.length ? (i = typeof e == "function" ? e : pL(!!e), l) : i;
}, l.curve = function(e) {
return arguments.length ? (o = e, a != null && (s = o(a)), l) : o;
}, l.context = function(e) {
@@ -48215,7 +48655,7 @@ function wL(e, t, n) {
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/curve/bump.js
-var TL = class {
+var ML = class {
constructor(e, t) {
this._context = e, this._x = t;
}
@@ -48242,70 +48682,70 @@ var TL = class {
this._x0 = e, this._y0 = t;
}
};
-function bme(e) {
- return new TL(e, !0);
+function kme(e) {
+ return new ML(e, !0);
}
-function xme(e) {
- return new TL(e, !1);
+function Ame(e) {
+ return new ML(e, !1);
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/symbol/circle.js
-var EL = { draw(e, t) {
- let n = lL(t / uL);
- e.moveTo(n, 0), e.arc(0, 0, n, 0, dL);
-} }, Sme = { draw(e, t) {
- let n = lL(t / 5) / 2;
+var NL = { draw(e, t) {
+ let n = gL(t / _L);
+ e.moveTo(n, 0), e.arc(0, 0, n, 0, vL);
+} }, jme = { draw(e, t) {
+ let n = gL(t / 5) / 2;
e.moveTo(-3 * n, -n), e.lineTo(-n, -n), e.lineTo(-n, -3 * n), e.lineTo(n, -3 * n), e.lineTo(n, -n), e.lineTo(3 * n, -n), e.lineTo(3 * n, n), e.lineTo(n, n), e.lineTo(n, 3 * n), e.lineTo(-n, 3 * n), e.lineTo(-n, n), e.lineTo(-3 * n, n), e.closePath();
-} }, DL = lL(1 / 3), Cme = DL * 2, wme = { draw(e, t) {
- let n = lL(t / Cme), r = n * DL;
+} }, PL = gL(1 / 3), Mme = PL * 2, Nme = { draw(e, t) {
+ let n = gL(t / Mme), r = n * PL;
e.moveTo(0, -n), e.lineTo(r, 0), e.lineTo(0, n), e.lineTo(-r, 0), e.closePath();
-} }, Tme = { draw(e, t) {
- let n = lL(t), r = -n / 2;
+} }, Pme = { draw(e, t) {
+ let n = gL(t), r = -n / 2;
e.rect(r, r, n, n);
-} }, Eme = .8908130915292852, OL = cL(uL / 10) / cL(7 * uL / 10), Dme = cL(dL / 10) * OL, Ome = -sL(dL / 10) * OL, kme = { draw(e, t) {
- let n = lL(t * Eme), r = Dme * n, i = Ome * n;
+} }, Fme = .8908130915292852, FL = hL(_L / 10) / hL(7 * _L / 10), Ime = hL(vL / 10) * FL, Lme = -mL(vL / 10) * FL, Rme = { draw(e, t) {
+ let n = gL(t * Fme), r = Ime * n, i = Lme * n;
e.moveTo(0, -n), e.lineTo(r, i);
for (let t = 1; t < 5; ++t) {
- let a = dL * t / 5, o = sL(a), s = cL(a);
+ let a = vL * t / 5, o = mL(a), s = hL(a);
e.lineTo(s * n, -o * n), e.lineTo(o * r - s * i, s * r + o * i);
}
e.closePath();
-} }, kL = lL(3), Ame = { draw(e, t) {
- let n = -lL(t / (kL * 3));
- e.moveTo(0, n * 2), e.lineTo(-kL * n, -n), e.lineTo(kL * n, -n), e.closePath();
-} }, AL = -.5, jL = lL(3) / 2, ML = 1 / lL(12), jme = (ML / 2 + 1) * 3, Mme = { draw(e, t) {
- let n = lL(t / jme), r = n / 2, i = n * ML, a = r, o = n * ML + n, s = -a, c = o;
- e.moveTo(r, i), e.lineTo(a, o), e.lineTo(s, c), e.lineTo(AL * r - jL * i, jL * r + AL * i), e.lineTo(AL * a - jL * o, jL * a + AL * o), e.lineTo(AL * s - jL * c, jL * s + AL * c), e.lineTo(AL * r + jL * i, AL * i - jL * r), e.lineTo(AL * a + jL * o, AL * o - jL * a), e.lineTo(AL * s + jL * c, AL * c - jL * s), e.closePath();
+} }, IL = gL(3), zme = { draw(e, t) {
+ let n = -gL(t / (IL * 3));
+ e.moveTo(0, n * 2), e.lineTo(-IL * n, -n), e.lineTo(IL * n, -n), e.closePath();
+} }, LL = -.5, RL = gL(3) / 2, zL = 1 / gL(12), Bme = (zL / 2 + 1) * 3, Vme = { draw(e, t) {
+ let n = gL(t / Bme), r = n / 2, i = n * zL, a = r, o = n * zL + n, s = -a, c = o;
+ e.moveTo(r, i), e.lineTo(a, o), e.lineTo(s, c), e.lineTo(LL * r - RL * i, RL * r + LL * i), e.lineTo(LL * a - RL * o, RL * a + LL * o), e.lineTo(LL * s - RL * c, RL * s + LL * c), e.lineTo(LL * r + RL * i, LL * i - RL * r), e.lineTo(LL * a + RL * o, LL * o - RL * a), e.lineTo(LL * s + RL * c, LL * c - RL * s), e.closePath();
} };
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/symbol.js
-function Nme(e, t) {
- let n = null, r = _L(i);
- e = typeof e == "function" ? e : oL(e || EL), t = typeof t == "function" ? t : oL(t === void 0 ? 64 : +t);
+function Hme(e, t) {
+ let n = null, r = wL(i);
+ e = typeof e == "function" ? e : pL(e || NL), t = typeof t == "function" ? t : pL(t === void 0 ? 64 : +t);
function i() {
let i;
if (n ||= i = r(), e.apply(this, arguments).draw(n, +t.apply(this, arguments)), i) return n = null, i + "" || null;
}
return i.type = function(t) {
- return arguments.length ? (e = typeof t == "function" ? t : oL(t), i) : e;
+ return arguments.length ? (e = typeof t == "function" ? t : pL(t), i) : e;
}, i.size = function(e) {
- return arguments.length ? (t = typeof e == "function" ? e : oL(+e), i) : t;
+ return arguments.length ? (t = typeof e == "function" ? e : pL(+e), i) : t;
}, i.context = function(e) {
return arguments.length ? (n = e ?? null, i) : n;
}, i;
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/noop.js
-function NL() {}
+function BL() {}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/curve/basis.js
-function PL(e, t, n) {
+function VL(e, t, n) {
e._context.bezierCurveTo((2 * e._x0 + e._x1) / 3, (2 * e._y0 + e._y1) / 3, (e._x0 + 2 * e._x1) / 3, (e._y0 + 2 * e._y1) / 3, (e._x0 + 4 * e._x1 + t) / 6, (e._y0 + 4 * e._y1 + n) / 6);
}
-function FL(e) {
+function HL(e) {
this._context = e;
}
-FL.prototype = {
+HL.prototype = {
areaStart: function() {
this._line = 0;
},
@@ -48317,7 +48757,7 @@ FL.prototype = {
},
lineEnd: function() {
switch (this._point) {
- case 3: PL(this, this._x1, this._y1);
+ case 3: VL(this, this._x1, this._y1);
case 2: this._context.lineTo(this._x1, this._y1);
}
(this._line || this._line !== 0 && this._point === 1) && this._context.closePath(), this._line = 1 - this._line;
@@ -48331,22 +48771,22 @@ FL.prototype = {
this._point = 2;
break;
case 2: this._point = 3, this._context.lineTo((5 * this._x0 + this._x1) / 6, (5 * this._y0 + this._y1) / 6);
- default: PL(this, e, t);
+ default: VL(this, e, t);
}
this._x0 = this._x1, this._x1 = e, this._y0 = this._y1, this._y1 = t;
}
};
-function Pme(e) {
- return new FL(e);
+function Ume(e) {
+ return new HL(e);
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/curve/basisClosed.js
-function IL(e) {
+function UL(e) {
this._context = e;
}
-IL.prototype = {
- areaStart: NL,
- areaEnd: NL,
+UL.prototype = {
+ areaStart: BL,
+ areaEnd: BL,
lineStart: function() {
this._x0 = this._x1 = this._x2 = this._x3 = this._x4 = this._y0 = this._y1 = this._y2 = this._y3 = this._y4 = NaN, this._point = 0;
},
@@ -48372,20 +48812,20 @@ IL.prototype = {
case 2:
this._point = 3, this._x4 = e, this._y4 = t, this._context.moveTo((this._x0 + 4 * this._x1 + e) / 6, (this._y0 + 4 * this._y1 + t) / 6);
break;
- default: PL(this, e, t);
+ default: VL(this, e, t);
}
this._x0 = this._x1, this._x1 = e, this._y0 = this._y1, this._y1 = t;
}
};
-function Fme(e) {
- return new IL(e);
+function Wme(e) {
+ return new UL(e);
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/curve/basisOpen.js
-function LL(e) {
+function WL(e) {
this._context = e;
}
-LL.prototype = {
+WL.prototype = {
areaStart: function() {
this._line = 0;
},
@@ -48412,22 +48852,22 @@ LL.prototype = {
this._line ? this._context.lineTo(n, r) : this._context.moveTo(n, r);
break;
case 3: this._point = 4;
- default: PL(this, e, t);
+ default: VL(this, e, t);
}
this._x0 = this._x1, this._x1 = e, this._y0 = this._y1, this._y1 = t;
}
};
-function Ime(e) {
- return new LL(e);
+function Gme(e) {
+ return new WL(e);
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/curve/linearClosed.js
-function RL(e) {
+function GL(e) {
this._context = e;
}
-RL.prototype = {
- areaStart: NL,
- areaEnd: NL,
+GL.prototype = {
+ areaStart: BL,
+ areaEnd: BL,
lineStart: function() {
this._point = 0;
},
@@ -48438,30 +48878,30 @@ RL.prototype = {
e = +e, t = +t, this._point ? this._context.lineTo(e, t) : (this._point = 1, this._context.moveTo(e, t));
}
};
-function Lme(e) {
- return new RL(e);
+function Kme(e) {
+ return new GL(e);
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/curve/monotone.js
-function zL(e) {
+function KL(e) {
return e < 0 ? -1 : 1;
}
-function BL(e, t, n) {
+function qL(e, t, n) {
var r = e._x1 - e._x0, i = t - e._x1, a = (e._y1 - e._y0) / (r || i < 0 && -0), o = (n - e._y1) / (i || r < 0 && -0), s = (a * i + o * r) / (r + i);
- return (zL(a) + zL(o)) * Math.min(Math.abs(a), Math.abs(o), .5 * Math.abs(s)) || 0;
+ return (KL(a) + KL(o)) * Math.min(Math.abs(a), Math.abs(o), .5 * Math.abs(s)) || 0;
}
-function VL(e, t) {
+function JL(e, t) {
var n = e._x1 - e._x0;
return n ? (3 * (e._y1 - e._y0) / n - t) / 2 : t;
}
-function HL(e, t, n) {
+function YL(e, t, n) {
var r = e._x0, i = e._y0, a = e._x1, o = e._y1, s = (a - r) / 3;
e._context.bezierCurveTo(r + s, i + s * t, a - s, o - s * n, a, o);
}
-function UL(e) {
+function XL(e) {
this._context = e;
}
-UL.prototype = {
+XL.prototype = {
areaStart: function() {
this._line = 0;
},
@@ -48476,7 +48916,7 @@ UL.prototype = {
case 2:
this._context.lineTo(this._x1, this._y1);
break;
- case 3: HL(this, this._t0, VL(this, this._t0));
+ case 3: YL(this, this._t0, JL(this, this._t0));
}
(this._line || this._line !== 0 && this._point === 1) && this._context.closePath(), this._line = 1 - this._line;
},
@@ -48491,24 +48931,24 @@ UL.prototype = {
this._point = 2;
break;
case 2:
- this._point = 3, HL(this, VL(this, n = BL(this, e, t)), n);
+ this._point = 3, YL(this, JL(this, n = qL(this, e, t)), n);
break;
- default: HL(this, this._t0, n = BL(this, e, t));
+ default: YL(this, this._t0, n = qL(this, e, t));
}
this._x0 = this._x1, this._x1 = e, this._y0 = this._y1, this._y1 = t, this._t0 = n;
}
}
};
-function WL(e) {
- this._context = new GL(e);
+function ZL(e) {
+ this._context = new QL(e);
}
-(WL.prototype = Object.create(UL.prototype)).point = function(e, t) {
- UL.prototype.point.call(this, t, e);
+(ZL.prototype = Object.create(XL.prototype)).point = function(e, t) {
+ XL.prototype.point.call(this, t, e);
};
-function GL(e) {
+function QL(e) {
this._context = e;
}
-GL.prototype = {
+QL.prototype = {
moveTo: function(e, t) {
this._context.moveTo(t, e);
},
@@ -48522,18 +48962,18 @@ GL.prototype = {
this._context.bezierCurveTo(t, e, r, n, a, i);
}
};
-function Rme(e) {
- return new UL(e);
+function qme(e) {
+ return new XL(e);
}
-function zme(e) {
- return new WL(e);
+function Jme(e) {
+ return new ZL(e);
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/curve/natural.js
-function KL(e) {
+function $L(e) {
this._context = e;
}
-KL.prototype = {
+$L.prototype = {
areaStart: function() {
this._line = 0;
},
@@ -48547,7 +48987,7 @@ KL.prototype = {
var e = this._x, t = this._y, n = e.length;
if (n) {
if (this._line ? this._context.lineTo(e[0], t[0]) : this._context.moveTo(e[0], t[0]), n === 2) this._context.lineTo(e[1], t[1]);
- else for (var r = qL(e), i = qL(t), a = 0, o = 1; o < n; ++a, ++o) this._context.bezierCurveTo(r[0][a], i[0][a], r[1][a], i[1][a], e[o], t[o]);
+ else for (var r = eR(e), i = eR(t), a = 0, o = 1; o < n; ++a, ++o) this._context.bezierCurveTo(r[0][a], i[0][a], r[1][a], i[1][a], e[o], t[o]);
}
(this._line || this._line !== 0 && n === 1) && this._context.closePath(), this._line = 1 - this._line, this._x = this._y = null;
},
@@ -48555,7 +48995,7 @@ KL.prototype = {
this._x.push(+e), this._y.push(+t);
}
};
-function qL(e) {
+function eR(e) {
var t, n = e.length - 1, r, i = Array(n), a = Array(n), o = Array(n);
for (i[0] = 0, a[0] = 2, o[0] = e[0] + 2 * e[1], t = 1; t < n - 1; ++t) i[t] = 1, a[t] = 4, o[t] = 4 * e[t] + 2 * e[t + 1];
for (i[n - 1] = 2, a[n - 1] = 7, o[n - 1] = 8 * e[n - 1] + e[n], t = 1; t < n; ++t) r = i[t] / a[t - 1], a[t] -= r, o[t] -= r * o[t - 1];
@@ -48563,15 +49003,15 @@ function qL(e) {
for (a[n - 1] = (e[n] + i[n - 1]) / 2, t = 0; t < n - 1; ++t) a[t] = 2 * e[t + 1] - i[t + 1];
return [i, a];
}
-function Bme(e) {
- return new KL(e);
+function Yme(e) {
+ return new $L(e);
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/curve/step.js
-function JL(e, t) {
+function tR(e, t) {
this._context = e, this._t = t;
}
-JL.prototype = {
+tR.prototype = {
areaStart: function() {
this._line = 0;
},
@@ -48599,78 +49039,78 @@ JL.prototype = {
this._x = e, this._y = t;
}
};
-function Vme(e) {
- return new JL(e, .5);
+function Xme(e) {
+ return new tR(e, .5);
}
-function Hme(e) {
- return new JL(e, 0);
+function Zme(e) {
+ return new tR(e, 0);
}
-function Ume(e) {
- return new JL(e, 1);
+function Qme(e) {
+ return new tR(e, 1);
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/offset/none.js
-function YL(e, t) {
+function nR(e, t) {
if ((o = e.length) > 1) for (var n = 1, r, i, a = e[t[0]], o, s = a.length; n < o; ++n) for (i = a, a = e[t[n]], r = 0; r < s; ++r) a[r][1] += a[r][0] = isNaN(i[r][1]) ? i[r][0] : i[r][1];
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/order/none.js
-function XL(e) {
+function rR(e) {
for (var t = e.length, n = Array(t); --t >= 0;) n[t] = t;
return n;
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/stack.js
-function Wme(e, t) {
+function $me(e, t) {
return e[t];
}
-function Gme(e) {
+function ehe(e) {
let t = [];
return t.key = e, t;
}
-function Kme() {
- var e = oL([]), t = XL, n = YL, r = Wme;
+function the() {
+ var e = pL([]), t = rR, n = nR, r = $me;
function i(i) {
- var a = Array.from(e.apply(this, arguments), Gme), o, s = a.length, c = -1, l;
+ var a = Array.from(e.apply(this, arguments), ehe), o, s = a.length, c = -1, l;
for (let e of i) for (o = 0, ++c; o < s; ++o) (a[o][c] = [0, +r(e, a[o].key, c, i)]).data = e;
- for (o = 0, l = vL(t(a)); o < s; ++o) a[l[o]].index = o;
+ for (o = 0, l = TL(t(a)); o < s; ++o) a[l[o]].index = o;
return n(a, l), a;
}
return i.keys = function(t) {
- return arguments.length ? (e = typeof t == "function" ? t : oL(Array.from(t)), i) : e;
+ return arguments.length ? (e = typeof t == "function" ? t : pL(Array.from(t)), i) : e;
}, i.value = function(e) {
- return arguments.length ? (r = typeof e == "function" ? e : oL(+e), i) : r;
+ return arguments.length ? (r = typeof e == "function" ? e : pL(+e), i) : r;
}, i.order = function(e) {
- return arguments.length ? (t = e == null ? XL : typeof e == "function" ? e : oL(Array.from(e)), i) : t;
+ return arguments.length ? (t = e == null ? rR : typeof e == "function" ? e : pL(Array.from(e)), i) : t;
}, i.offset = function(e) {
- return arguments.length ? (n = e ?? YL, i) : n;
+ return arguments.length ? (n = e ?? nR, i) : n;
}, i;
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/offset/expand.js
-function qme(e, t) {
+function nhe(e, t) {
if ((r = e.length) > 0) {
for (var n, r, i = 0, a = e[0].length, o; i < a; ++i) {
for (o = n = 0; n < r; ++n) o += e[n][i][1] || 0;
if (o) for (n = 0; n < r; ++n) e[n][i][1] /= o;
}
- YL(e, t);
+ nR(e, t);
}
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/offset/silhouette.js
-function Jme(e, t) {
+function rhe(e, t) {
if ((i = e.length) > 0) {
for (var n = 0, r = e[t[0]], i, a = r.length; n < a; ++n) {
for (var o = 0, s = 0; o < i; ++o) s += e[o][n][1] || 0;
r[n][1] += r[n][0] = -s / 2;
}
- YL(e, t);
+ nR(e, t);
}
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/offset/wiggle.js
-function Yme(e, t) {
+function ihe(e, t) {
if (!(!((o = e.length) > 0) || !((a = (i = e[t[0]]).length) > 0))) {
for (var n = 0, r = 1, i, a, o; r < a; ++r) {
for (var s = 0, c = 0, l = 0; s < o; ++s) {
@@ -48682,53 +49122,53 @@ function Yme(e, t) {
}
i[r - 1][1] += i[r - 1][0] = n, c && (n -= l / c);
}
- i[r - 1][1] += i[r - 1][0] = n, YL(e, t);
+ i[r - 1][1] += i[r - 1][0] = n, nR(e, t);
}
}
//#endregion
//#region node_modules/es-toolkit/dist/_internal/isUnsafeProperty.mjs
-function ZL(e) {
+function iR(e) {
return e === "__proto__";
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/_internal/isDeepKey.mjs
-var Xme = /\.|(\[(?:[^[\]]*|(["'])(?:(?!\2)[^\\]|\\.)*?\2)\])/;
-function QL(e) {
+var ahe = /\.|(\[(?:[^[\]]*|(["'])(?:(?!\2)[^\\]|\\.)*?\2)\])/;
+function aR(e) {
switch (typeof e) {
case "number":
case "symbol": return !1;
- case "string": return e === "" || e.startsWith(".") || e.endsWith(".") ? !1 : Xme.test(e);
+ case "string": return e === "" || e.startsWith(".") || e.endsWith(".") ? !1 : ahe.test(e);
default: return !1;
}
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/_internal/toKey.mjs
-function $L(e) {
+function oR(e) {
return typeof e == "string" || typeof e == "symbol" ? e : Object.is(e?.valueOf?.(), -0) ? "-0" : String(e);
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/predicate/isSymbol.mjs
-function eR(e) {
+function sR(e) {
return typeof e == "symbol" || e instanceof Symbol;
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/util/toString.mjs
-function Zme(e) {
- return e == null ? "" : tR(e);
+function ohe(e) {
+ return e == null ? "" : cR(e);
}
-function tR(e) {
+function cR(e) {
if (typeof e == "string") return e;
- if (Array.isArray(e)) return e.map(tR).join(",");
- if (eR(e)) return e.toString();
+ if (Array.isArray(e)) return e.map(cR).join(",");
+ if (sR(e)) return e.toString();
let t = e + "";
return t === "0" && Object.is(Number(e), -0) ? "-0" : t;
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/util/toPath.mjs
-function nR(e) {
- if (Array.isArray(e)) return e.map($L);
+function lR(e) {
+ if (Array.isArray(e)) return e.map(oR);
if (typeof e == "symbol") return [e];
- e = Zme(e);
+ e = ohe(e);
let t = [], n = e.length;
if (n === 0) return t;
let r = 0, i = "", a = "", o = !1, s = !1, c = /^-?\d+(?:\.\d+)?$/;
@@ -48756,100 +49196,100 @@ function nR(e) {
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/object/get.mjs
-function rR(e, t, n) {
+function uR(e, t, n) {
if (e == null) return n;
switch (typeof t) {
case "string": {
- if (ZL(t)) return n;
+ if (iR(t)) return n;
let r = e[t];
- return r === void 0 ? QL(t) && !Object.hasOwn(e, t) ? rR(e, nR(t), n) : n : r;
+ return r === void 0 ? aR(t) && !Object.hasOwn(e, t) ? uR(e, lR(t), n) : n : r;
}
case "number":
case "symbol": {
- typeof t == "number" && (t = $L(t));
+ typeof t == "number" && (t = oR(t));
let r = e[t];
return r === void 0 ? n : r;
}
default: {
- if (Array.isArray(t)) return Qme(e, t, n);
- if (t = Object.is(t?.valueOf(), -0) ? "-0" : String(t), ZL(t)) return n;
+ if (Array.isArray(t)) return she(e, t, n);
+ if (t = Object.is(t?.valueOf(), -0) ? "-0" : String(t), iR(t)) return n;
let r = e[t];
return r === void 0 ? n : r;
}
}
}
-function Qme(e, t, n) {
+function she(e, t, n) {
if (t.length === 0) return n;
let r = e;
for (let e = 0; e < t.length; e++) {
- if (r == null || ZL(t[e])) return n;
+ if (r == null || iR(t[e])) return n;
r = r[t[e]];
}
return r === void 0 ? n : r;
}
//#endregion
//#region node_modules/recharts/es6/util/round.js
-var $me = 4;
-function iR(e) {
- var t = 10 ** (arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : $me), n = Math.round(e * t) / t;
+var che = 4;
+function dR(e) {
+ var t = 10 ** (arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : che), n = Math.round(e * t) / t;
return Object.is(n, -0) ? 0 : n;
}
-function aR(e) {
+function fR(e) {
var t = [...arguments].slice(1);
return e.reduce((e, n, r) => {
var i = t[r - 1];
- return typeof i == "string" ? e + i + n : i === void 0 ? e + n : e + iR(i) + n;
+ return typeof i == "string" ? e + i + n : i === void 0 ? e + n : e + dR(i) + n;
}, "");
}
//#endregion
//#region node_modules/recharts/es6/util/DataUtils.js
-var oR = (e) => e === 0 ? 0 : e > 0 ? 1 : -1, sR = (e) => typeof e == "number" && e != +e, cR = (e) => typeof e == "string" && e.indexOf("%") === e.length - 1, Z = (e) => (typeof e == "number" || e instanceof Number) && !sR(e), lR = (e) => Z(e) || typeof e == "string", ehe = 0, uR = (e) => {
- var t = ++ehe;
+var pR = (e) => e === 0 ? 0 : e > 0 ? 1 : -1, mR = (e) => typeof e == "number" && e != +e, hR = (e) => typeof e == "string" && e.indexOf("%") === e.length - 1, Z = (e) => (typeof e == "number" || e instanceof Number) && !mR(e), gR = (e) => Z(e) || typeof e == "string", lhe = 0, _R = (e) => {
+ var t = ++lhe;
return `${e || ""}${t}`;
-}, dR = function(e, t) {
+}, vR = function(e, t) {
var n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : 0, r = arguments.length > 3 && arguments[3] !== void 0 && arguments[3];
if (!Z(e) && typeof e != "string") return n;
var i;
- if (cR(e)) {
+ if (hR(e)) {
if (t == null) return n;
var a = e.indexOf("%");
i = t * parseFloat(e.slice(0, a)) / 100;
} else i = +e;
- return sR(i) && (i = n), r && t != null && i > t && (i = t), i;
-}, fR = (e) => {
+ return mR(i) && (i = n), r && t != null && i > t && (i = t), i;
+}, yR = (e) => {
if (!Array.isArray(e)) return !1;
for (var t = e.length, n = {}, r = 0; r < t; r++) if (!n[String(e[r])]) n[String(e[r])] = !0;
else return !0;
return !1;
};
-function pR(e, t, n) {
- return Z(e) && Z(t) ? iR(e + n * (t - e)) : t;
+function bR(e, t, n) {
+ return Z(e) && Z(t) ? dR(e + n * (t - e)) : t;
}
-function mR(e, t, n) {
- if (!(!e || !e.length)) return e.find((e) => e && (typeof t == "function" ? t(e) : rR(e, t)) === n);
+function xR(e, t, n) {
+ if (!(!e || !e.length)) return e.find((e) => e && (typeof t == "function" ? t(e) : uR(e, t)) === n);
}
-var hR = (e) => e == null, gR = (e) => hR(e) ? e : `${e.charAt(0).toUpperCase()}${e.slice(1)}`;
-function _R(e) {
+var SR = (e) => e == null, CR = (e) => SR(e) ? e : `${e.charAt(0).toUpperCase()}${e.slice(1)}`;
+function wR(e) {
return e != null;
}
-function vR() {}
+function TR() {}
//#endregion
//#region node_modules/recharts/es6/shape/Symbols.js
-var the = [
+var uhe = [
"type",
"size",
"sizeType"
];
-function yR() {
- return yR = Object.assign ? Object.assign.bind() : function(e) {
+function ER() {
+ return ER = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t];
for (var r in n) ({}).hasOwnProperty.call(n, r) && (e[r] = n[r]);
}
return e;
- }, yR.apply(null, arguments);
+ }, ER.apply(null, arguments);
}
-function bR(e, t) {
+function DR(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -48859,30 +49299,30 @@ function bR(e, t) {
}
return n;
}
-function xR(e) {
+function OR(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? bR(Object(n), !0).forEach(function(t) {
- nhe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : bR(Object(n)).forEach(function(t) {
+ t % 2 ? DR(Object(n), !0).forEach(function(t) {
+ dhe(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : DR(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function nhe(e, t, n) {
- return (t = rhe(t)) in e ? Object.defineProperty(e, t, {
+function dhe(e, t, n) {
+ return (t = fhe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function rhe(e) {
- var t = ihe(e, "string");
+function fhe(e) {
+ var t = phe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function ihe(e, t) {
+function phe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -48892,16 +49332,16 @@ function ihe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function ahe(e, t) {
+function mhe(e, t) {
if (e == null) return {};
- var n, r, i = ohe(e, t);
+ var n, r, i = hhe(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function ohe(e, t) {
+function hhe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -48910,68 +49350,68 @@ function ohe(e, t) {
}
return n;
}
-var SR = {
- symbolCircle: EL,
- symbolCross: Sme,
- symbolDiamond: wme,
- symbolSquare: Tme,
- symbolStar: kme,
- symbolTriangle: Ame,
- symbolWye: Mme
-}, she = Math.PI / 180, che = (e) => SR[`symbol${gR(e)}`] || EL, lhe = (e, t, n) => {
+var kR = {
+ symbolCircle: NL,
+ symbolCross: jme,
+ symbolDiamond: Nme,
+ symbolSquare: Pme,
+ symbolStar: Rme,
+ symbolTriangle: zme,
+ symbolWye: Vme
+}, ghe = Math.PI / 180, _he = (e) => kR[`symbol${CR(e)}`] || NL, vhe = (e, t, n) => {
if (t === "area") return e;
switch (n) {
case "cross": return 5 * e * e / 9;
case "diamond": return .5 * e * e / Math.sqrt(3);
case "square": return e * e;
case "star":
- var r = 18 * she;
+ var r = 18 * ghe;
return 1.25 * e * e * (Math.tan(r) - Math.tan(r * 2) * Math.tan(r) ** 2);
case "triangle": return Math.sqrt(3) * e * e / 4;
case "wye": return (21 - 10 * Math.sqrt(3)) * e * e / 8;
default: return Math.PI * e * e / 4;
}
-}, uhe = (e, t) => {
- SR[`symbol${gR(e)}`] = t;
-}, CR = (e) => {
- var { type: t = "circle", size: n = 64, sizeType: r = "area" } = e, i = xR(xR({}, ahe(e, the)), {}, {
+}, yhe = (e, t) => {
+ kR[`symbol${CR(e)}`] = t;
+}, AR = (e) => {
+ var { type: t = "circle", size: n = 64, sizeType: r = "area" } = e, i = OR(OR({}, mhe(e, uhe)), {}, {
type: t,
size: n,
sizeType: r
}), a = "circle";
typeof t == "string" && (a = t);
var o = () => {
- var e = che(a), t = Nme().type(e).size(lhe(n, r, a))();
+ var e = _he(a), t = Hme().type(e).size(vhe(n, r, a))();
if (t !== null) return t;
- }, { className: s, cx: c, cy: l } = i, u = eL(i);
- return Z(c) && Z(l) && Z(n) ? /*#__PURE__*/ R.createElement("path", yR({}, u, {
+ }, { className: s, cx: c, cy: l } = i, u = sL(i);
+ return Z(c) && Z(l) && Z(n) ? /*#__PURE__*/ R.createElement("path", ER({}, u, {
className: Ql("recharts-symbols", s),
transform: `translate(${c}, ${l})`,
d: o()
})) : null;
};
-CR.registerSymbol = uhe;
+AR.registerSymbol = yhe;
//#endregion
//#region node_modules/recharts/es6/util/types.js
-var wR = (e) => "radius" in e && "startAngle" in e && "endAngle" in e, TR = (e, t) => {
+var jR = (e) => "radius" in e && "startAngle" in e && "endAngle" in e, MR = (e, t) => {
if (!e || typeof e == "function" || typeof e == "boolean") return null;
var n = e;
if (/*#__PURE__*/ (0, R.isValidElement)(e) && (n = e.props), typeof n != "object" && typeof n != "function") return null;
var r = {};
return Object.keys(n).forEach((e) => {
- YI(e) && typeof n[e] == "function" && (r[e] = t || ((t) => n[e](n, t)));
+ nL(e) && typeof n[e] == "function" && (r[e] = t || ((t) => n[e](n, t)));
}), r;
-}, dhe = (e, t, n) => (r) => (e(t, n, r), null), ER = (e, t, n) => {
+}, bhe = (e, t, n) => (r) => (e(t, n, r), null), NR = (e, t, n) => {
if (e === null || typeof e != "object" && typeof e != "function") return null;
var r = null;
return Object.keys(e).forEach((i) => {
var a = e[i];
- YI(i) && typeof a == "function" && (r ||= {}, r[i] = dhe(a, t, n));
+ nL(i) && typeof a == "function" && (r ||= {}, r[i] = bhe(a, t, n));
}), r;
};
//#endregion
//#region node_modules/recharts/es6/util/resolveDefaultProps.js
-function DR(e, t) {
+function PR(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -48981,30 +49421,30 @@ function DR(e, t) {
}
return n;
}
-function fhe(e) {
+function xhe(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? DR(Object(n), !0).forEach(function(t) {
- phe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : DR(Object(n)).forEach(function(t) {
+ t % 2 ? PR(Object(n), !0).forEach(function(t) {
+ She(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : PR(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function phe(e, t, n) {
- return (t = mhe(t)) in e ? Object.defineProperty(e, t, {
+function She(e, t, n) {
+ return (t = Che(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function mhe(e) {
- var t = hhe(e, "string");
+function Che(e) {
+ var t = whe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function hhe(e, t) {
+function whe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -49014,22 +49454,22 @@ function hhe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function OR(e, t) {
- var n = fhe({}, e), r = t;
+function FR(e, t) {
+ var n = xhe({}, e), r = t;
return Object.keys(t).reduce((e, t) => (e[t] === void 0 && r[t] !== void 0 && (e[t] = r[t]), e), n);
}
//#endregion
//#region node_modules/recharts/es6/component/DefaultLegendContent.js
-function kR() {
- return kR = Object.assign ? Object.assign.bind() : function(e) {
+function IR() {
+ return IR = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t];
for (var r in n) ({}).hasOwnProperty.call(n, r) && (e[r] = n[r]);
}
return e;
- }, kR.apply(null, arguments);
+ }, IR.apply(null, arguments);
}
-function AR(e, t) {
+function LR(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -49039,30 +49479,30 @@ function AR(e, t) {
}
return n;
}
-function jR(e) {
+function RR(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? AR(Object(n), !0).forEach(function(t) {
- ghe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : AR(Object(n)).forEach(function(t) {
+ t % 2 ? LR(Object(n), !0).forEach(function(t) {
+ The(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : LR(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function ghe(e, t, n) {
- return (t = _he(t)) in e ? Object.defineProperty(e, t, {
+function The(e, t, n) {
+ return (t = Ehe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function _he(e) {
- var t = vhe(e, "string");
+function Ehe(e) {
+ var t = Dhe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function vhe(e, t) {
+function Dhe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -49072,7 +49512,7 @@ function vhe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var MR = 32, yhe = {
+var zR = 32, Ohe = {
align: "center",
iconSize: 14,
inactiveColor: "#ccc",
@@ -49080,20 +49520,20 @@ var MR = 32, yhe = {
verticalAlign: "middle",
labelStyle: {}
};
-function bhe(e) {
+function khe(e) {
if (typeof e == "object" && e && "strokeDasharray" in e) return String(e.strokeDasharray);
}
-function xhe(e) {
- var { data: t, iconType: n, inactiveColor: r } = e, i = MR / 2, a = MR / 6, o = MR / 3, s = t.inactive ? r : t.color, c = n ?? t.type;
+function Ahe(e) {
+ var { data: t, iconType: n, inactiveColor: r } = e, i = zR / 2, a = zR / 6, o = zR / 3, s = t.inactive ? r : t.color, c = n ?? t.type;
if (c === "none") return null;
if (c === "plainline") return /*#__PURE__*/ R.createElement("line", {
strokeWidth: 4,
fill: "none",
stroke: s,
- strokeDasharray: bhe(t.payload),
+ strokeDasharray: khe(t.payload),
x1: 0,
y1: i,
- x2: MR,
+ x2: zR,
y2: i,
className: "recharts-legend-icon"
});
@@ -49103,35 +49543,35 @@ function xhe(e) {
stroke: s,
d: `M0,${i}h${o}
A${a},${a},0,1,1,${2 * o},${i}
- H${MR}M${2 * o},${i}
+ H${zR}M${2 * o},${i}
A${a},${a},0,1,1,${o},${i}`,
className: "recharts-legend-icon"
});
if (c === "rect") return /*#__PURE__*/ R.createElement("path", {
stroke: "none",
fill: s,
- d: `M0,${MR / 8}h${MR}v${MR * 3 / 4}h${-MR}z`,
+ d: `M0,${zR / 8}h${zR}v${zR * 3 / 4}h${-zR}z`,
className: "recharts-legend-icon"
});
if (/*#__PURE__*/ R.isValidElement(t.legendIcon)) {
- var l = jR({}, t);
+ var l = RR({}, t);
return delete l.legendIcon, /*#__PURE__*/ R.cloneElement(t.legendIcon, l);
}
- return /*#__PURE__*/ R.createElement(CR, {
+ return /*#__PURE__*/ R.createElement(AR, {
fill: s,
cx: i,
cy: i,
- size: MR,
+ size: zR,
sizeType: "diameter",
type: c
});
}
-function She(e) {
+function jhe(e) {
var { payload: t, iconSize: n, layout: r, formatter: i, inactiveColor: a, iconType: o, labelStyle: s } = e, c = {
x: 0,
y: 0,
- width: MR,
- height: MR
+ width: zR,
+ height: zR
}, l = {
display: r === "horizontal" ? "inline-block" : "block",
marginRight: 10
@@ -49147,20 +49587,20 @@ function She(e) {
inactive: t.inactive
});
if (t.type === "none") return null;
- var p = typeof s == "object" ? jR({}, s) : {};
+ var p = typeof s == "object" ? RR({}, s) : {};
p.color = t.inactive ? a : p.color || t.color;
var m = d ? d(t.value, t, r) : t.value;
- return /*#__PURE__*/ R.createElement("li", kR({
+ return /*#__PURE__*/ R.createElement("li", IR({
className: f,
style: l,
key: `legend-item-${r}`
- }, ER(e, t, r)), /*#__PURE__*/ R.createElement(nL, {
+ }, NR(e, t, r)), /*#__PURE__*/ R.createElement(lL, {
width: n,
height: n,
viewBox: c,
style: u,
"aria-label": `${m} legend icon`
- }, /*#__PURE__*/ R.createElement(xhe, {
+ }, /*#__PURE__*/ R.createElement(Ahe, {
data: t,
iconType: o,
inactiveColor: a
@@ -49170,8 +49610,8 @@ function She(e) {
}, m));
});
}
-var Che = (e) => {
- var t = OR(e, yhe), { payload: n, layout: r, align: i } = t;
+var Mhe = (e) => {
+ var t = FR(e, Ohe), { payload: n, layout: r, align: i } = t;
if (!n || !n.length) return null;
var a = {
padding: 0,
@@ -49181,11 +49621,11 @@ var Che = (e) => {
return /*#__PURE__*/ R.createElement("ul", {
className: "recharts-default-legend",
style: a
- }, /*#__PURE__*/ R.createElement(She, kR({}, t, { payload: n })));
+ }, /*#__PURE__*/ R.createElement(jhe, IR({}, t, { payload: n })));
};
//#endregion
//#region node_modules/es-toolkit/dist/array/uniqBy.mjs
-function whe(e, t) {
+function Nhe(e, t) {
let n = /* @__PURE__ */ new Map();
for (let r = 0; r < e.length; r++) {
let i = e[r], a = t(i, r, e);
@@ -49195,77 +49635,77 @@ function whe(e, t) {
}
//#endregion
//#region node_modules/es-toolkit/dist/function/ary.mjs
-function The(e, t) {
+function Phe(e, t) {
return function(...n) {
return e.apply(this, n.slice(0, t));
};
}
//#endregion
//#region node_modules/es-toolkit/dist/function/identity.mjs
-function NR(e) {
+function BR(e) {
return e;
}
//#endregion
//#region node_modules/es-toolkit/dist/predicate/isLength.mjs
-function Ehe(e) {
+function Fhe(e) {
return Number.isSafeInteger(e) && e >= 0;
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/predicate/isArrayLike.mjs
-function PR(e) {
- return e != null && typeof e != "function" && Ehe(e.length);
+function VR(e) {
+ return e != null && typeof e != "function" && Fhe(e.length);
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/object/property.mjs
-function Dhe(e) {
+function Ihe(e) {
return function(t) {
- return rR(t, e);
+ return uR(t, e);
};
}
//#endregion
//#region node_modules/es-toolkit/dist/predicate/isPrimitive.mjs
-function FR(e) {
+function HR(e) {
return e == null || typeof e != "object" && typeof e != "function";
}
//#endregion
//#region node_modules/es-toolkit/dist/predicate/isTypedArray.mjs
-function Ohe(e) {
+function Lhe(e) {
return ArrayBuffer.isView(e) && !(e instanceof DataView);
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/_internal/getSymbols.mjs
-function khe(e) {
+function Rhe(e) {
return Object.getOwnPropertySymbols(e).filter((t) => Object.prototype.propertyIsEnumerable.call(e, t));
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/_internal/getTag.mjs
-function IR(e) {
+function UR(e) {
return e == null ? e === void 0 ? "[object Undefined]" : "[object Null]" : Object.prototype.toString.call(e);
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/_internal/tags.mjs
-var Ahe = "[object RegExp]", LR = "[object String]", RR = "[object Number]", zR = "[object Boolean]", BR = "[object Arguments]", jhe = "[object Symbol]", Mhe = "[object Date]", Nhe = "[object Map]", Phe = "[object Set]", Fhe = "[object Array]", Ihe = "[object ArrayBuffer]", Lhe = "[object Object]", Rhe = "[object DataView]", zhe = "[object Uint8Array]", Bhe = "[object Uint8ClampedArray]", Vhe = "[object Uint16Array]", Hhe = "[object Uint32Array]", Uhe = "[object Int8Array]", Whe = "[object Int16Array]", Ghe = "[object Int32Array]", Khe = "[object Float32Array]", qhe = "[object Float64Array]", VR = typeof globalThis == "object" && globalThis || typeof window == "object" && window || typeof self == "object" && self || typeof global == "object" && global || (function() {
+var zhe = "[object RegExp]", WR = "[object String]", GR = "[object Number]", KR = "[object Boolean]", qR = "[object Arguments]", Bhe = "[object Symbol]", Vhe = "[object Date]", Hhe = "[object Map]", Uhe = "[object Set]", Whe = "[object Array]", Ghe = "[object ArrayBuffer]", Khe = "[object Object]", qhe = "[object DataView]", Jhe = "[object Uint8Array]", Yhe = "[object Uint8ClampedArray]", Xhe = "[object Uint16Array]", Zhe = "[object Uint32Array]", Qhe = "[object Int8Array]", $he = "[object Int16Array]", ege = "[object Int32Array]", tge = "[object Float32Array]", nge = "[object Float64Array]", JR = typeof globalThis == "object" && globalThis || typeof window == "object" && window || typeof self == "object" && self || typeof global == "object" && global || (function() {
return this;
})();
//#endregion
//#region node_modules/es-toolkit/dist/predicate/isBuffer.mjs
-function Jhe(e) {
- return VR.Buffer !== void 0 && VR.Buffer.isBuffer(e);
+function rge(e) {
+ return JR.Buffer !== void 0 && JR.Buffer.isBuffer(e);
}
//#endregion
//#region node_modules/es-toolkit/dist/object/cloneDeepWith.mjs
-function Yhe(e, t) {
- return HR(e, void 0, e, /* @__PURE__ */ new Map(), t);
+function ige(e, t) {
+ return YR(e, void 0, e, /* @__PURE__ */ new Map(), t);
}
-function HR(e, t, n, r = /* @__PURE__ */ new Map(), i = void 0) {
+function YR(e, t, n, r = /* @__PURE__ */ new Map(), i = void 0) {
let a = i?.(e, t, n, r);
if (a !== void 0) return a;
- if (FR(e)) return e;
+ if (HR(e)) return e;
if (r.has(e)) return r.get(e);
if (Array.isArray(e)) {
let t = Array(e.length);
r.set(e, t);
- for (let a = 0; a < e.length; a++) t[a] = HR(e[a], a, n, r, i);
+ for (let a = 0; a < e.length; a++) t[a] = YR(e[a], a, n, r, i);
return Object.hasOwn(e, "index") && (t.index = e.index), Object.hasOwn(e, "input") && (t.input = e.input), t;
}
if (e instanceof Date) return new Date(e.getTime());
@@ -49276,132 +49716,132 @@ function HR(e, t, n, r = /* @__PURE__ */ new Map(), i = void 0) {
if (e instanceof Map) {
let t = /* @__PURE__ */ new Map();
r.set(e, t);
- for (let [a, o] of e) t.set(a, HR(o, a, n, r, i));
+ for (let [a, o] of e) t.set(a, YR(o, a, n, r, i));
return t;
}
if (e instanceof Set) {
let t = /* @__PURE__ */ new Set();
r.set(e, t);
- for (let a of e) t.add(HR(a, void 0, n, r, i));
+ for (let a of e) t.add(YR(a, void 0, n, r, i));
return t;
}
- if (Jhe(e)) return e.subarray();
- if (Ohe(e)) {
+ if (rge(e)) return e.subarray();
+ if (Lhe(e)) {
let t = new (Object.getPrototypeOf(e)).constructor(e.length);
r.set(e, t);
- for (let a = 0; a < e.length; a++) t[a] = HR(e[a], a, n, r, i);
+ for (let a = 0; a < e.length; a++) t[a] = YR(e[a], a, n, r, i);
return t;
}
if (e instanceof ArrayBuffer || typeof SharedArrayBuffer < "u" && e instanceof SharedArrayBuffer) return e.slice(0);
if (e instanceof DataView) {
let t = new DataView(e.buffer.slice(0), e.byteOffset, e.byteLength);
- return r.set(e, t), UR(t, e, n, r, i), t;
+ return r.set(e, t), XR(t, e, n, r, i), t;
}
if (typeof File < "u" && e instanceof File) {
let t = new File([e], e.name, { type: e.type });
- return r.set(e, t), UR(t, e, n, r, i), t;
+ return r.set(e, t), XR(t, e, n, r, i), t;
}
if (typeof Blob < "u" && e instanceof Blob) {
let t = new Blob([e], { type: e.type });
- return r.set(e, t), UR(t, e, n, r, i), t;
+ return r.set(e, t), XR(t, e, n, r, i), t;
}
if (e instanceof Error) {
let t = structuredClone(e);
- return r.set(e, t), t.message = e.message, t.name = e.name, t.stack = e.stack, t.cause = e.cause, t.constructor = e.constructor, UR(t, e, n, r, i), t;
+ return r.set(e, t), t.message = e.message, t.name = e.name, t.stack = e.stack, t.cause = e.cause, t.constructor = e.constructor, XR(t, e, n, r, i), t;
}
if (e instanceof Boolean) {
let t = new Boolean(e.valueOf());
- return r.set(e, t), UR(t, e, n, r, i), t;
+ return r.set(e, t), XR(t, e, n, r, i), t;
}
if (e instanceof Number) {
let t = new Number(e.valueOf());
- return r.set(e, t), UR(t, e, n, r, i), t;
+ return r.set(e, t), XR(t, e, n, r, i), t;
}
if (e instanceof String) {
let t = new String(e.valueOf());
- return r.set(e, t), UR(t, e, n, r, i), t;
+ return r.set(e, t), XR(t, e, n, r, i), t;
}
- if (typeof e == "object" && Xhe(e)) {
+ if (typeof e == "object" && age(e)) {
let t = Object.create(Object.getPrototypeOf(e));
- return r.set(e, t), UR(t, e, n, r, i), t;
+ return r.set(e, t), XR(t, e, n, r, i), t;
}
return e;
}
-function UR(e, t, n = e, r, i) {
- let a = [...Object.keys(t), ...khe(t)];
+function XR(e, t, n = e, r, i) {
+ let a = [...Object.keys(t), ...Rhe(t)];
for (let o = 0; o < a.length; o++) {
let s = a[o], c = Object.getOwnPropertyDescriptor(e, s);
- (c == null || c.writable) && (e[s] = HR(t[s], s, n, r, i));
+ (c == null || c.writable) && (e[s] = YR(t[s], s, n, r, i));
}
}
-function Xhe(e) {
- switch (IR(e)) {
- case BR:
- case Fhe:
- case Ihe:
- case Rhe:
- case zR:
- case Mhe:
- case Khe:
- case qhe:
- case Uhe:
+function age(e) {
+ switch (UR(e)) {
+ case qR:
case Whe:
case Ghe:
- case Nhe:
- case RR:
- case Lhe:
- case Ahe:
- case Phe:
- case LR:
- case jhe:
+ case qhe:
+ case KR:
+ case Vhe:
+ case tge:
+ case nge:
+ case Qhe:
+ case $he:
+ case ege:
+ case Hhe:
+ case GR:
+ case Khe:
case zhe:
+ case Uhe:
+ case WR:
case Bhe:
- case Vhe:
- case Hhe: return !0;
+ case Jhe:
+ case Yhe:
+ case Xhe:
+ case Zhe: return !0;
default: return !1;
}
}
//#endregion
//#region node_modules/es-toolkit/dist/object/cloneDeep.mjs
-function Zhe(e) {
- return HR(e, void 0, e, /* @__PURE__ */ new Map(), void 0);
+function oge(e) {
+ return YR(e, void 0, e, /* @__PURE__ */ new Map(), void 0);
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/util/eq.mjs
-function WR(e, t) {
+function ZR(e, t) {
return e === t || Number.isNaN(e) && Number.isNaN(t);
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/predicate/isObject.mjs
-function GR(e) {
+function QR(e) {
return e !== null && (typeof e == "object" || typeof e == "function");
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/predicate/isMatchWith.mjs
-function KR(e, t, n) {
- return typeof n == "function" ? qR(e, t, function e(t, r, i, a, o, s) {
+function $R(e, t, n) {
+ return typeof n == "function" ? ez(e, t, function e(t, r, i, a, o, s) {
let c = n(t, r, i, a, o, s);
- return c === void 0 ? qR(t, r, e, s, !1) : !!c;
- }, /* @__PURE__ */ new Map(), !0) : KR(e, t, () => void 0);
+ return c === void 0 ? ez(t, r, e, s, !1) : !!c;
+ }, /* @__PURE__ */ new Map(), !0) : $R(e, t, () => void 0);
}
-function qR(e, t, n, r, i = !1) {
+function ez(e, t, n, r, i = !1) {
if (t === e) return !0;
switch (typeof t) {
- case "object": return Qhe(e, t, n, r, i);
- case "function": return Object.keys(t).length > 0 ? qR(e, { ...t }, n, r, i) : WR(e, t);
- default: return GR(e) && i ? typeof t != "string" || t === "" : WR(e, t);
+ case "object": return sge(e, t, n, r, i);
+ case "function": return Object.keys(t).length > 0 ? ez(e, { ...t }, n, r, i) : ZR(e, t);
+ default: return QR(e) && i ? typeof t != "string" || t === "" : ZR(e, t);
}
}
-function Qhe(e, t, n, r, i = !1) {
+function sge(e, t, n, r, i = !1) {
if (t == null) return !0;
- if (Array.isArray(t)) return JR(e, t, n, r);
- if (t instanceof Map) return $he(e, t, n, r);
- if (t instanceof Set) return ege(e, t, n, r);
+ if (Array.isArray(t)) return tz(e, t, n, r);
+ if (t instanceof Map) return cge(e, t, n, r);
+ if (t instanceof Set) return lge(e, t, n, r);
let a = Object.keys(t);
if (e == null) return i && a.length === 0;
- if (i) FR(e) && (e = Object(e));
+ if (i) HR(e) && (e = Object(e));
else {
- let t = IR(e);
+ let t = UR(e);
if (t !== "[object Object]" && t !== "[object Arguments]") return !1;
}
if (a.length === 0) return !0;
@@ -49417,13 +49857,13 @@ function Qhe(e, t, n, r, i = !1) {
r?.delete(t);
}
}
-function $he(e, t, n, r) {
+function cge(e, t, n, r) {
if (t.size === 0) return !0;
if (!(e instanceof Map)) return !1;
for (let [i, a] of t.entries()) if (n(e.get(i), a, i, e, t, r) === !1) return !1;
return !0;
}
-function JR(e, t, n, r) {
+function tz(e, t, n, r) {
if (t.length === 0) return !0;
if (!Array.isArray(e)) return !1;
let i = /* @__PURE__ */ new Set();
@@ -49441,40 +49881,40 @@ function JR(e, t, n, r) {
}
return !0;
}
-function ege(e, t, n, r) {
- return t.size === 0 || e instanceof Set && JR([...e], [...t], n, r);
+function lge(e, t, n, r) {
+ return t.size === 0 || e instanceof Set && tz([...e], [...t], n, r);
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/predicate/isMatch.mjs
-function YR(e, t) {
- return KR(e, t, () => void 0);
+function nz(e, t) {
+ return $R(e, t, () => void 0);
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/predicate/matches.mjs
-function tge(e) {
- return e = Zhe(e), (t) => YR(t, e);
+function uge(e) {
+ return e = oge(e), (t) => nz(t, e);
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/object/cloneDeepWith.mjs
-function nge(e, t) {
- return Yhe(e, (n, r, i, a) => {
+function dge(e, t) {
+ return ige(e, (n, r, i, a) => {
let o = t?.(n, r, i, a);
if (o !== void 0) return o;
if (typeof e == "object") {
- if (IR(e) === "[object Object]" && typeof e.constructor != "function") {
+ if (UR(e) === "[object Object]" && typeof e.constructor != "function") {
let t = {};
- return a.set(e, t), UR(t, e, i, a), t;
+ return a.set(e, t), XR(t, e, i, a), t;
}
switch (Object.prototype.toString.call(e)) {
- case RR:
- case LR:
- case zR: {
+ case GR:
+ case WR:
+ case KR: {
let t = new e.constructor(e?.valueOf());
- return UR(t, e), t;
+ return XR(t, e), t;
}
- case BR: {
+ case qR: {
let t = {};
- return UR(t, e), t.length = e.length, t[Symbol.iterator] = e[Symbol.iterator], t;
+ return XR(t, e), t.length = e.length, t[Symbol.iterator] = e[Symbol.iterator], t;
}
default: return;
}
@@ -49483,79 +49923,79 @@ function nge(e, t) {
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/object/cloneDeep.mjs
-function rge(e) {
- return nge(e);
+function fge(e) {
+ return dge(e);
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/_internal/isIndex.mjs
-var ige = /^(?:0|[1-9]\d*)$/;
-function XR(e, t = 2 ** 53 - 1) {
+var pge = /^(?:0|[1-9]\d*)$/;
+function rz(e, t = 2 ** 53 - 1) {
switch (typeof e) {
case "number": return Number.isInteger(e) && e >= 0 && e < t;
case "symbol": return !1;
- case "string": return ige.test(e);
+ case "string": return pge.test(e);
}
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/predicate/isArguments.mjs
-function age(e) {
- return typeof e == "object" && !!e && IR(e) === "[object Arguments]";
+function mge(e) {
+ return typeof e == "object" && !!e && UR(e) === "[object Arguments]";
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/object/has.mjs
-function oge(e, t) {
+function hge(e, t) {
let n;
- if (n = Array.isArray(t) ? t : typeof t == "string" && QL(t) && !(t in Object(e)) ? nR(t) : [t], n.length === 0) return !1;
+ if (n = Array.isArray(t) ? t : typeof t == "string" && aR(t) && !(t in Object(e)) ? lR(t) : [t], n.length === 0) return !1;
let r = e;
for (let e = 0; e < n.length; e++) {
- let t = $L(n[e]);
- if ((r == null || !Object.hasOwn(r, t)) && !((Array.isArray(r) || age(r)) && XR(t) && Number(t) < r.length)) return !1;
+ let t = oR(n[e]);
+ if ((r == null || !Object.hasOwn(r, t)) && !((Array.isArray(r) || mge(r)) && rz(t) && Number(t) < r.length)) return !1;
r = r[t];
}
return !0;
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/predicate/matchesProperty.mjs
-function sge(e, t) {
+function gge(e, t) {
switch (typeof e) {
case "object":
Object.is(e?.valueOf(), -0) && (e = "-0");
break;
- case "number": e = $L(e);
+ case "number": e = oR(e);
}
- return t = rge(t), function(n) {
- let r = rR(n, e);
- return r === void 0 ? oge(n, e) : t === void 0 ? r === void 0 : YR(r, t);
+ return t = fge(t), function(n) {
+ let r = uR(n, e);
+ return r === void 0 ? hge(n, e) : t === void 0 ? r === void 0 : nz(r, t);
};
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/util/iteratee.mjs
-function ZR(e) {
- if (e == null) return NR;
+function iz(e) {
+ if (e == null) return BR;
switch (typeof e) {
case "function": return e;
- case "object": return Array.isArray(e) && e.length === 2 ? sge(e[0], e[1]) : tge(e);
- default: return Dhe(e);
+ case "object": return Array.isArray(e) && e.length === 2 ? gge(e[0], e[1]) : uge(e);
+ default: return Ihe(e);
}
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/_internal/normalizeZero.mjs
-function cge(e) {
+function _ge(e) {
return e === 0 ? 0 : e;
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/array/uniqBy.mjs
-function QR(e, t = NR) {
- return PR(e) ? whe(Array.from(e), The(ZR(t), 1)).map(cge) : [];
+function az(e, t = BR) {
+ return VR(e) ? Nhe(Array.from(e), Phe(iz(t), 1)).map(_ge) : [];
}
//#endregion
//#region node_modules/recharts/es6/util/payload/getUniqPayload.js
-function $R(e, t, n) {
- return t === !0 ? QR(e, n) : typeof t == "function" ? QR(e, t) : e;
+function oz(e, t, n) {
+ return t === !0 ? az(e, n) : typeof t == "function" ? az(e, t) : e;
}
//#endregion
//#region node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.production.js
-var lge = /* @__PURE__ */ ce(((e) => {
+var vge = /* @__PURE__ */ ce(((e) => {
var t = he(), n = mp();
function r(e, t) {
return e === t && (e !== 0 || 1 / e == 1 / t) || e !== e && t !== t;
@@ -49600,60 +50040,60 @@ var lge = /* @__PURE__ */ ce(((e) => {
f.hasValue = !0, f.value = p;
}, [p]), l(p), p;
};
-})), uge = /* @__PURE__ */ ce(((e, t) => {
- t.exports = lge();
-})), ez = /*#__PURE__*/ (0, R.createContext)(null), dge = uge(), fge = (e) => e, tz = () => {
- var e = (0, R.useContext)(ez);
- return e ? e.store.dispatch : fge;
-}, nz = () => {}, pge = () => nz, mge = (e, t) => e === t;
+})), yge = /* @__PURE__ */ ce(((e, t) => {
+ t.exports = vge();
+})), sz = /*#__PURE__*/ (0, R.createContext)(null), bge = yge(), xge = (e) => e, cz = () => {
+ var e = (0, R.useContext)(sz);
+ return e ? e.store.dispatch : xge;
+}, lz = () => {}, Sge = () => lz, Cge = (e, t) => e === t;
function Q(e) {
- var t = (0, R.useContext)(ez), n = (0, R.useMemo)(() => t ? (t) => {
+ var t = (0, R.useContext)(sz), n = (0, R.useMemo)(() => t ? (t) => {
if (t != null) return e(t);
- } : nz, [t, e]);
- return (0, dge.useSyncExternalStoreWithSelector)(t ? t.subscription.addNestedSub : pge, t ? t.store.getState : nz, t ? t.store.getState : nz, n, mge);
+ } : lz, [t, e]);
+ return (0, bge.useSyncExternalStoreWithSelector)(t ? t.subscription.addNestedSub : Sge, t ? t.store.getState : lz, t ? t.store.getState : lz, n, Cge);
}
//#endregion
//#region node_modules/reselect/dist/reselect.mjs
-function hge(e, t = `expected a function, instead received ${typeof e}`) {
+function wge(e, t = `expected a function, instead received ${typeof e}`) {
if (typeof e != "function") throw TypeError(t);
}
-function gge(e, t = `expected an object, instead received ${typeof e}`) {
+function Tge(e, t = `expected an object, instead received ${typeof e}`) {
if (typeof e != "object") throw TypeError(t);
}
-function _ge(e, t = "expected all items to be functions, instead received the following types: ") {
+function Ege(e, t = "expected all items to be functions, instead received the following types: ") {
if (!e.every((e) => typeof e == "function")) {
let n = e.map((e) => typeof e == "function" ? `function ${e.name || "unnamed"}()` : typeof e).join(", ");
throw TypeError(`${t}[${n}]`);
}
}
-var rz = (e) => Array.isArray(e) ? e : [e];
-function vge(e) {
+var uz = (e) => Array.isArray(e) ? e : [e];
+function Dge(e) {
let t = Array.isArray(e[0]) ? e[0] : e;
- return _ge(t, "createSelector expects all input-selectors to be functions, but received the following types: "), t;
+ return Ege(t, "createSelector expects all input-selectors to be functions, but received the following types: "), t;
}
-function yge(e, t) {
+function Oge(e, t) {
let n = [], { length: r } = e;
for (let i = 0; i < r; i++) n.push(e[i].apply(null, t));
return n;
}
-var bge = class {
+var kge = class {
constructor(e) {
this.value = e;
}
deref() {
return this.value;
}
-}, xge = typeof WeakRef < "u" ? WeakRef : bge, Sge = 0, iz = 1;
-function az() {
+}, Age = typeof WeakRef < "u" ? WeakRef : kge, jge = 0, dz = 1;
+function fz() {
return {
- s: Sge,
+ s: jge,
v: void 0,
o: null,
p: null
};
}
-function oz(e, t = {}) {
- let n = az(), { resultEqualityCheck: r } = t, i, a = 0;
+function pz(e, t = {}) {
+ let n = fz(), { resultEqualityCheck: r } = t, i, a = 0;
function o() {
let t = n, { length: o } = arguments;
for (let e = 0, n = o; e < n; e++) {
@@ -49662,43 +50102,43 @@ function oz(e, t = {}) {
let e = t.o;
e === null && (t.o = e = /* @__PURE__ */ new WeakMap());
let r = e.get(n);
- r === void 0 ? (t = az(), e.set(n, t)) : t = r;
+ r === void 0 ? (t = fz(), e.set(n, t)) : t = r;
} else {
let e = t.p;
e === null && (t.p = e = /* @__PURE__ */ new Map());
let r = e.get(n);
- r === void 0 ? (t = az(), e.set(n, t)) : t = r;
+ r === void 0 ? (t = fz(), e.set(n, t)) : t = r;
}
}
let s = t, c;
- if (t.s === iz) c = t.v;
+ if (t.s === dz) c = t.v;
else if (c = e.apply(null, arguments), a++, r) {
let e = i?.deref?.() ?? i;
- e != null && r(e, c) && (c = e, a !== 0 && a--), i = typeof c == "object" && c || typeof c == "function" ? new xge(c) : c;
+ e != null && r(e, c) && (c = e, a !== 0 && a--), i = typeof c == "object" && c || typeof c == "function" ? new Age(c) : c;
}
- return s.s = iz, s.v = c, c;
+ return s.s = dz, s.v = c, c;
}
return o.clearCache = () => {
- n = az(), o.resetResultsCount();
+ n = fz(), o.resetResultsCount();
}, o.resultsCount = () => a, o.resetResultsCount = () => {
a = 0;
}, o;
}
-function Cge(e, ...t) {
+function Mge(e, ...t) {
let n = typeof e == "function" ? {
memoize: e,
memoizeOptions: t
} : e, r = (...e) => {
let t = 0, r = 0, i, a = {}, o = e.pop();
- typeof o == "object" && (a = o, o = e.pop()), hge(o, `createSelector expects an output function after the inputs, but received: [${typeof o}]`);
- let { memoize: s, memoizeOptions: c = [], argsMemoize: l = oz, argsMemoizeOptions: u = [], devModeChecks: d = {} } = {
+ typeof o == "object" && (a = o, o = e.pop()), wge(o, `createSelector expects an output function after the inputs, but received: [${typeof o}]`);
+ let { memoize: s, memoizeOptions: c = [], argsMemoize: l = pz, argsMemoizeOptions: u = [], devModeChecks: d = {} } = {
...n,
...a
- }, f = rz(c), p = rz(u), m = vge(e), h = s(function() {
+ }, f = uz(c), p = uz(u), m = Dge(e), h = s(function() {
return t++, o.apply(null, arguments);
}, ...f), g = l(function() {
r++;
- let e = yge(m, arguments);
+ let e = Oge(m, arguments);
return i = h.apply(null, e), i;
}, ...p);
return Object.assign(g, {
@@ -49720,14 +50160,14 @@ function Cge(e, ...t) {
};
return Object.assign(r, { withTypes: () => r }), r;
}
-var $ = /* @__PURE__ */ Cge(oz), wge = Object.assign((e, t = $) => {
- gge(e, `createStructuredSelector expects first argument to be an object where each property is a selector, instead received a ${typeof e}`);
+var $ = /* @__PURE__ */ Mge(pz), Nge = Object.assign((e, t = $) => {
+ Tge(e, `createStructuredSelector expects first argument to be an object where each property is a selector, instead received a ${typeof e}`);
let n = Object.keys(e);
return t(n.map((t) => e[t]), (...e) => e.reduce((e, t, r) => (e[n[r]] = t, e), {}));
-}, { withTypes: () => wge });
+}, { withTypes: () => Nge });
//#endregion
//#region node_modules/es-toolkit/dist/array/flatten.mjs
-function Tge(e, t = 1) {
+function Pge(e, t = 1) {
let n = [], r = Math.floor(t), i = (e, t) => {
for (let a = 0; a < e.length; a++) {
let o = e[a];
@@ -49738,17 +50178,17 @@ function Tge(e, t = 1) {
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/_internal/isIterateeCall.mjs
-function sz(e, t, n) {
- return GR(n) && (typeof t == "number" && PR(n) && XR(t) && t < n.length || typeof t == "string" && t in n) ? WR(n[t], e) : !1;
+function mz(e, t, n) {
+ return QR(n) && (typeof t == "number" && VR(n) && rz(t) && t < n.length || typeof t == "string" && t in n) ? ZR(n[t], e) : !1;
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/_internal/compareValues.mjs
-function cz(e) {
+function hz(e) {
return typeof e == "symbol" ? 1 : e === null ? 2 : e === void 0 ? 3 : e === e ? 0 : 4;
}
-var Ege = (e, t, n) => {
+var Fge = (e, t, n) => {
if (e !== t) {
- let r = cz(e), i = cz(t);
+ let r = hz(e), i = hz(t);
if (r === i && r === 0) {
if (e < t) return n === "desc" ? 1 : -1;
if (e > t) return n === "desc" ? -1 : 1;
@@ -49756,15 +50196,15 @@ var Ege = (e, t, n) => {
return n === "desc" ? i - r : r - i;
}
return 0;
-}, Dge = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, Oge = /^\w*$/;
-function kge(e, t) {
- return Array.isArray(e) ? !1 : typeof e == "number" || typeof e == "boolean" || e == null || eR(e) ? !0 : typeof e == "string" && (Oge.test(e) || !Dge.test(e)) || t != null && Object.hasOwn(t, e);
+}, Ige = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, Lge = /^\w*$/;
+function Rge(e, t) {
+ return Array.isArray(e) ? !1 : typeof e == "number" || typeof e == "boolean" || e == null || sR(e) ? !0 : typeof e == "string" && (Lge.test(e) || !Ige.test(e)) || t != null && Object.hasOwn(t, e);
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/array/orderBy.mjs
-function Age(e, t, n, r) {
+function zge(e, t, n, r) {
if (e == null) return [];
- n = r ? void 0 : n, Array.isArray(e) || (e = PR(e) ? Array.from(e) : Object.values(e)), Array.isArray(t) || (t = t == null ? [null] : [t]), t.length === 0 && (t = [null]), Array.isArray(n) || (n = n == null ? [] : [n]), n = n.map((e) => String(e));
+ n = r ? void 0 : n, Array.isArray(e) || (e = VR(e) ? Array.from(e) : Object.values(e)), Array.isArray(t) || (t = t == null ? [null] : [t]), t.length === 0 && (t = [null]), Array.isArray(n) || (n = n == null ? [] : [n]), n = n.map((e) => String(e));
let i = (e, t) => {
let n = e, r = 0;
for (; r < t.length && n != null; ++r) n = n[t[r]];
@@ -49772,16 +50212,16 @@ function Age(e, t, n, r) {
}, a = (e, t) => {
if (e == null) return t;
if (t != null) return typeof e == "object" && "key" in e ? Object.hasOwn(t, e.key) ? t[e.key] : i(t, e.path) : typeof e == "function" ? e(t) : Array.isArray(e) ? i(t, e) : t[e];
- }, o = t.map((e) => (Array.isArray(e) && e.length === 1 && (e = e[0]), e == null || typeof e == "function" || Array.isArray(e) || kge(e) ? e : {
+ }, o = t.map((e) => (Array.isArray(e) && e.length === 1 && (e = e[0]), e == null || typeof e == "function" || Array.isArray(e) || Rge(e) ? e : {
key: e,
- path: nR(e)
+ path: lR(e)
}));
return e.map((e) => ({
original: e,
criteria: o.map((t) => a(t, e))
})).slice().sort((e, t) => {
for (let r = 0; r < o.length; r++) {
- let i = Ege(e.criteria[r], t.criteria[r], n[r]);
+ let i = Fge(e.criteria[r], t.criteria[r], n[r]);
if (i !== 0) return i;
}
return 0;
@@ -49789,25 +50229,25 @@ function Age(e, t, n, r) {
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/array/sortBy.mjs
-function lz(e, ...t) {
+function gz(e, ...t) {
let n = t.length;
- return n > 1 && sz(e, t[0], t[1]) ? t = [] : n > 2 && sz(t[0], t[1], t[2]) && (t = [t[0]]), Age(e, Tge(t), ["asc"]);
+ return n > 1 && mz(e, t[0], t[1]) ? t = [] : n > 2 && mz(t[0], t[1], t[2]) && (t = [t[0]]), zge(e, Pge(t), ["asc"]);
}
//#endregion
//#region node_modules/recharts/es6/state/selectors/legendSelectors.js
-var uz = (e) => e.legend.settings, jge = (e) => e.legend.size, Mge = $([(e) => e.legend.payload, uz], (e, t) => {
+var _z = (e) => e.legend.settings, Bge = (e) => e.legend.size, Vge = $([(e) => e.legend.payload, _z], (e, t) => {
var { itemSorter: n } = t, r = e.flat(1);
- return n ? lz(r, n) : r;
+ return n ? gz(r, n) : r;
});
//#endregion
//#region node_modules/recharts/es6/context/legendPayloadContext.js
-function Nge() {
- return Q(Mge);
+function Hge() {
+ return Q(Vge);
}
//#endregion
//#region node_modules/recharts/es6/util/useElementOffset.js
-var dz = 1;
-function fz() {
+var vz = 1;
+function yz() {
var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : [], [t, n] = (0, R.useState)({
height: 0,
left: 0,
@@ -49822,7 +50262,7 @@ function fz() {
top: r.top,
width: r.width
};
- (Math.abs(i.height - t.height) > dz || Math.abs(i.left - t.left) > dz || Math.abs(i.top - t.top) > dz || Math.abs(i.width - t.width) > dz) && n({
+ (Math.abs(i.height - t.height) > vz || Math.abs(i.left - t.left) > vz || Math.abs(i.top - t.top) > vz || Math.abs(i.width - t.width) > vz) && n({
height: i.height,
left: i.left,
top: i.top,
@@ -49839,26 +50279,26 @@ function fz() {
}
//#endregion
//#region node_modules/redux/dist/redux.mjs
-function pz(e) {
+function bz(e) {
return `Minified Redux error #${e}; visit https://redux.js.org/Errors?code=${e} for the full message or use the non-minified dev environment for full errors. `;
}
-var mz = typeof Symbol == "function" && Symbol.observable || "@@observable", hz = () => Math.random().toString(36).substring(7).split("").join("."), gz = {
- INIT: `@@redux/INIT${/* @__PURE__ */ hz()}`,
- REPLACE: `@@redux/REPLACE${/* @__PURE__ */ hz()}`,
- PROBE_UNKNOWN_ACTION: () => `@@redux/PROBE_UNKNOWN_ACTION${hz()}`
+var xz = typeof Symbol == "function" && Symbol.observable || "@@observable", Sz = () => Math.random().toString(36).substring(7).split("").join("."), Cz = {
+ INIT: `@@redux/INIT${/* @__PURE__ */ Sz()}`,
+ REPLACE: `@@redux/REPLACE${/* @__PURE__ */ Sz()}`,
+ PROBE_UNKNOWN_ACTION: () => `@@redux/PROBE_UNKNOWN_ACTION${Sz()}`
};
-function _z(e) {
+function wz(e) {
if (typeof e != "object" || !e) return !1;
let t = e;
for (; Object.getPrototypeOf(t) !== null;) t = Object.getPrototypeOf(t);
return Object.getPrototypeOf(e) === t || Object.getPrototypeOf(e) === null;
}
-function vz(e, t, n) {
- if (typeof e != "function") throw Error(pz(2));
- if (typeof t == "function" && typeof n == "function" || typeof n == "function" && typeof arguments[3] == "function") throw Error(pz(0));
+function Tz(e, t, n) {
+ if (typeof e != "function") throw Error(bz(2));
+ if (typeof t == "function" && typeof n == "function" || typeof n == "function" && typeof arguments[3] == "function") throw Error(bz(0));
if (typeof t == "function" && n === void 0 && (n = t, t = void 0), n !== void 0) {
- if (typeof n != "function") throw Error(pz(1));
- return n(vz)(e, t);
+ if (typeof n != "function") throw Error(bz(1));
+ return n(Tz)(e, t);
}
let r = e, i = t, a = /* @__PURE__ */ new Map(), o = a, s = 0, c = !1;
function l() {
@@ -49867,27 +50307,27 @@ function vz(e, t, n) {
}));
}
function u() {
- if (c) throw Error(pz(3));
+ if (c) throw Error(bz(3));
return i;
}
function d(e) {
- if (typeof e != "function") throw Error(pz(4));
- if (c) throw Error(pz(5));
+ if (typeof e != "function") throw Error(bz(4));
+ if (c) throw Error(bz(5));
let t = !0;
l();
let n = s++;
return o.set(n, e), function() {
if (t) {
- if (c) throw Error(pz(6));
+ if (c) throw Error(bz(6));
t = !1, l(), o.delete(n), a = null;
}
};
}
function f(e) {
- if (!_z(e)) throw Error(pz(7));
- if (e.type === void 0) throw Error(pz(8));
- if (typeof e.type != "string") throw Error(pz(17));
- if (c) throw Error(pz(9));
+ if (!wz(e)) throw Error(bz(7));
+ if (e.type === void 0) throw Error(bz(8));
+ if (typeof e.type != "string") throw Error(bz(17));
+ if (c) throw Error(bz(9));
try {
c = !0, i = r(i, e);
} finally {
@@ -49898,41 +50338,41 @@ function vz(e, t, n) {
}), e;
}
function p(e) {
- if (typeof e != "function") throw Error(pz(10));
- r = e, f({ type: gz.REPLACE });
+ if (typeof e != "function") throw Error(bz(10));
+ r = e, f({ type: Cz.REPLACE });
}
function m() {
let e = d;
return {
subscribe(t) {
- if (typeof t != "object" || !t) throw Error(pz(11));
+ if (typeof t != "object" || !t) throw Error(bz(11));
function n() {
let e = t;
e.next && e.next(u());
}
return n(), { unsubscribe: e(n) };
},
- [mz]() {
+ [xz]() {
return this;
}
};
}
- return f({ type: gz.INIT }), {
+ return f({ type: Cz.INIT }), {
dispatch: f,
subscribe: d,
getState: u,
replaceReducer: p,
- [mz]: m
+ [xz]: m
};
}
-function Pge(e) {
+function Uge(e) {
Object.keys(e).forEach((t) => {
let n = e[t];
- if (n(void 0, { type: gz.INIT }) === void 0) throw Error(pz(12));
- if (n(void 0, { type: gz.PROBE_UNKNOWN_ACTION() }) === void 0) throw Error(pz(13));
+ if (n(void 0, { type: Cz.INIT }) === void 0) throw Error(bz(12));
+ if (n(void 0, { type: Cz.PROBE_UNKNOWN_ACTION() }) === void 0) throw Error(bz(13));
});
}
-function yz(e) {
+function Ez(e) {
let t = Object.keys(e), n = {};
for (let r = 0; r < t.length; r++) {
let i = t[r];
@@ -49940,7 +50380,7 @@ function yz(e) {
}
let r = Object.keys(n), i;
try {
- Pge(n);
+ Uge(n);
} catch (e) {
i = e;
}
@@ -49949,124 +50389,124 @@ function yz(e) {
let a = !1, o = {};
for (let i = 0; i < r.length; i++) {
let s = r[i], c = n[s], l = e[s], u = c(l, t);
- if (u === void 0) throw t && t.type, Error(pz(14));
+ if (u === void 0) throw t && t.type, Error(bz(14));
o[s] = u, a ||= u !== l;
}
return a ||= r.length !== Object.keys(e).length, a ? o : e;
};
}
-function bz(...e) {
+function Dz(...e) {
return e.length === 0 ? (e) => e : e.length === 1 ? e[0] : e.reduce((e, t) => (...n) => e(t(...n)));
}
-function Fge(...e) {
+function Wge(...e) {
return (t) => (n, r) => {
let i = t(n, r), a = () => {
- throw Error(pz(15));
+ throw Error(bz(15));
}, o = {
getState: i.getState,
dispatch: (e, ...t) => a(e, ...t)
};
- return a = bz(...e.map((e) => e(o)))(i.dispatch), {
+ return a = Dz(...e.map((e) => e(o)))(i.dispatch), {
...i,
dispatch: a
};
};
}
-function xz(e) {
- return _z(e) && "type" in e && typeof e.type == "string";
+function Oz(e) {
+ return wz(e) && "type" in e && typeof e.type == "string";
}
//#endregion
//#region node_modules/@reduxjs/toolkit/node_modules/immer/dist/immer.mjs
-var Sz = Symbol.for("immer-nothing"), Cz = Symbol.for("immer-draftable"), wz = Symbol.for("immer-state");
-function Tz(e, ...t) {
+var kz = Symbol.for("immer-nothing"), Az = Symbol.for("immer-draftable"), jz = Symbol.for("immer-state");
+function Mz(e, ...t) {
throw Error(`[Immer] minified error nr: ${e}. Full error at: https://bit.ly/3cXEKWf`);
}
-var Ez = Object, Dz = Ez.getPrototypeOf, Oz = "constructor", kz = "prototype", Az = "configurable", jz = "enumerable", Mz = "writable", Nz = "value", Pz = (e) => !!e && !!e[wz];
-function Fz(e) {
- return e ? Lz(e) || Uz(e) || !!e[Cz] || !!e[Oz]?.[Cz] || Wz(e) || Gz(e) : !1;
+var Nz = Object, Pz = Nz.getPrototypeOf, Fz = "constructor", Iz = "prototype", Lz = "configurable", Rz = "enumerable", zz = "writable", Bz = "value", Vz = (e) => !!e && !!e[jz];
+function Hz(e) {
+ return e ? Wz(e) || Xz(e) || !!e[Az] || !!e[Fz]?.[Az] || Zz(e) || Qz(e) : !1;
}
-var Ige = Ez[kz][Oz].toString(), Iz = /* @__PURE__ */ new WeakMap();
-function Lz(e) {
- if (!e || !Kz(e)) return !1;
- let t = Dz(e);
- if (t === null || t === Ez[kz]) return !0;
- let n = Ez.hasOwnProperty.call(t, Oz) && t[Oz];
+var Gge = Nz[Iz][Fz].toString(), Uz = /* @__PURE__ */ new WeakMap();
+function Wz(e) {
+ if (!e || !$z(e)) return !1;
+ let t = Pz(e);
+ if (t === null || t === Nz[Iz]) return !0;
+ let n = Nz.hasOwnProperty.call(t, Fz) && t[Fz];
if (n === Object) return !0;
- if (!qz(n)) return !1;
- let r = Iz.get(n);
- return r === void 0 && (r = Function.toString.call(n), Iz.set(n, r)), r === Ige;
+ if (!eB(n)) return !1;
+ let r = Uz.get(n);
+ return r === void 0 && (r = Function.toString.call(n), Uz.set(n, r)), r === Gge;
}
-function Rz(e, t, n = !0) {
- zz(e) === 0 ? (n ? Reflect.ownKeys(e) : Ez.keys(e)).forEach((n) => {
+function Gz(e, t, n = !0) {
+ Kz(e) === 0 ? (n ? Reflect.ownKeys(e) : Nz.keys(e)).forEach((n) => {
t(n, e[n], e);
}) : e.forEach((n, r) => t(r, n, e));
}
-function zz(e) {
- let t = e[wz];
- return t ? t.type_ : Uz(e) ? 1 : Wz(e) ? 2 : Gz(e) ? 3 : 0;
+function Kz(e) {
+ let t = e[jz];
+ return t ? t.type_ : Xz(e) ? 1 : Zz(e) ? 2 : Qz(e) ? 3 : 0;
}
-var Bz = (e, t, n = zz(e)) => n === 2 ? e.has(t) : Ez[kz].hasOwnProperty.call(e, t), Vz = (e, t, n = zz(e)) => n === 2 ? e.get(t) : e[t], Hz = (e, t, n, r = zz(e)) => {
+var qz = (e, t, n = Kz(e)) => n === 2 ? e.has(t) : Nz[Iz].hasOwnProperty.call(e, t), Jz = (e, t, n = Kz(e)) => n === 2 ? e.get(t) : e[t], Yz = (e, t, n, r = Kz(e)) => {
r === 2 ? e.set(t, n) : r === 3 ? e.add(n) : e[t] = n;
};
-function Lge(e, t) {
+function Kge(e, t) {
return e === t ? e !== 0 || 1 / e == 1 / t : e !== e && t !== t;
}
-var Uz = Array.isArray, Wz = (e) => e instanceof Map, Gz = (e) => e instanceof Set, Kz = (e) => typeof e == "object", qz = (e) => typeof e == "function", Jz = (e) => typeof e == "boolean";
-function Rge(e) {
+var Xz = Array.isArray, Zz = (e) => e instanceof Map, Qz = (e) => e instanceof Set, $z = (e) => typeof e == "object", eB = (e) => typeof e == "function", tB = (e) => typeof e == "boolean";
+function qge(e) {
let t = +e;
return Number.isInteger(t) && String(t) === e;
}
-var Yz = (e) => e.copy_ || e.base_, Xz = (e) => e.modified_ ? e.copy_ : e.base_;
-function Zz(e, t) {
- if (Wz(e)) return new Map(e);
- if (Gz(e)) return new Set(e);
- if (Uz(e)) return Array[kz].slice.call(e);
- let n = Lz(e);
+var nB = (e) => e.copy_ || e.base_, rB = (e) => e.modified_ ? e.copy_ : e.base_;
+function iB(e, t) {
+ if (Zz(e)) return new Map(e);
+ if (Qz(e)) return new Set(e);
+ if (Xz(e)) return Array[Iz].slice.call(e);
+ let n = Wz(e);
if (t === !0 || t === "class_only" && !n) {
- let t = Ez.getOwnPropertyDescriptors(e);
- delete t[wz];
+ let t = Nz.getOwnPropertyDescriptors(e);
+ delete t[jz];
let n = Reflect.ownKeys(t);
for (let r = 0; r < n.length; r++) {
let i = n[r], a = t[i];
- a[Mz] === !1 && (a[Mz] = !0, a[Az] = !0), (a.get || a.set) && (t[i] = {
- [Az]: !0,
- [Mz]: !0,
- [jz]: a[jz],
- [Nz]: e[i]
+ a[zz] === !1 && (a[zz] = !0, a[Lz] = !0), (a.get || a.set) && (t[i] = {
+ [Lz]: !0,
+ [zz]: !0,
+ [Rz]: a[Rz],
+ [Bz]: e[i]
});
}
- return Ez.create(Dz(e), t);
+ return Nz.create(Pz(e), t);
}
{
- let t = Dz(e);
+ let t = Pz(e);
if (t !== null && n) return { ...e };
- let r = Ez.create(t);
- return Ez.assign(r, e);
- }
-}
-function Qz(e, t = !1) {
- return eB(e) || Pz(e) || !Fz(e) ? e : (zz(e) > 1 && Ez.defineProperties(e, {
- set: $z,
- add: $z,
- clear: $z,
- delete: $z
- }), Ez.freeze(e), t && Rz(e, (e, t) => {
- Qz(t, !0);
+ let r = Nz.create(t);
+ return Nz.assign(r, e);
+ }
+}
+function aB(e, t = !1) {
+ return sB(e) || Vz(e) || !Hz(e) ? e : (Kz(e) > 1 && Nz.defineProperties(e, {
+ set: oB,
+ add: oB,
+ clear: oB,
+ delete: oB
+ }), Nz.freeze(e), t && Gz(e, (e, t) => {
+ aB(t, !0);
}, !1), e);
}
-function zge() {
- Tz(2);
+function Jge() {
+ Mz(2);
}
-var $z = { [Nz]: zge };
-function eB(e) {
- return e === null || !Kz(e) || Ez.isFrozen(e);
+var oB = { [Bz]: Jge };
+function sB(e) {
+ return e === null || !$z(e) || Nz.isFrozen(e);
}
-var tB = "MapSet", nB = "Patches", rB = "ArrayMethods", iB = {};
-function aB(e) {
- let t = iB[e];
- return t || Tz(0, e), t;
+var cB = "MapSet", lB = "Patches", uB = "ArrayMethods", dB = {};
+function fB(e) {
+ let t = dB[e];
+ return t || Mz(0, e), t;
}
-var oB = (e) => !!iB[e], sB, cB = () => sB, Bge = (e, t) => ({
+var pB = (e) => !!dB[e], mB, hB = () => mB, Yge = (e, t) => ({
drafts_: [],
parent_: e,
immer_: t,
@@ -50074,114 +50514,114 @@ var oB = (e) => !!iB[e], sB, cB = () => sB, Bge = (e, t) => ({
unfinalizedDrafts_: 0,
handledSet_: /* @__PURE__ */ new Set(),
processedForPatches_: /* @__PURE__ */ new Set(),
- mapSetPlugin_: oB(tB) ? aB(tB) : void 0,
- arrayMethodsPlugin_: oB(rB) ? aB(rB) : void 0
+ mapSetPlugin_: pB(cB) ? fB(cB) : void 0,
+ arrayMethodsPlugin_: pB(uB) ? fB(uB) : void 0
});
-function lB(e, t) {
- t && (e.patchPlugin_ = aB(nB), e.patches_ = [], e.inversePatches_ = [], e.patchListener_ = t);
+function gB(e, t) {
+ t && (e.patchPlugin_ = fB(lB), e.patches_ = [], e.inversePatches_ = [], e.patchListener_ = t);
}
-function uB(e) {
- dB(e), e.drafts_.forEach(Vge), e.drafts_ = null;
+function _B(e) {
+ vB(e), e.drafts_.forEach(Xge), e.drafts_ = null;
}
-function dB(e) {
- e === sB && (sB = e.parent_);
+function vB(e) {
+ e === mB && (mB = e.parent_);
}
-var fB = (e) => sB = Bge(sB, e);
-function Vge(e) {
- let t = e[wz];
+var yB = (e) => mB = Yge(mB, e);
+function Xge(e) {
+ let t = e[jz];
t.type_ === 0 || t.type_ === 1 ? t.revoke_() : t.revoked_ = !0;
}
-function pB(e, t) {
+function bB(e, t) {
t.unfinalizedDrafts_ = t.drafts_.length;
let n = t.drafts_[0];
if (e !== void 0 && e !== n) {
- n[wz].modified_ && (uB(t), Tz(4)), Fz(e) && (e = mB(t, e));
+ n[jz].modified_ && (_B(t), Mz(4)), Hz(e) && (e = xB(t, e));
let { patchPlugin_: r } = t;
- r && r.generateReplacementPatches_(n[wz].base_, e, t);
- } else e = mB(t, n);
- return Hge(t, e, !0), uB(t), t.patches_ && t.patchListener_(t.patches_, t.inversePatches_), e === Sz ? void 0 : e;
-}
-function mB(e, t) {
- if (eB(t)) return t;
- let n = t[wz];
- if (!n) return yB(t, e.handledSet_, e);
- if (!gB(n, e)) return t;
+ r && r.generateReplacementPatches_(n[jz].base_, e, t);
+ } else e = xB(t, n);
+ return Zge(t, e, !0), _B(t), t.patches_ && t.patchListener_(t.patches_, t.inversePatches_), e === kz ? void 0 : e;
+}
+function xB(e, t) {
+ if (sB(t)) return t;
+ let n = t[jz];
+ if (!n) return EB(t, e.handledSet_, e);
+ if (!CB(n, e)) return t;
if (!n.modified_) return n.base_;
if (!n.finalized_) {
let { callbacks_: t } = n;
if (t) for (; t.length > 0;) t.pop()(e);
- vB(n, e);
+ TB(n, e);
}
return n.copy_;
}
-function Hge(e, t, n = !1) {
- !e.parent_ && e.immer_.autoFreeze_ && e.canAutoFreeze_ && Qz(t, n);
+function Zge(e, t, n = !1) {
+ !e.parent_ && e.immer_.autoFreeze_ && e.canAutoFreeze_ && aB(t, n);
}
-function hB(e) {
+function SB(e) {
e.finalized_ = !0, e.scope_.unfinalizedDrafts_--;
}
-var gB = (e, t) => e.scope_ === t, Uge = [];
-function _B(e, t, n, r) {
- let i = Yz(e), a = e.type_;
- if (r !== void 0 && Vz(i, r, a) === t) {
- Hz(i, r, n, a);
+var CB = (e, t) => e.scope_ === t, Qge = [];
+function wB(e, t, n, r) {
+ let i = nB(e), a = e.type_;
+ if (r !== void 0 && Jz(i, r, a) === t) {
+ Yz(i, r, n, a);
return;
}
if (!e.draftLocations_) {
let t = e.draftLocations_ = /* @__PURE__ */ new Map();
- Rz(i, (e, n) => {
- if (Pz(n)) {
+ Gz(i, (e, n) => {
+ if (Vz(n)) {
let r = t.get(n) || [];
r.push(e), t.set(n, r);
}
});
}
- let o = e.draftLocations_.get(t) ?? Uge;
- for (let e of o) Hz(i, e, n, a);
+ let o = e.draftLocations_.get(t) ?? Qge;
+ for (let e of o) Yz(i, e, n, a);
}
-function Wge(e, t, n) {
+function $ge(e, t, n) {
e.callbacks_.push(function(r) {
let i = t;
- if (!i || !gB(i, r)) return;
+ if (!i || !CB(i, r)) return;
r.mapSetPlugin_?.fixSetContents(i);
- let a = Xz(i);
- _B(e, i.draft_ ?? i, a, n), vB(i, r);
+ let a = rB(i);
+ wB(e, i.draft_ ?? i, a, n), TB(i, r);
});
}
-function vB(e, t) {
+function TB(e, t) {
if (e.modified_ && !e.finalized_ && (e.type_ === 3 || e.type_ === 1 && e.allIndicesReassigned_ || (e.assigned_?.size ?? 0) > 0)) {
let { patchPlugin_: n } = t;
if (n) {
let r = n.getPath(e);
r && n.generatePatches_(e, r, t);
}
- hB(e);
+ SB(e);
}
}
-function Gge(e, t, n) {
+function e_e(e, t, n) {
let { scope_: r } = e;
- if (Pz(n)) {
- let i = n[wz];
- gB(i, r) && i.callbacks_.push(function() {
- TB(e), _B(e, n, Xz(i), t);
+ if (Vz(n)) {
+ let i = n[jz];
+ CB(i, r) && i.callbacks_.push(function() {
+ MB(e), wB(e, n, rB(i), t);
});
- } else Fz(n) && e.callbacks_.push(function() {
- let i = Yz(e);
- e.type_ === 3 ? i.has(n) && yB(n, r.handledSet_, r) : Vz(i, t, e.type_) === n && r.drafts_.length > 1 && (e.assigned_.get(t) ?? !1) === !0 && e.copy_ && yB(Vz(e.copy_, t, e.type_), r.handledSet_, r);
+ } else Hz(n) && e.callbacks_.push(function() {
+ let i = nB(e);
+ e.type_ === 3 ? i.has(n) && EB(n, r.handledSet_, r) : Jz(i, t, e.type_) === n && r.drafts_.length > 1 && (e.assigned_.get(t) ?? !1) === !0 && e.copy_ && EB(Jz(e.copy_, t, e.type_), r.handledSet_, r);
});
}
-function yB(e, t, n) {
- return !n.immer_.autoFreeze_ && n.unfinalizedDrafts_ < 1 || Pz(e) || t.has(e) || !Fz(e) || eB(e) ? e : (t.add(e), Rz(e, (r, i) => {
- if (Pz(i)) {
- let t = i[wz];
- gB(t, n) && (Hz(e, r, Xz(t), e.type_), hB(t));
- } else Fz(i) && yB(i, t, n);
+function EB(e, t, n) {
+ return !n.immer_.autoFreeze_ && n.unfinalizedDrafts_ < 1 || Vz(e) || t.has(e) || !Hz(e) || sB(e) ? e : (t.add(e), Gz(e, (r, i) => {
+ if (Vz(i)) {
+ let t = i[jz];
+ CB(t, n) && (Yz(e, r, rB(t), e.type_), SB(t));
+ } else Hz(i) && EB(i, t, n);
}), e);
}
-function Kge(e, t) {
- let n = Uz(e), r = {
+function t_e(e, t) {
+ let n = Xz(e), r = {
type_: +!!n,
- scope_: t ? t.scope_ : cB(),
+ scope_: t ? t.scope_ : hB(),
modified_: !1,
finalized_: !1,
assigned_: void 0,
@@ -50192,108 +50632,108 @@ function Kge(e, t) {
revoke_: null,
isManual_: !1,
callbacks_: void 0
- }, i = r, a = bB;
- n && (i = [r], a = xB);
+ }, i = r, a = DB;
+ n && (i = [r], a = OB);
let { revoke: o, proxy: s } = Proxy.revocable(i, a);
return r.draft_ = s, r.revoke_ = o, [s, r];
}
-var bB = {
+var DB = {
get(e, t) {
- if (t === wz) return e;
+ if (t === jz) return e;
let n = e.scope_.arrayMethodsPlugin_, r = e.type_ === 1 && typeof t == "string";
if (r && n?.isArrayOperationMethod(t)) return n.createMethodInterceptor(e, t);
- let i = Yz(e);
- if (!Bz(i, t, e.type_)) return Jge(e, i, t);
+ let i = nB(e);
+ if (!qz(i, t, e.type_)) return r_e(e, i, t);
let a = i[t];
- if (e.finalized_ || !Fz(a) || r && e.operationMethod && n?.isMutatingArrayMethod(e.operationMethod) && Rge(t)) return a;
- if (a === SB(e.base_, t) || qge(e, t, a)) {
- TB(e);
- let n = e.type_ === 1 ? +t : t, r = EB(e.scope_, a, e, n);
+ if (e.finalized_ || !Hz(a) || r && e.operationMethod && n?.isMutatingArrayMethod(e.operationMethod) && qge(t)) return a;
+ if (a === kB(e.base_, t) || n_e(e, t, a)) {
+ MB(e);
+ let n = e.type_ === 1 ? +t : t, r = NB(e.scope_, a, e, n);
return e.copy_[n] = r;
}
return a;
},
has(e, t) {
- return t in Yz(e);
+ return t in nB(e);
},
ownKeys(e) {
- return Reflect.ownKeys(Yz(e));
+ return Reflect.ownKeys(nB(e));
},
set(e, t, n) {
- let r = CB(Yz(e), t);
+ let r = AB(nB(e), t);
if (r?.set) return r.set.call(e.draft_, n), !0;
if (!e.modified_) {
- let r = SB(Yz(e), t), i = r?.[wz];
+ let r = kB(nB(e), t), i = r?.[jz];
if (i && i.base_ === n) return e.copy_[t] = n, e.assigned_.set(t, !1), !0;
- if (Lge(n, r) && (n !== void 0 || Bz(e.base_, t, e.type_))) return !0;
- TB(e), wB(e);
+ if (Kge(n, r) && (n !== void 0 || qz(e.base_, t, e.type_))) return !0;
+ MB(e), jB(e);
}
- return e.copy_[t] === n && (n !== void 0 || Bz(e.copy_, t, e.type_)) || Number.isNaN(n) && Number.isNaN(e.copy_[t]) ? !0 : (e.copy_[t] = n, e.assigned_.set(t, !0), Gge(e, t, n), !0);
+ return e.copy_[t] === n && (n !== void 0 || qz(e.copy_, t, e.type_)) || Number.isNaN(n) && Number.isNaN(e.copy_[t]) ? !0 : (e.copy_[t] = n, e.assigned_.set(t, !0), e_e(e, t, n), !0);
},
deleteProperty(e, t) {
- return TB(e), SB(e.base_, t) !== void 0 || t in e.base_ ? (e.assigned_.set(t, !1), wB(e)) : e.assigned_.delete(t), e.copy_ && delete e.copy_[t], !0;
+ return MB(e), kB(e.base_, t) !== void 0 || t in e.base_ ? (e.assigned_.set(t, !1), jB(e)) : e.assigned_.delete(t), e.copy_ && delete e.copy_[t], !0;
},
getOwnPropertyDescriptor(e, t) {
- let n = Yz(e), r = Reflect.getOwnPropertyDescriptor(n, t);
+ let n = nB(e), r = Reflect.getOwnPropertyDescriptor(n, t);
return r && {
- [Mz]: !0,
- [Az]: e.type_ !== 1 || t !== "length",
- [jz]: r[jz],
- [Nz]: n[t]
+ [zz]: !0,
+ [Lz]: e.type_ !== 1 || t !== "length",
+ [Rz]: r[Rz],
+ [Bz]: n[t]
};
},
defineProperty() {
- Tz(11);
+ Mz(11);
},
getPrototypeOf(e) {
- return Dz(e.base_);
+ return Pz(e.base_);
},
setPrototypeOf() {
- Tz(12);
+ Mz(12);
}
-}, xB = {};
-for (let e in bB) {
- let t = bB[e];
- xB[e] = function() {
+}, OB = {};
+for (let e in DB) {
+ let t = DB[e];
+ OB[e] = function() {
let e = arguments;
return e[0] = e[0][0], t.apply(this, e);
};
}
-xB.deleteProperty = function(e, t) {
- return xB.set.call(this, e, t, void 0);
-}, xB.set = function(e, t, n) {
- return bB.set.call(this, e[0], t, n, e[0]);
+OB.deleteProperty = function(e, t) {
+ return OB.set.call(this, e, t, void 0);
+}, OB.set = function(e, t, n) {
+ return DB.set.call(this, e[0], t, n, e[0]);
};
-function SB(e, t) {
- let n = e[wz];
- return (n ? Yz(n) : e)[t];
+function kB(e, t) {
+ let n = e[jz];
+ return (n ? nB(n) : e)[t];
}
-function qge(e, t, n) {
- return e.type_ !== 1 || !e.allIndicesReassigned_ || e.assigned_?.get(t) || !Fz(n) || n[wz] ? !1 : e.baseRefs_.has(n);
+function n_e(e, t, n) {
+ return e.type_ !== 1 || !e.allIndicesReassigned_ || e.assigned_?.get(t) || !Hz(n) || n[jz] ? !1 : e.baseRefs_.has(n);
}
-function Jge(e, t, n) {
- let r = CB(t, n);
- return r ? Nz in r ? r[Nz] : r.get?.call(e.draft_) : void 0;
+function r_e(e, t, n) {
+ let r = AB(t, n);
+ return r ? Bz in r ? r[Bz] : r.get?.call(e.draft_) : void 0;
}
-function CB(e, t) {
+function AB(e, t) {
if (!(t in e)) return;
- let n = Dz(e);
+ let n = Pz(e);
for (; n;) {
let e = Object.getOwnPropertyDescriptor(n, t);
if (e) return e;
- n = Dz(n);
+ n = Pz(n);
}
}
-function wB(e) {
- e.modified_ || (e.modified_ = !0, e.parent_ && wB(e.parent_));
+function jB(e) {
+ e.modified_ || (e.modified_ = !0, e.parent_ && jB(e.parent_));
}
-function TB(e) {
- e.copy_ ||= (e.assigned_ = /* @__PURE__ */ new Map(), Zz(e.base_, e.scope_.immer_.useStrictShallowCopy_));
+function MB(e) {
+ e.copy_ ||= (e.assigned_ = /* @__PURE__ */ new Map(), iB(e.base_, e.scope_.immer_.useStrictShallowCopy_));
}
-var Yge = class {
+var i_e = class {
constructor(e) {
this.autoFreeze_ = !0, this.useStrictShallowCopy_ = !1, this.useStrictIteration_ = !1, this.produce = (e, t, n) => {
- if (qz(e) && !qz(t)) {
+ if (eB(e) && !eB(t)) {
let n = t;
t = e;
let r = this;
@@ -50301,30 +50741,30 @@ var Yge = class {
return r.produce(e, (e) => t.call(this, e, ...i));
};
}
- qz(t) || Tz(6), n !== void 0 && !qz(n) && Tz(7);
+ eB(t) || Mz(6), n !== void 0 && !eB(n) && Mz(7);
let r;
- if (Fz(e)) {
- let i = fB(this), a = EB(i, e, void 0), o = !0;
+ if (Hz(e)) {
+ let i = yB(this), a = NB(i, e, void 0), o = !0;
try {
r = t(a), o = !1;
} finally {
- o ? uB(i) : dB(i);
+ o ? _B(i) : vB(i);
}
- return lB(i, n), pB(r, i);
+ return gB(i, n), bB(r, i);
}
- if (!e || !Kz(e)) {
- if (r = t(e), r === void 0 && (r = e), r === Sz && (r = void 0), this.autoFreeze_ && Qz(r, !0), n) {
+ if (!e || !$z(e)) {
+ if (r = t(e), r === void 0 && (r = e), r === kz && (r = void 0), this.autoFreeze_ && aB(r, !0), n) {
let t = [], i = [];
- aB(nB).generateReplacementPatches_(e, r, {
+ fB(lB).generateReplacementPatches_(e, r, {
patches_: t,
inversePatches_: i
}), n(t, i);
}
return r;
}
- Tz(1, e);
+ Mz(1, e);
}, this.produceWithPatches = (e, t) => {
- if (qz(e)) return (t, ...n) => this.produceWithPatches(t, (t) => e(t, ...n));
+ if (eB(e)) return (t, ...n) => this.produceWithPatches(t, (t) => e(t, ...n));
let n, r;
return [
this.produce(e, t, (e, t) => {
@@ -50333,18 +50773,18 @@ var Yge = class {
n,
r
];
- }, Jz(e?.autoFreeze) && this.setAutoFreeze(e.autoFreeze), Jz(e?.useStrictShallowCopy) && this.setUseStrictShallowCopy(e.useStrictShallowCopy), Jz(e?.useStrictIteration) && this.setUseStrictIteration(e.useStrictIteration);
+ }, tB(e?.autoFreeze) && this.setAutoFreeze(e.autoFreeze), tB(e?.useStrictShallowCopy) && this.setUseStrictShallowCopy(e.useStrictShallowCopy), tB(e?.useStrictIteration) && this.setUseStrictIteration(e.useStrictIteration);
}
createDraft(e) {
- Fz(e) || Tz(8), Pz(e) && (e = DB(e));
- let t = fB(this), n = EB(t, e, void 0);
- return n[wz].isManual_ = !0, dB(t), n;
+ Hz(e) || Mz(8), Vz(e) && (e = PB(e));
+ let t = yB(this), n = NB(t, e, void 0);
+ return n[jz].isManual_ = !0, vB(t), n;
}
finishDraft(e, t) {
- let n = e && e[wz];
- (!n || !n.isManual_) && Tz(9);
+ let n = e && e[jz];
+ (!n || !n.isManual_) && Mz(9);
let { scope_: r } = n;
- return lB(r, t), pB(void 0, r);
+ return gB(r, t), bB(void 0, r);
}
setAutoFreeze(e) {
this.autoFreeze_ = e;
@@ -50368,48 +50808,48 @@ var Yge = class {
}
}
n > -1 && (t = t.slice(n + 1));
- let r = aB(nB).applyPatches_;
- return Pz(e) ? r(e, t) : this.produce(e, (e) => r(e, t));
+ let r = fB(lB).applyPatches_;
+ return Vz(e) ? r(e, t) : this.produce(e, (e) => r(e, t));
}
};
-function EB(e, t, n, r) {
- let [i, a] = Wz(t) ? aB(tB).proxyMap_(t, n) : Gz(t) ? aB(tB).proxySet_(t, n) : Kge(t, n);
- return (n?.scope_ ?? cB()).drafts_.push(i), a.callbacks_ = n?.callbacks_ ?? [], a.key_ = r, n && r !== void 0 ? Wge(n, a, r) : a.callbacks_.push(function(e) {
+function NB(e, t, n, r) {
+ let [i, a] = Zz(t) ? fB(cB).proxyMap_(t, n) : Qz(t) ? fB(cB).proxySet_(t, n) : t_e(t, n);
+ return (n?.scope_ ?? hB()).drafts_.push(i), a.callbacks_ = n?.callbacks_ ?? [], a.key_ = r, n && r !== void 0 ? $ge(n, a, r) : a.callbacks_.push(function(e) {
e.mapSetPlugin_?.fixSetContents(a);
let { patchPlugin_: t } = e;
a.modified_ && t && t.generatePatches_(a, [], e);
}), i;
}
-function DB(e) {
- return Pz(e) || Tz(10, e), OB(e);
+function PB(e) {
+ return Vz(e) || Mz(10, e), FB(e);
}
-function OB(e) {
- if (!Fz(e) || eB(e)) return e;
- let t = e[wz], n, r = !0;
+function FB(e) {
+ if (!Hz(e) || sB(e)) return e;
+ let t = e[jz], n, r = !0;
if (t) {
if (!t.modified_) return t.base_;
- t.finalized_ = !0, n = Zz(e, t.scope_.immer_.useStrictShallowCopy_), r = t.scope_.immer_.shouldUseStrictIteration();
- } else n = Zz(e, !0);
- return Rz(n, (e, t) => {
- Hz(n, e, OB(t));
+ t.finalized_ = !0, n = iB(e, t.scope_.immer_.useStrictShallowCopy_), r = t.scope_.immer_.shouldUseStrictIteration();
+ } else n = iB(e, !0);
+ return Gz(n, (e, t) => {
+ Yz(n, e, FB(t));
}, r), t && (t.finalized_ = !1), n;
}
globalThis.Iterator?.from;
-var kB = new Yge().produce;
+var IB = new i_e().produce;
//#endregion
//#region node_modules/redux-thunk/dist/redux-thunk.mjs
-function AB(e) {
+function LB(e) {
return ({ dispatch: t, getState: n }) => (r) => (i) => typeof i == "function" ? i(t, n, e) : r(i);
}
-var Xge = AB(), Zge = AB, Qge = typeof window < "u" && window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ ? window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ : function() {
- if (arguments.length !== 0) return typeof arguments[0] == "object" ? bz : bz.apply(null, arguments);
+var a_e = LB(), o_e = LB, s_e = typeof window < "u" && window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ ? window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ : function() {
+ if (arguments.length !== 0) return typeof arguments[0] == "object" ? Dz : Dz.apply(null, arguments);
};
typeof window < "u" && window.__REDUX_DEVTOOLS_EXTENSION__ && window.__REDUX_DEVTOOLS_EXTENSION__;
-function jB(e, t) {
+function RB(e, t) {
function n(...n) {
if (t) {
let r = t(...n);
- if (!r) throw Error(fV(0));
+ if (!r) throw Error(yV(0));
return {
type: e,
payload: r.payload,
@@ -50422,9 +50862,9 @@ function jB(e, t) {
payload: n[0]
};
}
- return n.toString = () => `${e}`, n.type = e, n.match = (t) => xz(t) && t.type === e, n;
+ return n.toString = () => `${e}`, n.type = e, n.match = (t) => Oz(t) && t.type === e, n;
}
-var MB = class e extends Array {
+var zB = class e extends Array {
constructor(...t) {
super(...t), Object.setPrototypeOf(this, e.prototype);
}
@@ -50438,29 +50878,29 @@ var MB = class e extends Array {
return t.length === 1 && Array.isArray(t[0]) ? new e(...t[0].concat(this)) : new e(...t.concat(this));
}
};
-function NB(e) {
- return Fz(e) ? kB(e, () => {}) : e;
+function BB(e) {
+ return Hz(e) ? IB(e, () => {}) : e;
}
-function PB(e, t, n) {
+function VB(e, t, n) {
return e.has(t) ? e.get(t) : e.set(t, n(t)).get(t);
}
-function $ge(e) {
+function c_e(e) {
return typeof e == "boolean";
}
-var e_e = () => function(e) {
- let { thunk: t = !0, immutableCheck: n = !0, serializableCheck: r = !0, actionCreatorCheck: i = !0 } = e ?? {}, a = new MB();
- return t && ($ge(t) ? a.push(Xge) : a.push(Zge(t.extraArgument))), a;
-}, FB = "RTK_autoBatch", IB = () => (e) => ({
+var l_e = () => function(e) {
+ let { thunk: t = !0, immutableCheck: n = !0, serializableCheck: r = !0, actionCreatorCheck: i = !0 } = e ?? {}, a = new zB();
+ return t && (c_e(t) ? a.push(a_e) : a.push(o_e(t.extraArgument))), a;
+}, HB = "RTK_autoBatch", UB = () => (e) => ({
payload: e,
- meta: { [FB]: !0 }
-}), LB = (e) => (t) => {
+ meta: { [HB]: !0 }
+}), WB = (e) => (t) => {
setTimeout(t, e);
-}, t_e = (e, t) => (n) => {
+}, u_e = (e, t) => (n) => {
let r = !1, i = () => {
r || (r = !0, cancelAnimationFrame(a), clearTimeout(o), n());
}, a = e(i), o = setTimeout(i, t);
-}, RB = (e = { type: "raf" }) => (t) => (...n) => {
- let r = t(...n), i = !0, a = !1, o = !1, s = /* @__PURE__ */ new Set(), c = e.type === "tick" ? queueMicrotask : e.type === "raf" ? typeof window < "u" && window.requestAnimationFrame ? t_e(window.requestAnimationFrame, 100) : LB(10) : e.type === "callback" ? e.queueNotification : LB(e.timeout), l = () => {
+}, GB = (e = { type: "raf" }) => (t) => (...n) => {
+ let r = t(...n), i = !0, a = !1, o = !1, s = /* @__PURE__ */ new Set(), c = e.type === "tick" ? queueMicrotask : e.type === "raf" ? typeof window < "u" && window.requestAnimationFrame ? u_e(window.requestAnimationFrame, 100) : WB(10) : e.type === "callback" ? e.queueNotification : WB(e.timeout), l = () => {
o = !1, a && (a = !1, s.forEach((e) => e()));
};
return Object.assign({}, r, {
@@ -50472,37 +50912,37 @@ var e_e = () => function(e) {
},
dispatch(e) {
try {
- return i = !e?.meta?.[FB], a = !i, a && (o || (o = !0, c(l))), r.dispatch(e);
+ return i = !e?.meta?.[HB], a = !i, a && (o || (o = !0, c(l))), r.dispatch(e);
} finally {
i = !0;
}
}
});
-}, n_e = (e) => function(t) {
- let { autoBatch: n = !0 } = t ?? {}, r = new MB(e);
- return n && r.push(RB(typeof n == "object" ? n : void 0)), r;
+}, d_e = (e) => function(t) {
+ let { autoBatch: n = !0 } = t ?? {}, r = new zB(e);
+ return n && r.push(GB(typeof n == "object" ? n : void 0)), r;
};
-function r_e(e) {
- let t = e_e(), { reducer: n = void 0, middleware: r, devTools: i = !0, duplicateMiddlewareCheck: a = !0, preloadedState: o = void 0, enhancers: s = void 0 } = e || {}, c;
+function f_e(e) {
+ let t = l_e(), { reducer: n = void 0, middleware: r, devTools: i = !0, duplicateMiddlewareCheck: a = !0, preloadedState: o = void 0, enhancers: s = void 0 } = e || {}, c;
if (typeof n == "function") c = n;
- else if (_z(n)) c = yz(n);
- else throw Error(fV(1));
+ else if (wz(n)) c = Ez(n);
+ else throw Error(yV(1));
let l;
l = typeof r == "function" ? r(t) : t();
- let u = bz;
- i && (u = Qge({
+ let u = Dz;
+ i && (u = s_e({
trace: !1,
...typeof i == "object" && i
}));
- let d = n_e(Fge(...l)), f = typeof s == "function" ? s(d) : d(), p = u(...f);
- return vz(c, o, p);
+ let d = d_e(Wge(...l)), f = typeof s == "function" ? s(d) : d(), p = u(...f);
+ return Tz(c, o, p);
}
-function zB(e) {
+function KB(e) {
let t = {}, n = [], r, i = {
addCase(e, n) {
let r = typeof e == "string" ? e : e.type;
- if (!r) throw Error(fV(28));
- if (r in t) throw Error(fV(29));
+ if (!r) throw Error(yV(28));
+ if (r in t) throw Error(yV(29));
return t[r] = n, i;
},
addAsyncThunk(e, r) {
@@ -50527,25 +50967,25 @@ function zB(e) {
r
];
}
-function i_e(e) {
+function p_e(e) {
return typeof e == "function";
}
-function a_e(e, t) {
- let [n, r, i] = zB(t), a;
- if (i_e(e)) a = () => NB(e());
+function m_e(e, t) {
+ let [n, r, i] = KB(t), a;
+ if (p_e(e)) a = () => BB(e());
else {
- let t = NB(e);
+ let t = BB(e);
a = () => t;
}
function o(e = a(), t) {
let o = [n[t.type], ...r.filter(({ matcher: e }) => e(t)).map(({ reducer: e }) => e)];
return o.filter((e) => !!e).length === 0 && (o = [i]), o.reduce((e, n) => {
if (n) {
- if (Pz(e)) {
+ if (Vz(e)) {
let r = n(e, t);
return r === void 0 ? e : r;
}
- if (Fz(e)) return kB(e, (e) => n(e, t));
+ if (Hz(e)) return IB(e, (e) => n(e, t));
{
let r = n(e, t);
if (r === void 0) {
@@ -50560,20 +51000,20 @@ function a_e(e, t) {
}
return o.getInitialState = a, o;
}
-var o_e = "ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW", s_e = (e = 21) => {
+var h_e = "ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW", g_e = (e = 21) => {
let t = "", n = e;
- for (; n--;) t += o_e[Math.random() * 64 | 0];
+ for (; n--;) t += h_e[Math.random() * 64 | 0];
return t;
-}, c_e = /* @__PURE__ */ Symbol.for("rtk-slice-createasyncthunk");
-function l_e(e, t) {
+}, __e = /* @__PURE__ */ Symbol.for("rtk-slice-createasyncthunk");
+function v_e(e, t) {
return `${e}/${t}`;
}
-function u_e({ creators: e } = {}) {
- let t = e?.asyncThunk?.[c_e];
+function y_e({ creators: e } = {}) {
+ let t = e?.asyncThunk?.[__e];
return function(e) {
let { name: n, reducerPath: r = n } = e;
- if (!n) throw Error(fV(11));
- let i = (typeof e.reducers == "function" ? e.reducers(f_e()) : e.reducers) || {}, a = Object.keys(i), o = {
+ if (!n) throw Error(yV(11));
+ let i = (typeof e.reducers == "function" ? e.reducers(x_e()) : e.reducers) || {}, a = Object.keys(i), o = {
sliceCaseReducersByName: {},
sliceCaseReducersByType: {},
actionCreators: {},
@@ -50581,8 +51021,8 @@ function u_e({ creators: e } = {}) {
}, s = {
addCase(e, t) {
let n = typeof e == "string" ? e : e.type;
- if (!n) throw Error(fV(12));
- if (n in o.sliceCaseReducersByType) throw Error(fV(13));
+ if (!n) throw Error(yV(12));
+ if (n in o.sliceCaseReducersByType) throw Error(yV(13));
return o.sliceCaseReducersByType[n] = t, s;
},
addMatcher(e, t) {
@@ -50601,17 +51041,17 @@ function u_e({ creators: e } = {}) {
a.forEach((r) => {
let a = i[r], o = {
reducerName: r,
- type: l_e(n, r),
+ type: v_e(n, r),
createNotation: typeof e.reducers == "function"
};
- m_e(a) ? g_e(o, a, s, t) : p_e(o, a, s);
+ C_e(a) ? T_e(o, a, s, t) : S_e(o, a, s);
});
function c() {
- let [t = {}, n = [], r = void 0] = typeof e.extraReducers == "function" ? zB(e.extraReducers) : [e.extraReducers], i = {
+ let [t = {}, n = [], r = void 0] = typeof e.extraReducers == "function" ? KB(e.extraReducers) : [e.extraReducers], i = {
...t,
...o.sliceCaseReducersByType
};
- return a_e(e.initialState, (e) => {
+ return m_e(e.initialState, (e) => {
for (let t in i) e.addCase(t, i[t]);
for (let t of o.sliceMatchers) e.addMatcher(t.matcher, t.reducer);
for (let t of n) e.addMatcher(t.matcher, t.reducer);
@@ -50628,12 +51068,12 @@ function u_e({ creators: e } = {}) {
function h(t, n = !1) {
function r(e) {
let i = e[t];
- return i === void 0 && n && (i = PB(d, r, m)), i;
+ return i === void 0 && n && (i = VB(d, r, m)), i;
}
function i(t = l) {
- return PB(PB(u, n, () => /* @__PURE__ */ new WeakMap()), t, () => {
+ return VB(VB(u, n, () => /* @__PURE__ */ new WeakMap()), t, () => {
let r = {};
- for (let [i, a] of Object.entries(e.selectors ?? {})) r[i] = d_e(a, t, () => PB(d, t, m), n);
+ for (let [i, a] of Object.entries(e.selectors ?? {})) r[i] = b_e(a, t, () => VB(d, t, m), n);
return r;
});
}
@@ -50667,15 +51107,15 @@ function u_e({ creators: e } = {}) {
return g;
};
}
-function d_e(e, t, n, r) {
+function b_e(e, t, n, r) {
function i(i, ...a) {
let o = t(i);
return o === void 0 && r && (o = n()), e(o, ...a);
}
return i.unwrapped = e, i;
}
-var BB = /* @__PURE__ */ u_e();
-function f_e() {
+var qB = /* @__PURE__ */ y_e();
+function x_e() {
function e(e, t) {
return {
_reducerDefinitionType: "asyncThunk",
@@ -50699,57 +51139,57 @@ function f_e() {
asyncThunk: e
};
}
-function p_e({ type: e, reducerName: t, createNotation: n }, r, i) {
+function S_e({ type: e, reducerName: t, createNotation: n }, r, i) {
let a, o;
if ("reducer" in r) {
- if (n && !h_e(r)) throw Error(fV(17));
+ if (n && !w_e(r)) throw Error(yV(17));
a = r.reducer, o = r.prepare;
} else a = r;
- i.addCase(e, a).exposeCaseReducer(t, a).exposeAction(t, o ? jB(e, o) : jB(e));
+ i.addCase(e, a).exposeCaseReducer(t, a).exposeAction(t, o ? RB(e, o) : RB(e));
}
-function m_e(e) {
+function C_e(e) {
return e._reducerDefinitionType === "asyncThunk";
}
-function h_e(e) {
+function w_e(e) {
return e._reducerDefinitionType === "reducerWithPrepare";
}
-function g_e({ type: e, reducerName: t }, n, r, i) {
- if (!i) throw Error(fV(18));
+function T_e({ type: e, reducerName: t }, n, r, i) {
+ if (!i) throw Error(yV(18));
let { payloadCreator: a, fulfilled: o, pending: s, rejected: c, settled: l, options: u } = n, d = i(e, a, u);
r.exposeAction(t, d), o && r.addCase(d.fulfilled, o), s && r.addCase(d.pending, s), c && r.addCase(d.rejected, c), l && r.addMatcher(d.settled, l), r.exposeCaseReducer(t, {
- fulfilled: o || VB,
- pending: s || VB,
- rejected: c || VB,
- settled: l || VB
+ fulfilled: o || JB,
+ pending: s || JB,
+ rejected: c || JB,
+ settled: l || JB
});
}
-function VB() {}
-var __e = "task", HB = "listener", UB = "completed", WB = "cancelled", v_e = `task-${WB}`, y_e = `task-${UB}`, GB = `${HB}-${WB}`, b_e = `${HB}-${UB}`, KB = class {
+function JB() {}
+var E_e = "task", YB = "listener", XB = "completed", ZB = "cancelled", D_e = `task-${ZB}`, O_e = `task-${XB}`, QB = `${YB}-${ZB}`, k_e = `${YB}-${XB}`, $B = class {
constructor(e) {
- this.code = e, this.message = `${__e} ${WB} (reason: ${e})`;
+ this.code = e, this.message = `${E_e} ${ZB} (reason: ${e})`;
}
code;
name = "TaskAbortError";
message;
-}, qB = (e, t) => {
- if (typeof e != "function") throw TypeError(fV(32));
-}, JB = () => {}, YB = (e, t = JB) => (e.catch(t), e), XB = (e, t) => (e.addEventListener("abort", t, { once: !0 }), () => e.removeEventListener("abort", t)), ZB = (e) => {
- if (e.aborted) throw new KB(e.reason);
+}, eV = (e, t) => {
+ if (typeof e != "function") throw TypeError(yV(32));
+}, tV = () => {}, nV = (e, t = tV) => (e.catch(t), e), rV = (e, t) => (e.addEventListener("abort", t, { once: !0 }), () => e.removeEventListener("abort", t)), iV = (e) => {
+ if (e.aborted) throw new $B(e.reason);
};
-function QB(e, t) {
- let n = JB;
+function aV(e, t) {
+ let n = tV;
return new Promise((r, i) => {
- let a = () => i(new KB(e.reason));
+ let a = () => i(new $B(e.reason));
if (e.aborted) {
a();
return;
}
- n = XB(e, a), t.finally(() => n()).then(r, i);
+ n = rV(e, a), t.finally(() => n()).then(r, i);
}).finally(() => {
- n = JB;
+ n = tV;
});
}
-var x_e = async (e, t) => {
+var A_e = async (e, t) => {
try {
return await Promise.resolve(), {
status: "ok",
@@ -50757,40 +51197,40 @@ var x_e = async (e, t) => {
};
} catch (e) {
return {
- status: e instanceof KB ? "cancelled" : "rejected",
+ status: e instanceof $B ? "cancelled" : "rejected",
error: e
};
} finally {
t?.();
}
-}, $B = (e) => (t) => YB(QB(e, t).then((t) => (ZB(e), t))), eV = (e) => {
- let t = $B(e);
+}, oV = (e) => (t) => nV(aV(e, t).then((t) => (iV(e), t))), sV = (e) => {
+ let t = oV(e);
return (e) => t(new Promise((t) => setTimeout(t, e)));
-}, { assign: tV } = Object, nV = {}, rV = "listenerMiddleware", S_e = (e, t) => {
- let n = (t) => XB(e, () => t.abort(e.reason));
+}, { assign: cV } = Object, lV = {}, uV = "listenerMiddleware", j_e = (e, t) => {
+ let n = (t) => rV(e, () => t.abort(e.reason));
return (r, i) => {
- qB(r, "taskExecutor");
+ eV(r, "taskExecutor");
let a = new AbortController();
n(a);
- let o = x_e(async () => {
- ZB(e), ZB(a.signal);
+ let o = A_e(async () => {
+ iV(e), iV(a.signal);
let t = await r({
- pause: $B(a.signal),
- delay: eV(a.signal),
+ pause: oV(a.signal),
+ delay: sV(a.signal),
signal: a.signal
});
- return ZB(a.signal), t;
- }, () => a.abort(y_e));
- return i?.autoJoin && t.push(o.catch(JB)), {
- result: $B(e)(o),
+ return iV(a.signal), t;
+ }, () => a.abort(O_e));
+ return i?.autoJoin && t.push(o.catch(tV)), {
+ result: oV(e)(o),
cancel() {
- a.abort(v_e);
+ a.abort(D_e);
}
};
};
-}, C_e = (e, t) => {
+}, M_e = (e, t) => {
let n = async (n, r) => {
- ZB(t);
+ iV(t);
let i = () => {}, a = [new Promise((t, r) => {
let a = e({
predicate: n,
@@ -50808,47 +51248,47 @@ var x_e = async (e, t) => {
})];
r != null && a.push(new Promise((e) => setTimeout(e, r, null)));
try {
- let e = await QB(t, Promise.race(a));
- return ZB(t), e;
+ let e = await aV(t, Promise.race(a));
+ return iV(t), e;
} finally {
i();
}
};
- return ((e, t) => YB(n(e, t)));
-}, iV = (e) => {
+ return ((e, t) => nV(n(e, t)));
+}, dV = (e) => {
let { type: t, actionCreator: n, matcher: r, predicate: i, effect: a } = e;
- if (t) i = jB(t).match;
+ if (t) i = RB(t).match;
else if (n) t = n.type, i = n.match;
else if (r) i = r;
- else if (!i) throw Error(fV(21));
- return qB(a, "options.listener"), {
+ else if (!i) throw Error(yV(21));
+ return eV(a, "options.listener"), {
predicate: i,
type: t,
effect: a
};
-}, aV = /* @__PURE__ */ tV((e) => {
- let { type: t, predicate: n, effect: r } = iV(e);
+}, fV = /* @__PURE__ */ cV((e) => {
+ let { type: t, predicate: n, effect: r } = dV(e);
return {
- id: s_e(),
+ id: g_e(),
effect: r,
type: t,
predicate: n,
pending: /* @__PURE__ */ new Set(),
unsubscribe: () => {
- throw Error(fV(22));
+ throw Error(yV(22));
}
};
-}, { withTypes: () => aV }), oV = (e, t) => {
- let { type: n, effect: r, predicate: i } = iV(t);
+}, { withTypes: () => fV }), pV = (e, t) => {
+ let { type: n, effect: r, predicate: i } = dV(t);
return Array.from(e.values()).find((e) => (typeof n == "string" ? e.type === n : e.predicate === i) && e.effect === r);
-}, sV = (e) => {
+}, mV = (e) => {
e.pending.forEach((e) => {
- e.abort(GB);
+ e.abort(QB);
});
-}, w_e = (e, t) => () => {
- for (let e of t.keys()) sV(e);
+}, N_e = (e, t) => () => {
+ for (let e of t.keys()) mV(e);
e.clear();
-}, cV = (e, t, n) => {
+}, hV = (e, t, n) => {
try {
e(t, n);
} catch (e) {
@@ -50856,74 +51296,74 @@ var x_e = async (e, t) => {
throw e;
}, 0);
}
-}, lV = /* @__PURE__ */ tV(/* @__PURE__ */ jB(`${rV}/add`), { withTypes: () => lV }), T_e = /* @__PURE__ */ jB(`${rV}/removeAll`), uV = /* @__PURE__ */ tV(/* @__PURE__ */ jB(`${rV}/remove`), { withTypes: () => uV }), E_e = (...e) => {
- console.error(`${rV}/error`, ...e);
-}, dV = (e = {}) => {
+}, gV = /* @__PURE__ */ cV(/* @__PURE__ */ RB(`${uV}/add`), { withTypes: () => gV }), P_e = /* @__PURE__ */ RB(`${uV}/removeAll`), _V = /* @__PURE__ */ cV(/* @__PURE__ */ RB(`${uV}/remove`), { withTypes: () => _V }), F_e = (...e) => {
+ console.error(`${uV}/error`, ...e);
+}, vV = (e = {}) => {
let t = /* @__PURE__ */ new Map(), n = /* @__PURE__ */ new Map(), r = (e) => {
let t = n.get(e) ?? 0;
n.set(e, t + 1);
}, i = (e) => {
let t = n.get(e) ?? 1;
t === 1 ? n.delete(e) : n.set(e, t - 1);
- }, { extra: a, onError: o = E_e } = e;
- qB(o, "onError");
+ }, { extra: a, onError: o = F_e } = e;
+ eV(o, "onError");
let s = (e) => (e.unsubscribe = () => t.delete(e.id), t.set(e.id, e), (t) => {
- e.unsubscribe(), t?.cancelActive && sV(e);
+ e.unsubscribe(), t?.cancelActive && mV(e);
}), c = ((e) => {
- let n = oV(t, e) ?? aV(e);
+ let n = pV(t, e) ?? fV(e);
return s(n);
});
- tV(c, { withTypes: () => c });
+ cV(c, { withTypes: () => c });
let l = (e) => {
- let n = oV(t, e);
- return n && (n.unsubscribe(), e.cancelActive && sV(n)), !!n;
+ let n = pV(t, e);
+ return n && (n.unsubscribe(), e.cancelActive && mV(n)), !!n;
};
- tV(l, { withTypes: () => l });
+ cV(l, { withTypes: () => l });
let u = async (e, n, s, l) => {
- let u = new AbortController(), d = C_e(c, u.signal), f = [];
+ let u = new AbortController(), d = M_e(c, u.signal), f = [];
try {
- e.pending.add(u), r(e), await Promise.resolve(e.effect(n, tV({}, s, {
+ e.pending.add(u), r(e), await Promise.resolve(e.effect(n, cV({}, s, {
getOriginalState: l,
condition: (e, t) => d(e, t).then(Boolean),
take: d,
- delay: eV(u.signal),
- pause: $B(u.signal),
+ delay: sV(u.signal),
+ pause: oV(u.signal),
extra: a,
signal: u.signal,
- fork: S_e(u.signal, f),
+ fork: j_e(u.signal, f),
unsubscribe: e.unsubscribe,
subscribe: () => {
t.set(e.id, e);
},
cancelActiveListeners: () => {
e.pending.forEach((e, t, n) => {
- e !== u && (e.abort(GB), n.delete(e));
+ e !== u && (e.abort(QB), n.delete(e));
});
},
cancel: () => {
- u.abort(GB), e.pending.delete(u);
+ u.abort(QB), e.pending.delete(u);
},
throwIfCancelled: () => {
- ZB(u.signal);
+ iV(u.signal);
}
})));
} catch (e) {
- e instanceof KB || cV(o, e, { raisedBy: "effect" });
+ e instanceof $B || hV(o, e, { raisedBy: "effect" });
} finally {
- await Promise.all(f), u.abort(b_e), i(e), e.pending.delete(u);
+ await Promise.all(f), u.abort(k_e), i(e), e.pending.delete(u);
}
- }, d = w_e(t, n);
+ }, d = N_e(t, n);
return {
middleware: (e) => (n) => (r) => {
- if (!xz(r)) return n(r);
- if (lV.match(r)) return c(r.payload);
- if (T_e.match(r)) {
+ if (!Oz(r)) return n(r);
+ if (gV.match(r)) return c(r.payload);
+ if (P_e.match(r)) {
d();
return;
}
- if (uV.match(r)) return l(r.payload);
+ if (_V.match(r)) return l(r.payload);
let i = e.getState(), a = () => {
- if (i === nV) throw Error(fV(23));
+ if (i === lV) throw Error(yV(23));
return i;
}, s;
try {
@@ -50934,13 +51374,13 @@ var x_e = async (e, t) => {
try {
s = t.predicate(r, n, i);
} catch (e) {
- s = !1, cV(o, e, { raisedBy: "predicate" });
+ s = !1, hV(o, e, { raisedBy: "predicate" });
}
s && u(t, r, e, a);
}
}
} finally {
- i = nV;
+ i = lV;
}
return s;
},
@@ -50949,12 +51389,12 @@ var x_e = async (e, t) => {
clearListeners: d
};
};
-function fV(e) {
+function yV(e) {
return `Minified Redux Toolkit error #${e}; visit https://redux-toolkit.js.org/Errors?code=${e} for the full message or use the non-minified dev environment for full errors. `;
}
//#endregion
//#region node_modules/recharts/es6/state/layoutSlice.js
-var pV = BB({
+var bV = qB({
name: "chartLayout",
initialState: {
layoutType: "horizontal",
@@ -50982,23 +51422,23 @@ var pV = BB({
e.scale = t.payload;
}
}
-}), { setMargin: D_e, setLayout: O_e, setChartSize: k_e, setScale: A_e } = pV.actions, j_e = pV.reducer;
+}), { setMargin: I_e, setLayout: xV, setChartSize: SV, setScale: CV } = bV.actions, wV = bV.reducer;
//#endregion
//#region node_modules/recharts/es6/util/getSliced.js
-function mV(e, t, n) {
+function TV(e, t, n) {
return Array.isArray(e) && e && t + n !== 0 ? e.slice(t, n + 1) : e;
}
//#endregion
//#region node_modules/recharts/es6/util/isWellBehavedNumber.js
-function hV(e) {
+function EV(e) {
return Number.isFinite(e);
}
-function gV(e) {
+function DV(e) {
return typeof e == "number" && e > 0 && Number.isFinite(e);
}
//#endregion
//#region node_modules/recharts/es6/util/ChartUtils.js
-function _V(e, t) {
+function OV(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -51008,30 +51448,30 @@ function _V(e, t) {
}
return n;
}
-function vV(e) {
+function kV(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? _V(Object(n), !0).forEach(function(t) {
- yV(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : _V(Object(n)).forEach(function(t) {
+ t % 2 ? OV(Object(n), !0).forEach(function(t) {
+ AV(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : OV(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function yV(e, t, n) {
- return (t = bV(t)) in e ? Object.defineProperty(e, t, {
+function AV(e, t, n) {
+ return (t = jV(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function bV(e) {
- var t = xV(e, "string");
+function jV(e) {
+ var t = MV(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function xV(e, t) {
+function MV(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -51041,63 +51481,63 @@ function xV(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function SV(e, t, n) {
- return hR(e) || hR(t) ? n : lR(t) ? rR(e, t, n) : typeof t == "function" ? t(e) : n;
+function NV(e, t, n) {
+ return SR(e) || SR(t) ? n : gR(t) ? uR(e, t, n) : typeof t == "function" ? t(e) : n;
}
-var CV = (e, t, n) => {
+var PV = (e, t, n) => {
if (t && n) {
var { width: r, height: i } = n, { align: a, verticalAlign: o, layout: s } = t;
- if ((s === "vertical" || s === "horizontal" && o === "middle") && a !== "center" && Z(e[a])) return vV(vV({}, e), {}, { [a]: e[a] + (r || 0) });
- if ((s === "horizontal" || s === "vertical" && a === "center") && o !== "middle" && Z(e[o])) return vV(vV({}, e), {}, { [o]: e[o] + (i || 0) });
+ if ((s === "vertical" || s === "horizontal" && o === "middle") && a !== "center" && Z(e[a])) return kV(kV({}, e), {}, { [a]: e[a] + (r || 0) });
+ if ((s === "horizontal" || s === "vertical" && a === "center") && o !== "middle" && Z(e[o])) return kV(kV({}, e), {}, { [o]: e[o] + (i || 0) });
}
return e;
-}, wV = (e, t) => e === "horizontal" && t === "xAxis" || e === "vertical" && t === "yAxis" || e === "centric" && t === "angleAxis" || e === "radial" && t === "radiusAxis", TV = (e, t, n, r) => {
+}, FV = (e, t) => e === "horizontal" && t === "xAxis" || e === "vertical" && t === "yAxis" || e === "centric" && t === "angleAxis" || e === "radial" && t === "radiusAxis", IV = (e, t, n, r) => {
if (r) return e.map((e) => e.coordinate);
var i, a, o = e.map((e) => (e.coordinate === t && (i = !0), e.coordinate === n && (a = !0), e.coordinate));
return i || o.push(t), a || o.push(n), o;
-}, EV = (e, t, n) => {
+}, LV = (e, t, n) => {
if (!e) return null;
var { duplicateDomain: r, type: i, range: a, scale: o, realScaleType: s, isCategorical: c, categoricalDomain: l, tickCount: u, ticks: d, niceTicks: f, axisType: p } = e;
if (!o) return null;
var m = s === "scaleBand" && o.bandwidth ? o.bandwidth() / 2 : 2, h = (t || n) && i === "category" && o.bandwidth ? o.bandwidth() / m : 0;
- return h = p === "angleAxis" && a && a.length >= 2 ? oR(a[0] - a[1]) * 2 * h : h, t && (d || f) ? (d || f || []).map((e, t) => {
+ return h = p === "angleAxis" && a && a.length >= 2 ? pR(a[0] - a[1]) * 2 * h : h, t && (d || f) ? (d || f || []).map((e, t) => {
var n = r ? r.indexOf(e) : e, i = o.map(n);
- return hV(i) ? {
+ return EV(i) ? {
coordinate: i + h,
value: e,
offset: h,
index: t
} : null;
- }).filter(_R) : c && l ? l.map((e, t) => {
+ }).filter(wR) : c && l ? l.map((e, t) => {
var n = o.map(e);
- return hV(n) ? {
+ return EV(n) ? {
coordinate: n + h,
value: e,
index: t,
offset: h
} : null;
- }).filter(_R) : o.ticks && !n && u != null ? o.ticks(u).map((e, t) => {
+ }).filter(wR) : o.ticks && !n && u != null ? o.ticks(u).map((e, t) => {
var n = o.map(e);
- return hV(n) ? {
+ return EV(n) ? {
coordinate: n + h,
value: e,
index: t,
offset: h
} : null;
- }).filter(_R) : o.domain().map((e, t) => {
+ }).filter(wR) : o.domain().map((e, t) => {
var n = o.map(e);
- return hV(n) ? {
+ return EV(n) ? {
coordinate: n + h,
value: r ? r[e] : e,
index: t,
offset: h
} : null;
- }).filter(_R);
-}, DV = (e, t) => {
+ }).filter(wR);
+}, RV = (e, t) => {
if (!t || t.length !== 2 || !Z(t[0]) || !Z(t[1])) return e;
var n = Math.min(t[0], t[1]), r = Math.max(t[0], t[1]), i = [e[0], e[1]];
return (!Z(e[0]) || e[0] < n) && (i[0] = n), (!Z(e[1]) || e[1] > r) && (i[1] = r), i[0] > r && (i[0] = r), i[1] < n && (i[1] = n), i;
-}, OV = {
+}, zV = {
sign: (e) => {
var t = e.length;
if (!(t <= 0)) {
@@ -51105,16 +51545,16 @@ var CV = (e, t, n) => {
if (!(n == null || n <= 0)) for (var r = 0; r < n; ++r) for (var i = 0, a = 0, o = 0; o < t; ++o) {
var s = e[o]?.[r];
if (s != null) {
- var c = s[1], l = s[0], u = sR(c) ? l : c;
+ var c = s[1], l = s[0], u = mR(c) ? l : c;
u >= 0 ? (s[0] = i, i += u, s[1] = i) : (s[0] = a, a += u, s[1] = a);
}
}
}
},
- expand: qme,
- none: YL,
- silhouette: Jme,
- wiggle: Yme,
+ expand: nhe,
+ none: nR,
+ silhouette: rhe,
+ wiggle: ihe,
positive: (e) => {
var t = e.length;
if (!(t <= 0)) {
@@ -51122,70 +51562,70 @@ var CV = (e, t, n) => {
if (!(n == null || n <= 0)) for (var r = 0; r < n; ++r) for (var i = 0, a = 0; a < t; ++a) {
var o = e[a]?.[r];
if (o != null) {
- var s = sR(o[1]) ? o[0] : o[1];
+ var s = mR(o[1]) ? o[0] : o[1];
s >= 0 ? (o[0] = i, i += s, o[1] = i) : (o[0] = 0, o[1] = 0);
}
}
}
}
-}, kV = (e, t, n) => {
- var r = OV[n] ?? YL, i = Kme().keys(t).value((e, t) => Number(SV(e, t, 0))).order(XL).offset(r)(e);
+}, BV = (e, t, n) => {
+ var r = zV[n] ?? nR, i = the().keys(t).value((e, t) => Number(NV(e, t, 0))).order(rR).offset(r)(e);
return i.forEach((n, r) => {
n.forEach((n, i) => {
- var a = SV(e[i], t[r], 0);
+ var a = NV(e[i], t[r], 0);
Array.isArray(a) && a.length === 2 && Z(a[0]) && Z(a[1]) && (n[0] = a[0], n[1] = a[1]);
});
}), i;
};
-function AV(e) {
+function VV(e) {
return e == null ? void 0 : String(e);
}
-function jV(e) {
+function HV(e) {
var { axis: t, ticks: n, bandSize: r, entry: i, index: a, dataKey: o } = e;
if (t.type === "category") {
- if (!t.allowDuplicatedCategory && t.dataKey && !hR(i[t.dataKey])) {
- var s = mR(n, "value", i[t.dataKey]);
+ if (!t.allowDuplicatedCategory && t.dataKey && !SR(i[t.dataKey])) {
+ var s = xR(n, "value", i[t.dataKey]);
if (s) return s.coordinate + r / 2;
}
return n != null && n[a] ? n[a].coordinate + r / 2 : null;
}
- var c = SV(i, hR(o) ? t.dataKey : o), l = t.scale.map(c);
+ var c = NV(i, SR(o) ? t.dataKey : o), l = t.scale.map(c);
return Z(l) ? l : null;
}
-var MV = (e) => {
+var UV = (e) => {
var { axis: t, ticks: n, offset: r, bandSize: i, entry: a, index: o } = e;
if (t.type === "category") return n[o] ? n[o].coordinate + r : null;
- var s = SV(a, t.dataKey, t.scale.domain()[o]);
- if (hR(s)) return null;
+ var s = NV(a, t.dataKey, t.scale.domain()[o]);
+ if (SR(s)) return null;
var c = t.scale.map(s);
return Z(c) ? c - i / 2 + r : null;
-}, NV = (e) => {
+}, WV = (e) => {
var { numericAxis: t } = e, n = t.scale.domain();
if (t.type === "number") {
var r = Math.min(n[0], n[1]), i = Math.max(n[0], n[1]);
return r <= 0 && i >= 0 ? 0 : i < 0 ? i : r;
}
return n[0];
-}, PV = (e) => {
+}, GV = (e) => {
var t = e.flat(2).filter(Z);
return [Math.min(...t), Math.max(...t)];
-}, FV = (e) => [e[0] === Infinity ? 0 : e[0], e[1] === -Infinity ? 0 : e[1]], IV = (e, t, n) => {
- if (e != null) return FV(Object.keys(e).reduce((r, i) => {
+}, KV = (e) => [e[0] === Infinity ? 0 : e[0], e[1] === -Infinity ? 0 : e[1]], qV = (e, t, n) => {
+ if (e != null) return KV(Object.keys(e).reduce((r, i) => {
var a = e[i];
if (!a) return r;
var { stackedData: o } = a, s = o.reduce((e, r) => {
- var i = PV(mV(r, t, n));
- return !hV(i[0]) || !hV(i[1]) ? e : [Math.min(e[0], i[0]), Math.max(e[1], i[1])];
+ var i = GV(TV(r, t, n));
+ return !EV(i[0]) || !EV(i[1]) ? e : [Math.min(e[0], i[0]), Math.max(e[1], i[1])];
}, [Infinity, -Infinity]);
return [Math.min(s[0], r[0]), Math.max(s[1], r[1])];
}, [Infinity, -Infinity]));
-}, LV = /^dataMin[\s]*-[\s]*([0-9]+([.]{1}[0-9]+){0,1})$/, RV = /^dataMax[\s]*\+[\s]*([0-9]+([.]{1}[0-9]+){0,1})$/, zV = (e, t, n) => {
+}, JV = /^dataMin[\s]*-[\s]*([0-9]+([.]{1}[0-9]+){0,1})$/, YV = /^dataMax[\s]*\+[\s]*([0-9]+([.]{1}[0-9]+){0,1})$/, XV = (e, t, n) => {
if (e && e.scale && e.scale.bandwidth) {
var r = e.scale.bandwidth();
if (!n || r > 0) return r;
}
if (e && t && t.length >= 2) {
- for (var i = lz(t, (e) => e.coordinate), a = Infinity, o = 1, s = i.length; o < s; o++) {
+ for (var i = gz(t, (e) => e.coordinate), a = Infinity, o = 1, s = i.length; o < s; o++) {
var c = i[o], l = i[o - 1];
a = Math.min((c?.coordinate || 0) - (l?.coordinate || 0), a);
}
@@ -51193,26 +51633,26 @@ var MV = (e) => {
}
return n ? void 0 : 0;
};
-function BV(e) {
+function ZV(e) {
var { tooltipEntrySettings: t, dataKey: n, payload: r, value: i, name: a } = e;
- return vV(vV({}, t), {}, {
+ return kV(kV({}, t), {}, {
dataKey: n,
payload: r,
value: i,
name: a
});
}
-function VV(e, t) {
+function QV(e, t) {
if (e) return String(e);
if (typeof t == "string") return t;
}
-var HV = (e, t) => {
+var $V = (e, t) => {
if (t === "horizontal") return e.relativeX;
if (t === "vertical") return e.relativeY;
-}, UV = (e, t) => t === "centric" ? e.angle : e.radius, WV = (e) => e.layout.width, GV = (e) => e.layout.height, KV = (e) => e.layout.scale, qV = (e) => e.layout.margin, JV = $((e) => e.cartesianAxis.xAxis, (e) => Object.values(e)), YV = $((e) => e.cartesianAxis.yAxis, (e) => Object.values(e)), XV = "data-recharts-item-index";
+}, eH = (e, t) => t === "centric" ? e.angle : e.radius, tH = (e) => e.layout.width, nH = (e) => e.layout.height, rH = (e) => e.layout.scale, iH = (e) => e.layout.margin, aH = $((e) => e.cartesianAxis.xAxis, (e) => Object.values(e)), oH = $((e) => e.cartesianAxis.yAxis, (e) => Object.values(e)), sH = "data-recharts-item-index";
//#endregion
//#region node_modules/recharts/es6/state/selectors/selectChartOffsetInternal.js
-function ZV(e, t) {
+function cH(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -51222,30 +51662,30 @@ function ZV(e, t) {
}
return n;
}
-function QV(e) {
+function lH(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? ZV(Object(n), !0).forEach(function(t) {
- $V(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : ZV(Object(n)).forEach(function(t) {
+ t % 2 ? cH(Object(n), !0).forEach(function(t) {
+ uH(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : cH(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function $V(e, t, n) {
- return (t = eH(t)) in e ? Object.defineProperty(e, t, {
+function uH(e, t, n) {
+ return (t = dH(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function eH(e) {
- var t = tH(e, "string");
+function dH(e) {
+ var t = fH(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function tH(e, t) {
+function fH(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -51255,58 +51695,58 @@ function tH(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var nH = (e) => e.brush.height;
-function rH(e) {
- return YV(e).reduce((e, t) => t.orientation === "left" && !t.mirror && !t.hide ? e + (typeof t.width == "number" ? t.width : 60) : e, 0);
+var pH = (e) => e.brush.height;
+function mH(e) {
+ return oH(e).reduce((e, t) => t.orientation === "left" && !t.mirror && !t.hide ? e + (typeof t.width == "number" ? t.width : 60) : e, 0);
}
-function iH(e) {
- return YV(e).reduce((e, t) => t.orientation === "right" && !t.mirror && !t.hide ? e + (typeof t.width == "number" ? t.width : 60) : e, 0);
+function hH(e) {
+ return oH(e).reduce((e, t) => t.orientation === "right" && !t.mirror && !t.hide ? e + (typeof t.width == "number" ? t.width : 60) : e, 0);
}
-function aH(e) {
- return JV(e).reduce((e, t) => t.orientation === "top" && !t.mirror && !t.hide ? e + t.height : e, 0);
+function gH(e) {
+ return aH(e).reduce((e, t) => t.orientation === "top" && !t.mirror && !t.hide ? e + t.height : e, 0);
}
-function oH(e) {
- return JV(e).reduce((e, t) => t.orientation === "bottom" && !t.mirror && !t.hide ? e + t.height : e, 0);
+function _H(e) {
+ return aH(e).reduce((e, t) => t.orientation === "bottom" && !t.mirror && !t.hide ? e + t.height : e, 0);
}
-var sH = $([
- WV,
- GV,
- qV,
+var vH = $([
+ tH,
nH,
- rH,
iH,
- aH,
- oH,
- uz,
- jge
+ pH,
+ mH,
+ hH,
+ gH,
+ _H,
+ _z,
+ Bge
], (e, t, n, r, i, a, o, s, c, l) => {
var u = {
left: (n.left || 0) + i,
right: (n.right || 0) + a
- }, d = QV(QV({}, {
+ }, d = lH(lH({}, {
top: (n.top || 0) + o,
bottom: (n.bottom || 0) + s
}), u), f = d.bottom;
- d.bottom += r, d = CV(d, c, l);
+ d.bottom += r, d = PV(d, c, l);
var p = e - d.left - d.right, m = t - d.top - d.bottom;
- return QV(QV({ brushBottom: f }, d), {}, {
+ return lH(lH({ brushBottom: f }, d), {}, {
width: Math.max(p, 0),
height: Math.max(m, 0)
});
-}), cH = $(sH, (e) => ({
+}), yH = $(vH, (e) => ({
x: e.left,
y: e.top,
width: e.width,
height: e.height
-})), lH = $(WV, GV, (e, t) => ({
+})), bH = $(tH, nH, (e, t) => ({
x: 0,
y: 0,
width: e,
height: t
-})), uH = /*#__PURE__*/ (0, R.createContext)(null), dH = () => (0, R.useContext)(uH) != null, fH = (e) => e.brush, pH = $([
- fH,
- sH,
- qV
+})), xH = /*#__PURE__*/ (0, R.createContext)(null), SH = () => (0, R.useContext)(xH) != null, CH = (e) => e.brush, wH = $([
+ CH,
+ vH,
+ iH
], (e, t, n) => ({
height: e.height,
x: Z(e.x) ? e.x : t.left,
@@ -51315,7 +51755,7 @@ var sH = $([
}));
//#endregion
//#region node_modules/es-toolkit/dist/function/debounce.mjs
-function mH(e, t, { signal: n, edges: r } = {}) {
+function TH(e, t, { signal: n, edges: r } = {}) {
let i, a = null, o = r != null && r.includes("leading"), s = r == null || r.includes("trailing"), c = () => {
a !== null && (e.apply(i, a), i = void 0, a = null);
}, l = () => {
@@ -51340,11 +51780,11 @@ function mH(e, t, { signal: n, edges: r } = {}) {
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/function/debounce.mjs
-function hH(e, t = 0, n = {}) {
+function EH(e, t = 0, n = {}) {
typeof n != "object" && (n = {});
let { leading: r = !1, trailing: i = !0, maxWait: a } = n, o = [, ,];
r && (o[0] = "leading"), i && (o[1] = "trailing");
- let s, c = null, l = mH(function(...t) {
+ let s, c = null, l = TH(function(...t) {
s = e.apply(this, t), c = null;
}, t, { edges: o }), u = function(...t) {
return a != null && (c === null && (c = Date.now()), Date.now() - c >= a) ? ((r || i) && (s = e.apply(this, t)), c = Date.now(), l.cancel(), l.schedule(), s) : (l.apply(this, t), s);
@@ -51353,9 +51793,9 @@ function hH(e, t = 0, n = {}) {
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/function/throttle.mjs
-function gH(e, t = 0, n = {}) {
+function DH(e, t = 0, n = {}) {
let { leading: r = !0, trailing: i = !0 } = n;
- return hH(e, t, {
+ return EH(e, t, {
leading: r,
maxWait: t,
trailing: i
@@ -51363,7 +51803,7 @@ function gH(e, t = 0, n = {}) {
}
//#endregion
//#region node_modules/recharts/es6/util/LogUtils.js
-var _H = function(e, t) {
+var OH = function(e, t) {
var n = [...arguments].slice(2);
if (typeof console < "u" && console.warn && (t === void 0 && console.warn("LogUtils requires an error message argument"), !e)) {
if (t === void 0) console.warn("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");
@@ -51372,7 +51812,7 @@ var _H = function(e, t) {
console.warn(t.replace(/%s/g, () => n[r++]));
}
}
-}, vH = {
+}, kH = {
width: "100%",
height: "100%",
debounce: 0,
@@ -51381,45 +51821,45 @@ var _H = function(e, t) {
width: -1,
height: -1
}
-}, yH = (e, t, n) => {
- var { width: r = vH.width, height: i = vH.height, aspect: a, maxHeight: o } = n, s = cR(r) ? e : Number(r), c = cR(i) ? t : Number(i);
+}, AH = (e, t, n) => {
+ var { width: r = kH.width, height: i = kH.height, aspect: a, maxHeight: o } = n, s = hR(r) ? e : Number(r), c = hR(i) ? t : Number(i);
return a && a > 0 && (s ? c = s / a : c && (s = c * a), o && c != null && c > o && (c = o)), {
calculatedWidth: s,
calculatedHeight: c
};
-}, bH = {
+}, jH = {
width: 0,
height: 0,
overflow: "visible"
-}, xH = {
+}, MH = {
width: 0,
overflowX: "visible"
-}, SH = {
+}, NH = {
height: 0,
overflowY: "visible"
-}, CH = {}, wH = (e) => {
- var { width: t, height: n } = e, r = cR(t), i = cR(n);
- return r && i ? bH : r ? xH : i ? SH : CH;
+}, PH = {}, FH = (e) => {
+ var { width: t, height: n } = e, r = hR(t), i = hR(n);
+ return r && i ? jH : r ? MH : i ? NH : PH;
};
-function TH(e) {
+function IH(e) {
var { width: t, height: n, aspect: r } = e, i = t, a = n;
- return i === void 0 && a === void 0 ? (i = vH.width, a = vH.height) : i === void 0 ? i = r && r > 0 ? void 0 : vH.width : a === void 0 && (a = r && r > 0 ? void 0 : vH.height), {
+ return i === void 0 && a === void 0 ? (i = kH.width, a = kH.height) : i === void 0 ? i = r && r > 0 ? void 0 : kH.width : a === void 0 && (a = r && r > 0 ? void 0 : kH.height), {
width: i,
height: a
};
}
//#endregion
//#region node_modules/recharts/es6/component/ResponsiveContainer.js
-function EH() {
- return EH = Object.assign ? Object.assign.bind() : function(e) {
+function LH() {
+ return LH = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t];
for (var r in n) ({}).hasOwnProperty.call(n, r) && (e[r] = n[r]);
}
return e;
- }, EH.apply(null, arguments);
+ }, LH.apply(null, arguments);
}
-function DH(e, t) {
+function RH(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -51429,30 +51869,30 @@ function DH(e, t) {
}
return n;
}
-function OH(e) {
+function zH(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? DH(Object(n), !0).forEach(function(t) {
- kH(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : DH(Object(n)).forEach(function(t) {
+ t % 2 ? RH(Object(n), !0).forEach(function(t) {
+ BH(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : RH(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function kH(e, t, n) {
- return (t = AH(t)) in e ? Object.defineProperty(e, t, {
+function BH(e, t, n) {
+ return (t = VH(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function AH(e) {
- var t = jH(e, "string");
+function VH(e) {
+ var t = HH(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function jH(e, t) {
+function HH(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -51462,19 +51902,19 @@ function jH(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var MH = /*#__PURE__*/ (0, R.createContext)(vH.initialDimension);
-function NH(e) {
- return gV(e.width) && gV(e.height);
+var UH = /*#__PURE__*/ (0, R.createContext)(kH.initialDimension);
+function WH(e) {
+ return DV(e.width) && DV(e.height);
}
-function PH(e) {
+function GH(e) {
var { children: t, width: n, height: r } = e, i = (0, R.useMemo)(() => ({
width: n,
height: r
}), [n, r]);
- return NH(i) ? /*#__PURE__*/ R.createElement(MH.Provider, { value: i }, t) : null;
+ return WH(i) ? /*#__PURE__*/ R.createElement(UH.Provider, { value: i }, t) : null;
}
-var FH = () => (0, R.useContext)(MH), IH = /*#__PURE__*/ (0, R.forwardRef)((e, t) => {
- var { aspect: n, initialDimension: r = vH.initialDimension, width: i, height: a, minWidth: o = vH.minWidth, minHeight: s, maxHeight: c, children: l, debounce: u = vH.debounce, id: d, className: f, onResize: p, style: m = {} } = e, h = (0, R.useRef)(null), g = (0, R.useRef)();
+var KH = () => (0, R.useContext)(UH), qH = /*#__PURE__*/ (0, R.forwardRef)((e, t) => {
+ var { aspect: n, initialDimension: r = kH.initialDimension, width: i, height: a, minWidth: o = kH.minWidth, minHeight: s, maxHeight: c, children: l, debounce: u = kH.debounce, id: d, className: f, onResize: p, style: m = {} } = e, h = (0, R.useRef)(null), g = (0, R.useRef)();
g.current = p, (0, R.useImperativeHandle)(t, () => h.current);
var [_, v] = (0, R.useState)({
containerWidth: r.width,
@@ -51489,7 +51929,7 @@ var FH = () => (0, R.useContext)(MH), IH = /*#__PURE__*/ (0, R.forwardRef)((e, t
});
}, []);
(0, R.useEffect)(() => {
- if (h.current == null || typeof ResizeObserver > "u") return vR;
+ if (h.current == null || typeof ResizeObserver > "u") return TR;
var e = (e) => {
var t, n = e[0];
if (n != null) {
@@ -51497,7 +51937,7 @@ var FH = () => (0, R.useContext)(MH), IH = /*#__PURE__*/ (0, R.forwardRef)((e, t
y(r, i), (t = g.current) == null || t.call(g, r, i);
}
};
- u > 0 && (e = gH(e, u, {
+ u > 0 && (e = DH(e, u, {
trailing: !0,
leading: !1
}));
@@ -51507,17 +51947,17 @@ var FH = () => (0, R.useContext)(MH), IH = /*#__PURE__*/ (0, R.forwardRef)((e, t
};
}, [y, u]);
var { containerWidth: b, containerHeight: x } = _;
- _H(!n || n > 0, "The aspect(%s) must be greater than zero.", n);
- var { calculatedWidth: S, calculatedHeight: C } = yH(b, x, {
+ OH(!n || n > 0, "The aspect(%s) must be greater than zero.", n);
+ var { calculatedWidth: S, calculatedHeight: C } = AH(b, x, {
width: i,
height: a,
aspect: n,
maxHeight: c
});
- return _H(S != null && S > 0 || C != null && C > 0, "The width(%s) and height(%s) of chart should be greater than 0,\n please check the style of container, or the props width(%s) and height(%s),\n or add a minWidth(%s) or minHeight(%s) or use aspect(%s) to control the\n height and width.", S, C, i, a, o, s, n), /*#__PURE__*/ R.createElement("div", {
+ return OH(S != null && S > 0 || C != null && C > 0, "The width(%s) and height(%s) of chart should be greater than 0,\n please check the style of container, or the props width(%s) and height(%s),\n or add a minWidth(%s) or minHeight(%s) or use aspect(%s) to control the\n height and width.", S, C, i, a, o, s, n), /*#__PURE__*/ R.createElement("div", {
id: d ? `${d}` : void 0,
className: Ql("recharts-responsive-container", f),
- style: OH(OH({}, m), {}, {
+ style: zH(zH({}, m), {}, {
width: i,
height: a,
minWidth: o,
@@ -51525,30 +51965,30 @@ var FH = () => (0, R.useContext)(MH), IH = /*#__PURE__*/ (0, R.forwardRef)((e, t
maxHeight: c
}),
ref: h
- }, /*#__PURE__*/ R.createElement("div", { style: wH({
+ }, /*#__PURE__*/ R.createElement("div", { style: FH({
width: i,
height: a
- }) }, /*#__PURE__*/ R.createElement(PH, {
+ }) }, /*#__PURE__*/ R.createElement(GH, {
width: S,
height: C
}, l)));
-}), LH = /*#__PURE__*/ (0, R.forwardRef)((e, t) => {
- var n = FH();
- if (gV(n.width) && gV(n.height)) return e.children;
- var { width: r, height: i } = TH({
+}), JH = /*#__PURE__*/ (0, R.forwardRef)((e, t) => {
+ var n = KH();
+ if (DV(n.width) && DV(n.height)) return e.children;
+ var { width: r, height: i } = IH({
width: e.width,
height: e.height,
aspect: e.aspect
- }), { calculatedWidth: a, calculatedHeight: o } = yH(void 0, void 0, {
+ }), { calculatedWidth: a, calculatedHeight: o } = AH(void 0, void 0, {
width: r,
height: i,
aspect: e.aspect,
maxHeight: e.maxHeight
});
- return Z(a) && Z(o) ? /*#__PURE__*/ R.createElement(PH, {
+ return Z(a) && Z(o) ? /*#__PURE__*/ R.createElement(GH, {
width: a,
height: o
- }, e.children) : /*#__PURE__*/ R.createElement(IH, EH({}, e, {
+ }, e.children) : /*#__PURE__*/ R.createElement(qH, LH({}, e, {
width: r,
height: i,
ref: t
@@ -51556,7 +51996,7 @@ var FH = () => (0, R.useContext)(MH), IH = /*#__PURE__*/ (0, R.forwardRef)((e, t
});
//#endregion
//#region node_modules/recharts/es6/context/chartLayoutContext.js
-function RH(e) {
+function YH(e) {
if (e) return {
x: e.x,
y: e.y,
@@ -51566,15 +52006,15 @@ function RH(e) {
height: e.height
};
}
-var zH = () => {
- var e = dH(), t = Q(cH), n = Q(pH), r = Q(fH)?.padding;
+var XH = () => {
+ var e = SH(), t = Q(yH), n = Q(wH), r = Q(CH)?.padding;
return !e || !n || !r ? t : {
width: n.width - r.left - r.right,
height: n.height - r.top - r.bottom,
x: r.left,
y: r.top
};
-}, BH = {
+}, ZH = {
top: 0,
bottom: 0,
left: 0,
@@ -51582,16 +52022,16 @@ var zH = () => {
width: 0,
height: 0,
brushBottom: 0
-}, VH = () => Q(sH) ?? BH, HH = () => Q(WV), UH = () => Q(GV), WH = () => Q((e) => e.layout.margin), GH = (e) => e.layout.layoutType, KH = () => Q(GH), qH = () => {
- var e = KH();
+}, QH = () => Q(vH) ?? ZH, $H = () => Q(tH), eU = () => Q(nH), tU = () => Q((e) => e.layout.margin), nU = (e) => e.layout.layoutType, rU = () => Q(nU), iU = () => {
+ var e = rU();
if (e === "horizontal" || e === "vertical") return e;
-}, JH = (e) => {
+}, aU = (e) => {
var t = e.layout.layoutType;
if (t === "centric" || t === "radial") return t;
-}, YH = () => Q(JH), XH = () => KH() !== void 0, ZH = (e) => {
- var t = tz(), n = dH(), { width: r, height: i } = e, a = FH(), o = r, s = i;
+}, oU = () => Q(aU), sU = () => rU() !== void 0, cU = (e) => {
+ var t = cz(), n = SH(), { width: r, height: i } = e, a = KH(), o = r, s = i;
return a && (o = a.width > 0 ? a.width : r, s = a.height > 0 ? a.height : i), (0, R.useEffect)(() => {
- !n && gV(o) && gV(s) && t(k_e({
+ !n && DV(o) && DV(s) && t(SV({
width: o,
height: s
}));
@@ -51601,64 +52041,64 @@ var zH = () => {
o,
s
]), null;
-}, QH = Symbol.for("immer-nothing"), $H = Symbol.for("immer-draftable"), eU = Symbol.for("immer-state");
-function tU(e, ...t) {
+}, lU = Symbol.for("immer-nothing"), uU = Symbol.for("immer-draftable"), dU = Symbol.for("immer-state");
+function fU(e, ...t) {
throw Error(`[Immer] minified error nr: ${e}. Full error at: https://bit.ly/3cXEKWf`);
}
-var nU = Object.getPrototypeOf;
-function rU(e) {
- return !!e && !!e[eU];
+var pU = Object.getPrototypeOf;
+function mU(e) {
+ return !!e && !!e[dU];
}
-function iU(e) {
- return e ? sU(e) || Array.isArray(e) || !!e[$H] || !!e.constructor?.[$H] || pU(e) || mU(e) : !1;
+function hU(e) {
+ return e ? vU(e) || Array.isArray(e) || !!e[uU] || !!e.constructor?.[uU] || wU(e) || TU(e) : !1;
}
-var aU = Object.prototype.constructor.toString(), oU = /* @__PURE__ */ new WeakMap();
-function sU(e) {
+var gU = Object.prototype.constructor.toString(), _U = /* @__PURE__ */ new WeakMap();
+function vU(e) {
if (!e || typeof e != "object") return !1;
let t = Object.getPrototypeOf(e);
if (t === null || t === Object.prototype) return !0;
let n = Object.hasOwnProperty.call(t, "constructor") && t.constructor;
if (n === Object) return !0;
if (typeof n != "function") return !1;
- let r = oU.get(n);
- return r === void 0 && (r = Function.toString.call(n), oU.set(n, r)), r === aU;
+ let r = _U.get(n);
+ return r === void 0 && (r = Function.toString.call(n), _U.set(n, r)), r === gU;
}
-function cU(e, t, n = !0) {
- lU(e) === 0 ? (n ? Reflect.ownKeys(e) : Object.keys(e)).forEach((n) => {
+function yU(e, t, n = !0) {
+ bU(e) === 0 ? (n ? Reflect.ownKeys(e) : Object.keys(e)).forEach((n) => {
t(n, e[n], e);
}) : e.forEach((n, r) => t(r, n, e));
}
-function lU(e) {
- let t = e[eU];
- return t ? t.type_ : Array.isArray(e) ? 1 : pU(e) ? 2 : mU(e) ? 3 : 0;
+function bU(e) {
+ let t = e[dU];
+ return t ? t.type_ : Array.isArray(e) ? 1 : wU(e) ? 2 : TU(e) ? 3 : 0;
}
-function uU(e, t) {
- return lU(e) === 2 ? e.has(t) : Object.prototype.hasOwnProperty.call(e, t);
+function xU(e, t) {
+ return bU(e) === 2 ? e.has(t) : Object.prototype.hasOwnProperty.call(e, t);
}
-function dU(e, t, n) {
- let r = lU(e);
+function SU(e, t, n) {
+ let r = bU(e);
r === 2 ? e.set(t, n) : r === 3 ? e.add(n) : e[t] = n;
}
-function fU(e, t) {
+function CU(e, t) {
return e === t ? e !== 0 || 1 / e == 1 / t : e !== e && t !== t;
}
-function pU(e) {
+function wU(e) {
return e instanceof Map;
}
-function mU(e) {
+function TU(e) {
return e instanceof Set;
}
-function hU(e) {
+function EU(e) {
return e.copy_ || e.base_;
}
-function gU(e, t) {
- if (pU(e)) return new Map(e);
- if (mU(e)) return new Set(e);
+function DU(e, t) {
+ if (wU(e)) return new Map(e);
+ if (TU(e)) return new Set(e);
if (Array.isArray(e)) return Array.prototype.slice.call(e);
- let n = sU(e);
+ let n = vU(e);
if (t === !0 || t === "class_only" && !n) {
let t = Object.getOwnPropertyDescriptors(e);
- delete t[eU];
+ delete t[dU];
let n = Reflect.ownKeys(t);
for (let r = 0; r < n.length; r++) {
let i = n[r], a = t[i];
@@ -51669,40 +52109,40 @@ function gU(e, t) {
value: e[i]
});
}
- return Object.create(nU(e), t);
+ return Object.create(pU(e), t);
}
{
- let t = nU(e);
+ let t = pU(e);
if (t !== null && n) return { ...e };
let r = Object.create(t);
return Object.assign(r, e);
}
}
-function _U(e, t = !1) {
- return bU(e) || rU(e) || !iU(e) ? e : (lU(e) > 1 && Object.defineProperties(e, {
- set: yU,
- add: yU,
- clear: yU,
- delete: yU
- }), Object.freeze(e), t && Object.values(e).forEach((e) => _U(e, !0)), e);
+function OU(e, t = !1) {
+ return jU(e) || mU(e) || !hU(e) ? e : (bU(e) > 1 && Object.defineProperties(e, {
+ set: AU,
+ add: AU,
+ clear: AU,
+ delete: AU
+ }), Object.freeze(e), t && Object.values(e).forEach((e) => OU(e, !0)), e);
}
-function vU() {
- tU(2);
+function kU() {
+ fU(2);
}
-var yU = { value: vU };
-function bU(e) {
+var AU = { value: kU };
+function jU(e) {
return typeof e != "object" || !e || Object.isFrozen(e);
}
-var xU = {};
-function SU(e) {
- let t = xU[e];
- return t || tU(0, e), t;
+var MU = {};
+function NU(e) {
+ let t = MU[e];
+ return t || fU(0, e), t;
}
-var CU;
-function wU() {
- return CU;
+var PU;
+function FU() {
+ return PU;
}
-function TU(e, t) {
+function IU(e, t) {
return {
drafts_: [],
parent_: e,
@@ -51711,62 +52151,62 @@ function TU(e, t) {
unfinalizedDrafts_: 0
};
}
-function EU(e, t) {
- t && (SU("Patches"), e.patches_ = [], e.inversePatches_ = [], e.patchListener_ = t);
+function LU(e, t) {
+ t && (NU("Patches"), e.patches_ = [], e.inversePatches_ = [], e.patchListener_ = t);
}
-function DU(e) {
- OU(e), e.drafts_.forEach(AU), e.drafts_ = null;
+function RU(e) {
+ zU(e), e.drafts_.forEach(VU), e.drafts_ = null;
}
-function OU(e) {
- e === CU && (CU = e.parent_);
+function zU(e) {
+ e === PU && (PU = e.parent_);
}
-function kU(e) {
- return CU = TU(CU, e);
+function BU(e) {
+ return PU = IU(PU, e);
}
-function AU(e) {
- let t = e[eU];
+function VU(e) {
+ let t = e[dU];
t.type_ === 0 || t.type_ === 1 ? t.revoke_() : t.revoked_ = !0;
}
-function jU(e, t) {
+function HU(e, t) {
t.unfinalizedDrafts_ = t.drafts_.length;
let n = t.drafts_[0];
- return e !== void 0 && e !== n ? (n[eU].modified_ && (DU(t), tU(4)), iU(e) && (e = MU(t, e), t.parent_ || PU(t, e)), t.patches_ && SU("Patches").generateReplacementPatches_(n[eU].base_, e, t.patches_, t.inversePatches_)) : e = MU(t, n, []), DU(t), t.patches_ && t.patchListener_(t.patches_, t.inversePatches_), e === QH ? void 0 : e;
+ return e !== void 0 && e !== n ? (n[dU].modified_ && (RU(t), fU(4)), hU(e) && (e = UU(t, e), t.parent_ || GU(t, e)), t.patches_ && NU("Patches").generateReplacementPatches_(n[dU].base_, e, t.patches_, t.inversePatches_)) : e = UU(t, n, []), RU(t), t.patches_ && t.patchListener_(t.patches_, t.inversePatches_), e === lU ? void 0 : e;
}
-function MU(e, t, n) {
- if (bU(t)) return t;
- let r = e.immer_.shouldUseStrictIteration(), i = t[eU];
- if (!i) return cU(t, (r, a) => NU(e, i, t, r, a, n), r), t;
+function UU(e, t, n) {
+ if (jU(t)) return t;
+ let r = e.immer_.shouldUseStrictIteration(), i = t[dU];
+ if (!i) return yU(t, (r, a) => WU(e, i, t, r, a, n), r), t;
if (i.scope_ !== e) return t;
- if (!i.modified_) return PU(e, i.base_, !0), i.base_;
+ if (!i.modified_) return GU(e, i.base_, !0), i.base_;
if (!i.finalized_) {
i.finalized_ = !0, i.scope_.unfinalizedDrafts_--;
let t = i.copy_, a = t, o = !1;
- i.type_ === 3 && (a = new Set(t), t.clear(), o = !0), cU(a, (r, a) => NU(e, i, t, r, a, n, o), r), PU(e, t, !1), n && e.patches_ && SU("Patches").generatePatches_(i, n, e.patches_, e.inversePatches_);
+ i.type_ === 3 && (a = new Set(t), t.clear(), o = !0), yU(a, (r, a) => WU(e, i, t, r, a, n, o), r), GU(e, t, !1), n && e.patches_ && NU("Patches").generatePatches_(i, n, e.patches_, e.inversePatches_);
}
return i.copy_;
}
-function NU(e, t, n, r, i, a, o) {
+function WU(e, t, n, r, i, a, o) {
if (i == null || typeof i != "object" && !o) return;
- let s = bU(i);
+ let s = jU(i);
if (!(s && !o)) {
- if (rU(i)) {
- let o = MU(e, i, a && t && t.type_ !== 3 && !uU(t.assigned_, r) ? a.concat(r) : void 0);
- if (dU(n, r, o), rU(o)) e.canAutoFreeze_ = !1;
+ if (mU(i)) {
+ let o = UU(e, i, a && t && t.type_ !== 3 && !xU(t.assigned_, r) ? a.concat(r) : void 0);
+ if (SU(n, r, o), mU(o)) e.canAutoFreeze_ = !1;
else return;
} else o && n.add(i);
- if (iU(i) && !s) {
+ if (hU(i) && !s) {
if (!e.immer_.autoFreeze_ && e.unfinalizedDrafts_ < 1 || t && t.base_ && t.base_[r] === i && s) return;
- MU(e, i), (!t || !t.scope_.parent_) && typeof r != "symbol" && (pU(n) ? n.has(r) : Object.prototype.propertyIsEnumerable.call(n, r)) && PU(e, i);
+ UU(e, i), (!t || !t.scope_.parent_) && typeof r != "symbol" && (wU(n) ? n.has(r) : Object.prototype.propertyIsEnumerable.call(n, r)) && GU(e, i);
}
}
}
-function PU(e, t, n = !1) {
- !e.parent_ && e.immer_.autoFreeze_ && e.canAutoFreeze_ && _U(t, n);
+function GU(e, t, n = !1) {
+ !e.parent_ && e.immer_.autoFreeze_ && e.canAutoFreeze_ && OU(t, n);
}
-function FU(e, t) {
+function KU(e, t) {
let n = Array.isArray(e), r = {
type_: +!!n,
- scope_: t ? t.scope_ : wU(),
+ scope_: t ? t.scope_ : FU(),
modified_: !1,
finalized_: !1,
assigned_: {},
@@ -51776,41 +52216,41 @@ function FU(e, t) {
copy_: null,
revoke_: null,
isManual_: !1
- }, i = r, a = IU;
- n && (i = [r], a = LU);
+ }, i = r, a = qU;
+ n && (i = [r], a = JU);
let { revoke: o, proxy: s } = Proxy.revocable(i, a);
return r.draft_ = s, r.revoke_ = o, s;
}
-var IU = {
+var qU = {
get(e, t) {
- if (t === eU) return e;
- let n = hU(e);
- if (!uU(n, t)) return zU(e, n, t);
+ if (t === dU) return e;
+ let n = EU(e);
+ if (!xU(n, t)) return XU(e, n, t);
let r = n[t];
- return e.finalized_ || !iU(r) ? r : r === RU(e.base_, t) ? (HU(e), e.copy_[t] = WU(r, e)) : r;
+ return e.finalized_ || !hU(r) ? r : r === YU(e.base_, t) ? ($U(e), e.copy_[t] = tW(r, e)) : r;
},
has(e, t) {
- return t in hU(e);
+ return t in EU(e);
},
ownKeys(e) {
- return Reflect.ownKeys(hU(e));
+ return Reflect.ownKeys(EU(e));
},
set(e, t, n) {
- let r = BU(hU(e), t);
+ let r = ZU(EU(e), t);
if (r?.set) return r.set.call(e.draft_, n), !0;
if (!e.modified_) {
- let r = RU(hU(e), t), i = r?.[eU];
+ let r = YU(EU(e), t), i = r?.[dU];
if (i && i.base_ === n) return e.copy_[t] = n, e.assigned_[t] = !1, !0;
- if (fU(n, r) && (n !== void 0 || uU(e.base_, t))) return !0;
- HU(e), VU(e);
+ if (CU(n, r) && (n !== void 0 || xU(e.base_, t))) return !0;
+ $U(e), QU(e);
}
return e.copy_[t] === n && (n !== void 0 || t in e.copy_) || Number.isNaN(n) && Number.isNaN(e.copy_[t]) ? !0 : (e.copy_[t] = n, e.assigned_[t] = !0, !0);
},
deleteProperty(e, t) {
- return RU(e.base_, t) !== void 0 || t in e.base_ ? (e.assigned_[t] = !1, HU(e), VU(e)) : delete e.assigned_[t], e.copy_ && delete e.copy_[t], !0;
+ return YU(e.base_, t) !== void 0 || t in e.base_ ? (e.assigned_[t] = !1, $U(e), QU(e)) : delete e.assigned_[t], e.copy_ && delete e.copy_[t], !0;
},
getOwnPropertyDescriptor(e, t) {
- let n = hU(e), r = Reflect.getOwnPropertyDescriptor(n, t);
+ let n = EU(e), r = Reflect.getOwnPropertyDescriptor(n, t);
return r && {
writable: !0,
configurable: e.type_ !== 1 || t !== "length",
@@ -51819,48 +52259,48 @@ var IU = {
};
},
defineProperty() {
- tU(11);
+ fU(11);
},
getPrototypeOf(e) {
- return nU(e.base_);
+ return pU(e.base_);
},
setPrototypeOf() {
- tU(12);
+ fU(12);
}
-}, LU = {};
-cU(IU, (e, t) => {
- LU[e] = function() {
+}, JU = {};
+yU(qU, (e, t) => {
+ JU[e] = function() {
return arguments[0] = arguments[0][0], t.apply(this, arguments);
};
-}), LU.deleteProperty = function(e, t) {
- return LU.set.call(this, e, t, void 0);
-}, LU.set = function(e, t, n) {
- return IU.set.call(this, e[0], t, n, e[0]);
+}), JU.deleteProperty = function(e, t) {
+ return JU.set.call(this, e, t, void 0);
+}, JU.set = function(e, t, n) {
+ return qU.set.call(this, e[0], t, n, e[0]);
};
-function RU(e, t) {
- let n = e[eU];
- return (n ? hU(n) : e)[t];
+function YU(e, t) {
+ let n = e[dU];
+ return (n ? EU(n) : e)[t];
}
-function zU(e, t, n) {
- let r = BU(t, n);
+function XU(e, t, n) {
+ let r = ZU(t, n);
return r ? "value" in r ? r.value : r.get?.call(e.draft_) : void 0;
}
-function BU(e, t) {
+function ZU(e, t) {
if (!(t in e)) return;
- let n = nU(e);
+ let n = pU(e);
for (; n;) {
let e = Object.getOwnPropertyDescriptor(n, t);
if (e) return e;
- n = nU(n);
+ n = pU(n);
}
}
-function VU(e) {
- e.modified_ || (e.modified_ = !0, e.parent_ && VU(e.parent_));
+function QU(e) {
+ e.modified_ || (e.modified_ = !0, e.parent_ && QU(e.parent_));
}
-function HU(e) {
- e.copy_ ||= gU(e.base_, e.scope_.immer_.useStrictShallowCopy_);
+function $U(e) {
+ e.copy_ ||= DU(e.base_, e.scope_.immer_.useStrictShallowCopy_);
}
-var UU = class {
+var eW = class {
constructor(e) {
this.autoFreeze_ = !0, this.useStrictShallowCopy_ = !1, this.useStrictIteration_ = !0, this.produce = (e, t, n) => {
if (typeof e == "function" && typeof t != "function") {
@@ -51871,25 +52311,25 @@ var UU = class {
return r.produce(e, (e) => t.call(this, e, ...i));
};
}
- typeof t != "function" && tU(6), n !== void 0 && typeof n != "function" && tU(7);
+ typeof t != "function" && fU(6), n !== void 0 && typeof n != "function" && fU(7);
let r;
- if (iU(e)) {
- let i = kU(this), a = WU(e, void 0), o = !0;
+ if (hU(e)) {
+ let i = BU(this), a = tW(e, void 0), o = !0;
try {
r = t(a), o = !1;
} finally {
- o ? DU(i) : OU(i);
+ o ? RU(i) : zU(i);
}
- return EU(i, n), jU(r, i);
+ return LU(i, n), HU(r, i);
}
if (!e || typeof e != "object") {
- if (r = t(e), r === void 0 && (r = e), r === QH && (r = void 0), this.autoFreeze_ && _U(r, !0), n) {
+ if (r = t(e), r === void 0 && (r = e), r === lU && (r = void 0), this.autoFreeze_ && OU(r, !0), n) {
let t = [], i = [];
- SU("Patches").generateReplacementPatches_(e, r, t, i), n(t, i);
+ NU("Patches").generateReplacementPatches_(e, r, t, i), n(t, i);
}
return r;
}
- tU(1, e);
+ fU(1, e);
}, this.produceWithPatches = (e, t) => {
if (typeof e == "function") return (t, ...n) => this.produceWithPatches(t, (t) => e(t, ...n));
let n, r;
@@ -51903,15 +52343,15 @@ var UU = class {
}, typeof e?.autoFreeze == "boolean" && this.setAutoFreeze(e.autoFreeze), typeof e?.useStrictShallowCopy == "boolean" && this.setUseStrictShallowCopy(e.useStrictShallowCopy), typeof e?.useStrictIteration == "boolean" && this.setUseStrictIteration(e.useStrictIteration);
}
createDraft(e) {
- iU(e) || tU(8), rU(e) && (e = GU(e));
- let t = kU(this), n = WU(e, void 0);
- return n[eU].isManual_ = !0, OU(t), n;
+ hU(e) || fU(8), mU(e) && (e = nW(e));
+ let t = BU(this), n = tW(e, void 0);
+ return n[dU].isManual_ = !0, zU(t), n;
}
finishDraft(e, t) {
- let n = e && e[eU];
- (!n || !n.isManual_) && tU(9);
+ let n = e && e[dU];
+ (!n || !n.isManual_) && fU(9);
let { scope_: r } = n;
- return EU(r, t), jU(void 0, r);
+ return LU(r, t), HU(void 0, r);
}
setAutoFreeze(e) {
this.autoFreeze_ = e;
@@ -51935,35 +52375,35 @@ var UU = class {
}
}
n > -1 && (t = t.slice(n + 1));
- let r = SU("Patches").applyPatches_;
- return rU(e) ? r(e, t) : this.produce(e, (e) => r(e, t));
+ let r = NU("Patches").applyPatches_;
+ return mU(e) ? r(e, t) : this.produce(e, (e) => r(e, t));
}
};
-function WU(e, t) {
- let n = pU(e) ? SU("MapSet").proxyMap_(e, t) : mU(e) ? SU("MapSet").proxySet_(e, t) : FU(e, t);
- return (t ? t.scope_ : wU()).drafts_.push(n), n;
+function tW(e, t) {
+ let n = wU(e) ? NU("MapSet").proxyMap_(e, t) : TU(e) ? NU("MapSet").proxySet_(e, t) : KU(e, t);
+ return (t ? t.scope_ : FU()).drafts_.push(n), n;
}
-function GU(e) {
- return rU(e) || tU(10, e), KU(e);
+function nW(e) {
+ return mU(e) || fU(10, e), rW(e);
}
-function KU(e) {
- if (!iU(e) || bU(e)) return e;
- let t = e[eU], n, r = !0;
+function rW(e) {
+ if (!hU(e) || jU(e)) return e;
+ let t = e[dU], n, r = !0;
if (t) {
if (!t.modified_) return t.base_;
- t.finalized_ = !0, n = gU(e, t.scope_.immer_.useStrictShallowCopy_), r = t.scope_.immer_.shouldUseStrictIteration();
- } else n = gU(e, !0);
- return cU(n, (e, t) => {
- dU(n, e, KU(t));
+ t.finalized_ = !0, n = DU(e, t.scope_.immer_.useStrictShallowCopy_), r = t.scope_.immer_.shouldUseStrictIteration();
+ } else n = DU(e, !0);
+ return yU(n, (e, t) => {
+ SU(n, e, rW(t));
}, r), t && (t.finalized_ = !1), n;
}
-new UU().produce;
-function qU(e) {
+new eW().produce;
+function iW(e) {
return e;
}
//#endregion
//#region node_modules/recharts/es6/state/legendSlice.js
-var JU = BB({
+var aW = qB({
name: "legend",
initialState: {
settings: {
@@ -51987,43 +52427,43 @@ var JU = BB({
},
addLegendPayload: {
reducer(e, t) {
- e.payload.push(qU(t.payload));
+ e.payload.push(iW(t.payload));
},
- prepare: IB()
+ prepare: UB()
},
replaceLegendPayload: {
reducer(e, t) {
- var { prev: n, next: r } = t.payload, i = DB(e).payload.indexOf(qU(n));
- i > -1 && (e.payload[i] = qU(r));
+ var { prev: n, next: r } = t.payload, i = PB(e).payload.indexOf(iW(n));
+ i > -1 && (e.payload[i] = iW(r));
},
- prepare: IB()
+ prepare: UB()
},
removeLegendPayload: {
reducer(e, t) {
- var n = DB(e).payload.indexOf(qU(t.payload));
+ var n = PB(e).payload.indexOf(iW(t.payload));
n > -1 && e.payload.splice(n, 1);
},
- prepare: IB()
+ prepare: UB()
}
}
-}), { setLegendSize: YU, setLegendSettings: XU, addLegendPayload: ZU, replaceLegendPayload: QU, removeLegendPayload: $U } = JU.actions, eW = JU.reducer, tW = /* @__PURE__ */ ce(((e) => {
+}), { setLegendSize: oW, setLegendSettings: sW, addLegendPayload: cW, replaceLegendPayload: lW, removeLegendPayload: uW } = aW.actions, dW = aW.reducer, fW = /* @__PURE__ */ ce(((e) => {
var t = he();
t.useSyncExternalStore, t.useRef, t.useEffect, t.useMemo, t.useDebugValue;
}));
(/* @__PURE__ */ ce(((e, t) => {
- t.exports = tW();
+ t.exports = fW();
})))();
-function nW(e) {
+function pW(e) {
e();
}
-function rW() {
+function mW() {
let e = null, t = null;
return {
clear() {
e = null, t = null;
},
notify() {
- nW(() => {
+ pW(() => {
let t = e;
for (; t;) t.callback(), t = t.next;
});
@@ -52045,12 +52485,12 @@ function rW() {
}
};
}
-var iW = {
+var hW = {
notify() {},
get: () => []
};
-function aW(e, t) {
- let n, r = iW, i = 0, a = !1;
+function gW(e, t) {
+ let n, r = hW, i = 0, a = !1;
function o(e) {
u();
let t = r.subscribe(e), n = !1;
@@ -52068,10 +52508,10 @@ function aW(e, t) {
return a;
}
function u() {
- i++, n || (n = t ? t.addNestedSub(c) : e.subscribe(c), r = rW());
+ i++, n || (n = t ? t.addNestedSub(c) : e.subscribe(c), r = mW());
}
function d() {
- i--, n && i === 0 && (n(), n = void 0, r.clear(), r = iW);
+ i--, n && i === 0 && (n(), n = void 0, r.clear(), r = hW);
}
function f() {
a || (a = !0, u());
@@ -52090,44 +52530,44 @@ function aW(e, t) {
};
return m;
}
-var oW = typeof window < "u" && window.document !== void 0 && window.document.createElement !== void 0, sW = typeof navigator < "u" && navigator.product === "ReactNative", cW = oW || sW ? R.useLayoutEffect : R.useEffect;
-function lW(e, t) {
+var _W = typeof window < "u" && window.document !== void 0 && window.document.createElement !== void 0, vW = typeof navigator < "u" && navigator.product === "ReactNative", yW = _W || vW ? R.useLayoutEffect : R.useEffect;
+function bW(e, t) {
return e === t ? e !== 0 || t !== 0 || 1 / e == 1 / t : e !== e && t !== t;
}
-function uW(e, t) {
- if (lW(e, t)) return !0;
+function xW(e, t) {
+ if (bW(e, t)) return !0;
if (typeof e != "object" || !e || typeof t != "object" || !t) return !1;
let n = Object.keys(e), r = Object.keys(t);
if (n.length !== r.length) return !1;
- for (let r = 0; r < n.length; r++) if (!Object.prototype.hasOwnProperty.call(t, n[r]) || !lW(e[n[r]], t[n[r]])) return !1;
+ for (let r = 0; r < n.length; r++) if (!Object.prototype.hasOwnProperty.call(t, n[r]) || !bW(e[n[r]], t[n[r]])) return !1;
return !0;
}
-var dW = /* @__PURE__ */ Symbol.for("react-redux-context"), fW = typeof globalThis < "u" ? globalThis : {};
-function pW() {
+var SW = /* @__PURE__ */ Symbol.for("react-redux-context"), CW = typeof globalThis < "u" ? globalThis : {};
+function wW() {
if (!R.createContext) return {};
- let e = fW[dW] ??= /* @__PURE__ */ new Map(), t = e.get(R.createContext);
+ let e = CW[SW] ??= /* @__PURE__ */ new Map(), t = e.get(R.createContext);
return t || (t = R.createContext(null), e.set(R.createContext, t)), t;
}
-var mW = /* @__PURE__ */ pW();
-function hW(e) {
+var TW = /* @__PURE__ */ wW();
+function EW(e) {
let { children: t, context: n, serverState: r, store: i } = e, a = R.useMemo(() => {
- let e = aW(i);
+ let e = gW(i);
return {
store: i,
subscription: e,
getServerState: r ? () => r : void 0
};
}, [i, r]), o = R.useMemo(() => i.getState(), [i]);
- cW(() => {
+ yW(() => {
let { subscription: e } = a;
return e.onStateChange = e.notifyNestedSubs, e.trySubscribe(), o !== i.getState() && e.notifyNestedSubs(), () => {
e.tryUnsubscribe(), e.onStateChange = void 0;
};
}, [a, o]);
- let s = n || mW;
+ let s = n || TW;
return /* @__PURE__ */ R.createElement(s.Provider, { value: a }, t);
}
-var gW = hW, _W = /* @__PURE__ */ new Set([
+var DW = EW, OW = /* @__PURE__ */ new Set([
"axisLine",
"tickLine",
"activeBar",
@@ -52150,29 +52590,29 @@ var gW = hW, _W = /* @__PURE__ */ new Set([
"radius",
"throttledEvents"
]);
-function vW(e, t) {
+function kW(e, t) {
return e == null && t == null ? !0 : typeof e == "number" && typeof t == "number" ? e === t || e !== e && t !== t : e === t;
}
-function yW(e, t) {
- for (var n of /* @__PURE__ */ new Set([...Object.keys(e), ...Object.keys(t)])) if (_W.has(n)) {
+function AW(e, t) {
+ for (var n of /* @__PURE__ */ new Set([...Object.keys(e), ...Object.keys(t)])) if (OW.has(n)) {
if (e[n] == null && t[n] == null) continue;
- if (!uW(e[n], t[n])) return !1;
- } else if (!vW(e[n], t[n])) return !1;
+ if (!xW(e[n], t[n])) return !1;
+ } else if (!kW(e[n], t[n])) return !1;
return !0;
}
//#endregion
//#region node_modules/recharts/es6/component/Legend.js
-var bW = ["contextPayload"];
-function xW() {
- return xW = Object.assign ? Object.assign.bind() : function(e) {
+var jW = ["contextPayload"];
+function MW() {
+ return MW = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t];
for (var r in n) ({}).hasOwnProperty.call(n, r) && (e[r] = n[r]);
}
return e;
- }, xW.apply(null, arguments);
+ }, MW.apply(null, arguments);
}
-function SW(e, t) {
+function NW(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -52182,30 +52622,30 @@ function SW(e, t) {
}
return n;
}
-function CW(e) {
+function PW(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? SW(Object(n), !0).forEach(function(t) {
- wW(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : SW(Object(n)).forEach(function(t) {
+ t % 2 ? NW(Object(n), !0).forEach(function(t) {
+ FW(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : NW(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function wW(e, t, n) {
- return (t = TW(t)) in e ? Object.defineProperty(e, t, {
+function FW(e, t, n) {
+ return (t = IW(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function TW(e) {
- var t = EW(e, "string");
+function IW(e) {
+ var t = LW(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function EW(e, t) {
+function LW(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -52215,16 +52655,16 @@ function EW(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function DW(e, t) {
+function RW(e, t) {
if (e == null) return {};
- var n, r, i = OW(e, t);
+ var n, r, i = zW(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function OW(e, t) {
+function zW(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -52233,36 +52673,36 @@ function OW(e, t) {
}
return n;
}
-function kW(e) {
+function BW(e) {
return e.value;
}
-function AW(e) {
- var { contextPayload: t } = e, n = DW(e, bW), r = $R(t, e.payloadUniqBy, kW), i = CW(CW({}, n), {}, { payload: r });
- return /*#__PURE__*/ R.isValidElement(e.content) ? /*#__PURE__*/ R.cloneElement(e.content, i) : typeof e.content == "function" ? /*#__PURE__*/ R.createElement(e.content, i) : /*#__PURE__*/ R.createElement(Che, i);
+function VW(e) {
+ var { contextPayload: t } = e, n = RW(e, jW), r = oz(t, e.payloadUniqBy, BW), i = PW(PW({}, n), {}, { payload: r });
+ return /*#__PURE__*/ R.isValidElement(e.content) ? /*#__PURE__*/ R.cloneElement(e.content, i) : typeof e.content == "function" ? /*#__PURE__*/ R.createElement(e.content, i) : /*#__PURE__*/ R.createElement(Mhe, i);
}
-function jW(e, t, n, r, i, a) {
+function HW(e, t, n, r, i, a) {
var { layout: o, align: s, verticalAlign: c } = t, l, u;
- return (!e || (e.left === void 0 || e.left === null) && (e.right === void 0 || e.right === null)) && (l = s === "center" && o === "vertical" ? { left: ((r || 0) - a.width) / 2 } : s === "right" ? { right: n && n.right || 0 } : { left: n && n.left || 0 }), (!e || (e.top === void 0 || e.top === null) && (e.bottom === void 0 || e.bottom === null)) && (u = c === "middle" ? { top: ((i || 0) - a.height) / 2 } : c === "bottom" ? { bottom: n && n.bottom || 0 } : { top: n && n.top || 0 }), CW(CW({}, l), u);
+ return (!e || (e.left === void 0 || e.left === null) && (e.right === void 0 || e.right === null)) && (l = s === "center" && o === "vertical" ? { left: ((r || 0) - a.width) / 2 } : s === "right" ? { right: n && n.right || 0 } : { left: n && n.left || 0 }), (!e || (e.top === void 0 || e.top === null) && (e.bottom === void 0 || e.bottom === null)) && (u = c === "middle" ? { top: ((i || 0) - a.height) / 2 } : c === "bottom" ? { bottom: n && n.bottom || 0 } : { top: n && n.top || 0 }), PW(PW({}, l), u);
}
-function MW(e) {
- var t = tz();
+function UW(e) {
+ var t = cz();
return (0, R.useEffect)(() => {
- t(XU(e));
+ t(sW(e));
}, [t, e]), null;
}
-function NW(e) {
- var t = tz();
- return (0, R.useEffect)(() => (t(YU(e)), () => {
- t(YU({
+function WW(e) {
+ var t = cz();
+ return (0, R.useEffect)(() => (t(oW(e)), () => {
+ t(oW({
width: 0,
height: 0
}));
}), [t, e]), null;
}
-function PW(e, t, n, r) {
+function GW(e, t, n, r) {
return e === "vertical" && t != null ? { height: t } : e === "horizontal" ? { width: n || r } : null;
}
-var FW = {
+var KW = {
align: "center",
iconSize: 14,
inactiveColor: "#ccc",
@@ -52270,28 +52710,28 @@ var FW = {
layout: "horizontal",
verticalAlign: "bottom"
};
-function IW(e) {
- var t = OR(e, FW), n = Nge(), r = _me(), i = WH(), { width: a, height: o, wrapperStyle: s, portal: c } = t, [l, u] = fz([n]), d = HH(), f = UH();
+function qW(e) {
+ var t = FR(e, KW), n = Hge(), r = Eme(), i = tU(), { width: a, height: o, wrapperStyle: s, portal: c } = t, [l, u] = yz([n]), d = $H(), f = eU();
if (d == null || f == null) return null;
- var p = d - (i?.left || 0) - (i?.right || 0), m = PW(t.layout, o, a, p), h = c ? s : CW(CW({
+ var p = d - (i?.left || 0) - (i?.right || 0), m = GW(t.layout, o, a, p), h = c ? s : PW(PW({
position: "absolute",
width: m?.width || a || "auto",
height: m?.height || o || "auto"
- }, jW(s, t, i, d, f, l)), s), g = c ?? r;
+ }, HW(s, t, i, d, f, l)), s), g = c ?? r;
if (g == null || n == null) return null;
var _ = /*#__PURE__*/ R.createElement("div", {
className: "recharts-legend-wrapper",
style: h,
ref: u
- }, /*#__PURE__*/ R.createElement(MW, {
+ }, /*#__PURE__*/ R.createElement(UW, {
layout: t.layout,
align: t.align,
verticalAlign: t.verticalAlign,
itemSorter: t.itemSorter
- }), !c && /*#__PURE__*/ R.createElement(NW, {
+ }), !c && /*#__PURE__*/ R.createElement(WW, {
width: l.width,
height: l.height
- }), /*#__PURE__*/ R.createElement(AW, xW({}, t, m, {
+ }), /*#__PURE__*/ R.createElement(VW, MW({}, t, m, {
margin: i,
chartWidth: d,
chartHeight: f,
@@ -52299,20 +52739,20 @@ function IW(e) {
})));
return /*#__PURE__*/ (0, be.createPortal)(_, g);
}
-var LW = /*#__PURE__*/ R.memo(IW, yW);
-LW.displayName = "Legend";
+var JW = /*#__PURE__*/ R.memo(qW, AW);
+JW.displayName = "Legend";
//#endregion
//#region node_modules/recharts/es6/component/DefaultTooltipContent.js
-function RW() {
- return RW = Object.assign ? Object.assign.bind() : function(e) {
+function YW() {
+ return YW = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t];
for (var r in n) ({}).hasOwnProperty.call(n, r) && (e[r] = n[r]);
}
return e;
- }, RW.apply(null, arguments);
+ }, YW.apply(null, arguments);
}
-function zW(e, t) {
+function XW(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -52322,30 +52762,30 @@ function zW(e, t) {
}
return n;
}
-function BW(e) {
+function ZW(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? zW(Object(n), !0).forEach(function(t) {
- VW(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : zW(Object(n)).forEach(function(t) {
+ t % 2 ? XW(Object(n), !0).forEach(function(t) {
+ QW(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : XW(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function VW(e, t, n) {
- return (t = HW(t)) in e ? Object.defineProperty(e, t, {
+function QW(e, t, n) {
+ return (t = $W(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function HW(e) {
- var t = UW(e, "string");
+function $W(e) {
+ var t = eG(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function UW(e, t) {
+function eG(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -52355,10 +52795,10 @@ function UW(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function WW(e) {
- return Array.isArray(e) && lR(e[0]) && lR(e[1]) ? e.join(" ~ ") : e;
+function tG(e) {
+ return Array.isArray(e) && gR(e[0]) && gR(e[1]) ? e.join(" ~ ") : e;
}
-var GW = {
+var nG = {
separator: " : ",
contentStyle: {
margin: 0,
@@ -52376,30 +52816,30 @@ var GW = {
labelStyle: {},
accessibilityLayer: !1
};
-function KW(e, t) {
- return t == null ? e : lz(e, t);
+function rG(e, t) {
+ return t == null ? e : gz(e, t);
}
-var qW = (e) => {
- var { separator: t = GW.separator, contentStyle: n, itemStyle: r, labelStyle: i = GW.labelStyle, payload: a, formatter: o, itemSorter: s, wrapperClassName: c, labelClassName: l, label: u, labelFormatter: d, accessibilityLayer: f = GW.accessibilityLayer } = e, p = () => {
+var iG = (e) => {
+ var { separator: t = nG.separator, contentStyle: n, itemStyle: r, labelStyle: i = nG.labelStyle, payload: a, formatter: o, itemSorter: s, wrapperClassName: c, labelClassName: l, label: u, labelFormatter: d, accessibilityLayer: f = nG.accessibilityLayer } = e, p = () => {
if (a && a.length) {
var e = {
padding: 0,
margin: 0
- }, n = KW(a, s).map((e, n) => {
+ }, n = rG(a, s).map((e, n) => {
if (e.type === "none") return null;
- var i = e.formatter || o || WW, { value: s, name: c } = e, l = s, u = c;
+ var i = e.formatter || o || tG, { value: s, name: c } = e, l = s, u = c;
if (i) {
var d = i(s, c, e, n, a);
if (Array.isArray(d)) [l, u] = d;
else if (d != null) l = d;
else return null;
}
- var f = BW(BW({}, GW.itemStyle), {}, { color: e.color || GW.itemStyle.color }, r);
+ var f = ZW(ZW({}, nG.itemStyle), {}, { color: e.color || nG.itemStyle.color }, r);
return /*#__PURE__*/ R.createElement("li", {
className: "recharts-tooltip-item",
key: `tooltip-item-${n}`,
style: f
- }, lR(u) ? /*#__PURE__*/ R.createElement("span", { className: "recharts-tooltip-item-name" }, u) : null, lR(u) ? /*#__PURE__*/ R.createElement("span", { className: "recharts-tooltip-item-separator" }, t) : null, /*#__PURE__*/ R.createElement("span", { className: "recharts-tooltip-item-value" }, l), /*#__PURE__*/ R.createElement("span", { className: "recharts-tooltip-item-unit" }, e.unit || ""));
+ }, gR(u) ? /*#__PURE__*/ R.createElement("span", { className: "recharts-tooltip-item-name" }, u) : null, gR(u) ? /*#__PURE__*/ R.createElement("span", { className: "recharts-tooltip-item-separator" }, t) : null, /*#__PURE__*/ R.createElement("span", { className: "recharts-tooltip-item-value" }, l), /*#__PURE__*/ R.createElement("span", { className: "recharts-tooltip-item-unit" }, e.unit || ""));
});
return /*#__PURE__*/ R.createElement("ul", {
className: "recharts-tooltip-item-list",
@@ -52407,30 +52847,30 @@ var qW = (e) => {
}, n);
}
return null;
- }, m = BW(BW({}, GW.contentStyle), n), h = BW({ margin: 0 }, i), g = !hR(u), _ = g ? u : "", v = Ql("recharts-default-tooltip", c), y = Ql("recharts-tooltip-label", l);
+ }, m = ZW(ZW({}, nG.contentStyle), n), h = ZW({ margin: 0 }, i), g = !SR(u), _ = g ? u : "", v = Ql("recharts-default-tooltip", c), y = Ql("recharts-tooltip-label", l);
g && d && a != null && (_ = d(u, a));
var b = f ? {
role: "status",
"aria-live": "assertive"
} : {};
- return /*#__PURE__*/ R.createElement("div", RW({
+ return /*#__PURE__*/ R.createElement("div", YW({
className: v,
style: m
}, b), /*#__PURE__*/ R.createElement("p", {
className: y,
style: h
}, /*#__PURE__*/ R.isValidElement(_) ? _ : `${_}`), p());
-}, JW = "recharts-tooltip-wrapper", YW = { visibility: "hidden" };
-function XW(e) {
+}, aG = "recharts-tooltip-wrapper", oG = { visibility: "hidden" };
+function sG(e) {
var { coordinate: t, translateX: n, translateY: r } = e;
- return Ql(JW, {
- [`${JW}-right`]: Z(n) && t && Z(t.x) && n >= t.x,
- [`${JW}-left`]: Z(n) && t && Z(t.x) && n < t.x,
- [`${JW}-bottom`]: Z(r) && t && Z(t.y) && r >= t.y,
- [`${JW}-top`]: Z(r) && t && Z(t.y) && r < t.y
+ return Ql(aG, {
+ [`${aG}-right`]: Z(n) && t && Z(t.x) && n >= t.x,
+ [`${aG}-left`]: Z(n) && t && Z(t.x) && n < t.x,
+ [`${aG}-bottom`]: Z(r) && t && Z(t.y) && r >= t.y,
+ [`${aG}-top`]: Z(r) && t && Z(t.y) && r < t.y
});
}
-function ZW(e) {
+function cG(e) {
var { allowEscapeViewBox: t, coordinate: n, key: r, offset: i, position: a, reverseDirection: o, tooltipDimension: s, viewBox: c, viewBoxDimension: l } = e;
if (a && Z(a[r])) return a[r];
var u = n[r] - s - (i > 0 ? i : 0), d = n[r] + i;
@@ -52438,13 +52878,13 @@ function ZW(e) {
var f = c[r];
return f == null ? 0 : o[r] ? Math.max(u < f ? d : u, f) : l == null ? 0 : d + s > f + l ? Math.max(u, f) : Math.max(d, f);
}
-function QW(e) {
+function lG(e) {
var { translateX: t, translateY: n, useTranslate3d: r } = e;
return { transform: r ? `translate3d(${t}px, ${n}px, 0)` : `translate(${t}px, ${n}px)` };
}
-function $W(e) {
+function uG(e) {
var { allowEscapeViewBox: t, coordinate: n, offsetTop: r, offsetLeft: i, position: a, reverseDirection: o, tooltipBox: s, useTranslate3d: c, viewBox: l } = e, u, d, f;
- return s.height > 0 && s.width > 0 && n ? (d = ZW({
+ return s.height > 0 && s.width > 0 && n ? (d = cG({
allowEscapeViewBox: t,
coordinate: n,
key: "x",
@@ -52454,7 +52894,7 @@ function $W(e) {
tooltipDimension: s.width,
viewBox: l,
viewBoxDimension: l.width
- }), f = ZW({
+ }), f = cG({
allowEscapeViewBox: t,
coordinate: n,
key: "y",
@@ -52464,27 +52904,27 @@ function $W(e) {
tooltipDimension: s.height,
viewBox: l,
viewBoxDimension: l.height
- }), u = QW({
+ }), u = lG({
translateX: d,
translateY: f,
useTranslate3d: c
- })) : u = YW, {
+ })) : u = oG, {
cssProperties: u,
- cssClasses: XW({
+ cssClasses: sG({
translateX: d,
translateY: f,
coordinate: n
})
};
}
-var eG = {
+var dG = {
devToolsEnabled: !0,
isSsr: !(typeof window < "u" && window.document && window.document.createElement && window.setTimeout)
};
//#endregion
//#region node_modules/recharts/es6/util/usePrefersReducedMotion.js
-function tG() {
- var [e, t] = (0, R.useState)(() => eG.isSsr || !window.matchMedia ? !1 : window.matchMedia("(prefers-reduced-motion: reduce)").matches);
+function fG() {
+ var [e, t] = (0, R.useState)(() => dG.isSsr || !window.matchMedia ? !1 : window.matchMedia("(prefers-reduced-motion: reduce)").matches);
return (0, R.useEffect)(() => {
if (window.matchMedia) {
var e = window.matchMedia("(prefers-reduced-motion: reduce)"), n = () => {
@@ -52498,7 +52938,7 @@ function tG() {
}
//#endregion
//#region node_modules/recharts/es6/component/TooltipBoundingBox.js
-function nG(e, t) {
+function pG(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -52508,30 +52948,30 @@ function nG(e, t) {
}
return n;
}
-function rG(e) {
+function mG(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? nG(Object(n), !0).forEach(function(t) {
- iG(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : nG(Object(n)).forEach(function(t) {
+ t % 2 ? pG(Object(n), !0).forEach(function(t) {
+ hG(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : pG(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function iG(e, t, n) {
- return (t = aG(t)) in e ? Object.defineProperty(e, t, {
+function hG(e, t, n) {
+ return (t = gG(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function aG(e) {
- var t = oG(e, "string");
+function gG(e) {
+ var t = _G(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function oG(e, t) {
+function _G(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -52541,11 +52981,11 @@ function oG(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function sG(e) {
+function vG(e) {
if (!(e.prefersReducedMotion && e.isAnimationActive === "auto") && e.isAnimationActive && e.active) return `transform ${e.animationDuration}ms ${e.animationEasing}`;
}
-function cG(e) {
- var t = tG(), [n, r] = R.useState(() => ({
+function yG(e) {
+ var t = fG(), [n, r] = R.useState(() => ({
dismissed: !1,
dismissedAtCoordinate: {
x: 0,
@@ -52565,8 +53005,8 @@ function cG(e) {
return document.addEventListener("keydown", t), () => {
document.removeEventListener("keydown", t);
};
- }, [e.coordinate?.x, e.coordinate?.y]), n.dismissed && ((e.coordinate?.x ?? 0) !== n.dismissedAtCoordinate.x || (e.coordinate?.y ?? 0) !== n.dismissedAtCoordinate.y) && r(rG(rG({}, n), {}, { dismissed: !1 }));
- var { cssClasses: i, cssProperties: a } = $W({
+ }, [e.coordinate?.x, e.coordinate?.y]), n.dismissed && ((e.coordinate?.x ?? 0) !== n.dismissedAtCoordinate.x || (e.coordinate?.y ?? 0) !== n.dismissedAtCoordinate.y) && r(mG(mG({}, n), {}, { dismissed: !1 }));
+ var { cssClasses: i, cssProperties: a } = uG({
allowEscapeViewBox: e.allowEscapeViewBox,
coordinate: e.coordinate,
offsetLeft: typeof e.offset == "number" ? e.offset : e.offset.x,
@@ -52579,7 +53019,7 @@ function cG(e) {
},
useTranslate3d: e.useTranslate3d,
viewBox: e.viewBox
- }), o = rG(rG({}, e.hasPortalFromProps ? {} : rG(rG({ transition: sG({
+ }), o = mG(mG({}, e.hasPortalFromProps ? {} : mG(mG({ transition: vG({
prefersReducedMotion: t,
isAnimationActive: e.isAnimationActive,
active: e.active,
@@ -52599,19 +53039,19 @@ function cG(e) {
ref: e.innerRef
}, e.children);
}
-var lG = /*#__PURE__*/ R.memo(cG), uG = () => Q((e) => e.rootProps.accessibilityLayer) ?? !0;
+var bG = /*#__PURE__*/ R.memo(yG), xG = () => Q((e) => e.rootProps.accessibilityLayer) ?? !0;
//#endregion
//#region node_modules/recharts/es6/shape/Curve.js
-function dG() {
- return dG = Object.assign ? Object.assign.bind() : function(e) {
+function SG() {
+ return SG = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t];
for (var r in n) ({}).hasOwnProperty.call(n, r) && (e[r] = n[r]);
}
return e;
- }, dG.apply(null, arguments);
+ }, SG.apply(null, arguments);
}
-function fG(e, t) {
+function CG(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -52621,30 +53061,30 @@ function fG(e, t) {
}
return n;
}
-function pG(e) {
+function wG(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? fG(Object(n), !0).forEach(function(t) {
- mG(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : fG(Object(n)).forEach(function(t) {
+ t % 2 ? CG(Object(n), !0).forEach(function(t) {
+ TG(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : CG(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function mG(e, t, n) {
- return (t = hG(t)) in e ? Object.defineProperty(e, t, {
+function TG(e, t, n) {
+ return (t = EG(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function hG(e) {
- var t = gG(e, "string");
+function EG(e) {
+ var t = DG(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function gG(e, t) {
+function DG(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -52654,40 +53094,40 @@ function gG(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var _G = {
- curveBasisClosed: Fme,
- curveBasisOpen: Ime,
- curveBasis: Pme,
- curveBumpX: bme,
- curveBumpY: xme,
- curveLinearClosed: Lme,
- curveLinear: bL,
- curveMonotoneX: Rme,
- curveMonotoneY: zme,
- curveNatural: Bme,
- curveStep: Vme,
- curveStepAfter: Ume,
- curveStepBefore: Hme
-}, vG = (e) => hV(e.x) && hV(e.y), yG = (e) => e.base != null && vG(e.base) && vG(e), bG = (e) => e.x, xG = (e) => e.y, SG = (e, t) => {
+var OG = {
+ curveBasisClosed: Wme,
+ curveBasisOpen: Gme,
+ curveBasis: Ume,
+ curveBumpX: kme,
+ curveBumpY: Ame,
+ curveLinearClosed: Kme,
+ curveLinear: DL,
+ curveMonotoneX: qme,
+ curveMonotoneY: Jme,
+ curveNatural: Yme,
+ curveStep: Xme,
+ curveStepAfter: Qme,
+ curveStepBefore: Zme
+}, kG = (e) => EV(e.x) && EV(e.y), AG = (e) => e.base != null && kG(e.base) && kG(e), jG = (e) => e.x, MG = (e) => e.y, NG = (e, t) => {
if (typeof e == "function") return e;
- var n = `curve${gR(e)}`;
+ var n = `curve${CR(e)}`;
if ((n === "curveMonotone" || n === "curveBump") && t) {
- var r = _G[`${n}${t === "vertical" ? "Y" : "X"}`];
+ var r = OG[`${n}${t === "vertical" ? "Y" : "X"}`];
if (r) return r;
}
- return _G[n] || bL;
-}, CG = {
+ return OG[n] || DL;
+}, PG = {
connectNulls: !1,
type: "linear"
-}, wG = (e) => {
- var { type: t = CG.type, points: n = [], baseLine: r, layout: i, connectNulls: a = CG.connectNulls } = e, o = SG(t, i), s = a ? n.filter(vG) : n;
+}, FG = (e) => {
+ var { type: t = PG.type, points: n = [], baseLine: r, layout: i, connectNulls: a = PG.connectNulls } = e, o = NG(t, i), s = a ? n.filter(kG) : n;
if (Array.isArray(r)) {
- var c, l = n.map((e, t) => pG(pG({}, e), {}, { base: r[t] }));
- return c = i === "vertical" ? wL().y(xG).x1(bG).x0((e) => e.base.x) : wL().x(bG).y1(xG).y0((e) => e.base.y), c.defined(yG).curve(o)(a ? l.filter(yG) : l);
+ var c, l = n.map((e, t) => wG(wG({}, e), {}, { base: r[t] }));
+ return c = i === "vertical" ? jL().y(MG).x1(jG).x0((e) => e.base.x) : jL().x(jG).y1(MG).y0((e) => e.base.y), c.defined(AG).curve(o)(a ? l.filter(AG) : l);
}
- return (i === "vertical" && Z(r) ? wL().y(xG).x1(bG).x0(r) : Z(r) ? wL().x(bG).y1(xG).y0(r) : CL().x(bG).y(xG)).defined(vG).curve(o)(s);
-}, TG = (e) => {
- var { className: t, points: n, path: r, pathRef: i } = e, a = KH();
+ return (i === "vertical" && Z(r) ? jL().y(MG).x1(jG).x0(r) : Z(r) ? jL().x(jG).y1(MG).y0(r) : AL().x(jG).y(MG)).defined(kG).curve(o)(s);
+}, IG = (e) => {
+ var { className: t, points: n, path: r, pathRef: i } = e, a = rU();
if ((!n || !n.length) && !r) return null;
var o = {
type: e.type,
@@ -52695,13 +53135,13 @@ var _G = {
baseLine: e.baseLine,
layout: e.layout || a,
connectNulls: e.connectNulls
- }, s = n && n.length ? wG(o) : r;
- return /*#__PURE__*/ R.createElement("path", dG({}, QI(e), TR(e), {
+ }, s = n && n.length ? FG(o) : r;
+ return /*#__PURE__*/ R.createElement("path", SG({}, aL(e), MR(e), {
className: Ql("recharts-curve", t),
d: s === null ? void 0 : s,
ref: i
}));
-}, EG = [
+}, LG = [
"x",
"y",
"top",
@@ -52710,16 +53150,16 @@ var _G = {
"height",
"className"
];
-function DG() {
- return DG = Object.assign ? Object.assign.bind() : function(e) {
+function RG() {
+ return RG = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t];
for (var r in n) ({}).hasOwnProperty.call(n, r) && (e[r] = n[r]);
}
return e;
- }, DG.apply(null, arguments);
+ }, RG.apply(null, arguments);
}
-function OG(e, t) {
+function zG(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -52729,30 +53169,30 @@ function OG(e, t) {
}
return n;
}
-function kG(e) {
+function BG(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? OG(Object(n), !0).forEach(function(t) {
- AG(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : OG(Object(n)).forEach(function(t) {
+ t % 2 ? zG(Object(n), !0).forEach(function(t) {
+ VG(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : zG(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function AG(e, t, n) {
- return (t = jG(t)) in e ? Object.defineProperty(e, t, {
+function VG(e, t, n) {
+ return (t = HG(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function jG(e) {
- var t = MG(e, "string");
+function HG(e) {
+ var t = UG(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function MG(e, t) {
+function UG(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -52762,16 +53202,16 @@ function MG(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function NG(e, t) {
+function WG(e, t) {
if (e == null) return {};
- var n, r, i = PG(e, t);
+ var n, r, i = GG(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function PG(e, t) {
+function GG(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -52780,8 +53220,8 @@ function PG(e, t) {
}
return n;
}
-var FG = (e, t, n, r, i, a) => `M${e},${i}v${r}M${a},${t}h${n}`, IG = (e) => {
- var { x: t = 0, y: n = 0, top: r = 0, left: i = 0, width: a = 0, height: o = 0, className: s } = e, c = NG(e, EG), l = kG({
+var KG = (e, t, n, r, i, a) => `M${e},${i}v${r}M${a},${t}h${n}`, qG = (e) => {
+ var { x: t = 0, y: n = 0, top: r = 0, left: i = 0, width: a = 0, height: o = 0, className: s } = e, c = WG(e, LG), l = BG({
x: t,
y: n,
top: r,
@@ -52789,14 +53229,14 @@ var FG = (e, t, n, r, i, a) => `M${e},${i}v${r}M${a},${t}h${n}`, IG = (e) => {
width: a,
height: o
}, c);
- return !Z(t) || !Z(n) || !Z(a) || !Z(o) || !Z(r) || !Z(i) ? null : /*#__PURE__*/ R.createElement("path", DG({}, eL(l), {
+ return !Z(t) || !Z(n) || !Z(a) || !Z(o) || !Z(r) || !Z(i) ? null : /*#__PURE__*/ R.createElement("path", RG({}, sL(l), {
className: Ql("recharts-cross", s),
- d: FG(t, n, a, o, r, i)
+ d: KG(t, n, a, o, r, i)
}));
};
//#endregion
//#region node_modules/recharts/es6/util/cursor/getCursorRectangle.js
-function LG(e, t, n, r) {
+function JG(e, t, n, r) {
var i = r / 2;
return {
stroke: "none",
@@ -52809,7 +53249,7 @@ function LG(e, t, n, r) {
}
//#endregion
//#region node_modules/recharts/es6/animation/util.js
-function RG(e, t) {
+function YG(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -52819,30 +53259,30 @@ function RG(e, t) {
}
return n;
}
-function zG(e) {
+function XG(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? RG(Object(n), !0).forEach(function(t) {
- BG(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : RG(Object(n)).forEach(function(t) {
+ t % 2 ? YG(Object(n), !0).forEach(function(t) {
+ ZG(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : YG(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function BG(e, t, n) {
- return (t = VG(t)) in e ? Object.defineProperty(e, t, {
+function ZG(e, t, n) {
+ return (t = QG(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function VG(e) {
- var t = HG(e, "string");
+function QG(e) {
+ var t = $G(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function HG(e, t) {
+function $G(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -52852,10 +53292,10 @@ function HG(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var UG = (e) => e.replace(/([A-Z])/g, (e) => `-${e.toLowerCase()}`), WG = (e, t, n) => e.map((e) => `${UG(e)} ${t}ms ${n}`).join(","), GG = (e, t) => [Object.keys(e), Object.keys(t)].reduce((e, t) => e.filter((e) => t.includes(e))), KG = (e, t) => Object.keys(t).reduce((n, r) => zG(zG({}, n), {}, { [r]: e(r, t[r]) }), {});
+var eK = (e) => e.replace(/([A-Z])/g, (e) => `-${e.toLowerCase()}`), tK = (e, t, n) => e.map((e) => `${eK(e)} ${t}ms ${n}`).join(","), nK = (e, t) => [Object.keys(e), Object.keys(t)].reduce((e, t) => e.filter((e) => t.includes(e))), rK = (e, t) => Object.keys(t).reduce((n, r) => XG(XG({}, n), {}, { [r]: e(r, t[r]) }), {});
//#endregion
//#region node_modules/recharts/es6/animation/configUpdate.js
-function qG(e, t) {
+function iK(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -52865,30 +53305,30 @@ function qG(e, t) {
}
return n;
}
-function JG(e) {
+function aK(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? qG(Object(n), !0).forEach(function(t) {
- YG(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : qG(Object(n)).forEach(function(t) {
+ t % 2 ? iK(Object(n), !0).forEach(function(t) {
+ oK(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : iK(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function YG(e, t, n) {
- return (t = XG(t)) in e ? Object.defineProperty(e, t, {
+function oK(e, t, n) {
+ return (t = sK(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function XG(e) {
- var t = ZG(e, "string");
+function sK(e) {
+ var t = cK(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function ZG(e, t) {
+function cK(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -52898,51 +53338,51 @@ function ZG(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var QG = (e, t, n) => e + (t - e) * n, $G = (e) => {
+var lK = (e, t, n) => e + (t - e) * n, uK = (e) => {
var { from: t, to: n } = e;
return t !== n;
-}, eK = (e, t, n) => {
- var r = KG((t, n) => {
- if ($G(n)) {
+}, dK = (e, t, n) => {
+ var r = rK((t, n) => {
+ if (uK(n)) {
var [r, i] = e(n.from, n.to, n.velocity);
- return JG(JG({}, n), {}, {
+ return aK(aK({}, n), {}, {
from: r,
velocity: i
});
}
return n;
}, t);
- return n < 1 ? KG((e, t) => $G(t) && r[e] != null ? JG(JG({}, t), {}, {
- velocity: QG(t.velocity, r[e].velocity, n),
- from: QG(t.from, r[e].from, n)
- }) : t, t) : eK(e, r, n - 1);
+ return n < 1 ? rK((e, t) => uK(t) && r[e] != null ? aK(aK({}, t), {}, {
+ velocity: lK(t.velocity, r[e].velocity, n),
+ from: lK(t.from, r[e].from, n)
+ }) : t, t) : dK(e, r, n - 1);
};
-function tK(e, t, n, r, i, a) {
- var o, s = r.reduce((n, r) => JG(JG({}, n), {}, { [r]: {
+function fK(e, t, n, r, i, a) {
+ var o, s = r.reduce((n, r) => aK(aK({}, n), {}, { [r]: {
from: e[r],
velocity: 0,
to: t[r]
- } }), {}), c = () => KG((e, t) => t.from, s), l = () => !Object.values(s).filter($G).length, u = null, d = (r) => {
+ } }), {}), c = () => rK((e, t) => t.from, s), l = () => !Object.values(s).filter(uK).length, u = null, d = (r) => {
o ||= r;
var f = (r - o) / n.dt;
- s = eK(n, s, f), i(JG(JG(JG({}, e), t), c())), o = r, l() || (u = a.setTimeout(d));
+ s = dK(n, s, f), i(aK(aK(aK({}, e), t), c())), o = r, l() || (u = a.setTimeout(d));
};
return () => (u = a.setTimeout(d), () => {
var e;
(e = u) == null || e();
});
}
-function nK(e, t, n, r, i, a, o) {
+function pK(e, t, n, r, i, a, o) {
var s = null, c = i.reduce((n, r) => {
var i = e[r], a = t[r];
- return i == null || a == null ? n : JG(JG({}, n), {}, { [r]: [i, a] });
+ return i == null || a == null ? n : aK(aK({}, n), {}, { [r]: [i, a] });
}, {}), l, u = (i) => {
l ||= i;
- var d = (i - l) / r, f = KG((e, t) => QG(...t, n(d)), c);
- if (a(JG(JG(JG({}, e), t), f)), d < 1) s = o.setTimeout(u);
+ var d = (i - l) / r, f = rK((e, t) => lK(...t, n(d)), c);
+ if (a(aK(aK(aK({}, e), t), f)), d < 1) s = o.setTimeout(u);
else {
- var p = KG((e, t) => QG(...t, n(1)), c);
- a(JG(JG(JG({}, e), t), p));
+ var p = rK((e, t) => lK(...t, n(1)), c);
+ a(aK(aK(aK({}, e), t), p));
}
};
return () => (s = o.setTimeout(u), () => {
@@ -52950,15 +53390,15 @@ function nK(e, t, n, r, i, a, o) {
(e = s) == null || e();
});
}
-var rK = (e, t, n, r, i, a) => {
- var o = GG(e, t);
- return n == null ? () => (i(JG(JG({}, e), t)), () => {}) : n.isStepper === !0 ? tK(e, t, n, o, i, a) : nK(e, t, n, r, o, i, a);
-}, iK = (e, t) => [
+var mK = (e, t, n, r, i, a) => {
+ var o = nK(e, t);
+ return n == null ? () => (i(aK(aK({}, e), t)), () => {}) : n.isStepper === !0 ? fK(e, t, n, o, i, a) : pK(e, t, n, r, o, i, a);
+}, hK = (e, t) => [
0,
3 * e,
3 * t - 6 * e,
3 * e - 3 * t + 1
-], aK = (e, t) => e.map((e, n) => e * t ** n).reduce((e, t) => e + t), oK = (e, t) => (n) => aK(iK(e, t), n), sK = (e, t) => (n) => aK([...iK(e, t).map((e, t) => e * t).slice(1), 0], n), cK = (e) => {
+], gK = (e, t) => e.map((e, n) => e * t ** n).reduce((e, t) => e + t), _K = (e, t) => (n) => gK(hK(e, t), n), vK = (e, t) => (n) => gK([...hK(e, t).map((e, t) => e * t).slice(1), 0], n), L_e = (e) => {
var t, n = e.split("(");
if (n.length !== 2 || n[0] !== "cubic-bezier") return null;
var r = (t = n[1]) == null || (t = t.split(")")[0]) == null ? void 0 : t.split(",");
@@ -52970,7 +53410,7 @@ var rK = (e, t, n, r, i, a) => {
i[2],
i[3]
];
-}, lK = function() {
+}, R_e = function() {
var e = [...arguments];
if (e.length === 1) switch (e[0]) {
case "linear": return [
@@ -53004,7 +53444,7 @@ var rK = (e, t, n, r, i, a) => {
1
];
default:
- var t = cK(e[0]);
+ var t = L_e(e[0]);
if (t) return t;
}
return e.length === 4 ? e : [
@@ -53013,8 +53453,8 @@ var rK = (e, t, n, r, i, a) => {
1,
1
];
-}, uK = (e, t, n, r) => {
- var i = oK(e, n), a = oK(t, r), o = sK(e, n), s = (e) => e > 1 ? 1 : e < 0 ? 0 : e, c = (e) => {
+}, z_e = (e, t, n, r) => {
+ var i = _K(e, n), a = _K(t, r), o = vK(e, n), s = (e) => e > 1 ? 1 : e < 0 ? 0 : e, c = (e) => {
for (var t = e > 1 ? 1 : e, n = t, r = 0; r < 8; ++r) {
var c = i(n) - t, l = o(n);
if (Math.abs(c - t) < 1e-4 || l < 1e-4) return a(n);
@@ -53023,29 +53463,29 @@ var rK = (e, t, n, r, i, a) => {
return a(n);
};
return c.isStepper = !1, c;
-}, dK = function() {
- return uK(...lK(...arguments));
-}, fK = function() {
+}, yK = function() {
+ return z_e(...R_e(...arguments));
+}, B_e = function() {
var { stiff: e = 100, damping: t = 8, dt: n = 17 } = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, r = (r, i, a) => {
var o = a + (-(r - i) * e - a * t) * n / 1e3, s = a * n / 1e3 + r;
return Math.abs(s - i) < 1e-4 && Math.abs(o) < 1e-4 ? [i, 0] : [s, o];
};
return r.isStepper = !0, r.dt = n, r;
-}, pK = (e) => {
+}, V_e = (e) => {
if (typeof e == "string") switch (e) {
case "ease":
case "ease-in-out":
case "ease-out":
case "ease-in":
- case "linear": return dK(e);
- case "spring": return fK();
- default: if (e.split("(")[0] === "cubic-bezier") return dK(e);
+ case "linear": return yK(e);
+ case "spring": return B_e();
+ default: if (e.split("(")[0] === "cubic-bezier") return yK(e);
}
return typeof e == "function" ? e : null;
};
//#endregion
//#region node_modules/recharts/es6/animation/AnimationManager.js
-function mK(e) {
+function H_e(e) {
var t, n = () => null, r = !1, i = null, a = (o) => {
if (!r) {
if (Array.isArray(o)) {
@@ -53076,7 +53516,7 @@ function mK(e) {
}
//#endregion
//#region node_modules/recharts/es6/animation/timeoutController.js
-var hK = class {
+var U_e = class {
setTimeout(e) {
var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 0, n = performance.now(), r = null, i = (a) => {
a - n >= t ? e(a) : typeof requestAnimationFrame == "function" && (r = requestAnimationFrame(i));
@@ -53088,14 +53528,14 @@ var hK = class {
};
//#endregion
//#region node_modules/recharts/es6/animation/createDefaultAnimationManager.js
-function gK() {
- return mK(new hK());
+function W_e() {
+ return H_e(new U_e());
}
//#endregion
//#region node_modules/recharts/es6/animation/useAnimationManager.js
-var _K = /*#__PURE__*/ (0, R.createContext)(gK);
-function vK(e, t) {
- var n = (0, R.useContext)(_K);
+var G_e = /*#__PURE__*/ (0, R.createContext)(W_e);
+function K_e(e, t) {
+ var n = (0, R.useContext)(G_e);
return (0, R.useMemo)(() => t ?? n(e), [
e,
t,
@@ -53104,7 +53544,7 @@ function vK(e, t) {
}
//#endregion
//#region node_modules/recharts/es6/animation/JavascriptAnimate.js
-var yK = {
+var q_e = {
begin: 0,
duration: 1e3,
easing: "ease",
@@ -53114,12 +53554,12 @@ var yK = {
onAnimationStart: () => {}
}, bK = { t: 0 }, xK = { t: 1 };
function SK(e) {
- var t = OR(e, yK), { isActive: n, canBegin: r, duration: i, easing: a, begin: o, onAnimationEnd: s, onAnimationStart: c, children: l } = t, u = tG(), d = n === "auto" ? !eG.isSsr && !u : n, f = vK(t.animationId, t.animationManager), [p, m] = (0, R.useState)(d ? bK : xK), h = (0, R.useRef)(null);
+ var t = FR(e, q_e), { isActive: n, canBegin: r, duration: i, easing: a, begin: o, onAnimationEnd: s, onAnimationStart: c, children: l } = t, u = fG(), d = n === "auto" ? !dG.isSsr && !u : n, f = K_e(t.animationId, t.animationManager), [p, m] = (0, R.useState)(d ? bK : xK), h = (0, R.useRef)(null);
return (0, R.useEffect)(() => {
d || m(xK);
}, [d]), (0, R.useEffect)(() => {
- if (!d || !r) return vR;
- var e = rK(bK, xK, pK(a), i, m, f.getTimeoutController());
+ if (!d || !r) return TR;
+ var e = mK(bK, xK, V_e(a), i, m, f.getTimeoutController());
return f.start([
c,
o,
@@ -53145,12 +53585,12 @@ function SK(e) {
//#endregion
//#region node_modules/recharts/es6/util/useAnimationId.js
function CK(e) {
- var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "animation-", n = (0, R.useRef)(uR(t)), r = (0, R.useRef)(e);
- return r.current !== e && (n.current = uR(t), r.current = e), n.current;
+ var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "animation-", n = (0, R.useRef)(_R(t)), r = (0, R.useRef)(e);
+ return r.current !== e && (n.current = _R(t), r.current = e), n.current;
}
//#endregion
//#region node_modules/recharts/es6/shape/Rectangle.js
-var M_e = ["radius"], N_e = ["radius"], P_e, F_e, I_e, L_e, R_e, z_e, B_e, V_e, H_e, U_e;
+var J_e = ["radius"], Y_e = ["radius"], X_e, Z_e, Q_e, $_e, eve, tve, nve, rve, ive, ave;
function wK(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
@@ -53165,26 +53605,26 @@ function TK(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? wK(Object(n), !0).forEach(function(t) {
- W_e(e, t, n[t]);
+ ove(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : wK(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function W_e(e, t, n) {
- return (t = G_e(t)) in e ? Object.defineProperty(e, t, {
+function ove(e, t, n) {
+ return (t = sve(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function G_e(e) {
- var t = K_e(e, "string");
+function sve(e) {
+ var t = cve(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function K_e(e, t) {
+function cve(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -53205,14 +53645,14 @@ function EK() {
}
function DK(e, t) {
if (e == null) return {};
- var n, r, i = q_e(e, t);
+ var n, r, i = lve(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function q_e(e, t) {
+function lve(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -53225,7 +53665,7 @@ function OK(e, t) {
return t ||= e.slice(0), Object.freeze(Object.defineProperties(e, { raw: { value: Object.freeze(t) } }));
}
var kK = (e, t, n, r, i) => {
- var a = iR(n), o = iR(r), s = Math.min(Math.abs(a) / 2, Math.abs(o) / 2), c = o >= 0 ? 1 : -1, l = a >= 0 ? 1 : -1, u = +(o >= 0 && a >= 0 || o < 0 && a < 0), d;
+ var a = dR(n), o = dR(r), s = Math.min(Math.abs(a) / 2, Math.abs(o) / 2), c = o >= 0 ? 1 : -1, l = a >= 0 ? 1 : -1, u = +(o >= 0 && a >= 0 || o < 0 && a < 0), d;
if (s > 0 && Array.isArray(i)) {
for (var f = [
0,
@@ -53236,44 +53676,44 @@ var kK = (e, t, n, r, i) => {
var h = i[p] ?? 0;
f[p] = h > s ? s : h;
}
- d = aR(P_e ||= OK([
+ d = fR(X_e ||= OK([
"M",
",",
""
- ]), e, t + c * f[0]), f[0] > 0 && (d += aR(F_e ||= OK([
+ ]), e, t + c * f[0]), f[0] > 0 && (d += fR(Z_e ||= OK([
"A ",
",",
",0,0,",
",",
",",
""
- ]), f[0], f[0], u, e + l * f[0], t)), d += aR(I_e ||= OK([
+ ]), f[0], f[0], u, e + l * f[0], t)), d += fR(Q_e ||= OK([
"L ",
",",
""
- ]), e + n - l * f[1], t), f[1] > 0 && (d += aR(L_e ||= OK([
+ ]), e + n - l * f[1], t), f[1] > 0 && (d += fR($_e ||= OK([
"A ",
",",
",0,0,",
",\n ",
",",
""
- ]), f[1], f[1], u, e + n, t + c * f[1])), d += aR(R_e ||= OK([
+ ]), f[1], f[1], u, e + n, t + c * f[1])), d += fR(eve ||= OK([
"L ",
",",
""
- ]), e + n, t + r - c * f[2]), f[2] > 0 && (d += aR(z_e ||= OK([
+ ]), e + n, t + r - c * f[2]), f[2] > 0 && (d += fR(tve ||= OK([
"A ",
",",
",0,0,",
",\n ",
",",
""
- ]), f[2], f[2], u, e + n - l * f[2], t + r)), d += aR(B_e ||= OK([
+ ]), f[2], f[2], u, e + n - l * f[2], t + r)), d += fR(nve ||= OK([
"L ",
",",
""
- ]), e + l * f[3], t + r), f[3] > 0 && (d += aR(V_e ||= OK([
+ ]), e + l * f[3], t + r), f[3] > 0 && (d += fR(rve ||= OK([
"A ",
",",
",0,0,",
@@ -53283,8 +53723,8 @@ var kK = (e, t, n, r, i) => {
]), f[3], f[3], u, e, t + r - c * f[3])), d += "Z";
} else if (s > 0 && i === +i && i > 0) {
var g = Math.min(s, i);
- d = aR(H_e ||= OK(/* @__PURE__ */ "M .,.\n A .,.,0,0,.,.,.\n L .,.\n A .,.,0,0,.,.,.\n L .,.\n A .,.,0,0,.,.,.\n L .,.\n A .,.,0,0,.,.,. Z".split(".")), e, t + c * g, g, g, u, e + l * g, t, e + n - l * g, t, g, g, u, e + n, t + c * g, e + n, t + r - c * g, g, g, u, e + n - l * g, t + r, e + l * g, t + r, g, g, u, e, t + r - c * g);
- } else d = aR(U_e ||= OK([
+ d = fR(ive ||= OK(/* @__PURE__ */ "M .,.\n A .,.,0,0,.,.,.\n L .,.\n A .,.,0,0,.,.,.\n L .,.\n A .,.,0,0,.,.,.\n L .,.\n A .,.,0,0,.,.,. Z".split(".")), e, t + c * g, g, g, u, e + l * g, t, e + n - l * g, t, g, g, u, e + n, t + c * g, e + n, t + r - c * g, g, g, u, e + n - l * g, t + r, e + l * g, t + r, g, g, u, e, t + r - c * g);
+ } else d = fR(ave ||= OK([
"M ",
",",
" h ",
@@ -53305,7 +53745,7 @@ var kK = (e, t, n, r, i) => {
animationDuration: 1500,
animationEasing: "ease"
}, jK = (e) => {
- var t = OR(e, AK), n = (0, R.useRef)(null), [r, i] = (0, R.useState)(-1);
+ var t = FR(e, AK), n = (0, R.useRef)(null), [r, i] = (0, R.useState)(-1);
(0, R.useEffect)(() => {
if (n.current && n.current.getTotalLength) try {
var e = n.current.getTotalLength();
@@ -53328,18 +53768,18 @@ var kK = (e, t, n, r, i) => {
if (a !== +a || o !== +o || s !== +s || c !== +c || s === 0 || c === 0) return null;
var x = Ql("recharts-rectangle", u);
if (!h) {
- var S = eL(t), { radius: C } = S, w = DK(S, M_e);
+ var S = sL(t), { radius: C } = S, w = DK(S, J_e);
return /*#__PURE__*/ R.createElement("path", EK({}, w, {
- x: iR(a),
- y: iR(o),
- width: iR(s),
- height: iR(c),
+ x: dR(a),
+ y: dR(o),
+ width: dR(s),
+ height: dR(c),
radius: typeof l == "number" ? l : void 0,
className: x,
d: kK(a, o, s, c, l)
}));
}
- var T = g.current, E = _.current, D = v.current, O = y.current, k = `0px ${r === -1 ? 1 : r}px`, A = `${r}px ${r}px`, j = WG(["strokeDasharray"], f, typeof d == "string" ? d : AK.animationEasing);
+ var T = g.current, E = _.current, D = v.current, O = y.current, k = `0px ${r === -1 ? 1 : r}px`, A = `${r}px ${r}px`, j = tK(["strokeDasharray"], f, typeof d == "string" ? d : AK.animationEasing);
return /*#__PURE__*/ R.createElement(SK, {
animationId: b,
key: b,
@@ -53349,12 +53789,12 @@ var kK = (e, t, n, r, i) => {
isActive: h,
begin: p
}, (e) => {
- var r = pR(T, s, e), i = pR(E, c, e), u = pR(D, a, e), d = pR(O, o, e);
+ var r = bR(T, s, e), i = bR(E, c, e), u = bR(D, a, e), d = bR(O, o, e);
n.current && (g.current = r, _.current = i, v.current = u, y.current = d);
var f = m ? e > 0 ? {
transition: j,
strokeDasharray: A
- } : { strokeDasharray: k } : { strokeDasharray: A }, p = eL(t), { radius: h } = p, b = DK(p, N_e);
+ } : { strokeDasharray: k } : { strokeDasharray: A }, p = sL(t), { radius: h } = p, b = DK(p, Y_e);
return /*#__PURE__*/ R.createElement("path", EK({}, b, {
radius: typeof l == "number" ? l : void 0,
className: x,
@@ -53380,26 +53820,26 @@ function NK(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? MK(Object(n), !0).forEach(function(t) {
- J_e(e, t, n[t]);
+ uve(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : MK(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function J_e(e, t, n) {
- return (t = Y_e(t)) in e ? Object.defineProperty(e, t, {
+function uve(e, t, n) {
+ return (t = dve(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function Y_e(e) {
- var t = X_e(e, "string");
+function dve(e) {
+ var t = fve(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function X_e(e, t) {
+function fve(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -53409,10 +53849,10 @@ function X_e(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var PK = Math.PI / 180, FK = (e) => e * Math.PI / 180, Z_e = (e) => e * 180 / Math.PI, IK = (e, t, n, r) => ({
+var PK = Math.PI / 180, FK = (e) => e * Math.PI / 180, pve = (e) => e * 180 / Math.PI, IK = (e, t, n, r) => ({
x: e + Math.cos(-PK * r) * n,
y: t + Math.sin(-PK * r) * n
-}), Q_e = function(e, t) {
+}), mve = function(e, t) {
var n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {
top: 0,
right: 0,
@@ -53423,11 +53863,11 @@ var PK = Math.PI / 180, FK = (e) => e * Math.PI / 180, Z_e = (e) => e * 180 / Ma
brushBottom: 0
};
return Math.min(Math.abs(e - (n.left || 0) - (n.right || 0)), Math.abs(t - (n.top || 0) - (n.bottom || 0))) / 2;
-}, $_e = (e, t) => {
+}, hve = (e, t) => {
var { x: n, y: r } = e, { x: i, y: a } = t;
return Math.sqrt((n - i) ** 2 + (r - a) ** 2);
-}, eve = (e, t) => {
- var { x: n, y: r } = e, { cx: i, cy: a } = t, o = $_e({
+}, gve = (e, t) => {
+ var { x: n, y: r } = e, { cx: i, cy: a } = t, o = hve({
x: n,
y: r
}, {
@@ -53441,25 +53881,25 @@ var PK = Math.PI / 180, FK = (e) => e * Math.PI / 180, Z_e = (e) => e * 180 / Ma
var s = (n - i) / o, c = Math.acos(s);
return r > a && (c = 2 * Math.PI - c), {
radius: o,
- angle: Z_e(c),
+ angle: pve(c),
angleInRadian: c
};
-}, tve = (e) => {
+}, _ve = (e) => {
var { startAngle: t, endAngle: n } = e, r = Math.floor(t / 360), i = Math.floor(n / 360), a = Math.min(r, i);
return {
startAngle: t - a * 360,
endAngle: n - a * 360
};
-}, nve = (e, t) => {
+}, vve = (e, t) => {
var { startAngle: n, endAngle: r } = t, i = Math.floor(n / 360), a = Math.floor(r / 360);
return e + Math.min(i, a) * 360;
-}, rve = (e, t) => {
- var { relativeX: n, relativeY: r } = e, { radius: i, angle: a } = eve({
+}, yve = (e, t) => {
+ var { relativeX: n, relativeY: r } = e, { radius: i, angle: a } = gve({
x: n,
y: r
}, t), { innerRadius: o, outerRadius: s } = t;
if (i < o || i > s || i === 0) return null;
- var { startAngle: c, endAngle: l } = tve(t), u = a, d;
+ var { startAngle: c, endAngle: l } = _ve(t), u = a, d;
if (c <= l) {
for (; u > l;) u -= 360;
for (; u < c;) u += 360;
@@ -53471,7 +53911,7 @@ var PK = Math.PI / 180, FK = (e) => e * Math.PI / 180, Z_e = (e) => e * 180 / Ma
}
return d ? NK(NK({}, t), {}, {
radius: i,
- angle: nve(u, t)
+ angle: vve(u, t)
}) : null;
};
//#endregion
@@ -53489,7 +53929,7 @@ function LK(e) {
}
//#endregion
//#region node_modules/recharts/es6/shape/Sector.js
-var ive, ave, ove, sve, cve, lve, uve;
+var bve, xve, Sve, Cve, wve, Tve, Eve;
function RK() {
return RK = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
@@ -53502,7 +53942,7 @@ function RK() {
function zK(e, t) {
return t ||= e.slice(0), Object.freeze(Object.defineProperties(e, { raw: { value: Object.freeze(t) } }));
}
-var dve = (e, t) => oR(t - e) * Math.min(Math.abs(t - e), 359.999), BK = (e) => {
+var Dve = (e, t) => pR(t - e) * Math.min(Math.abs(t - e), 359.999), BK = (e) => {
var { cx: t, cy: n, radius: r, angle: i, sign: a, isExternal: o, cornerRadius: s, cornerIsExternal: c } = e, l = s * (o ? 1 : -1) + r, u = Math.asin(s / l) / PK, d = c ? i : i + a * u, f = IK(t, n, l, d), p = IK(t, n, r, d), m = c ? i - a * u : i;
return {
center: f,
@@ -53511,7 +53951,7 @@ var dve = (e, t) => oR(t - e) * Math.min(Math.abs(t - e), 359.999), BK = (e) =>
theta: u
};
}, VK = (e) => {
- var { cx: t, cy: n, innerRadius: r, outerRadius: i, startAngle: a, endAngle: o } = e, s = dve(a, o), c = a + s, l = IK(t, n, i, a), u = IK(t, n, i, c), d = aR(ive ||= zK([
+ var { cx: t, cy: n, innerRadius: r, outerRadius: i, startAngle: a, endAngle: o } = e, s = Dve(a, o), c = a + s, l = IK(t, n, i, a), u = IK(t, n, i, c), d = fR(bve ||= zK([
"M ",
",",
"\n A ",
@@ -53524,7 +53964,7 @@ var dve = (e, t) => oR(t - e) * Math.min(Math.abs(t - e), 359.999), BK = (e) =>
]), l.x, l.y, i, i, +(Math.abs(s) > 180), +(a > c), u.x, u.y);
if (r > 0) {
var f = IK(t, n, r, a), p = IK(t, n, r, c);
- d += aR(ave ||= zK([
+ d += fR(xve ||= zK([
"L ",
",",
"\n A ",
@@ -53535,14 +53975,14 @@ var dve = (e, t) => oR(t - e) * Math.min(Math.abs(t - e), 359.999), BK = (e) =>
",",
" Z"
]), p.x, p.y, r, r, +(Math.abs(s) > 180), +(a <= c), f.x, f.y);
- } else d += aR(ove ||= zK([
+ } else d += fR(Sve ||= zK([
"L ",
",",
" Z"
]), t, n);
return d;
-}, fve = (e) => {
- var { cx: t, cy: n, innerRadius: r, outerRadius: i, cornerRadius: a, forceCornerRadius: o, cornerIsExternal: s, startAngle: c, endAngle: l } = e, u = oR(l - c), { circleTangency: d, lineTangency: f, theta: p } = BK({
+}, Ove = (e) => {
+ var { cx: t, cy: n, innerRadius: r, outerRadius: i, cornerRadius: a, forceCornerRadius: o, cornerIsExternal: s, startAngle: c, endAngle: l } = e, u = pR(l - c), { circleTangency: d, lineTangency: f, theta: p } = BK({
cx: t,
cy: n,
radius: i,
@@ -53559,7 +53999,7 @@ var dve = (e, t) => oR(t - e) * Math.min(Math.abs(t - e), 359.999), BK = (e) =>
cornerRadius: a,
cornerIsExternal: s
}), _ = s ? Math.abs(c - l) : Math.abs(c - l) - p - g;
- if (_ < 0) return o ? aR(sve ||= zK([
+ if (_ < 0) return o ? fR(Cve ||= zK([
"M ",
",",
"\n a",
@@ -53577,7 +54017,7 @@ var dve = (e, t) => oR(t - e) * Math.min(Math.abs(t - e), 359.999), BK = (e) =>
startAngle: c,
endAngle: l
});
- var v = aR(cve ||= zK([
+ var v = fR(wve ||= zK([
"M ",
",",
"\n A",
@@ -53619,7 +54059,7 @@ var dve = (e, t) => oR(t - e) * Math.min(Math.abs(t - e), 359.999), BK = (e) =>
cornerIsExternal: s
}), T = s ? Math.abs(c - l) : Math.abs(c - l) - x - w;
if (T < 0 && a === 0) return `${v}L${t},${n}Z`;
- v += aR(lve ||= zK([
+ v += fR(Tve ||= zK([
"L",
",",
"\n A",
@@ -53640,13 +54080,13 @@ var dve = (e, t) => oR(t - e) * Math.min(Math.abs(t - e), 359.999), BK = (e) =>
",",
"Z"
]), C.x, C.y, a, a, +(u < 0), S.x, S.y, r, r, +(T > 180), +(u > 0), y.x, y.y, a, a, +(u < 0), b.x, b.y);
- } else v += aR(uve ||= zK([
+ } else v += fR(Eve ||= zK([
"L",
",",
"Z"
]), t, n);
return v;
-}, pve = {
+}, kve = {
cx: 0,
cy: 0,
innerRadius: 0,
@@ -53657,9 +54097,9 @@ var dve = (e, t) => oR(t - e) * Math.min(Math.abs(t - e), 359.999), BK = (e) =>
forceCornerRadius: !1,
cornerIsExternal: !1
}, HK = (e) => {
- var t = OR(e, pve), { cx: n, cy: r, innerRadius: i, outerRadius: a, cornerRadius: o, forceCornerRadius: s, cornerIsExternal: c, startAngle: l, endAngle: u, className: d } = t;
+ var t = FR(e, kve), { cx: n, cy: r, innerRadius: i, outerRadius: a, cornerRadius: o, forceCornerRadius: s, cornerIsExternal: c, startAngle: l, endAngle: u, className: d } = t;
if (a < i || l === u) return null;
- var f = Ql("recharts-sector", d), p = a - i, m = dR(o, p, 0, !0), h = m > 0 && Math.abs(l - u) < 360 ? fve({
+ var f = Ql("recharts-sector", d), p = a - i, m = vR(o, p, 0, !0), h = m > 0 && Math.abs(l - u) < 360 ? Ove({
cx: n,
cy: r,
innerRadius: i,
@@ -53677,14 +54117,14 @@ var dve = (e, t) => oR(t - e) * Math.min(Math.abs(t - e), 359.999), BK = (e) =>
startAngle: l,
endAngle: u
});
- return /*#__PURE__*/ R.createElement("path", RK({}, eL(t), {
+ return /*#__PURE__*/ R.createElement("path", RK({}, sL(t), {
className: f,
d: h
}));
};
//#endregion
//#region node_modules/recharts/es6/util/cursor/getCursorPoints.js
-function mve(e, t, n) {
+function Ave(e, t, n) {
if (e === "horizontal") return [{
x: t.x,
y: n.top
@@ -53699,7 +54139,7 @@ function mve(e, t, n) {
x: n.left + n.width,
y: t.y
}];
- if (wR(t)) {
+ if (jR(t)) {
if (e === "centric") {
var { cx: r, cy: i, innerRadius: a, outerRadius: o, angle: s } = t, c = IK(r, i, a, s), l = IK(r, i, o, s);
return [{
@@ -53715,18 +54155,18 @@ function mve(e, t, n) {
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/util/toNumber.mjs
-function hve(e) {
- return eR(e) ? NaN : Number(e);
+function jve(e) {
+ return sR(e) ? NaN : Number(e);
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/util/toFinite.mjs
function UK(e) {
- return e ? (e = hve(e), e === Infinity || e === -Infinity ? (e < 0 ? -1 : 1) * Number.MAX_VALUE : e === e ? e : 0) : e === 0 ? e : 0;
+ return e ? (e = jve(e), e === Infinity || e === -Infinity ? (e < 0 ? -1 : 1) * Number.MAX_VALUE : e === e ? e : 0) : e === 0 ? e : 0;
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/math/range.mjs
function WK(e, t, n) {
- n && typeof n != "number" && sz(e, t, n) && (t = n = void 0), e = UK(e), t === void 0 ? (t = e, e = 0) : t = UK(t), n = n === void 0 ? e < t ? 1 : -1 : UK(n);
+ n && typeof n != "number" && mz(e, t, n) && (t = n = void 0), e = UK(e), t === void 0 ? (t = e, e = 0) : t = UK(t), n = n === void 0 ? e < t ? 1 : -1 : UK(n);
let r = Math.max(Math.ceil((t - e) / (n || 1)), 0), i = Array(r);
for (let t = 0; t < r; t++) i[t] = e, e += n;
return i;
@@ -53747,7 +54187,7 @@ var GK = (e) => e.chartData, KK = $([GK], (e) => {
function YK(e) {
if (Array.isArray(e) && e.length === 2) {
var [t, n] = e;
- if (hV(t) && hV(n)) return !0;
+ if (EV(t) && EV(n)) return !0;
}
return !1;
}
@@ -53757,15 +54197,15 @@ function XK(e, t, n) {
function ZK(e, t) {
if (t && typeof e != "function" && Array.isArray(e) && e.length === 2) {
var [n, r] = e, i, a;
- if (hV(n)) i = n;
+ if (EV(n)) i = n;
else if (typeof n == "function") return;
- if (hV(r)) a = r;
+ if (EV(r)) a = r;
else if (typeof r == "function") return;
var o = [i, a];
if (YK(o)) return o;
}
}
-function gve(e, t, n) {
+function Mve(e, t, n) {
if (!(!n && t == null)) {
if (typeof e == "function" && t != null) try {
var r = e(t, n);
@@ -53778,8 +54218,8 @@ function gve(e, t, n) {
else if (typeof i == "function") try {
t != null && (o = i(t?.[0]));
} catch {}
- else if (typeof i == "string" && LV.test(i)) {
- var c = LV.exec(i);
+ else if (typeof i == "string" && JV.test(i)) {
+ var c = JV.exec(i);
if (c == null || c[1] == null || t == null) o = void 0;
else {
var l = +c[1];
@@ -53791,8 +54231,8 @@ function gve(e, t, n) {
else if (typeof a == "function") try {
t != null && (s = a(t?.[1]));
} catch {}
- else if (typeof a == "string" && RV.test(a)) {
- var u = RV.exec(a);
+ else if (typeof a == "string" && YV.test(a)) {
+ var u = YV.exec(a);
if (u == null || u[1] == null || t == null) s = void 0;
else {
var d = +u[1];
@@ -54212,7 +54652,7 @@ var tq = (e) => {
}
var u = r[c] ?? 1, d = new QK.default(u).mul(o);
return t ? d : new QK.default(Math.ceil(d.toNumber()));
-}, _ve = (e, t, n) => {
+}, Nve = (e, t, n) => {
var r = new QK.default(1), i = new QK.default(e);
if (!i.isint() && n) {
var a = Math.abs(e);
@@ -54241,7 +54681,7 @@ var tq = (e) => {
var l = c === Infinity ? [s, ...Array(r - 1).fill(Infinity)] : [...Array(r - 1).fill(-Infinity), c];
return t > n ? l.reverse() : l;
}
- if (s === c) return _ve(s, r, i);
+ if (s === c) return Nve(s, r, i);
var { step: u, tickMin: d, tickMax: f } = iq(s, c, o, i, 0, a === "snap125" ? rq : nq), p = eq(d, f.add(new QK.default(.1).mul(u)), u);
return t > n ? p.reverse() : p;
}, oq = function(e, t) {
@@ -54250,7 +54690,7 @@ var tq = (e) => {
if (o === s) return [o];
var c = a === "snap125" ? rq : nq, l = Math.max(t, 2), u = c(new QK.default(s).sub(o).div(l - 1), i, 0), d = [...eq(new QK.default(o), new QK.default(s), u), s];
return i === !1 && (d = d.map((e) => Math.round(e))), n > r ? d.reverse() : d;
-}, sq = (e) => e.rootProps.maxBarSize, cq = (e) => e.rootProps.barGap, lq = (e) => e.rootProps.barCategoryGap, uq = (e) => e.rootProps.barSize, dq = (e) => e.rootProps.stackOffset, fq = (e) => e.rootProps.reverseStackOrder, pq = (e) => e.options.chartName, mq = (e) => e.rootProps.syncId, hq = (e) => e.rootProps.syncMethod, gq = (e) => e.options.eventEmitter, vve = (e) => e.rootProps.baseValue, _q = {
+}, sq = (e) => e.rootProps.maxBarSize, cq = (e) => e.rootProps.barGap, lq = (e) => e.rootProps.barCategoryGap, uq = (e) => e.rootProps.barSize, dq = (e) => e.rootProps.stackOffset, fq = (e) => e.rootProps.reverseStackOrder, pq = (e) => e.options.chartName, mq = (e) => e.rootProps.syncId, hq = (e) => e.rootProps.syncMethod, gq = (e) => e.options.eventEmitter, Pve = (e) => e.rootProps.baseValue, _q = {
grid: -100,
barBackground: -50,
area: 100,
@@ -54312,7 +54752,7 @@ var tq = (e) => {
//#region node_modules/recharts/es6/util/getAxisTypeBasedOnLayout.js
function xq(e, t, n) {
if (n !== "auto") return n;
- if (e != null) return wV(e, t) ? "category" : "number";
+ if (e != null) return FV(e, t) ? "category" : "number";
}
//#endregion
//#region node_modules/recharts/es6/state/selectors/polarAxisSelectors.js
@@ -54330,26 +54770,26 @@ function Cq(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? Sq(Object(n), !0).forEach(function(t) {
- yve(e, t, n[t]);
+ Fve(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : Sq(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function yve(e, t, n) {
- return (t = bve(t)) in e ? Object.defineProperty(e, t, {
+function Fve(e, t, n) {
+ return (t = Ive(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function bve(e) {
- var t = xve(e, "string");
+function Ive(e) {
+ var t = Lve(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function xve(e, t) {
+function Lve(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -54395,45 +54835,45 @@ var wq = {
niceTicks: "auto"
}, Eq = $([(e, t) => {
if (t != null) return e.polarAxis.angleAxis[t];
-}, JH], (e, t) => {
+}, aU], (e, t) => {
if (e != null) return e;
var n = xq(t, "angleAxis", wq.type) ?? "category";
return Cq(Cq({}, wq), {}, { type: n });
-}), Dq = $([(e, t) => e.polarAxis.radiusAxis[t], JH], (e, t) => {
+}), Dq = $([(e, t) => e.polarAxis.radiusAxis[t], aU], (e, t) => {
if (e != null) return e;
var n = xq(t, "radiusAxis", Tq.type) ?? "category";
return Cq(Cq({}, Tq), {}, { type: n });
}), Oq = (e) => e.polarOptions, kq = $([
- WV,
- GV,
- sH
-], Q_e), Aq = $([Oq, kq], (e, t) => {
- if (e != null) return dR(e.innerRadius, t, 0);
+ tH,
+ nH,
+ vH
+], mve), Aq = $([Oq, kq], (e, t) => {
+ if (e != null) return vR(e.innerRadius, t, 0);
}), jq = $([Oq, kq], (e, t) => {
- if (e != null) return dR(e.outerRadius, t, t * .8);
+ if (e != null) return vR(e.outerRadius, t, t * .8);
}), Mq = $([Oq], (e) => {
if (e == null) return [0, 0];
var { startAngle: t, endAngle: n } = e;
return [t, n];
-}), Sve = $([Eq, Mq], bq), Nq = $([
+}), Rve = $([Eq, Mq], bq), Nq = $([
kq,
Aq,
jq
], (e, t, n) => {
if (e != null && t != null && n != null) return [t, n];
-}), Cve = $([Dq, Nq], bq), Pq = $([
- GH,
+}), zve = $([Dq, Nq], bq), Pq = $([
+ nU,
Oq,
Aq,
jq,
- WV,
- GV
+ tH,
+ nH
], (e, t, n, r, i, a) => {
if (!(e !== "centric" && e !== "radial" || t == null || n == null || r == null)) {
var { cx: o, cy: s, startAngle: c, endAngle: l } = t;
return {
- cx: dR(o, i, i / 2),
- cy: dR(s, a, a / 2),
+ cx: vR(o, i, i / 2),
+ cy: vR(s, a, a / 2),
innerRadius: n,
outerRadius: r,
startAngle: c,
@@ -54456,7 +54896,7 @@ function Rq(e, t, n) {
if (t != null && t.length !== 0) {
var n = Lq(e);
t.forEach((t, r) => {
- var s = a == null || i ? r : String(SV(t, a, null)), c = SV(t, e.dataKey, 0), l = o.has(s) ? o.get(s) : {};
+ var s = a == null || i ? r : String(NV(t, a, null)), c = NV(t, e.dataKey, 0), l = o.has(s) ? o.get(s) : {};
Object.assign(l, { [n]: c }), o.set(s, l);
});
}
@@ -54475,7 +54915,7 @@ var Bq = (e, t) => e === t ? !0 : e == null || t == null ? !1 : e[0] === t[0] &&
function Vq(e, t) {
return Array.isArray(e) && Array.isArray(t) && e.length === 0 && t.length === 0 ? !0 : e === t;
}
-function wve(e, t) {
+function Bve(e, t) {
if (e.length === t.length) {
for (var n = 0; n < e.length; n++) if (e[n] !== t[n]) return !1;
return !0;
@@ -54485,7 +54925,7 @@ function wve(e, t) {
//#endregion
//#region node_modules/recharts/es6/state/selectors/selectTooltipAxisType.js
var Hq = (e) => {
- var t = GH(e);
+ var t = nU(e);
return t === "horizontal" ? "xAxis" : t === "vertical" ? "yAxis" : t === "centric" ? "angleAxis" : "radiusAxis";
}, Uq = (e) => e.tooltip.settings.axisId;
//#endregion
@@ -54537,7 +54977,7 @@ var Gq = (e, t) => {
if (!YK(t)) {
for (var n, r, i = 0; i < t.length; i++) {
var a = t[i];
- hV(a) && ((n === void 0 || a < n) && (n = a), (r === void 0 || a > r) && (r = a));
+ EV(a) && ((n === void 0 || a < n) && (n = a), (r === void 0 || a > r) && (r = a));
}
return n !== void 0 && r !== void 0 ? [n, r] : void 0;
}
@@ -54554,7 +54994,7 @@ function Kq(e, t) {
//#region node_modules/d3-array/src/bisector.js
function qq(e) {
let t = e, n = e;
- e.length === 1 && (t = (t, n) => e(t) - n, n = Tve(e));
+ e.length === 1 && (t = (t, n) => e(t) - n, n = Vve(e));
function r(e, t, r, i) {
for (r ??= 0, i ??= e.length; r < i;) {
let a = r + i >>> 1;
@@ -54580,7 +55020,7 @@ function qq(e) {
right: i
};
}
-function Tve(e) {
+function Vve(e) {
return (t, n) => Kq(e(t), n);
}
//#endregion
@@ -54588,7 +55028,7 @@ function Tve(e) {
function Jq(e) {
return e === null ? NaN : +e;
}
-function* Eve(e, t) {
+function* Hve(e, t) {
if (t === void 0) for (let t of e) t != null && (t = +t) >= t && (yield t);
else {
let n = -1;
@@ -54602,7 +55042,7 @@ Yq.left, qq(Jq).center;
//#endregion
//#region node_modules/internmap/src/index.js
var Zq = class extends Map {
- constructor(e, t = kve) {
+ constructor(e, t = Gve) {
if (super(), Object.defineProperties(this, {
_intern: { value: /* @__PURE__ */ new Map() },
_key: { value: t }
@@ -54615,25 +55055,25 @@ var Zq = class extends Map {
return super.has(Qq(this, e));
}
set(e, t) {
- return super.set(Dve(this, e), t);
+ return super.set(Uve(this, e), t);
}
delete(e) {
- return super.delete(Ove(this, e));
+ return super.delete(Wve(this, e));
}
};
function Qq({ _intern: e, _key: t }, n) {
let r = t(n);
return e.has(r) ? e.get(r) : n;
}
-function Dve({ _intern: e, _key: t }, n) {
+function Uve({ _intern: e, _key: t }, n) {
let r = t(n);
return e.has(r) ? e.get(r) : (e.set(r, n), n);
}
-function Ove({ _intern: e, _key: t }, n) {
+function Wve({ _intern: e, _key: t }, n) {
let r = t(n);
return e.has(r) && (n = e.get(n), e.delete(r)), n;
}
-function kve(e) {
+function Gve(e) {
return typeof e == "object" && e ? e.valueOf() : e;
}
//#endregion
@@ -54706,15 +55146,15 @@ function cJ(e, t, n) {
}
//#endregion
//#region node_modules/d3-array/src/quantile.js
-function Ave(e, t, n) {
- if (e = Float64Array.from(Eve(e, n)), r = e.length) {
+function Kve(e, t, n) {
+ if (e = Float64Array.from(Hve(e, n)), r = e.length) {
if ((t = +t) <= 0 || r < 2) return oJ(e);
if (t >= 1) return aJ(e);
var r, i = (r - 1) * t, a = Math.floor(i), o = aJ(sJ(e, a).subarray(0, a + 1));
return o + (oJ(e.subarray(a + 1)) - o) * (i - a);
}
}
-function jve(e, t, n = Jq) {
+function qve(e, t, n = Jq) {
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);
@@ -54724,7 +55164,7 @@ function jve(e, t, n = Jq) {
}
//#endregion
//#region node_modules/d3-array/src/range.js
-function Mve(e, t, n) {
+function Jve(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;
@@ -54796,7 +55236,7 @@ function mJ() {
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 = Mve(e).map(function(e) {
+ var m = Jve(e).map(function(e) {
return f + a * e;
});
return n(d ? m.reverse() : m);
@@ -54831,7 +55271,7 @@ function hJ(e) {
return hJ(t());
}, e;
}
-function Nve() {
+function Yve() {
return hJ(mJ.apply(null, arguments).paddingInner(1));
}
//#endregion
@@ -54847,7 +55287,7 @@ function _J(e, t) {
//#endregion
//#region node_modules/d3-color/src/color.js
function vJ() {}
-var yJ = .7, bJ = 1 / yJ, xJ = "\\s*([+-]?\\d+)\\s*", SJ = "\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*", CJ = "\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*", Pve = /^#([0-9a-f]{3,8})$/, Fve = RegExp(`^rgb\\(${xJ},${xJ},${xJ}\\)$`), Ive = RegExp(`^rgb\\(${CJ},${CJ},${CJ}\\)$`), Lve = RegExp(`^rgba\\(${xJ},${xJ},${xJ},${SJ}\\)$`), Rve = RegExp(`^rgba\\(${CJ},${CJ},${CJ},${SJ}\\)$`), zve = RegExp(`^hsl\\(${SJ},${CJ},${CJ}\\)$`), Bve = RegExp(`^hsla\\(${SJ},${CJ},${CJ},${SJ}\\)$`), wJ = {
+var yJ = .7, bJ = 1 / yJ, xJ = "\\s*([+-]?\\d+)\\s*", SJ = "\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*", CJ = "\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*", Xve = /^#([0-9a-f]{3,8})$/, Zve = RegExp(`^rgb\\(${xJ},${xJ},${xJ}\\)$`), Qve = RegExp(`^rgb\\(${CJ},${CJ},${CJ}\\)$`), $ve = RegExp(`^rgba\\(${xJ},${xJ},${xJ},${SJ}\\)$`), eye = RegExp(`^rgba\\(${CJ},${CJ},${CJ},${SJ}\\)$`), tye = RegExp(`^hsl\\(${SJ},${CJ},${CJ}\\)$`), nye = RegExp(`^hsla\\(${SJ},${CJ},${CJ},${SJ}\\)$`), wJ = {
aliceblue: 15792383,
antiquewhite: 16444375,
aqua: 65535,
@@ -55006,18 +55446,18 @@ gJ(vJ, DJ, {
},
hex: TJ,
formatHex: TJ,
- formatHex8: Vve,
- formatHsl: Hve,
+ formatHex8: rye,
+ formatHsl: iye,
formatRgb: EJ,
toString: EJ
});
function TJ() {
return this.rgb().formatHex();
}
-function Vve() {
+function rye() {
return this.rgb().formatHex8();
}
-function Hve() {
+function iye() {
return RJ(this).formatHsl();
}
function EJ() {
@@ -55025,7 +55465,7 @@ function EJ() {
}
function DJ(e) {
var t, n;
- return e = (e + "").trim().toLowerCase(), (t = Pve.exec(e)) ? (n = t[1].length, t = parseInt(t[1], 16), n === 6 ? OJ(t) : n === 3 ? new jJ(t >> 8 & 15 | t >> 4 & 240, t >> 4 & 15 | t & 240, (t & 15) << 4 | t & 15, 1) : n === 8 ? kJ(t >> 24 & 255, t >> 16 & 255, t >> 8 & 255, (t & 255) / 255) : n === 4 ? kJ(t >> 12 & 15 | t >> 8 & 240, t >> 8 & 15 | t >> 4 & 240, t >> 4 & 15 | t & 240, ((t & 15) << 4 | t & 15) / 255) : null) : (t = Fve.exec(e)) ? new jJ(t[1], t[2], t[3], 1) : (t = Ive.exec(e)) ? new jJ(t[1] * 255 / 100, t[2] * 255 / 100, t[3] * 255 / 100, 1) : (t = Lve.exec(e)) ? kJ(t[1], t[2], t[3], t[4]) : (t = Rve.exec(e)) ? kJ(t[1] * 255 / 100, t[2] * 255 / 100, t[3] * 255 / 100, t[4]) : (t = zve.exec(e)) ? LJ(t[1], t[2] / 100, t[3] / 100, 1) : (t = Bve.exec(e)) ? LJ(t[1], t[2] / 100, t[3] / 100, t[4]) : wJ.hasOwnProperty(e) ? OJ(wJ[e]) : e === "transparent" ? new jJ(NaN, NaN, NaN, 0) : null;
+ return e = (e + "").trim().toLowerCase(), (t = Xve.exec(e)) ? (n = t[1].length, t = parseInt(t[1], 16), n === 6 ? OJ(t) : n === 3 ? new jJ(t >> 8 & 15 | t >> 4 & 240, t >> 4 & 15 | t & 240, (t & 15) << 4 | t & 15, 1) : n === 8 ? kJ(t >> 24 & 255, t >> 16 & 255, t >> 8 & 255, (t & 255) / 255) : n === 4 ? kJ(t >> 12 & 15 | t >> 8 & 240, t >> 8 & 15 | t >> 4 & 240, t >> 4 & 15 | t & 240, ((t & 15) << 4 | t & 15) / 255) : null) : (t = Zve.exec(e)) ? new jJ(t[1], t[2], t[3], 1) : (t = Qve.exec(e)) ? new jJ(t[1] * 255 / 100, t[2] * 255 / 100, t[3] * 255 / 100, 1) : (t = $ve.exec(e)) ? kJ(t[1], t[2], t[3], t[4]) : (t = eye.exec(e)) ? kJ(t[1] * 255 / 100, t[2] * 255 / 100, t[3] * 255 / 100, t[4]) : (t = tye.exec(e)) ? LJ(t[1], t[2] / 100, t[3] / 100, 1) : (t = nye.exec(e)) ? LJ(t[1], t[2] / 100, t[3] / 100, t[4]) : wJ.hasOwnProperty(e) ? OJ(wJ[e]) : e === "transparent" ? new jJ(NaN, NaN, NaN, 0) : null;
}
function OJ(e) {
return new jJ(e >> 16 & 255, e >> 8 & 255, e & 255, 1);
@@ -55033,11 +55473,11 @@ function OJ(e) {
function kJ(e, t, n, r) {
return r <= 0 && (e = t = n = NaN), new jJ(e, t, n, r);
}
-function Uve(e) {
+function aye(e) {
return e instanceof vJ || (e = DJ(e)), e ? (e = e.rgb(), new jJ(e.r, e.g, e.b, e.opacity)) : new jJ();
}
function AJ(e, t, n, r) {
- return arguments.length === 1 ? Uve(e) : new jJ(e, t, n, r ?? 1);
+ return arguments.length === 1 ? aye(e) : new jJ(e, t, n, r ?? 1);
}
function jJ(e, t, n, r) {
this.r = +e, this.g = +t, this.b = +n, this.opacity = +r;
@@ -55060,14 +55500,14 @@ gJ(jJ, AJ, _J(vJ, {
},
hex: MJ,
formatHex: MJ,
- formatHex8: Wve,
+ formatHex8: oye,
formatRgb: NJ,
toString: NJ
}));
function MJ() {
return `#${IJ(this.r)}${IJ(this.g)}${IJ(this.b)}`;
}
-function Wve() {
+function oye() {
return `#${IJ(this.r)}${IJ(this.g)}${IJ(this.b)}${IJ((isNaN(this.opacity) ? 1 : this.opacity) * 255)}`;
}
function NJ() {
@@ -55094,13 +55534,13 @@ function RJ(e) {
var t = e.r / 255, n = e.g / 255, r = e.b / 255, i = Math.min(t, n, r), a = Math.max(t, n, r), o = NaN, s = a - i, c = (a + i) / 2;
return s ? (o = t === a ? (n - r) / s + (n < r) * 6 : n === a ? (r - t) / s + 2 : (t - n) / s + 4, s /= c < .5 ? a + i : 2 - a - i, o *= 60) : s = c > 0 && c < 1 ? 0 : o, new zJ(o, s, c, e.opacity);
}
-function Gve(e, t, n, r) {
+function sye(e, t, n, r) {
return arguments.length === 1 ? RJ(e) : new zJ(e, t, n, r ?? 1);
}
function zJ(e, t, n, r) {
this.h = +e, this.s = +t, this.l = +n, this.opacity = +r;
}
-gJ(zJ, Gve, _J(vJ, {
+gJ(zJ, sye, _J(vJ, {
brighter(e) {
return e = e == null ? bJ : bJ ** +e, new zJ(this.h, this.s, this.l * e, this.opacity);
},
@@ -55136,29 +55576,29 @@ function HJ(e, t, n) {
var UJ = (e) => () => e;
//#endregion
//#region node_modules/d3-interpolate/src/color.js
-function Kve(e, t) {
+function cye(e, t) {
return function(n) {
return e + n * t;
};
}
-function qve(e, t, n) {
+function lye(e, t, n) {
return e **= +n, t = t ** +n - e, n = 1 / n, function(r) {
return (e + r * t) ** +n;
};
}
-function Jve(e) {
+function uye(e) {
return (e = +e) == 1 ? WJ : function(t, n) {
- return n - t ? qve(t, n, e) : UJ(isNaN(t) ? n : t);
+ return n - t ? lye(t, n, e) : UJ(isNaN(t) ? n : t);
};
}
function WJ(e, t) {
var n = t - e;
- return n ? Kve(e, n) : UJ(isNaN(e) ? t : e);
+ return n ? cye(e, n) : UJ(isNaN(e) ? t : e);
}
//#endregion
//#region node_modules/d3-interpolate/src/rgb.js
var GJ = (function e(t) {
- var n = Jve(t);
+ var n = uye(t);
function r(e, t) {
var r = n((e = AJ(e)).r, (t = AJ(t)).r), i = n(e.g, t.g), a = n(e.b, t.b), o = WJ(e.opacity, t.opacity);
return function(t) {
@@ -55169,7 +55609,7 @@ var GJ = (function e(t) {
})(1);
//#endregion
//#region node_modules/d3-interpolate/src/numberArray.js
-function Yve(e, t) {
+function dye(e, t) {
t ||= [];
var n = e ? Math.min(t.length, e.length) : 0, r = t.slice(), i;
return function(a) {
@@ -55177,12 +55617,12 @@ function Yve(e, t) {
return r;
};
}
-function Xve(e) {
+function fye(e) {
return ArrayBuffer.isView(e) && !(e instanceof DataView);
}
//#endregion
//#region node_modules/d3-interpolate/src/array.js
-function Zve(e, t) {
+function pye(e, t) {
var n = t ? t.length : 0, r = e ? Math.min(n, e.length) : 0, i = Array(r), a = Array(n), o;
for (o = 0; o < r; ++o) i[o] = YJ(e[o], t[o]);
for (; o < n; ++o) a[o] = t[o];
@@ -55193,7 +55633,7 @@ function Zve(e, t) {
}
//#endregion
//#region node_modules/d3-interpolate/src/date.js
-function Qve(e, t) {
+function mye(e, t) {
var n = /* @__PURE__ */ new Date();
return e = +e, t = +t, function(r) {
return n.setTime(e * (1 - r) + t * r), n;
@@ -55208,7 +55648,7 @@ function KJ(e, t) {
}
//#endregion
//#region node_modules/d3-interpolate/src/object.js
-function $ve(e, t) {
+function hye(e, t) {
var n = {}, r = {}, i;
for (i in (typeof e != "object" || !e) && (e = {}), (typeof t != "object" || !t) && (t = {}), t) i in e ? n[i] = YJ(e[i], t[i]) : r[i] = t[i];
return function(e) {
@@ -55219,23 +55659,23 @@ function $ve(e, t) {
//#endregion
//#region node_modules/d3-interpolate/src/string.js
var qJ = /[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g, JJ = new RegExp(qJ.source, "g");
-function eye(e) {
+function gye(e) {
return function() {
return e;
};
}
-function tye(e) {
+function _ye(e) {
return function(t) {
return e(t) + "";
};
}
-function nye(e, t) {
+function vye(e, t) {
var n = qJ.lastIndex = JJ.lastIndex = 0, r, i, a, o = -1, s = [], c = [];
for (e += "", t += ""; (r = qJ.exec(e)) && (i = JJ.exec(t));) (a = i.index) > n && (a = t.slice(n, a), s[o] ? s[o] += a : s[++o] = a), (r = r[0]) === (i = i[0]) ? s[o] ? s[o] += i : s[++o] = i : (s[++o] = null, c.push({
i: o,
x: KJ(r, i)
})), n = JJ.lastIndex;
- return n < t.length && (a = t.slice(n), s[o] ? s[o] += a : s[++o] = a), s.length < 2 ? c[0] ? tye(c[0].x) : eye(t) : (t = c.length, function(e) {
+ return n < t.length && (a = t.slice(n), s[o] ? s[o] += a : s[++o] = a), s.length < 2 ? c[0] ? _ye(c[0].x) : gye(t) : (t = c.length, function(e) {
for (var n = 0, r; n < t; ++n) s[(r = c[n]).i] = r.x(e);
return s.join("");
});
@@ -55244,7 +55684,7 @@ function nye(e, t) {
//#region node_modules/d3-interpolate/src/value.js
function YJ(e, t) {
var n = typeof t, r;
- return t == null || n === "boolean" ? UJ(t) : (n === "number" ? KJ : n === "string" ? (r = DJ(t)) ? (t = r, GJ) : nye : t instanceof DJ ? GJ : t instanceof Date ? Qve : Xve(t) ? Yve : Array.isArray(t) ? Zve : typeof t.valueOf != "function" && typeof t.toString != "function" || isNaN(t) ? $ve : KJ)(e, t);
+ return t == null || n === "boolean" ? UJ(t) : (n === "number" ? KJ : n === "string" ? (r = DJ(t)) ? (t = r, GJ) : vye : t instanceof DJ ? GJ : t instanceof Date ? mye : fye(t) ? dye : Array.isArray(t) ? pye : typeof t.valueOf != "function" && typeof t.toString != "function" || isNaN(t) ? hye : KJ)(e, t);
}
//#endregion
//#region node_modules/d3-interpolate/src/round.js
@@ -55255,7 +55695,7 @@ function XJ(e, t) {
}
//#endregion
//#region node_modules/d3-interpolate/src/piecewise.js
-function rye(e, t) {
+function yye(e, t) {
t === void 0 && (t = e, e = YJ);
for (var n = 0, r = t.length - 1, i = t[0], a = Array(r < 0 ? 0 : r); n < r;) a[n] = e(i, i = t[++n]);
return function(e) {
@@ -55265,7 +55705,7 @@ function rye(e, t) {
}
//#endregion
//#region node_modules/d3-scale/src/constant.js
-function iye(e) {
+function bye(e) {
return function() {
return e;
};
@@ -55284,21 +55724,21 @@ function $J(e) {
function eY(e, t) {
return (t -= e = +e) ? function(n) {
return (n - e) / t;
- } : iye(isNaN(t) ? NaN : .5);
+ } : bye(isNaN(t) ? NaN : .5);
}
-function aye(e, t) {
+function xye(e, t) {
var n;
return e > t && (n = e, e = t, t = n), function(n) {
return Math.max(e, Math.min(t, n));
};
}
-function oye(e, t, n) {
+function Sye(e, t, n) {
var r = e[0], i = e[1], a = t[0], o = t[1];
return i < r ? (r = eY(i, r), a = n(o, a)) : (r = eY(r, i), a = n(a, o)), function(e) {
return a(r(e));
};
}
-function sye(e, t, n) {
+function Cye(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] = eY(e[o], e[o + 1]), a[o] = n(t[o], t[o + 1]);
return function(t) {
@@ -55313,7 +55753,7 @@ function nY() {
var e = QJ, t = QJ, n = YJ, r, i, a, o = $J, s, c, l;
function u() {
var n = Math.min(e.length, t.length);
- return o !== $J && (o = aye(e[0], e[n - 1])), s = n > 2 ? sye : oye, c = l = null, d;
+ return o !== $J && (o = xye(e[0], e[n - 1])), s = n > 2 ? Cye : Sye, c = l = null, d;
}
function d(i) {
return i == null || isNaN(i = +i) ? a : (c ||= s(e.map(r), t, n))(r(o(i)));
@@ -55341,7 +55781,7 @@ function rY() {
}
//#endregion
//#region node_modules/d3-format/src/formatDecimal.js
-function cye(e) {
+function wye(e) {
return Math.abs(e = Math.round(e)) >= 1e21 ? e.toLocaleString("en").replace(/,/g, "") : e.toString(10);
}
function iY(e, t) {
@@ -55356,7 +55796,7 @@ function aY(e) {
}
//#endregion
//#region node_modules/d3-format/src/formatGroup.js
-function lye(e, t) {
+function Tye(e, t) {
return function(n, r) {
for (var i = n.length, a = [], o = 0, s = e[0], c = 0; i > 0 && s > 0 && (c + s + 1 > r && (s = Math.max(1, r - c)), a.push(n.substring(i -= s, i + s)), !((c += s + 1) > r));) s = e[o = (o + 1) % e.length];
return a.reverse().join(t);
@@ -55364,7 +55804,7 @@ function lye(e, t) {
}
//#endregion
//#region node_modules/d3-format/src/formatNumerals.js
-function uye(e) {
+function Eye(e) {
return function(t) {
return t.replace(/[0-9]/g, function(t) {
return e[+t];
@@ -55373,9 +55813,9 @@ function uye(e) {
}
//#endregion
//#region node_modules/d3-format/src/formatSpecifier.js
-var dye = /^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;
+var Dye = /^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;
function oY(e) {
- if (!(t = dye.exec(e))) throw Error("invalid format: " + e);
+ if (!(t = Dye.exec(e))) throw Error("invalid format: " + e);
var t;
return new sY({
fill: t[1],
@@ -55399,7 +55839,7 @@ sY.prototype.toString = function() {
};
//#endregion
//#region node_modules/d3-format/src/formatTrim.js
-function fye(e) {
+function Oye(e) {
out: for (var t = e.length, n = 1, r = -1, i; n < t; ++n) switch (e[n]) {
case ".":
r = i = n;
@@ -55416,7 +55856,7 @@ function fye(e) {
//#endregion
//#region node_modules/d3-format/src/formatPrefixAuto.js
var cY;
-function pye(e, t) {
+function kye(e, t) {
var n = iY(e, t);
if (!n) return cY = void 0, e.toPrecision(t);
var r = n[0], i = n[1], a = i - (cY = Math.max(-8, Math.min(8, Math.floor(i / 3))) * 3) + 1, o = r.length;
@@ -55436,14 +55876,14 @@ var uY = {
"%": (e, t) => (e * 100).toFixed(t),
b: (e) => Math.round(e).toString(2),
c: (e) => e + "",
- d: cye,
+ d: wye,
e: (e, t) => e.toExponential(t),
f: (e, t) => e.toFixed(t),
g: (e, t) => e.toPrecision(t),
o: (e) => Math.round(e).toString(8),
p: (e, t) => lY(e * 100, t),
r: lY,
- s: pye,
+ s: kye,
X: (e) => Math.round(e).toString(16).toUpperCase(),
x: (e) => Math.round(e).toString(16)
};
@@ -55473,8 +55913,8 @@ var fY = Array.prototype.map, pY = [
"Z",
"Y"
];
-function mye(e) {
- var t = e.grouping === void 0 || e.thousands === void 0 ? dY : lye(fY.call(e.grouping, Number), e.thousands + ""), n = e.currency === void 0 ? "" : e.currency[0] + "", r = e.currency === void 0 ? "" : e.currency[1] + "", i = e.decimal === void 0 ? "." : e.decimal + "", a = e.numerals === void 0 ? dY : uye(fY.call(e.numerals, String)), o = e.percent === void 0 ? "%" : e.percent + "", s = e.minus === void 0 ? "−" : e.minus + "", c = e.nan === void 0 ? "NaN" : e.nan + "";
+function Aye(e) {
+ var t = e.grouping === void 0 || e.thousands === void 0 ? dY : Tye(fY.call(e.grouping, Number), e.thousands + ""), n = e.currency === void 0 ? "" : e.currency[0] + "", r = e.currency === void 0 ? "" : e.currency[1] + "", i = e.decimal === void 0 ? "." : e.decimal + "", a = e.numerals === void 0 ? dY : Eye(fY.call(e.numerals, String)), o = e.percent === void 0 ? "%" : e.percent + "", s = e.minus === void 0 ? "−" : e.minus + "", c = e.nan === void 0 ? "NaN" : e.nan + "";
function l(e, l) {
e = oY(e);
var u = e.fill, d = e.align, f = e.sign, p = e.symbol, m = e.zero, h = e.width, g = e.comma, _ = e.precision, v = e.trim, y = e.type;
@@ -55487,7 +55927,7 @@ function mye(e) {
else {
e = +e;
var w = e < 0 || 1 / e < 0;
- if (e = isNaN(e) ? c : S(Math.abs(e), _), v && (e = fye(e)), w && +e == 0 && f !== "+" && (w = !1), n = (w ? f === "(" ? f : s : f === "-" || f === "(" ? "" : f) + n, r = (y === "s" && !isNaN(e) && cY !== void 0 ? pY[8 + cY / 3] : "") + r + (w && f === "(" ? ")" : ""), C) {
+ if (e = isNaN(e) ? c : S(Math.abs(e), _), v && (e = Oye(e)), w && +e == 0 && f !== "+" && (w = !1), n = (w ? f === "(" ? f : s : f === "-" || f === "(" ? "" : f) + n, r = (y === "s" && !isNaN(e) && cY !== void 0 ? pY[8 + cY / 3] : "") + r + (w && f === "(" ? ")" : ""), C) {
for (o = -1, l = e.length; ++o < l;) if (p = e.charCodeAt(o), 48 > p || p > 57) {
r = (p === 46 ? i + e.slice(o + 1) : e.slice(o)) + r, e = e.slice(0, o);
break;
@@ -55528,27 +55968,27 @@ function mye(e) {
//#endregion
//#region node_modules/d3-format/src/defaultLocale.js
var mY, hY, gY;
-hye({
+jye({
thousands: ",",
grouping: [3],
currency: ["$", ""]
});
-function hye(e) {
- return mY = mye(e), hY = mY.format, gY = mY.formatPrefix, mY;
+function jye(e) {
+ return mY = Aye(e), hY = mY.format, gY = mY.formatPrefix, mY;
}
//#endregion
//#region node_modules/d3-format/src/precisionFixed.js
-function gye(e) {
+function Mye(e) {
return Math.max(0, -aY(Math.abs(e)));
}
//#endregion
//#region node_modules/d3-format/src/precisionPrefix.js
-function _ye(e, t) {
+function Nye(e, t) {
return Math.max(0, Math.max(-8, Math.min(8, Math.floor(aY(t) / 3))) * 3 - aY(Math.abs(e)));
}
//#endregion
//#region node_modules/d3-format/src/precisionRound.js
-function vye(e, t) {
+function Pye(e, t) {
return e = Math.abs(e), t = Math.abs(t) - e, Math.max(0, aY(t) - aY(e)) + 1;
}
//#endregion
@@ -55558,16 +55998,16 @@ function _Y(e, t, n, r) {
switch (r = oY(r ?? ",f"), r.type) {
case "s":
var o = Math.max(Math.abs(e), Math.abs(t));
- return r.precision == null && !isNaN(a = _ye(i, o)) && (r.precision = a), gY(r, o);
+ return r.precision == null && !isNaN(a = Nye(i, o)) && (r.precision = a), gY(r, o);
case "":
case "e":
case "g":
case "p":
case "r":
- r.precision == null && !isNaN(a = vye(i, Math.max(Math.abs(e), Math.abs(t)))) && (r.precision = a - (r.type === "e"));
+ r.precision == null && !isNaN(a = Pye(i, Math.max(Math.abs(e), Math.abs(t)))) && (r.precision = a - (r.type === "e"));
break;
case "f":
- case "%": r.precision == null && !isNaN(a = gye(i)) && (r.precision = a - (r.type === "%") * 2);
+ case "%": r.precision == null && !isNaN(a = Mye(i)) && (r.precision = a - (r.type === "%") * 2);
}
return hY(r);
}
@@ -55630,19 +56070,19 @@ function SY(e) {
function CY(e) {
return Math.exp(e);
}
-function yye(e) {
+function Fye(e) {
return -Math.log(-e);
}
-function bye(e) {
+function Iye(e) {
return -Math.exp(-e);
}
-function xye(e) {
+function Lye(e) {
return isFinite(e) ? +("1e" + e) : e < 0 ? 0 : e;
}
-function Sye(e) {
- return e === 10 ? xye : e === Math.E ? Math.exp : (t) => e ** +t;
+function Rye(e) {
+ return e === 10 ? Lye : e === Math.E ? Math.exp : (t) => e ** +t;
}
-function Cye(e) {
+function zye(e) {
return e === Math.E ? Math.log : e === 10 && Math.log10 || e === 2 && Math.log2 || (e = Math.log(e), (t) => Math.log(t) / e);
}
function wY(e) {
@@ -55651,7 +56091,7 @@ function wY(e) {
function TY(e) {
let t = e(SY, CY), n = t.domain, r = 10, i, a;
function o() {
- return i = Cye(r), a = Sye(r), n()[0] < 0 ? (i = wY(i), a = wY(a), e(yye, bye)) : e(SY, CY), t;
+ return i = zye(r), a = Rye(r), n()[0] < 0 ? (i = wY(i), a = wY(a), e(Fye, Iye)) : e(SY, CY), t;
}
return t.base = function(e) {
return arguments.length ? (r = +e, o()) : r;
@@ -55721,16 +56161,16 @@ function jY(e) {
return t < 0 ? -((-t) ** +e) : t ** +e;
};
}
-function wye(e) {
+function Bye(e) {
return e < 0 ? -Math.sqrt(-e) : Math.sqrt(e);
}
-function Tye(e) {
+function Vye(e) {
return e < 0 ? -e * e : e * e;
}
function MY(e) {
var t = e($J, $J), n = 1;
function r() {
- return n === 1 ? e($J, $J) : n === .5 ? e(wye, Tye) : e(jY(n), jY(1 / n));
+ return n === 1 ? e($J, $J) : n === .5 ? e(Bye, Vye) : e(jY(n), jY(1 / n));
}
return t.exponent = function(e) {
return arguments.length ? (n = +e, r()) : n;
@@ -55742,7 +56182,7 @@ function NY() {
return tY(e, NY()).exponent(e.exponent());
}, uJ.apply(e, arguments), e;
}
-function Eye() {
+function Hye() {
return NY.apply(null, arguments).exponent(.5);
}
//#endregion
@@ -55750,13 +56190,13 @@ function Eye() {
function PY(e) {
return Math.sign(e) * e * e;
}
-function Dye(e) {
+function Uye(e) {
return Math.sign(e) * Math.sqrt(Math.abs(e));
}
function FY() {
var e = rY(), t = [0, 1], n = !1, r;
function i(t) {
- var i = Dye(e(t));
+ var i = Uye(e(t));
return isNaN(i) ? r : n ? Math.round(i) : i;
}
return i.invert = function(t) {
@@ -55783,7 +56223,7 @@ function IY() {
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] = jve(e, r / i);
+ for (n = Array(i - 1); ++r < i;) n[r - 1] = qve(e, r / i);
return a;
}
function a(e) {
@@ -55952,8 +56392,8 @@ function iX(e) {
e.setDate(e.getDate() + t * 7);
}, (e, t) => (t - e - (t.getTimezoneOffset() - e.getTimezoneOffset()) * WY) / qY);
}
-var aX = iX(0), oX = iX(1), Oye = iX(2), kye = iX(3), sX = iX(4), Aye = iX(5), jye = iX(6);
-aX.range, oX.range, Oye.range, kye.range, sX.range, Aye.range, jye.range;
+var aX = iX(0), oX = iX(1), Wye = iX(2), Gye = iX(3), sX = iX(4), Kye = iX(5), qye = iX(6);
+aX.range, oX.range, Wye.range, Gye.range, sX.range, Kye.range, qye.range;
function cX(e) {
return VY((t) => {
t.setUTCDate(t.getUTCDate() - (t.getUTCDay() + 7 - e) % 7), t.setUTCHours(0, 0, 0, 0);
@@ -55961,8 +56401,8 @@ function cX(e) {
e.setUTCDate(e.getUTCDate() + t * 7);
}, (e, t) => (t - e) / qY);
}
-var lX = cX(0), uX = cX(1), Mye = cX(2), Nye = cX(3), dX = cX(4), Pye = cX(5), Fye = cX(6);
-lX.range, uX.range, Mye.range, Nye.range, dX.range, Pye.range, Fye.range;
+var lX = cX(0), uX = cX(1), Jye = cX(2), Yye = cX(3), dX = cX(4), Xye = cX(5), Zye = cX(6);
+lX.range, uX.range, Jye.range, Yye.range, dX.range, Xye.range, Zye.range;
//#endregion
//#region node_modules/d3-time/src/month.js
var fX = VY((e) => {
@@ -56109,7 +56549,7 @@ function gX(e, t, n, r, i, a) {
}
return [s, c];
}
-var [Iye, Lye] = gX(hX, pX, lX, rX, eX, QY), [Rye, zye] = gX(mX, fX, aX, tX, $Y, ZY);
+var [Qye, $ye] = gX(hX, pX, lX, rX, eX, QY), [ebe, tbe] = gX(mX, fX, aX, tX, $Y, ZY);
//#endregion
//#region node_modules/d3-time-format/src/locale.js
function _X(e) {
@@ -56137,7 +56577,7 @@ function yX(e, t, n) {
L: 0
};
}
-function Bye(e) {
+function nbe(e) {
var t = e.dateTime, n = e.date, r = e.time, i = e.periods, a = e.days, o = e.shortDays, s = e.months, c = e.shortMonths, l = CX(i), u = wX(i), d = CX(a), f = wX(a), p = CX(o), m = wX(o), h = CX(s), g = wX(s), _ = CX(c), v = wX(c), y = {
a: N,
A: P,
@@ -56146,30 +56586,30 @@ function Bye(e) {
c: null,
d: kX,
e: kX,
- f: lbe,
- g: ybe,
- G: xbe,
- H: obe,
- I: sbe,
- j: cbe,
+ f: Tbe,
+ g: Fbe,
+ G: Lbe,
+ H: Sbe,
+ I: Cbe,
+ j: wbe,
L: AX,
- m: ube,
- M: dbe,
+ m: Ebe,
+ M: Dbe,
p: I,
q: te,
Q: IX,
s: LX,
- S: fbe,
- u: pbe,
- U: mbe,
- V: hbe,
- w: gbe,
- W: _be,
+ S: Obe,
+ u: kbe,
+ U: Abe,
+ V: jbe,
+ w: Mbe,
+ W: Nbe,
x: null,
X: null,
- y: vbe,
- Y: bbe,
- Z: Sbe,
+ y: Pbe,
+ Y: Ibe,
+ Z: Rbe,
"%": FX
}, b = {
a: ne,
@@ -56179,30 +56619,30 @@ function Bye(e) {
c: null,
d: MX,
e: MX,
- f: Ebe,
- g: Ibe,
- G: Rbe,
- H: Cbe,
- I: wbe,
- j: Tbe,
+ f: Hbe,
+ g: Qbe,
+ G: exe,
+ H: zbe,
+ I: Bbe,
+ j: Vbe,
L: NX,
- m: Dbe,
- M: Obe,
+ m: Ube,
+ M: Wbe,
p: oe,
q: se,
Q: IX,
s: LX,
- S: kbe,
- u: Abe,
- U: jbe,
- V: Mbe,
- w: Nbe,
- W: Pbe,
+ S: Gbe,
+ u: Kbe,
+ U: qbe,
+ V: Jbe,
+ w: Ybe,
+ W: Xbe,
x: null,
X: null,
- y: Fbe,
- Y: Lbe,
- Z: zbe,
+ y: Zbe,
+ Y: $be,
+ Z: txe,
"%": FX
}, x = {
a: E,
@@ -56212,31 +56652,31 @@ function Bye(e) {
c: A,
d: DX,
e: DX,
- f: nbe,
+ f: vbe,
g: EX,
G: TX,
H: OX,
I: OX,
- j: Qye,
- L: tbe,
- m: Zye,
- M: $ye,
+ j: mbe,
+ L: _be,
+ m: pbe,
+ M: hbe,
p: T,
- q: Xye,
- Q: ibe,
- s: abe,
- S: ebe,
- u: Gye,
- U: Kye,
- V: qye,
- w: Wye,
- W: Jye,
+ q: fbe,
+ Q: bbe,
+ s: xbe,
+ S: gbe,
+ u: sbe,
+ U: cbe,
+ V: lbe,
+ w: obe,
+ W: ube,
x: j,
X: M,
y: EX,
Y: TX,
- Z: Yye,
- "%": rbe
+ Z: dbe,
+ "%": ybe
};
y.x = S(n, y), y.X = S(r, y), y.c = S(t, y), b.x = S(n, b), b.X = S(r, b), b.c = S(t, b);
function S(e, t) {
@@ -56364,37 +56804,37 @@ var bX = {
"-": "",
_: " ",
0: "0"
-}, xX = /^\s*\d+/, Vye = /^%/, Hye = /[\\^$*+?|[\]().{}]/g;
+}, xX = /^\s*\d+/, rbe = /^%/, ibe = /[\\^$*+?|[\]().{}]/g;
function SX(e, t, n) {
var r = e < 0 ? "-" : "", i = (r ? -e : e) + "", a = i.length;
return r + (a < n ? Array(n - a + 1).join(t) + i : i);
}
-function Uye(e) {
- return e.replace(Hye, "\\$&");
+function abe(e) {
+ return e.replace(ibe, "\\$&");
}
function CX(e) {
- return RegExp("^(?:" + e.map(Uye).join("|") + ")", "i");
+ return RegExp("^(?:" + e.map(abe).join("|") + ")", "i");
}
function wX(e) {
return new Map(e.map((e, t) => [e.toLowerCase(), t]));
}
-function Wye(e, t, n) {
+function obe(e, t, n) {
var r = xX.exec(t.slice(n, n + 1));
return r ? (e.w = +r[0], n + r[0].length) : -1;
}
-function Gye(e, t, n) {
+function sbe(e, t, n) {
var r = xX.exec(t.slice(n, n + 1));
return r ? (e.u = +r[0], n + r[0].length) : -1;
}
-function Kye(e, t, n) {
+function cbe(e, t, n) {
var r = xX.exec(t.slice(n, n + 2));
return r ? (e.U = +r[0], n + r[0].length) : -1;
}
-function qye(e, t, n) {
+function lbe(e, t, n) {
var r = xX.exec(t.slice(n, n + 2));
return r ? (e.V = +r[0], n + r[0].length) : -1;
}
-function Jye(e, t, n) {
+function ube(e, t, n) {
var r = xX.exec(t.slice(n, n + 2));
return r ? (e.W = +r[0], n + r[0].length) : -1;
}
@@ -56406,15 +56846,15 @@ function EX(e, t, n) {
var r = xX.exec(t.slice(n, n + 2));
return r ? (e.y = +r[0] + (+r[0] > 68 ? 1900 : 2e3), n + r[0].length) : -1;
}
-function Yye(e, t, n) {
+function dbe(e, t, n) {
var r = /^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(t.slice(n, n + 6));
return r ? (e.Z = r[1] ? 0 : -(r[2] + (r[3] || "00")), n + r[0].length) : -1;
}
-function Xye(e, t, n) {
+function fbe(e, t, n) {
var r = xX.exec(t.slice(n, n + 1));
return r ? (e.q = r[0] * 3 - 3, n + r[0].length) : -1;
}
-function Zye(e, t, n) {
+function pbe(e, t, n) {
var r = xX.exec(t.slice(n, n + 2));
return r ? (e.m = r[0] - 1, n + r[0].length) : -1;
}
@@ -56422,7 +56862,7 @@ function DX(e, t, n) {
var r = xX.exec(t.slice(n, n + 2));
return r ? (e.d = +r[0], n + r[0].length) : -1;
}
-function Qye(e, t, n) {
+function mbe(e, t, n) {
var r = xX.exec(t.slice(n, n + 3));
return r ? (e.m = 0, e.d = +r[0], n + r[0].length) : -1;
}
@@ -56430,159 +56870,159 @@ function OX(e, t, n) {
var r = xX.exec(t.slice(n, n + 2));
return r ? (e.H = +r[0], n + r[0].length) : -1;
}
-function $ye(e, t, n) {
+function hbe(e, t, n) {
var r = xX.exec(t.slice(n, n + 2));
return r ? (e.M = +r[0], n + r[0].length) : -1;
}
-function ebe(e, t, n) {
+function gbe(e, t, n) {
var r = xX.exec(t.slice(n, n + 2));
return r ? (e.S = +r[0], n + r[0].length) : -1;
}
-function tbe(e, t, n) {
+function _be(e, t, n) {
var r = xX.exec(t.slice(n, n + 3));
return r ? (e.L = +r[0], n + r[0].length) : -1;
}
-function nbe(e, t, n) {
+function vbe(e, t, n) {
var r = xX.exec(t.slice(n, n + 6));
return r ? (e.L = Math.floor(r[0] / 1e3), n + r[0].length) : -1;
}
-function rbe(e, t, n) {
- var r = Vye.exec(t.slice(n, n + 1));
+function ybe(e, t, n) {
+ var r = rbe.exec(t.slice(n, n + 1));
return r ? n + r[0].length : -1;
}
-function ibe(e, t, n) {
+function bbe(e, t, n) {
var r = xX.exec(t.slice(n));
return r ? (e.Q = +r[0], n + r[0].length) : -1;
}
-function abe(e, t, n) {
+function xbe(e, t, n) {
var r = xX.exec(t.slice(n));
return r ? (e.s = +r[0], n + r[0].length) : -1;
}
function kX(e, t) {
return SX(e.getDate(), t, 2);
}
-function obe(e, t) {
+function Sbe(e, t) {
return SX(e.getHours(), t, 2);
}
-function sbe(e, t) {
+function Cbe(e, t) {
return SX(e.getHours() % 12 || 12, t, 2);
}
-function cbe(e, t) {
+function wbe(e, t) {
return SX(1 + tX.count(mX(e), e), t, 3);
}
function AX(e, t) {
return SX(e.getMilliseconds(), t, 3);
}
-function lbe(e, t) {
+function Tbe(e, t) {
return AX(e, t) + "000";
}
-function ube(e, t) {
+function Ebe(e, t) {
return SX(e.getMonth() + 1, t, 2);
}
-function dbe(e, t) {
+function Dbe(e, t) {
return SX(e.getMinutes(), t, 2);
}
-function fbe(e, t) {
+function Obe(e, t) {
return SX(e.getSeconds(), t, 2);
}
-function pbe(e) {
+function kbe(e) {
var t = e.getDay();
return t === 0 ? 7 : t;
}
-function mbe(e, t) {
+function Abe(e, t) {
return SX(aX.count(mX(e) - 1, e), t, 2);
}
function jX(e) {
var t = e.getDay();
return t >= 4 || t === 0 ? sX(e) : sX.ceil(e);
}
-function hbe(e, t) {
+function jbe(e, t) {
return e = jX(e), SX(sX.count(mX(e), e) + (mX(e).getDay() === 4), t, 2);
}
-function gbe(e) {
+function Mbe(e) {
return e.getDay();
}
-function _be(e, t) {
+function Nbe(e, t) {
return SX(oX.count(mX(e) - 1, e), t, 2);
}
-function vbe(e, t) {
+function Pbe(e, t) {
return SX(e.getFullYear() % 100, t, 2);
}
-function ybe(e, t) {
+function Fbe(e, t) {
return e = jX(e), SX(e.getFullYear() % 100, t, 2);
}
-function bbe(e, t) {
+function Ibe(e, t) {
return SX(e.getFullYear() % 1e4, t, 4);
}
-function xbe(e, t) {
+function Lbe(e, t) {
var n = e.getDay();
return e = n >= 4 || n === 0 ? sX(e) : sX.ceil(e), SX(e.getFullYear() % 1e4, t, 4);
}
-function Sbe(e) {
+function Rbe(e) {
var t = e.getTimezoneOffset();
return (t > 0 ? "-" : (t *= -1, "+")) + SX(t / 60 | 0, "0", 2) + SX(t % 60, "0", 2);
}
function MX(e, t) {
return SX(e.getUTCDate(), t, 2);
}
-function Cbe(e, t) {
+function zbe(e, t) {
return SX(e.getUTCHours(), t, 2);
}
-function wbe(e, t) {
+function Bbe(e, t) {
return SX(e.getUTCHours() % 12 || 12, t, 2);
}
-function Tbe(e, t) {
+function Vbe(e, t) {
return SX(1 + nX.count(hX(e), e), t, 3);
}
function NX(e, t) {
return SX(e.getUTCMilliseconds(), t, 3);
}
-function Ebe(e, t) {
+function Hbe(e, t) {
return NX(e, t) + "000";
}
-function Dbe(e, t) {
+function Ube(e, t) {
return SX(e.getUTCMonth() + 1, t, 2);
}
-function Obe(e, t) {
+function Wbe(e, t) {
return SX(e.getUTCMinutes(), t, 2);
}
-function kbe(e, t) {
+function Gbe(e, t) {
return SX(e.getUTCSeconds(), t, 2);
}
-function Abe(e) {
+function Kbe(e) {
var t = e.getUTCDay();
return t === 0 ? 7 : t;
}
-function jbe(e, t) {
+function qbe(e, t) {
return SX(lX.count(hX(e) - 1, e), t, 2);
}
function PX(e) {
var t = e.getUTCDay();
return t >= 4 || t === 0 ? dX(e) : dX.ceil(e);
}
-function Mbe(e, t) {
+function Jbe(e, t) {
return e = PX(e), SX(dX.count(hX(e), e) + (hX(e).getUTCDay() === 4), t, 2);
}
-function Nbe(e) {
+function Ybe(e) {
return e.getUTCDay();
}
-function Pbe(e, t) {
+function Xbe(e, t) {
return SX(uX.count(hX(e) - 1, e), t, 2);
}
-function Fbe(e, t) {
+function Zbe(e, t) {
return SX(e.getUTCFullYear() % 100, t, 2);
}
-function Ibe(e, t) {
+function Qbe(e, t) {
return e = PX(e), SX(e.getUTCFullYear() % 100, t, 2);
}
-function Lbe(e, t) {
+function $be(e, t) {
return SX(e.getUTCFullYear() % 1e4, t, 4);
}
-function Rbe(e, t) {
+function exe(e, t) {
var n = e.getUTCDay();
return e = n >= 4 || n === 0 ? dX(e) : dX.ceil(e), SX(e.getUTCFullYear() % 1e4, t, 4);
}
-function zbe() {
+function txe() {
return "+0000";
}
function FX() {
@@ -56597,7 +57037,7 @@ function LX(e) {
//#endregion
//#region node_modules/d3-time-format/src/defaultLocale.js
var RX, zX, BX;
-Bbe({
+nxe({
dateTime: "%x, %X",
date: "%-m/%-d/%Y",
time: "%-I:%M:%S %p",
@@ -56649,15 +57089,15 @@ Bbe({
"Dec"
]
});
-function Bbe(e) {
- return RX = Bye(e), zX = RX.format, RX.parse, BX = RX.utcFormat, RX.utcParse, RX;
+function nxe(e) {
+ return RX = nbe(e), zX = RX.format, RX.parse, BX = RX.utcFormat, RX.utcParse, RX;
}
//#endregion
//#region node_modules/d3-scale/src/time.js
-function Vbe(e) {
+function rxe(e) {
return new Date(e);
}
-function Hbe(e) {
+function ixe(e) {
return e instanceof Date ? +e : +/* @__PURE__ */ new Date(+e);
}
function VX(e, t, n, r, i, a, o, s, c, l) {
@@ -56668,7 +57108,7 @@ function VX(e, t, n, r, i, a, o, s, c, l) {
return u.invert = function(e) {
return new Date(d(e));
}, u.domain = function(e) {
- return arguments.length ? f(Array.from(e, Hbe)) : f().map(Vbe);
+ return arguments.length ? f(Array.from(e, ixe)) : f().map(rxe);
}, u.ticks = function(t) {
var n = f();
return e(n[0], n[n.length - 1], t ?? 10);
@@ -56681,13 +57121,13 @@ function VX(e, t, n, r, i, a, o, s, c, l) {
return tY(u, VX(e, t, n, r, i, a, o, s, c, l));
}, u;
}
-function Ube() {
- return uJ.apply(VX(Rye, zye, mX, fX, aX, tX, $Y, ZY, XY, zX).domain([new Date(2e3, 0, 1), new Date(2e3, 0, 2)]), arguments);
+function axe() {
+ return uJ.apply(VX(ebe, tbe, mX, fX, aX, tX, $Y, ZY, XY, zX).domain([new Date(2e3, 0, 1), new Date(2e3, 0, 2)]), arguments);
}
//#endregion
//#region node_modules/d3-scale/src/utcTime.js
-function Wbe() {
- return uJ.apply(VX(Iye, Lye, hX, pX, lX, nX, eX, QY, XY, BX).domain([Date.UTC(2e3, 0, 1), Date.UTC(2e3, 0, 2)]), arguments);
+function oxe() {
+ return uJ.apply(VX(Qye, $ye, hX, pX, lX, nX, eX, QY, XY, BX).domain([Date.UTC(2e3, 0, 1), Date.UTC(2e3, 0, 2)]), arguments);
}
//#endregion
//#region node_modules/d3-scale/src/sequential.js
@@ -56742,7 +57182,7 @@ function qX() {
return UX(e, qX()).exponent(e.exponent());
}, dJ.apply(e, arguments);
}
-function Gbe() {
+function sxe() {
return qX.apply(null, arguments).exponent(.5);
}
//#endregion
@@ -56762,7 +57202,7 @@ function JX() {
}, 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) => Ave(e, r / t));
+ return Array.from({ length: t + 1 }, (n, r) => Kve(e, r / t));
}, n.copy = function() {
return JX(t).domain(e);
}, dJ.apply(n, arguments);
@@ -56788,7 +57228,7 @@ function YX() {
function m(e) {
return function(t) {
var n, r, i;
- return arguments.length ? ([n, r, i] = t, l = rye(e, [
+ return arguments.length ? ([n, r, i] = t, l = yye(e, [
n,
r,
i
@@ -56833,7 +57273,7 @@ function $X() {
return UX(e, $X()).exponent(e.exponent());
}, dJ.apply(e, arguments);
}
-function Kbe() {
+function cxe() {
return $X.apply(null, arguments).exponent(.5);
}
//#endregion
@@ -56843,14 +57283,14 @@ var eZ = /* @__PURE__ */ le({
scaleDiverging: () => XX,
scaleDivergingLog: () => ZX,
scaleDivergingPow: () => $X,
- scaleDivergingSqrt: () => Kbe,
+ scaleDivergingSqrt: () => cxe,
scaleDivergingSymlog: () => QX,
scaleIdentity: () => bY,
scaleImplicit: () => fJ,
scaleLinear: () => yY,
scaleLog: () => EY,
scaleOrdinal: () => pJ,
- scalePoint: () => Nve,
+ scalePoint: () => Yve,
scalePow: () => NY,
scaleQuantile: () => IY,
scaleQuantize: () => LY,
@@ -56859,26 +57299,26 @@ var eZ = /* @__PURE__ */ le({
scaleSequentialLog: () => GX,
scaleSequentialPow: () => qX,
scaleSequentialQuantile: () => JX,
- scaleSequentialSqrt: () => Gbe,
+ scaleSequentialSqrt: () => sxe,
scaleSequentialSymlog: () => KX,
- scaleSqrt: () => Eye,
+ scaleSqrt: () => Hye,
scaleSymlog: () => AY,
scaleThreshold: () => RY,
- scaleTime: () => Ube,
- scaleUtc: () => Wbe,
+ scaleTime: () => axe,
+ scaleUtc: () => oxe,
tickFormat: () => _Y
});
//#endregion
//#region node_modules/recharts/es6/state/selectors/combiners/combineConfiguredScale.js
-function qbe(e) {
+function lxe(e) {
if (e in eZ) return eZ[e]();
- var t = `scale${gR(e)}`;
+ var t = `scale${CR(e)}`;
if (t in eZ) return eZ[t]();
}
function tZ(e, t, n) {
if (typeof e == "function") return e.copy().domain(t).range(n);
if (e != null) {
- var r = qbe(e);
+ var r = lxe(e);
if (r != null) return r.domain(t).range(n), r;
}
}
@@ -56887,22 +57327,22 @@ function nZ(e, t, n, r) {
}
//#endregion
//#region node_modules/recharts/es6/state/selectors/combiners/combineRealScaleType.js
-function Jbe(e) {
- return `scale${gR(e)}`;
+function uxe(e) {
+ return `scale${CR(e)}`;
}
-function Ybe(e) {
- return Jbe(e) in eZ;
+function dxe(e) {
+ return uxe(e) in eZ;
}
var rZ = (e, t, n) => {
if (e != null) {
var { scale: r, type: i } = e;
if (r === "auto") return i === "category" && n && (n.indexOf("LineChart") >= 0 || n.indexOf("AreaChart") >= 0 || n.indexOf("ComposedChart") >= 0 && !t) ? "point" : i === "category" ? "band" : "linear";
- if (typeof r == "string") return Ybe(r) ? r : "point";
+ if (typeof r == "string") return dxe(r) ? r : "point";
}
};
//#endregion
//#region node_modules/recharts/es6/util/scale/createCategoricalInverse.js
-function Xbe(e, t) {
+function fxe(e, t) {
for (var n = 0, r = e.length, i = e[0] < e[e.length - 1]; n < r;) {
var a = Math.floor((n + r) / 2);
(i ? e[a] < t : e[a] > t) ? n = a + 1 : r = a;
@@ -56913,7 +57353,7 @@ function iZ(e, t) {
if (e) {
var n = t ?? e.domain(), r = n.map((t) => e(t) ?? 0), i = e.range();
if (!(n.length === 0 || i.length < 2)) return (e) => {
- var t = Xbe(r, e);
+ var t = fxe(r, e);
if (t <= 0) return n[0];
if (t >= n.length) return n[n.length - 1];
var i = r[t - 1] ?? 0, a = r[t] ?? 0;
@@ -56923,7 +57363,7 @@ function iZ(e, t) {
}
//#endregion
//#region node_modules/recharts/es6/state/selectors/combiners/combineInverseScaleFunction.js
-function Zbe(e) {
+function pxe(e) {
if (e != null) return "invert" in e && typeof e.invert == "function" ? e.invert.bind(e) : iZ(e, void 0);
}
//#endregion
@@ -56942,26 +57382,26 @@ function oZ(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? aZ(Object(n), !0).forEach(function(t) {
- Qbe(e, t, n[t]);
+ mxe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : aZ(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function Qbe(e, t, n) {
- return (t = $be(t)) in e ? Object.defineProperty(e, t, {
+function mxe(e, t, n) {
+ return (t = hxe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function $be(e) {
- var t = exe(e, "string");
+function hxe(e) {
+ var t = gxe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function exe(e, t) {
+function gxe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -57029,7 +57469,7 @@ var sZ = [0, "auto"], cZ = {
unit: void 0,
niceTicks: "auto",
width: 60
-}, fZ = (e, t) => e.cartesianAxis.yAxis[t], pZ = (e, t) => fZ(e, t) ?? dZ, txe = {
+}, fZ = (e, t) => e.cartesianAxis.yAxis[t], pZ = (e, t) => fZ(e, t) ?? dZ, _xe = {
domain: [0, "auto"],
includeHidden: !1,
reversed: !1,
@@ -57042,7 +57482,7 @@ var sZ = [0, "auto"], cZ = {
scale: "auto",
type: "number",
unit: ""
-}, mZ = (e, t) => e.cartesianAxis.zAxis[t] ?? txe, hZ = (e, t, n) => {
+}, mZ = (e, t) => e.cartesianAxis.zAxis[t] ?? _xe, hZ = (e, t, n) => {
switch (t) {
case "xAxis": return uZ(e, n);
case "yAxis": return pZ(e, n);
@@ -57051,7 +57491,7 @@ var sZ = [0, "auto"], cZ = {
case "radiusAxis": return Dq(e, n);
default: throw Error(`Unexpected axis type: ${t}`);
}
-}, nxe = (e, t, n) => {
+}, vxe = (e, t, n) => {
switch (t) {
case "xAxis": return uZ(e, n);
case "yAxis": return pZ(e, n);
@@ -57078,22 +57518,22 @@ function vZ(e, t) {
}
};
}
-var yZ = (e) => e.graphicalItems.cartesianItems, rxe = $([Fq, Iq], vZ), bZ = (e, t, n) => e.filter(n).filter((e) => t?.includeHidden === !0 || !e.hide), xZ = $([
+var yZ = (e) => e.graphicalItems.cartesianItems, yxe = $([Fq, Iq], vZ), bZ = (e, t, n) => e.filter(n).filter((e) => t?.includeHidden === !0 || !e.hide), xZ = $([
yZ,
hZ,
- rxe
-], bZ, { memoizeOptions: { resultEqualityCheck: Vq } }), SZ = $([xZ], (e) => e.filter((e) => e.type === "area" || e.type === "bar").filter(zq)), CZ = (e) => e.filter((e) => !("stackId" in e) || e.stackId === void 0), ixe = $([xZ], CZ), wZ = (e) => e.map((e) => e.data).filter(Boolean).flat(1), axe = $([xZ], wZ, { memoizeOptions: { resultEqualityCheck: Vq } }), TZ = (e, t) => {
+ yxe
+], bZ, { memoizeOptions: { resultEqualityCheck: Vq } }), SZ = $([xZ], (e) => e.filter((e) => e.type === "area" || e.type === "bar").filter(zq)), CZ = (e) => e.filter((e) => !("stackId" in e) || e.stackId === void 0), bxe = $([xZ], CZ), wZ = (e) => e.map((e) => e.data).filter(Boolean).flat(1), xxe = $([xZ], wZ, { memoizeOptions: { resultEqualityCheck: Vq } }), TZ = (e, t) => {
var { chartData: n = [], dataStartIndex: r, dataEndIndex: i } = t;
return e.length > 0 ? e : n.slice(r, i + 1);
-}, EZ = $([axe, qK], TZ), DZ = (e, t, n) => t?.dataKey == null ? n.length > 0 ? n.map((e) => e.dataKey).flatMap((t) => e.map((e) => ({ value: SV(e, t) }))) : e.map((e) => ({ value: e })) : e.map((e) => ({ value: SV(e, t.dataKey) })), OZ = $([
+}, EZ = $([xxe, qK], TZ), DZ = (e, t, n) => t?.dataKey == null ? n.length > 0 ? n.map((e) => e.dataKey).flatMap((t) => e.map((e) => ({ value: NV(e, t) }))) : e.map((e) => ({ value: e })) : e.map((e) => ({ value: NV(e, t.dataKey) })), OZ = $([
EZ,
hZ,
xZ
], DZ);
function kZ(e) {
- if (lR(e) || e instanceof Date) {
+ if (gR(e) || e instanceof Date) {
var t = Number(e);
- if (hV(t)) return t;
+ if (EV(t)) return t;
}
}
function AZ(e) {
@@ -57105,13 +57545,13 @@ function AZ(e) {
if (n != null) return [n, n];
}
function jZ(e) {
- return e.map(kZ).filter(_R);
+ return e.map(kZ).filter(wR);
}
-function oxe(e, t) {
+function Sxe(e, t) {
var n = kZ(e), r = kZ(t);
return n == null && r == null ? 0 : n == null ? -1 : r == null ? 1 : n - r;
}
-var sxe = $([OZ], (e) => e?.map((e) => e.value).sort(oxe));
+var Cxe = $([OZ], (e) => e?.map((e) => e.value).sort(Sxe));
function MZ(e, t) {
switch (e) {
case "xAxis": return t.direction === "x";
@@ -57119,13 +57559,13 @@ function MZ(e, t) {
default: return !1;
}
}
-function cxe(e, t, n) {
- return !n || typeof t != "number" || sR(t) || !n.length ? [] : jZ(n.flatMap((n) => {
- var r = SV(e, n.dataKey), i, a;
- if (Array.isArray(r) ? [i, a] = r : i = a = r, !(!hV(i) || !hV(a))) return [t - i, t + a];
+function wxe(e, t, n) {
+ return !n || typeof t != "number" || mR(t) || !n.length ? [] : jZ(n.flatMap((n) => {
+ var r = NV(e, n.dataKey), i, a;
+ if (Array.isArray(r) ? [i, a] = r : i = a = r, !(!EV(i) || !EV(a))) return [t - i, t + a];
}));
}
-var NZ = (e) => gZ(e, Hq(e), Uq(e)), PZ = $([NZ], (e) => e?.dataKey), lxe = $([
+var NZ = (e) => gZ(e, Hq(e), Uq(e)), PZ = $([NZ], (e) => e?.dataKey), Txe = $([
SZ,
qK,
NZ
@@ -57138,22 +57578,22 @@ var NZ = (e) => gZ(e, Hq(e), Uq(e)), PZ = $([NZ], (e) => e?.dataKey), lxe = $([
return Object.fromEntries(Object.entries(i).map((t) => {
var [i, a] = t, o = r ? [...a].reverse() : a;
return [i, {
- stackedData: kV(e, o.map(Lq), n),
+ stackedData: BV(e, o.map(Lq), n),
graphicalItems: o
}];
}));
}, IZ = $([
- lxe,
+ Txe,
SZ,
dq,
fq
], FZ), LZ = (e, t, n, r) => {
var { dataStartIndex: i, dataEndIndex: a } = t;
if (r == null && n !== "zAxis") {
- var o = IV(e, i, a);
+ var o = qV(e, i, a);
if (o == null || o[0] !== 0 || o[1] !== 0) return o;
}
-}, uxe = $([hZ], (e) => e.allowDataOverflow), RZ = (e) => {
+}, Exe = $([hZ], (e) => e.allowDataOverflow), RZ = (e) => {
if (e == null || !("domain" in e)) return sZ;
if (e.domain != null) return e.domain;
if ("ticks" in e && e.ticks != null) {
@@ -57164,12 +57604,12 @@ var NZ = (e) => gZ(e, Hq(e), Uq(e)), PZ = $([NZ], (e) => e?.dataKey), lxe = $([
if (e.type === "category") return e.ticks.map(String);
}
return e?.domain ?? sZ;
-}, zZ = $([hZ], RZ), BZ = $([zZ, uxe], ZK), dxe = $([
+}, zZ = $([hZ], RZ), BZ = $([zZ, Exe], ZK), Dxe = $([
IZ,
GK,
Fq,
BZ
-], LZ, { memoizeOptions: { resultEqualityCheck: Bq } }), VZ = (e) => e.errorBars, fxe = (e, t, n) => e.flatMap((e) => t[e.id]).filter(Boolean).filter((e) => MZ(n, e)), HZ = function() {
+], LZ, { memoizeOptions: { resultEqualityCheck: Bq } }), VZ = (e) => e.errorBars, Oxe = (e, t, n) => e.flatMap((e) => t[e.id]).filter(Boolean).filter((e) => MZ(n, e)), HZ = function() {
var e = [...arguments].filter(Boolean);
if (e.length !== 0) {
var t = e.flat();
@@ -57179,7 +57619,7 @@ var NZ = (e) => gZ(e, Hq(e), Uq(e)), PZ = $([NZ], (e) => e?.dataKey), lxe = $([
var a, o;
if (n.length > 0 && e.forEach((e) => {
n.forEach((n) => {
- var s = r[n.id]?.filter((e) => MZ(i, e)), c = SV(e, t.dataKey ?? n.dataKey), l = cxe(e, c, s);
+ var s = r[n.id]?.filter((e) => MZ(i, e)), c = NV(e, t.dataKey ?? n.dataKey), l = wxe(e, c, s);
if (l.length >= 2) {
var u = Math.min(...l), d = Math.max(...l);
(a == null || u < a) && (a = u), (o == null || d > o) && (o = d);
@@ -57188,32 +57628,32 @@ var NZ = (e) => gZ(e, Hq(e), Uq(e)), PZ = $([NZ], (e) => e?.dataKey), lxe = $([
f != null && (a = a == null ? f[0] : Math.min(a, f[0]), o = o == null ? f[1] : Math.max(o, f[1]));
});
}), t?.dataKey != null && e.forEach((e) => {
- var n = AZ(SV(e, t.dataKey));
+ var n = AZ(NV(e, t.dataKey));
n != null && (a = a == null ? n[0] : Math.min(a, n[0]), o = o == null ? n[1] : Math.max(o, n[1]));
- }), hV(a) && hV(o)) return [a, o];
-}, pxe = $([
+ }), EV(a) && EV(o)) return [a, o];
+}, kxe = $([
EZ,
hZ,
- ixe,
+ bxe,
VZ,
Fq
], UZ, { memoizeOptions: { resultEqualityCheck: Bq } });
-function mxe(e) {
+function Axe(e) {
var { value: t } = e;
- if (lR(t) || t instanceof Date) return t;
+ if (gR(t) || t instanceof Date) return t;
}
-var hxe = (e, t, n) => {
- var r = e.map(mxe).filter((e) => e != null);
- return n && (t.dataKey == null || t.allowDuplicatedCategory && fR(r)) ? WK(0, e.length) : t.allowDuplicatedCategory ? r : Array.from(new Set(r));
-}, WZ = (e) => e.referenceElements.dots, GZ = (e, t, n) => e.filter((e) => e.ifOverflow === "extendDomain").filter((e) => t === "xAxis" ? e.xAxisId === n : e.yAxisId === n), gxe = $([
+var jxe = (e, t, n) => {
+ var r = e.map(Axe).filter((e) => e != null);
+ return n && (t.dataKey == null || t.allowDuplicatedCategory && yR(r)) ? WK(0, e.length) : t.allowDuplicatedCategory ? r : Array.from(new Set(r));
+}, WZ = (e) => e.referenceElements.dots, GZ = (e, t, n) => e.filter((e) => e.ifOverflow === "extendDomain").filter((e) => t === "xAxis" ? e.xAxisId === n : e.yAxisId === n), Mxe = $([
WZ,
Fq,
Iq
-], GZ), KZ = (e) => e.referenceElements.areas, _xe = $([
+], GZ), KZ = (e) => e.referenceElements.areas, Nxe = $([
KZ,
Fq,
Iq
-], GZ), qZ = (e) => e.referenceElements.lines, vxe = $([
+], GZ), qZ = (e) => e.referenceElements.lines, Pxe = $([
qZ,
Fq,
Iq
@@ -57222,49 +57662,49 @@ var hxe = (e, t, n) => {
var n = jZ(e.map((e) => t === "xAxis" ? e.x : e.y));
if (n.length !== 0) return [Math.min(...n), Math.max(...n)];
}
-}, yxe = $(gxe, Fq, JZ), YZ = (e, t) => {
+}, Fxe = $(Mxe, Fq, JZ), YZ = (e, t) => {
if (e != null) {
var n = jZ(e.flatMap((e) => [t === "xAxis" ? e.x1 : e.y1, t === "xAxis" ? e.x2 : e.y2]));
if (n.length !== 0) return [Math.min(...n), Math.max(...n)];
}
-}, bxe = $([_xe, Fq], YZ);
-function xxe(e) {
+}, Ixe = $([Nxe, Fq], YZ);
+function Lxe(e) {
if (e.x != null) return jZ([e.x]);
var t = e.segment?.map((e) => e.x);
return t == null || t.length === 0 ? [] : jZ(t);
}
-function Sxe(e) {
+function Rxe(e) {
if (e.y != null) return jZ([e.y]);
var t = e.segment?.map((e) => e.y);
return t == null || t.length === 0 ? [] : jZ(t);
}
var XZ = (e, t) => {
if (e != null) {
- var n = e.flatMap((e) => t === "xAxis" ? xxe(e) : Sxe(e));
+ var n = e.flatMap((e) => t === "xAxis" ? Lxe(e) : Rxe(e));
if (n.length !== 0) return [Math.min(...n), Math.max(...n)];
}
-}, Cxe = $(yxe, $([vxe, Fq], XZ), bxe, (e, t, n) => HZ(e, n, t)), ZZ = (e, t, n, r, i, a, o, s) => n ?? gve(t, o === "vertical" && s === "xAxis" || o === "horizontal" && s === "yAxis" ? HZ(r, a, i) : HZ(a, i), e.allowDataOverflow), wxe = $([
+}, zxe = $(Fxe, $([Pxe, Fq], XZ), Ixe, (e, t, n) => HZ(e, n, t)), ZZ = (e, t, n, r, i, a, o, s) => n ?? Mve(t, o === "vertical" && s === "xAxis" || o === "horizontal" && s === "yAxis" ? HZ(r, a, i) : HZ(a, i), e.allowDataOverflow), Bxe = $([
hZ,
zZ,
BZ,
- dxe,
- pxe,
- Cxe,
- GH,
+ Dxe,
+ kxe,
+ zxe,
+ nU,
Fq
-], ZZ, { memoizeOptions: { resultEqualityCheck: Bq } }), Txe = [0, 1], QZ = (e, t, n, r, i, a, o) => {
+], ZZ, { memoizeOptions: { resultEqualityCheck: Bq } }), Vxe = [0, 1], QZ = (e, t, n, r, i, a, o) => {
if (e != null && n != null && n.length !== 0 || o !== void 0) {
- var { dataKey: s, type: c } = e, l = wV(t, a);
- return l && s == null ? WK(0, n?.length ?? 0) : c === "category" ? hxe(r, e, l) : i === "expand" ? Txe : o;
+ var { dataKey: s, type: c } = e, l = FV(t, a);
+ return l && s == null ? WK(0, n?.length ?? 0) : c === "category" ? jxe(r, e, l) : i === "expand" ? Vxe : o;
}
}, $Z = $([
hZ,
- GH,
+ nU,
EZ,
OZ,
dq,
Fq,
- wxe
+ Bxe
], QZ), eQ = $([
hZ,
_Z,
@@ -57292,7 +57732,7 @@ var XZ = (e, t) => {
return [Math.min(i, a), Math.max(o, s)];
}
return t;
-}, Exe = $([
+}, Hxe = $([
hZ,
$Z,
nQ,
@@ -57312,22 +57752,22 @@ var XZ = (e, t) => {
}
return n / o;
}
-}), GH, lq, sH, (e, t, n, r, i) => i, (e, t, n, r, i) => {
- if (!hV(e)) return 0;
+}), nU, lq, vH, (e, t, n, r, i) => i, (e, t, n, r, i) => {
+ if (!EV(e)) return 0;
var a = t === "vertical" ? r.height : r.width;
if (i === "gap") return e * a / 2;
if (i === "no-gap") {
- var o = dR(n, e * a), s = e * a / 2;
+ var o = vR(n, e * a), s = e * a / 2;
return s - o - (s - o) / a * o;
}
return 0;
-}), Dxe = (e, t, n) => {
+}), Uxe = (e, t, n) => {
var r = uZ(e, t);
return r == null || typeof r.padding != "string" ? 0 : iQ(e, "xAxis", t, n, r.padding);
-}, Oxe = (e, t, n) => {
+}, Wxe = (e, t, n) => {
var r = pZ(e, t);
return r == null || typeof r.padding != "string" ? 0 : iQ(e, "yAxis", t, n, r.padding);
-}, kxe = $(uZ, Dxe, (e, t) => {
+}, Gxe = $(uZ, Uxe, (e, t) => {
if (e == null) return {
left: 0,
right: 0
@@ -57340,7 +57780,7 @@ var XZ = (e, t) => {
left: (n.left ?? 0) + t,
right: (n.right ?? 0) + t
};
-}), Axe = $(pZ, Oxe, (e, t) => {
+}), Kxe = $(pZ, Wxe, (e, t) => {
if (e == null) return {
top: 0,
bottom: 0
@@ -57353,29 +57793,29 @@ var XZ = (e, t) => {
top: (n.top ?? 0) + t,
bottom: (n.bottom ?? 0) + t
};
-}), jxe = $([
- sH,
- kxe,
- pH,
- fH,
+}), qxe = $([
+ vH,
+ Gxe,
+ wH,
+ CH,
(e, t, n) => n
], (e, t, n, r, i) => {
var { padding: a } = r;
return i ? [a.left, n.width - a.right] : [e.left + t.left, e.left + e.width - t.right];
-}), Mxe = $([
- sH,
- GH,
- Axe,
- pH,
- fH,
+}), Jxe = $([
+ vH,
+ nU,
+ Kxe,
+ wH,
+ CH,
(e, t, n) => n
], (e, t, n, r, i, a) => {
var { padding: o } = i;
return a ? [r.height - o.bottom, o.top] : t === "horizontal" ? [e.top + e.height - n.bottom, e.top + n.top] : [e.top + n.top, e.top + e.height - n.bottom];
}), aQ = (e, t, n, r) => {
switch (t) {
- case "xAxis": return jxe(e, n, r);
- case "yAxis": return Mxe(e, n, r);
+ case "xAxis": return qxe(e, n, r);
+ case "yAxis": return Jxe(e, n, r);
case "zAxis": return mZ(e, n)?.range;
case "angleAxis": return Mq(e);
case "radiusAxis": return Nq(e, n);
@@ -57384,67 +57824,67 @@ var XZ = (e, t) => {
}, oQ = $([hZ, aQ], bq), sQ = $([
hZ,
eQ,
- $([eQ, Exe], Gq),
+ $([eQ, Hxe], Gq),
oQ
], nZ), cQ = (e, t, n, r) => {
if (n != null && n.dataKey != null) {
var { type: i, scale: a } = n;
- if (wV(e, r) && (i === "number" || a !== "auto")) return t.map((e) => e.value);
+ if (FV(e, r) && (i === "number" || a !== "auto")) return t.map((e) => e.value);
}
}, lQ = $([
- GH,
+ nU,
OZ,
gZ,
Fq
], cQ), uQ = $([sQ], Wq);
-$([sQ], Zbe), $([sQ, sxe], iZ), $([
+$([sQ], pxe), $([sQ, Cxe], iZ), $([
xZ,
VZ,
Fq
-], fxe);
+], Oxe);
function dQ(e, t) {
return e.id < t.id ? -1 : +(e.id > t.id);
}
-var fQ = (e, t) => t, pQ = (e, t, n) => n, Nxe = $(JV, fQ, pQ, (e, t, n) => e.filter((e) => e.orientation === t).filter((e) => e.mirror === n).sort(dQ)), Pxe = $(YV, fQ, pQ, (e, t, n) => e.filter((e) => e.orientation === t).filter((e) => e.mirror === n).sort(dQ)), mQ = (e, t) => ({
+var fQ = (e, t) => t, pQ = (e, t, n) => n, Yxe = $(aH, fQ, pQ, (e, t, n) => e.filter((e) => e.orientation === t).filter((e) => e.mirror === n).sort(dQ)), Xxe = $(oH, fQ, pQ, (e, t, n) => e.filter((e) => e.orientation === t).filter((e) => e.mirror === n).sort(dQ)), mQ = (e, t) => ({
width: e.width,
height: t.height
-}), Fxe = (e, t) => ({
+}), Zxe = (e, t) => ({
width: typeof t.width == "number" ? t.width : 60,
height: e.height
-}), hQ = $(sH, uZ, mQ), Ixe = (e, t, n) => {
+}), hQ = $(vH, uZ, mQ), Qxe = (e, t, n) => {
switch (t) {
case "top": return e.top;
case "bottom": return n - e.bottom;
default: return 0;
}
-}, Lxe = (e, t, n) => {
+}, $xe = (e, t, n) => {
switch (t) {
case "left": return e.left;
case "right": return n - e.right;
default: return 0;
}
-}, Rxe = $(GV, sH, Nxe, fQ, pQ, (e, t, n, r, i) => {
+}, eSe = $(nH, vH, Yxe, fQ, pQ, (e, t, n, r, i) => {
var a = {}, o;
return n.forEach((n) => {
var s = mQ(t, n);
- o ??= Ixe(t, r, e);
+ o ??= Qxe(t, r, e);
var c = r === "top" && !i || r === "bottom" && i;
a[n.id] = o - Number(c) * s.height, o += (c ? -1 : 1) * s.height;
}), a;
-}), zxe = $(WV, sH, Pxe, fQ, pQ, (e, t, n, r, i) => {
+}), tSe = $(tH, vH, Xxe, fQ, pQ, (e, t, n, r, i) => {
var a = {}, o;
return n.forEach((n) => {
- var s = Fxe(t, n);
- o ??= Lxe(t, r, e);
+ var s = Zxe(t, n);
+ o ??= $xe(t, r, e);
var c = r === "left" && !i || r === "right" && i;
a[n.id] = o - Number(c) * s.width, o += (c ? -1 : 1) * s.width;
}), a;
-}), Bxe = $([
- sH,
+}), nSe = $([
+ vH,
uZ,
(e, t) => {
var n = uZ(e, t);
- if (n != null) return Rxe(e, n.orientation, n.mirror);
+ if (n != null) return eSe(e, n.orientation, n.mirror);
},
(e, t) => t
], (e, t, n, r) => {
@@ -57458,12 +57898,12 @@ var fQ = (e, t) => t, pQ = (e, t, n) => n, Nxe = $(JV, fQ, pQ, (e, t, n) => e.fi
y: i
};
}
-}), Vxe = $([
- sH,
+}), rSe = $([
+ vH,
pZ,
(e, t) => {
var n = pZ(e, t);
- if (n != null) return zxe(e, n.orientation, n.mirror);
+ if (n != null) return tSe(e, n.orientation, n.mirror);
},
(e, t) => t
], (e, t, n, r) => {
@@ -57477,7 +57917,7 @@ var fQ = (e, t) => t, pQ = (e, t, n) => n, Nxe = $(JV, fQ, pQ, (e, t, n) => e.fi
y: e.top
};
}
-}), gQ = $(sH, pZ, (e, t) => ({
+}), gQ = $(vH, pZ, (e, t) => ({
width: typeof t.width == "number" ? t.width : 60,
height: e.height
})), _Q = (e, t, n) => {
@@ -57488,17 +57928,17 @@ var fQ = (e, t) => t, pQ = (e, t, n) => n, Nxe = $(JV, fQ, pQ, (e, t, n) => e.fi
}
}, vQ = (e, t, n, r) => {
if (n != null) {
- var { allowDuplicatedCategory: i, type: a, dataKey: o } = n, s = wV(e, r), c = t.map((e) => e.value);
- if (o && s && a === "category" && i && fR(c)) return c;
+ var { allowDuplicatedCategory: i, type: a, dataKey: o } = n, s = FV(e, r), c = t.map((e) => e.value);
+ if (o && s && a === "category" && i && yR(c)) return c;
}
}, yQ = $([
- GH,
+ nU,
OZ,
hZ,
Fq
], vQ), bQ = $([
- GH,
- nxe,
+ nU,
+ vxe,
eQ,
uQ,
yQ,
@@ -57508,7 +57948,7 @@ var fQ = (e, t) => t, pQ = (e, t, n) => n, Nxe = $(JV, fQ, pQ, (e, t, n) => e.fi
Fq
], (e, t, n, r, i, a, o, s, c) => {
if (t != null) {
- var l = wV(e, c);
+ var l = FV(e, c);
return {
angle: t.angle,
interval: t.interval,
@@ -57532,45 +57972,45 @@ var fQ = (e, t) => t, pQ = (e, t, n) => n, Nxe = $(JV, fQ, pQ, (e, t, n) => e.fi
}
}), xQ = (e, t, n, r, i, a, o, s, c) => {
if (t != null && r != null) {
- var l = wV(e, c), { type: u, ticks: d, tickCount: f } = t, p = n === "scaleBand" && typeof r.bandwidth == "function" ? r.bandwidth() / 2 : 2, m = u === "category" && r.bandwidth ? r.bandwidth() / p : 0;
- m = c === "angleAxis" && a != null && a.length >= 2 ? oR(a[0] - a[1]) * 2 * m : m;
+ var l = FV(e, c), { type: u, ticks: d, tickCount: f } = t, p = n === "scaleBand" && typeof r.bandwidth == "function" ? r.bandwidth() / 2 : 2, m = u === "category" && r.bandwidth ? r.bandwidth() / p : 0;
+ m = c === "angleAxis" && a != null && a.length >= 2 ? pR(a[0] - a[1]) * 2 * m : m;
var h = d || i;
return h ? h.map((e, t) => {
var n = o ? o.indexOf(e) : e, i = r.map(n);
- return hV(i) ? {
+ return EV(i) ? {
index: t,
coordinate: i + m,
value: e,
offset: m
} : null;
- }).filter(_R) : l && s ? s.map((e, t) => {
+ }).filter(wR) : l && s ? s.map((e, t) => {
var n = r.map(e);
- return hV(n) ? {
+ return EV(n) ? {
coordinate: n + m,
value: e,
index: t,
offset: m
} : null;
- }).filter(_R) : r.ticks ? r.ticks(f).map((e, t) => {
+ }).filter(wR) : r.ticks ? r.ticks(f).map((e, t) => {
var n = r.map(e);
- return hV(n) ? {
+ return EV(n) ? {
coordinate: n + m,
value: e,
index: t,
offset: m
} : null;
- }).filter(_R) : r.domain().map((e, t) => {
+ }).filter(wR) : r.domain().map((e, t) => {
var n = r.map(e);
- return hV(n) ? {
+ return EV(n) ? {
coordinate: n + m,
value: o ? o[e] : e,
index: t,
offset: m
} : null;
- }).filter(_R);
+ }).filter(wR);
}
}, SQ = $([
- GH,
+ nU,
gZ,
eQ,
uQ,
@@ -57581,35 +58021,35 @@ var fQ = (e, t) => t, pQ = (e, t, n) => n, Nxe = $(JV, fQ, pQ, (e, t, n) => e.fi
Fq
], xQ), CQ = (e, t, n, r, i, a, o) => {
if (t != null && n != null && r != null && r[0] !== r[1]) {
- var s = wV(e, o), { tickCount: c } = t, l = 0;
- return l = o === "angleAxis" && r?.length >= 2 ? oR(r[0] - r[1]) * 2 * l : l, s && a ? a.map((e, t) => {
+ var s = FV(e, o), { tickCount: c } = t, l = 0;
+ return l = o === "angleAxis" && r?.length >= 2 ? pR(r[0] - r[1]) * 2 * l : l, s && a ? a.map((e, t) => {
var r = n.map(e);
- return hV(r) ? {
+ return EV(r) ? {
coordinate: r + l,
value: e,
index: t,
offset: l
} : null;
- }).filter(_R) : n.ticks ? n.ticks(c).map((e, t) => {
+ }).filter(wR) : n.ticks ? n.ticks(c).map((e, t) => {
var r = n.map(e);
- return hV(r) ? {
+ return EV(r) ? {
coordinate: r + l,
value: e,
index: t,
offset: l
} : null;
- }).filter(_R) : n.domain().map((e, t) => {
+ }).filter(wR) : n.domain().map((e, t) => {
var r = n.map(e);
- return hV(r) ? {
+ return EV(r) ? {
coordinate: r + l,
value: i ? i[e] : e,
index: t,
offset: l
} : null;
- }).filter(_R);
+ }).filter(wR);
}
}, wQ = $([
- GH,
+ nU,
gZ,
uQ,
aQ,
@@ -57627,10 +58067,10 @@ $((e, t, n) => mZ(e, n), $([$([
], nZ)], Wq), (e, t) => {
if (e != null && t != null) return oZ(oZ({}, e), {}, { scale: t });
});
-var Hxe = $([
- GH,
- JV,
- YV
+var iSe = $([
+ nU,
+ aH,
+ oH
], (e, t, n) => {
switch (e) {
case "horizontal": return t.some((e) => e.reversed) ? "right-to-left" : "left-to-right";
@@ -57661,21 +58101,21 @@ function OQ(e, t, n) {
function kQ(e, t) {
return OQ(t, EQ(e), DQ(e));
}
-function Uxe(e) {
+function aSe(e) {
return Q((t) => kQ(t, e));
}
//#endregion
//#region node_modules/recharts/es6/state/selectors/combiners/combineActiveLabel.js
var AQ = (e, t) => {
var n, r = Number(t);
- if (!(sR(r) || t == null)) return r >= 0 ? e == null || (n = e[r]) == null ? void 0 : n.value : void 0;
-}, Wxe = (e) => e.tooltip.settings, jQ = {
+ if (!(mR(r) || t == null)) return r >= 0 ? e == null || (n = e[r]) == null ? void 0 : n.value : void 0;
+}, oSe = (e) => e.tooltip.settings, jQ = {
active: !1,
index: null,
dataKey: void 0,
graphicalItemId: void 0,
coordinate: void 0
-}, MQ = BB({
+}, MQ = qB({
name: "tooltip",
initialState: {
itemInteraction: {
@@ -57708,23 +58148,23 @@ var AQ = (e, t) => {
reducers: {
addTooltipEntrySettings: {
reducer(e, t) {
- e.tooltipItemPayloads.push(qU(t.payload));
+ e.tooltipItemPayloads.push(iW(t.payload));
},
- prepare: IB()
+ prepare: UB()
},
replaceTooltipEntrySettings: {
reducer(e, t) {
- var { prev: n, next: r } = t.payload, i = DB(e).tooltipItemPayloads.indexOf(qU(n));
- i > -1 && (e.tooltipItemPayloads[i] = qU(r));
+ var { prev: n, next: r } = t.payload, i = PB(e).tooltipItemPayloads.indexOf(iW(n));
+ i > -1 && (e.tooltipItemPayloads[i] = iW(r));
},
- prepare: IB()
+ prepare: UB()
},
removeTooltipEntrySettings: {
reducer(e, t) {
- var n = DB(e).tooltipItemPayloads.indexOf(qU(t.payload));
+ var n = PB(e).tooltipItemPayloads.indexOf(iW(t.payload));
n > -1 && e.tooltipItemPayloads.splice(n, 1);
},
- prepare: IB()
+ prepare: UB()
},
setTooltipSettingsState(e, t) {
e.settings = t.payload;
@@ -57754,7 +58194,7 @@ var AQ = (e, t) => {
e.keyboardInteraction.active = t.payload.active, e.keyboardInteraction.index = t.payload.activeIndex, e.keyboardInteraction.coordinate = t.payload.activeCoordinate;
}
}
-}), { addTooltipEntrySettings: Gxe, replaceTooltipEntrySettings: Kxe, removeTooltipEntrySettings: qxe, setTooltipSettingsState: Jxe, setActiveMouseOverItemIndex: NQ, mouseLeaveItem: Yxe, mouseLeaveChart: PQ, setActiveClickItemIndex: Xxe, setMouseOverAxisIndex: FQ, setMouseClickAxisIndex: Zxe, setSyncInteraction: IQ, setKeyboardInteraction: LQ } = MQ.actions, Qxe = MQ.reducer;
+}), { addTooltipEntrySettings: sSe, replaceTooltipEntrySettings: cSe, removeTooltipEntrySettings: lSe, setTooltipSettingsState: uSe, setActiveMouseOverItemIndex: NQ, mouseLeaveItem: dSe, mouseLeaveChart: PQ, setActiveClickItemIndex: fSe, setMouseOverAxisIndex: FQ, setMouseClickAxisIndex: pSe, setSyncInteraction: IQ, setKeyboardInteraction: LQ } = MQ.actions, mSe = MQ.reducer;
//#endregion
//#region node_modules/recharts/es6/state/selectors/combiners/combineTooltipInteractionState.js
function RQ(e, t) {
@@ -57771,26 +58211,26 @@ function zQ(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? RQ(Object(n), !0).forEach(function(t) {
- $xe(e, t, n[t]);
+ hSe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : RQ(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function $xe(e, t, n) {
- return (t = eSe(t)) in e ? Object.defineProperty(e, t, {
+function hSe(e, t, n) {
+ return (t = gSe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function eSe(e) {
- var t = tSe(e, "string");
+function gSe(e) {
+ var t = _Se(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function tSe(e, t) {
+function _Se(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -57800,21 +58240,21 @@ function tSe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function nSe(e, t, n) {
+function vSe(e, t, n) {
return t === "axis" ? n === "click" ? e.axisInteraction.click : e.axisInteraction.hover : n === "click" ? e.itemInteraction.click : e.itemInteraction.hover;
}
-function rSe(e) {
+function ySe(e) {
return e.index != null;
}
var BQ = (e, t, n, r) => {
if (t == null) return jQ;
- var i = nSe(e, t, n);
+ var i = vSe(e, t, n);
if (i == null) return jQ;
if (i.active) return i;
if (e.keyboardInteraction.active) return e.keyboardInteraction;
if (e.syncInteraction.active && e.syncInteraction.index != null) return e.syncInteraction;
var a = e.settings.active === !0;
- if (rSe(i)) {
+ if (ySe(i)) {
if (a) return zQ(zQ({}, i), {}, { active: !0 });
} else if (r != null) return {
active: !0,
@@ -57827,7 +58267,7 @@ var BQ = (e, t, n, r) => {
};
//#endregion
//#region node_modules/recharts/es6/state/selectors/combiners/combineActiveTooltipIndex.js
-function iSe(e) {
+function bSe(e) {
if (typeof e == "number") return Number.isFinite(e) ? e : void 0;
if (e instanceof Date) {
var t = e.valueOf();
@@ -57836,24 +58276,24 @@ function iSe(e) {
var n = Number(e);
return Number.isFinite(n) ? n : void 0;
}
-function aSe(e, t) {
- var n = iSe(e), r = t[0], i = t[1];
+function xSe(e, t) {
+ var n = bSe(e), r = t[0], i = t[1];
return n !== void 0 && n >= Math.min(r, i) && n <= Math.max(r, i);
}
-function oSe(e, t, n) {
+function SSe(e, t, n) {
if (n == null || t == null) return !0;
- var r = SV(e, t);
- return r == null || !YK(n) || aSe(r, n);
+ var r = NV(e, t);
+ return r == null || !YK(n) || xSe(r, n);
}
var VQ = (e, t, n, r) => {
var i = e?.index;
if (i == null) return null;
var a = Number(i);
- if (!hV(a)) return i;
+ if (!EV(a)) return i;
var o = 0, s = Infinity;
t.length > 0 && (s = t.length - 1);
var c = Math.max(o, Math.min(a, s)), l = t[c];
- return l == null || oSe(l, n, r) ? String(c) : null;
+ return l == null || SSe(l, n, r) ? String(c) : null;
}, HQ = (e, t, n, r, i, a, o) => {
if (a != null) {
var s = o[0]?.getPosition(a);
@@ -57897,26 +58337,26 @@ function qQ(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? KQ(Object(n), !0).forEach(function(t) {
- sSe(e, t, n[t]);
+ CSe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : KQ(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function sSe(e, t, n) {
- return (t = cSe(t)) in e ? Object.defineProperty(e, t, {
+function CSe(e, t, n) {
+ return (t = wSe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function cSe(e) {
- var t = lSe(e, "string");
+function wSe(e) {
+ var t = TSe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function lSe(e, t) {
+function TSe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -57926,57 +58366,57 @@ function lSe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function uSe(e) {
+function ESe(e) {
if (typeof e == "string" || typeof e == "number") return e;
}
-function dSe(e) {
+function DSe(e) {
if (typeof e == "string" || typeof e == "number" || typeof e == "boolean") return e;
}
-function fSe(e) {
+function OSe(e) {
if (typeof e == "string" || typeof e == "number") return e;
if (typeof e == "function") return (t) => e(t);
}
function JQ(e) {
if (typeof e == "string") return e;
}
-function pSe(e) {
+function kSe(e) {
if (!(typeof e != "object" || !e)) return {
- name: "name" in e ? uSe(e.name) : void 0,
- unit: "unit" in e ? dSe(e.unit) : void 0,
- dataKey: "dataKey" in e ? fSe(e.dataKey) : void 0,
+ name: "name" in e ? ESe(e.name) : void 0,
+ unit: "unit" in e ? DSe(e.unit) : void 0,
+ dataKey: "dataKey" in e ? OSe(e.dataKey) : void 0,
payload: "payload" in e ? e.payload : void 0,
color: "color" in e ? JQ(e.color) : void 0,
fill: "fill" in e ? JQ(e.fill) : void 0
};
}
-function mSe(e, t) {
+function ASe(e, t) {
return e ?? t;
}
var YQ = (e, t, n, r, i, a, o) => {
if (t != null && a != null) {
var { chartData: s, computedData: c, dataStartIndex: l, dataEndIndex: u } = n;
return e.reduce((e, n) => {
- var { dataDefinedOnItem: d, settings: f } = n, p = mSe(d, s), m = Array.isArray(p) ? mV(p, l, u) : p, h = f?.dataKey ?? r, g = f?.nameKey, _ = r && Array.isArray(m) && !Array.isArray(m[0]) && o === "axis" ? mR(m, r, i) : a(m, t, c, g);
+ var { dataDefinedOnItem: d, settings: f } = n, p = ASe(d, s), m = Array.isArray(p) ? TV(p, l, u) : p, h = f?.dataKey ?? r, g = f?.nameKey, _ = r && Array.isArray(m) && !Array.isArray(m[0]) && o === "axis" ? xR(m, r, i) : a(m, t, c, g);
return Array.isArray(_) ? _.forEach((t) => {
- var n = pSe(t), r = n?.name, i = n?.dataKey, a = n?.payload, o = qQ(qQ({}, f), {}, {
+ var n = kSe(t), r = n?.name, i = n?.dataKey, a = n?.payload, o = qQ(qQ({}, f), {}, {
name: r,
unit: n?.unit,
color: n?.color ?? f?.color,
fill: n?.fill ?? f?.fill
});
- e.push(BV({
+ e.push(ZV({
tooltipEntrySettings: o,
dataKey: i,
payload: a,
- value: SV(a, i),
+ value: NV(a, i),
name: r == null ? void 0 : String(r)
}));
- }) : e.push(BV({
+ }) : e.push(ZV({
tooltipEntrySettings: f,
dataKey: h,
payload: _,
- value: SV(_, h),
- name: SV(_, g) ?? f?.name
+ value: NV(_, h),
+ name: NV(_, g) ?? f?.name
})), e;
}, []);
}
@@ -57988,17 +58428,17 @@ var YQ = (e, t, n, r, i, a, o) => {
$([(e) => e.graphicalItems.cartesianItems, (e) => e.graphicalItems.polarItems], (e, t) => [...e, ...t]),
NZ,
$([Hq, Uq], vZ)
-], bZ, { memoizeOptions: { resultEqualityCheck: Vq } }), hSe = $([ZQ], (e) => e.filter(zq)), QQ = $([$([ZQ], wZ, { memoizeOptions: { resultEqualityCheck: Vq } }), GK], TZ), gSe = $([
- hSe,
+], bZ, { memoizeOptions: { resultEqualityCheck: Vq } }), jSe = $([ZQ], (e) => e.filter(zq)), QQ = $([$([ZQ], wZ, { memoizeOptions: { resultEqualityCheck: Vq } }), GK], TZ), MSe = $([
+ jSe,
GK,
NZ
], Rq), $Q = $([
QQ,
NZ,
ZQ
-], DZ), e$ = $([NZ], RZ), t$ = $([e$, $([NZ], (e) => e.allowDataOverflow)], ZK), _Se = $([
+], DZ), e$ = $([NZ], RZ), t$ = $([e$, $([NZ], (e) => e.allowDataOverflow)], ZK), NSe = $([
$([
- gSe,
+ MSe,
$([ZQ], (e) => e.filter(zq)),
dq,
fq
@@ -58006,23 +58446,23 @@ var YQ = (e, t, n, r, i, a, o) => {
GK,
Hq,
t$
-], LZ), vSe = $([
+], LZ), PSe = $([
QQ,
NZ,
$([ZQ], CZ),
VZ,
Hq
-], UZ, { memoizeOptions: { resultEqualityCheck: Bq } }), ySe = $([$([
+], UZ, { memoizeOptions: { resultEqualityCheck: Bq } }), FSe = $([$([
WZ,
Hq,
Uq
-], GZ), Hq], JZ), bSe = $([$([
+], GZ), Hq], JZ), ISe = $([$([
KZ,
Hq,
Uq
], GZ), Hq], YZ), n$ = $([
NZ,
- GH,
+ nU,
QQ,
$Q,
dq,
@@ -58031,21 +58471,21 @@ var YQ = (e, t, n, r, i, a, o) => {
NZ,
e$,
t$,
- _Se,
- vSe,
+ NSe,
+ PSe,
$([
- ySe,
+ FSe,
$([$([
qZ,
Hq,
Uq
], GZ), Hq], XZ),
- bSe
+ ISe
], HZ),
- GH,
+ nU,
Hq
], ZZ)
-], QZ), xSe = $([
+], QZ), LSe = $([
NZ,
n$,
$([
@@ -58057,22 +58497,22 @@ var YQ = (e, t, n, r, i, a, o) => {
], rQ), r$ = (e) => aQ(e, Hq(e), Uq(e), !1), i$ = $([NZ, r$], bq), a$ = $([$([
NZ,
XQ,
- xSe,
+ LSe,
i$
], nZ)], Wq), o$ = $([
- GH,
+ nU,
NZ,
XQ,
a$,
r$,
$([
- GH,
+ nU,
$Q,
NZ,
Hq
], vQ),
$([
- GH,
+ nU,
$Q,
NZ,
Hq
@@ -58080,32 +58520,32 @@ var YQ = (e, t, n, r, i, a, o) => {
Hq
], (e, t, n, r, i, a, o, s) => {
if (t) {
- var { type: c } = t, l = wV(e, s);
+ var { type: c } = t, l = FV(e, s);
if (r) {
var u = n === "scaleBand" && r.bandwidth ? r.bandwidth() / 2 : 2, d = c === "category" && r.bandwidth ? r.bandwidth() / u : 0;
- return d = s === "angleAxis" && i != null && i?.length >= 2 ? oR(i[0] - i[1]) * 2 * d : d, l && o ? o.map((e, t) => {
+ return d = s === "angleAxis" && i != null && i?.length >= 2 ? pR(i[0] - i[1]) * 2 * d : d, l && o ? o.map((e, t) => {
var n = r.map(e);
- return hV(n) ? {
+ return EV(n) ? {
coordinate: n + d,
value: e,
index: t,
offset: d
} : null;
- }).filter(_R) : r.domain().map((e, t) => {
+ }).filter(wR) : r.domain().map((e, t) => {
var n = r.map(e);
- return hV(n) ? {
+ return EV(n) ? {
coordinate: n + d,
value: a ? a[e] : e,
index: t,
offset: d
} : null;
- }).filter(_R);
+ }).filter(wR);
}
}
}), s$ = $([
EQ,
DQ,
- Wxe
+ oSe
], (e, t, n) => OQ(n.shared, e, t)), c$ = (e) => e.tooltip.settings.trigger, l$ = (e) => e.tooltip.settings.defaultIndex, u$ = $([
GQ,
s$,
@@ -58118,22 +58558,22 @@ var YQ = (e, t, n, r, i, a, o) => {
n$
], VQ), f$ = $([o$, d$], AQ), p$ = $([u$], (e) => {
if (e) return e.dataKey;
-}), SSe = $([u$], (e) => {
+}), RSe = $([u$], (e) => {
if (e) return e.graphicalItemId;
}), m$ = $([
GQ,
s$,
c$,
l$
-], UQ), CSe = $([u$, $([
- WV,
- GV,
- GH,
- sH,
+], UQ), zSe = $([u$, $([
+ tH,
+ nH,
+ nU,
+ vH,
o$,
l$,
m$
-], HQ)], (e, t) => e != null && e.coordinate ? e.coordinate : t), wSe = $([u$], (e) => e?.active ?? !1), TSe = $([$([
+], HQ)], (e, t) => e != null && e.coordinate ? e.coordinate : t), BSe = $([u$], (e) => e?.active ?? !1), VSe = $([$([
m$,
d$,
GK,
@@ -58163,26 +58603,26 @@ function g$(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? h$(Object(n), !0).forEach(function(t) {
- ESe(e, t, n[t]);
+ HSe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : h$(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function ESe(e, t, n) {
- return (t = DSe(t)) in e ? Object.defineProperty(e, t, {
+function HSe(e, t, n) {
+ return (t = USe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function DSe(e) {
- var t = OSe(e, "string");
+function USe(e) {
+ var t = WSe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function OSe(e, t) {
+function WSe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -58192,9 +58632,9 @@ function OSe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var kSe = () => Q(NZ), ASe = () => {
- var e = kSe(), t = Q(o$), n = Q(a$);
- return zV(!e || !n ? void 0 : g$(g$({}, e), {}, { scale: n }), t);
+var GSe = () => Q(NZ), KSe = () => {
+ var e = GSe(), t = Q(o$), n = Q(a$);
+ return XV(!e || !n ? void 0 : g$(g$({}, e), {}, { scale: n }), t);
};
//#endregion
//#region node_modules/recharts/es6/util/getActiveCoordinate.js
@@ -58212,26 +58652,26 @@ function v$(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? _$(Object(n), !0).forEach(function(t) {
- jSe(e, t, n[t]);
+ qSe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : _$(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function jSe(e, t, n) {
- return (t = MSe(t)) in e ? Object.defineProperty(e, t, {
+function qSe(e, t, n) {
+ return (t = JSe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function MSe(e) {
- var t = NSe(e, "string");
+function JSe(e) {
+ var t = YSe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function NSe(e, t) {
+function YSe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -58241,7 +58681,7 @@ function NSe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var PSe = (e, t, n, r) => {
+var XSe = (e, t, n, r) => {
var i = t.find((e) => e && e.index === n);
if (i) {
if (e === "horizontal") return {
@@ -58257,7 +58697,7 @@ var PSe = (e, t, n, r) => {
x: 0,
y: 0
};
-}, FSe = (e, t, n, r) => {
+}, ZSe = (e, t, n, r) => {
var i = t.find((e) => e && e.index === n);
if (i) {
if (e === "centric") {
@@ -58287,7 +58727,7 @@ var PSe = (e, t, n, r) => {
y: 0
};
};
-function ISe(e, t) {
+function QSe(e, t) {
var { relativeX: n, relativeY: r } = e;
return n >= t.left && n <= t.left + t.width && r >= t.top && r <= t.top + t.height;
}
@@ -58297,9 +58737,9 @@ var y$ = (e, t, n, r, i) => {
if (r === "angleAxis" && i != null && Math.abs(Math.abs(i[1] - i[0]) - 360) <= 1e-6) for (var o = 0; o < a; o++) {
var s = o > 0 ? n[o - 1]?.coordinate : n[a - 1]?.coordinate, c = n[o]?.coordinate, l = o >= a - 1 ? n[0]?.coordinate : n[o + 1]?.coordinate, u = void 0;
if (s != null && c != null && l != null) {
- if (oR(c - s) !== oR(l - c)) {
+ if (pR(c - s) !== pR(l - c)) {
var d = [];
- if (oR(l - c) === oR(i[1] - i[0])) {
+ if (pR(l - c) === pR(i[1] - i[0])) {
u = l;
var f = c + i[1] - i[0];
d[0] = Math.min(f, (f + s) / 2), d[1] = Math.max(f, (f + s) / 2);
@@ -58324,7 +58764,7 @@ var y$ = (e, t, n, r, i) => {
}
}
return -1;
-}, b$ = () => Q(pq), x$ = (e, t) => t, S$ = (e, t, n) => n, C$ = (e, t, n, r) => r, LSe = $(o$, (e) => lz(e, (e) => e.coordinate)), w$ = $([
+}, b$ = () => Q(pq), x$ = (e, t) => t, S$ = (e, t, n) => n, C$ = (e, t, n, r) => r, $Se = $(o$, (e) => gz(e, (e) => e.coordinate)), w$ = $([
GQ,
x$,
S$,
@@ -58334,7 +58774,7 @@ var y$ = (e, t, n, r, i) => {
QQ,
PZ,
n$
-], VQ), RSe = (e, t, n) => {
+], VQ), eCe = (e, t, n) => {
if (t != null) {
var r = GQ(e);
return t === "axis" ? n === "hover" ? r.axisInteraction.hover.dataKey : r.axisInteraction.click.dataKey : n === "hover" ? r.itemInteraction.hover.dataKey : r.itemInteraction.click.dataKey;
@@ -58345,14 +58785,14 @@ var y$ = (e, t, n, r, i) => {
S$,
C$
], UQ), D$ = $([
- WV,
- GV,
- GH,
- sH,
+ tH,
+ nH,
+ nU,
+ vH,
o$,
C$,
E$
-], HQ), zSe = $([w$, D$], (e, t) => e.coordinate ?? t), O$ = $([o$, T$], AQ), BSe = $([
+], HQ), tCe = $([w$, D$], (e, t) => e.coordinate ?? t), O$ = $([o$, T$], AQ), nCe = $([
E$,
T$,
GK,
@@ -58360,39 +58800,39 @@ var y$ = (e, t, n, r, i) => {
O$,
WQ,
x$
-], YQ), VSe = $([w$, T$], (e, t) => ({
+], YQ), rCe = $([w$, T$], (e, t) => ({
isActive: e.active && t != null,
activeIndex: t
-})), HSe = (e, t, n, r, i, a, o) => {
- if (!(!e || !n || !r || !i) && ISe(e, o)) {
- var s = y$(HV(e, t), a, i, n, r), c = PSe(t, i, s, e);
+})), iCe = (e, t, n, r, i, a, o) => {
+ if (!(!e || !n || !r || !i) && QSe(e, o)) {
+ var s = y$($V(e, t), a, i, n, r), c = XSe(t, i, s, e);
return {
activeIndex: String(s),
activeCoordinate: c
};
}
-}, USe = (e, t, n, r, i, a, o) => {
+}, aCe = (e, t, n, r, i, a, o) => {
if (!(!e || !r || !i || !a || !n)) {
- var s = rve(e, n);
+ var s = yve(e, n);
if (s) {
- var c = y$(UV(s, t), o, a, r, i), l = FSe(t, a, c, s);
+ var c = y$(eH(s, t), o, a, r, i), l = ZSe(t, a, c, s);
return {
activeIndex: String(c),
activeCoordinate: l
};
}
}
-}, WSe = (e, t, n, r, i, a, o, s) => {
- if (!(!e || !t || !r || !i || !a)) return t === "horizontal" || t === "vertical" ? HSe(e, t, r, i, a, o, s) : USe(e, t, n, r, i, a, o);
-}, GSe = $((e) => e.zIndex.zIndexMap, (e, t) => t, (e, t, n) => n, (e, t, n) => {
+}, oCe = (e, t, n, r, i, a, o, s) => {
+ if (!(!e || !t || !r || !i || !a)) return t === "horizontal" || t === "vertical" ? iCe(e, t, r, i, a, o, s) : aCe(e, t, n, r, i, a, o);
+}, sCe = $((e) => e.zIndex.zIndexMap, (e, t) => t, (e, t, n) => n, (e, t, n) => {
if (t != null) {
var r = e[t];
if (r != null) return n ? r.panoramaElement : r.element;
}
-}), KSe = $((e) => e.zIndex.zIndexMap, (e) => {
+}), cCe = $((e) => e.zIndex.zIndexMap, (e) => {
var t = Object.keys(e).map((e) => parseInt(e, 10)).concat(Object.values(_q));
return Array.from(new Set(t)).sort((e, t) => e - t);
-}, { memoizeOptions: { resultEqualityCheck: wve } });
+}, { memoizeOptions: { resultEqualityCheck: Bve } });
//#endregion
//#region node_modules/recharts/es6/state/zIndexSlice.js
function k$(e, t) {
@@ -58409,26 +58849,26 @@ function A$(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? k$(Object(n), !0).forEach(function(t) {
- qSe(e, t, n[t]);
+ lCe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : k$(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function qSe(e, t, n) {
- return (t = JSe(t)) in e ? Object.defineProperty(e, t, {
+function lCe(e, t, n) {
+ return (t = uCe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function JSe(e) {
- var t = YSe(e, "string");
+function uCe(e) {
+ var t = dCe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function YSe(e, t) {
+function dCe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -58438,17 +58878,17 @@ function YSe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var XSe = { zIndexMap: Object.values(_q).reduce((e, t) => A$(A$({}, e), {}, { [t]: {
+var fCe = { zIndexMap: Object.values(_q).reduce((e, t) => A$(A$({}, e), {}, { [t]: {
element: void 0,
panoramaElement: void 0,
consumers: 0
-} }), {}) }, ZSe = new Set(Object.values(_q));
-function QSe(e) {
- return ZSe.has(e);
+} }), {}) }, pCe = new Set(Object.values(_q));
+function mCe(e) {
+ return pCe.has(e);
}
-var j$ = BB({
+var j$ = qB({
name: "zIndex",
- initialState: XSe,
+ initialState: fCe,
reducers: {
registerZIndexPortal: {
reducer: (e, t) => {
@@ -58459,47 +58899,47 @@ var j$ = BB({
panoramaElement: void 0
};
},
- prepare: IB()
+ prepare: UB()
},
unregisterZIndexPortal: {
reducer: (e, t) => {
var { zIndex: n } = t.payload;
- e.zIndexMap[n] && (--e.zIndexMap[n].consumers, e.zIndexMap[n].consumers <= 0 && !QSe(n) && delete e.zIndexMap[n]);
+ e.zIndexMap[n] && (--e.zIndexMap[n].consumers, e.zIndexMap[n].consumers <= 0 && !mCe(n) && delete e.zIndexMap[n]);
},
- prepare: IB()
+ prepare: UB()
},
registerZIndexPortalElement: {
reducer: (e, t) => {
var { zIndex: n, element: r, isPanorama: i } = t.payload;
- e.zIndexMap[n] ? i ? e.zIndexMap[n].panoramaElement = qU(r) : e.zIndexMap[n].element = qU(r) : e.zIndexMap[n] = {
+ e.zIndexMap[n] ? i ? e.zIndexMap[n].panoramaElement = iW(r) : e.zIndexMap[n].element = iW(r) : e.zIndexMap[n] = {
consumers: 0,
- element: i ? void 0 : qU(r),
- panoramaElement: i ? qU(r) : void 0
+ element: i ? void 0 : iW(r),
+ panoramaElement: i ? iW(r) : void 0
};
},
- prepare: IB()
+ prepare: UB()
},
unregisterZIndexPortalElement: {
reducer: (e, t) => {
var { zIndex: n } = t.payload;
e.zIndexMap[n] && (t.payload.isPanorama ? e.zIndexMap[n].panoramaElement = void 0 : e.zIndexMap[n].element = void 0);
},
- prepare: IB()
+ prepare: UB()
}
}
-}), { registerZIndexPortal: $Se, unregisterZIndexPortal: eCe, registerZIndexPortalElement: tCe, unregisterZIndexPortalElement: nCe } = j$.actions, rCe = j$.reducer;
+}), { registerZIndexPortal: hCe, unregisterZIndexPortal: gCe, registerZIndexPortalElement: _Ce, unregisterZIndexPortalElement: vCe } = j$.actions, yCe = j$.reducer;
//#endregion
//#region node_modules/recharts/es6/zIndex/ZIndexLayer.js
function M$(e) {
- var { zIndex: t, children: n } = e, r = XH() && t !== void 0 && t !== 0, i = dH(), a = tz();
- (0, R.useLayoutEffect)(() => r ? (a($Se({ zIndex: t })), () => {
- a(eCe({ zIndex: t }));
- }) : vR, [
+ var { zIndex: t, children: n } = e, r = sU() && t !== void 0 && t !== 0, i = SH(), a = cz();
+ (0, R.useLayoutEffect)(() => r ? (a(hCe({ zIndex: t })), () => {
+ a(gCe({ zIndex: t }));
+ }) : TR, [
a,
t,
r
]);
- var o = Q((e) => GSe(e, t, i));
+ var o = Q((e) => sCe(e, t, i));
return r ? o ? /*#__PURE__*/ (0, be.createPortal)(n, o) : null : n;
}
//#endregion
@@ -58527,26 +58967,26 @@ function F$(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? P$(Object(n), !0).forEach(function(t) {
- iCe(e, t, n[t]);
+ bCe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : P$(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function iCe(e, t, n) {
- return (t = aCe(t)) in e ? Object.defineProperty(e, t, {
+function bCe(e, t, n) {
+ return (t = xCe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function aCe(e) {
- var t = oCe(e, "string");
+function xCe(e) {
+ var t = SCe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function oCe(e, t) {
+function SCe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -58556,17 +58996,17 @@ function oCe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function sCe(e) {
+function CCe(e) {
var { cursor: t, cursorComp: n, cursorProps: r } = e;
return /*#__PURE__*/ (0, R.isValidElement)(t) ? /*#__PURE__*/ (0, R.cloneElement)(t, r) : /*#__PURE__*/ (0, R.createElement)(n, r);
}
-function cCe(e) {
+function wCe(e) {
var { coordinate: t, payload: n, index: r, offset: i, tooltipAxisBandSize: a, layout: o, cursor: s, tooltipEventType: c, chartName: l } = e, u = t, d = n, f = r;
if (!s || !u || l !== "ScatterChart" && c !== "axis") return null;
var p, m, h;
- if (l === "ScatterChart") p = u, m = IG, h = _q.cursorLine;
- else if (l === "BarChart") p = LG(o, u, i, a), m = jK, h = _q.cursorRectangle;
- else if (o === "radial" && wR(u)) {
+ if (l === "ScatterChart") p = u, m = qG, h = _q.cursorLine;
+ else if (l === "BarChart") p = JG(o, u, i, a), m = jK, h = _q.cursorRectangle;
+ else if (o === "radial" && jR(u)) {
var { cx: g, cy: _, radius: v, startAngle: y, endAngle: b } = LK(u);
p = {
cx: g,
@@ -58576,24 +59016,24 @@ function cCe(e) {
innerRadius: v,
outerRadius: v
}, m = HK, h = _q.cursorLine;
- } else p = { points: mve(o, u, i) }, m = TG, h = _q.cursorLine;
+ } else p = { points: Ave(o, u, i) }, m = IG, h = _q.cursorLine;
var x = typeof s == "object" && "className" in s ? s.className : void 0, S = F$(F$(F$(F$({
stroke: "#ccc",
pointerEvents: "none"
- }, i), p), $I(s)), {}, {
+ }, i), p), oL(s)), {}, {
payload: d,
payloadIndex: f,
className: Ql("recharts-tooltip-cursor", x)
});
- return /*#__PURE__*/ R.createElement(M$, { zIndex: e.zIndex ?? h }, /*#__PURE__*/ R.createElement(sCe, {
+ return /*#__PURE__*/ R.createElement(M$, { zIndex: e.zIndex ?? h }, /*#__PURE__*/ R.createElement(CCe, {
cursor: s,
cursorComp: m,
cursorProps: S
}));
}
-function lCe(e) {
- var t = ASe(), n = VH(), r = KH(), i = b$();
- return t == null || n == null || r == null || i == null ? null : /*#__PURE__*/ R.createElement(cCe, N$({}, e, {
+function TCe(e) {
+ var t = KSe(), n = QH(), r = rU(), i = b$();
+ return t == null || n == null || r == null || i == null ? null : /*#__PURE__*/ R.createElement(wCe, N$({}, e, {
offset: n,
layout: r,
tooltipAxisBandSize: t,
@@ -58602,7 +59042,7 @@ function lCe(e) {
}
//#endregion
//#region node_modules/recharts/es6/context/tooltipPortalContext.js
-var I$ = /*#__PURE__*/ (0, R.createContext)(null), uCe = () => (0, R.useContext)(I$), dCe = (/* @__PURE__ */ L((/* @__PURE__ */ ce(((e, t) => {
+var I$ = /*#__PURE__*/ (0, R.createContext)(null), ECe = () => (0, R.useContext)(I$), DCe = (/* @__PURE__ */ L((/* @__PURE__ */ ce(((e, t) => {
var n = Object.prototype.hasOwnProperty, r = "~";
function i() {}
Object.create && (i.prototype = Object.create(null), new i().__proto__ || (r = !1));
@@ -58689,12 +59129,12 @@ var I$ = /*#__PURE__*/ (0, R.createContext)(null), uCe = () => (0, R.useContext)
var t;
return e ? (t = r ? r + e : e, this._events[t] && s(this, t)) : (this._events = new i(), this._eventsCount = 0), this;
}, c.prototype.off = c.prototype.removeListener, c.prototype.addListener = c.prototype.on, c.prefixed = r, c.EventEmitter = c, t !== void 0 && (t.exports = c);
-})))(), 1)).default, L$ = new dCe(), R$ = "recharts.syncEvent.tooltip", z$ = "recharts.syncEvent.brush", B$ = (e, t) => {
+})))(), 1)).default, L$ = new DCe(), R$ = "recharts.syncEvent.tooltip", z$ = "recharts.syncEvent.brush", B$ = (e, t) => {
if (t && Array.isArray(e)) {
var n = Number.parseInt(t, 10);
- if (!sR(n)) return e[n];
+ if (!mR(n)) return e[n];
}
-}, V$ = BB({
+}, V$ = qB({
name: "options",
initialState: {
chartName: "",
@@ -58705,13 +59145,13 @@ var I$ = /*#__PURE__*/ (0, R.createContext)(null), uCe = () => (0, R.useContext)
reducers: { createEventEmitter: (e) => {
e.eventEmitter ??= Symbol("rechartsEventEmitter");
} }
-}), fCe = V$.reducer, { createEventEmitter: pCe } = V$.actions;
+}), OCe = V$.reducer, { createEventEmitter: kCe } = V$.actions;
//#endregion
//#region node_modules/recharts/es6/synchronisation/syncSelectors.js
-function mCe(e) {
+function ACe(e) {
return e.tooltip.syncInteraction;
}
-var H$ = BB({
+var H$ = qB({
name: "chartData",
initialState: {
chartData: void 0,
@@ -58721,7 +59161,7 @@ var H$ = BB({
},
reducers: {
setChartData(e, t) {
- if (e.chartData = qU(t.payload), t.payload == null) {
+ if (e.chartData = iW(t.payload), t.payload == null) {
e.dataStartIndex = 0, e.dataEndIndex = 0;
return;
}
@@ -58735,7 +59175,7 @@ var H$ = BB({
n != null && (e.dataStartIndex = n), r != null && (e.dataEndIndex = r);
}
}
-}), { setChartData: U$, setDataStartEndIndexes: hCe, setComputedData: gCe } = H$.actions, _Ce = H$.reducer, vCe = ["x", "y"];
+}), { setChartData: U$, setDataStartEndIndexes: jCe, setComputedData: MCe } = H$.actions, NCe = H$.reducer, PCe = ["x", "y"];
function W$(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
@@ -58750,26 +59190,26 @@ function G$(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? W$(Object(n), !0).forEach(function(t) {
- yCe(e, t, n[t]);
+ FCe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : W$(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function yCe(e, t, n) {
- return (t = bCe(t)) in e ? Object.defineProperty(e, t, {
+function FCe(e, t, n) {
+ return (t = ICe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function bCe(e) {
- var t = xCe(e, "string");
+function ICe(e) {
+ var t = LCe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function xCe(e, t) {
+function LCe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -58779,16 +59219,16 @@ function xCe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function SCe(e, t) {
+function RCe(e, t) {
if (e == null) return {};
- var n, r, i = CCe(e, t);
+ var n, r, i = zCe(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function CCe(e, t) {
+function zCe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -58797,16 +59237,16 @@ function CCe(e, t) {
}
return n;
}
-function wCe() {
- var e = Q(mq), t = Q(gq), n = tz(), r = Q(hq), i = Q(o$), a = KH(), o = zH(), s = Q((e) => e.rootProps.className);
+function BCe() {
+ var e = Q(mq), t = Q(gq), n = cz(), r = Q(hq), i = Q(o$), a = rU(), o = XH(), s = Q((e) => e.rootProps.className);
(0, R.useEffect)(() => {
- if (e == null) return vR;
+ if (e == null) return TR;
var s = (s, c, l) => {
if (t !== l && e === s) {
if (r === "index") {
var u;
if (o && c != null && (u = c.payload) != null && u.coordinate && c.payload.sourceViewBox) {
- var d = c.payload.coordinate, { x: f, y: p } = d, m = SCe(d, vCe), { x: h, y: g, width: _, height: v } = c.payload.sourceViewBox, y = G$(G$({}, m), {}, {
+ var d = c.payload.coordinate, { x: f, y: p } = d, m = RCe(d, PCe), { x: h, y: g, width: _, height: v } = c.payload.sourceViewBox, y = G$(G$({}, m), {}, {
x: o.x + (_ ? (f - h) / _ : 0) * o.width,
y: o.y + (v ? (p - g) / v : 0) * o.height
});
@@ -58867,12 +59307,12 @@ function wCe() {
o
]);
}
-function TCe() {
- var e = Q(mq), t = Q(gq), n = tz();
+function VCe() {
+ var e = Q(mq), t = Q(gq), n = cz();
(0, R.useEffect)(() => {
- if (e == null) return vR;
+ if (e == null) return TR;
var r = (r, i, a) => {
- t !== a && e === r && n(hCe(i));
+ t !== a && e === r && n(jCe(i));
};
return L$.on(z$, r), () => {
L$.off(z$, r);
@@ -58883,14 +59323,14 @@ function TCe() {
e
]);
}
-function ECe() {
- var e = tz();
+function HCe() {
+ var e = cz();
(0, R.useEffect)(() => {
- e(pCe());
- }, [e]), wCe(), TCe();
+ e(kCe());
+ }, [e]), BCe(), VCe();
}
-function DCe(e, t, n, r, i, a) {
- var o = Q((n) => RSe(n, e, t)), s = Q(SSe), c = Q(gq), l = Q(mq), u = Q(hq), d = Q(mCe)?.active, f = zH();
+function UCe(e, t, n, r, i, a) {
+ var o = Q((n) => eCe(n, e, t)), s = Q(RSe), c = Q(gq), l = Q(mq), u = Q(hq), d = Q(ACe)?.active, f = XH();
(0, R.useEffect)(() => {
if (!d && l != null && c != null) {
var e = IQ({
@@ -58934,26 +59374,26 @@ function q$(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? K$(Object(n), !0).forEach(function(t) {
- OCe(e, t, n[t]);
+ WCe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : K$(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function OCe(e, t, n) {
- return (t = kCe(t)) in e ? Object.defineProperty(e, t, {
+function WCe(e, t, n) {
+ return (t = GCe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function kCe(e) {
- var t = ACe(e, "string");
+function GCe(e) {
+ var t = KCe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function ACe(e, t) {
+function KCe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -58963,13 +59403,13 @@ function ACe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function jCe(e) {
+function qCe(e) {
return e.dataKey;
}
-function MCe(e, t) {
- return /*#__PURE__*/ R.isValidElement(e) ? /*#__PURE__*/ R.cloneElement(e, t) : typeof e == "function" ? /*#__PURE__*/ R.createElement(e, t) : /*#__PURE__*/ R.createElement(qW, t);
+function JCe(e, t) {
+ return /*#__PURE__*/ R.isValidElement(e) ? /*#__PURE__*/ R.cloneElement(e, t) : typeof e == "function" ? /*#__PURE__*/ R.createElement(e, t) : /*#__PURE__*/ R.createElement(iG, t);
}
-var J$ = [], NCe = {
+var J$ = [], YCe = {
allowEscapeViewBox: {
x: !1,
y: !1
@@ -58995,10 +59435,10 @@ var J$ = [], NCe = {
useTranslate3d: !1,
wrapperStyle: {}
};
-function PCe(e) {
- var t = OR(e, NCe), { active: n, allowEscapeViewBox: r, animationDuration: i, animationEasing: a, content: o, filterNull: s, isAnimationActive: c, offset: l, payloadUniqBy: u, position: d, reverseDirection: f, useTranslate3d: p, wrapperStyle: m, cursor: h, shared: g, trigger: _, defaultIndex: v, portal: y, axisId: b } = t, x = tz(), S = typeof v == "number" ? String(v) : v;
+function XCe(e) {
+ var t = FR(e, YCe), { active: n, allowEscapeViewBox: r, animationDuration: i, animationEasing: a, content: o, filterNull: s, isAnimationActive: c, offset: l, payloadUniqBy: u, position: d, reverseDirection: f, useTranslate3d: p, wrapperStyle: m, cursor: h, shared: g, trigger: _, defaultIndex: v, portal: y, axisId: b } = t, x = cz(), S = typeof v == "number" ? String(v) : v;
(0, R.useEffect)(() => {
- x(Jxe({
+ x(uSe({
shared: g,
trigger: _,
axisId: b,
@@ -59013,12 +59453,12 @@ function PCe(e) {
n,
S
]);
- var C = zH(), w = uG(), T = Uxe(g), { activeIndex: E, isActive: D } = Q((e) => VSe(e, T, _, S)) ?? {}, O = Q((e) => BSe(e, T, _, S)), k = Q((e) => O$(e, T, _, S)), A = Q((e) => zSe(e, T, _, S)), j = O, M = uCe(), N = n ?? D ?? !1, [P, ee] = fz([j, N]), F = T === "axis" ? k : void 0;
- DCe(T, _, A, F, E, N);
+ var C = XH(), w = xG(), T = aSe(g), { activeIndex: E, isActive: D } = Q((e) => rCe(e, T, _, S)) ?? {}, O = Q((e) => nCe(e, T, _, S)), k = Q((e) => O$(e, T, _, S)), A = Q((e) => tCe(e, T, _, S)), j = O, M = ECe(), N = n ?? D ?? !1, [P, ee] = yz([j, N]), F = T === "axis" ? k : void 0;
+ UCe(T, _, A, F, E, N);
var I = y ?? M;
if (I == null || C == null || T == null) return null;
var te = j ?? J$;
- N || (te = J$), s && te.length && (te = $R(te.filter((e) => e.value != null && (e.hide !== !0 || t.includeHidden)), u, jCe));
+ N || (te = J$), s && te.length && (te = oz(te.filter((e) => e.value != null && (e.hide !== !0 || t.includeHidden)), u, qCe));
var ne = te.length > 0, re = q$(q$({}, t), {}, {
payload: te,
label: F,
@@ -59026,7 +59466,7 @@ function PCe(e) {
activeIndex: E,
coordinate: A,
accessibilityLayer: w
- }), ie = /*#__PURE__*/ R.createElement(lG, {
+ }), ie = /*#__PURE__*/ R.createElement(bG, {
allowEscapeViewBox: r,
animationDuration: i,
animationEasing: a,
@@ -59043,8 +59483,8 @@ function PCe(e) {
lastBoundingBox: P,
innerRef: ee,
hasPortalFromProps: !!y
- }, MCe(o, re));
- return /*#__PURE__*/ R.createElement(R.Fragment, null, /*#__PURE__*/ (0, be.createPortal)(ie, I), N && /*#__PURE__*/ R.createElement(lCe, {
+ }, JCe(o, re));
+ return /*#__PURE__*/ R.createElement(R.Fragment, null, /*#__PURE__*/ (0, be.createPortal)(ie, I), N && /*#__PURE__*/ R.createElement(TCe, {
cursor: h,
tooltipEventType: T,
coordinate: A,
@@ -59058,19 +59498,19 @@ var Y$ = (e) => null;
Y$.displayName = "Cell";
//#endregion
//#region node_modules/recharts/es6/util/LRUCache.js
-function FCe(e, t, n) {
- return (t = ICe(t)) in e ? Object.defineProperty(e, t, {
+function ZCe(e, t, n) {
+ return (t = QCe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function ICe(e) {
- var t = LCe(e, "string");
+function QCe(e) {
+ var t = $Ce(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function LCe(e, t) {
+function $Ce(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -59080,9 +59520,9 @@ function LCe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var RCe = class {
+var ewe = class {
constructor(e) {
- FCe(this, "cache", /* @__PURE__ */ new Map()), this.maxSize = e;
+ ZCe(this, "cache", /* @__PURE__ */ new Map()), this.maxSize = e;
}
get(e) {
var t = this.cache.get(e);
@@ -59115,30 +59555,30 @@ function X$(e, t) {
}
return n;
}
-function zCe(e) {
+function twe(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? X$(Object(n), !0).forEach(function(t) {
- BCe(e, t, n[t]);
+ nwe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : X$(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function BCe(e, t, n) {
- return (t = VCe(t)) in e ? Object.defineProperty(e, t, {
+function nwe(e, t, n) {
+ return (t = rwe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function VCe(e) {
- var t = HCe(e, "string");
+function rwe(e) {
+ var t = iwe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function HCe(e, t) {
+function iwe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -59148,10 +59588,10 @@ function HCe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var Z$ = zCe({}, {
+var Z$ = twe({}, {
cacheSize: 2e3,
enableCache: !0
-}), Q$ = new RCe(Z$.cacheSize), UCe = {
+}), Q$ = new ewe(Z$.cacheSize), awe = {
position: "absolute",
top: "-20000px",
left: 0,
@@ -59160,13 +59600,13 @@ var Z$ = zCe({}, {
border: "none",
whiteSpace: "pre"
}, $$ = "recharts_measurement_span";
-function WCe(e, t) {
+function owe(e, t) {
return `${e}|${t.fontSize || ""}|${t.fontFamily || ""}|${t.fontWeight || ""}|${t.fontStyle || ""}|${t.letterSpacing || ""}|${t.textTransform || ""}`;
}
var e1 = (e, t) => {
try {
var n = document.getElementById($$);
- n || (n = document.createElement("span"), n.setAttribute("id", $$), n.setAttribute("aria-hidden", "true"), document.body.appendChild(n)), Object.assign(n.style, UCe, t), n.textContent = `${e}`;
+ n || (n = document.createElement("span"), n.setAttribute("id", $$), n.setAttribute("aria-hidden", "true"), document.body.appendChild(n)), Object.assign(n.style, awe, t), n.textContent = `${e}`;
var r = n.getBoundingClientRect();
return {
width: r.width,
@@ -59180,29 +59620,29 @@ var e1 = (e, t) => {
}
}, t1 = function(e) {
var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
- if (e == null || eG.isSsr) return {
+ if (e == null || dG.isSsr) return {
width: 0,
height: 0
};
if (!Z$.enableCache) return e1(e, t);
- var n = WCe(e, t), r = Q$.get(n);
+ var n = owe(e, t), r = Q$.get(n);
if (r) return r;
var i = e1(e, t);
return Q$.set(n, i), i;
}, n1;
-function GCe(e, t, n) {
- return (t = KCe(t)) in e ? Object.defineProperty(e, t, {
+function swe(e, t, n) {
+ return (t = cwe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function KCe(e) {
- var t = qCe(e, "string");
+function cwe(e) {
+ var t = lwe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function qCe(e, t) {
+function lwe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -59212,7 +59652,7 @@ function qCe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var r1 = /(-?\d+(?:\.\d+)?[a-zA-Z%]*)([*/])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/, i1 = /(-?\d+(?:\.\d+)?[a-zA-Z%]*)([+-])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/, JCe = /^(px|cm|vh|vw|em|rem|%|mm|in|pt|pc|ex|ch|vmin|vmax|Q)$/, YCe = /(-?\d+(?:\.\d+)?)([a-zA-Z%]+)?/, XCe = {
+var r1 = /(-?\d+(?:\.\d+)?[a-zA-Z%]*)([*/])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/, i1 = /(-?\d+(?:\.\d+)?[a-zA-Z%]*)([+-])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/, uwe = /^(px|cm|vh|vw|em|rem|%|mm|in|pt|pc|ex|ch|vmin|vmax|Q)$/, dwe = /(-?\d+(?:\.\d+)?)([a-zA-Z%]+)?/, fwe = {
cm: 96 / 2.54,
mm: 96 / 25.4,
pt: 96 / 72,
@@ -59220,7 +59660,7 @@ var r1 = /(-?\d+(?:\.\d+)?[a-zA-Z%]*)([*/])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/, i1 = /(
in: 96,
Q: 96 / 101.6,
px: 1
-}, ZCe = [
+}, pwe = [
"cm",
"mm",
"pt",
@@ -59229,20 +59669,20 @@ var r1 = /(-?\d+(?:\.\d+)?[a-zA-Z%]*)([*/])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/, i1 = /(
"Q",
"px"
];
-function QCe(e) {
- return ZCe.includes(e);
+function mwe(e) {
+ return pwe.includes(e);
}
var a1 = "NaN";
-function $Ce(e, t) {
- return e * XCe[t];
+function hwe(e, t) {
+ return e * fwe[t];
}
var o1 = class e {
static parse(t) {
- var [, n, r] = YCe.exec(t) ?? [];
+ var [, n, r] = dwe.exec(t) ?? [];
return n == null ? e.NaN : new e(parseFloat(n), r ?? "");
}
constructor(e, t) {
- this.num = e, this.unit = t, this.num = e, this.unit = t, sR(e) && (this.unit = ""), t !== "" && !JCe.test(t) && (this.num = NaN, this.unit = ""), QCe(t) && (this.num = $Ce(e, t), this.unit = "px");
+ this.num = e, this.unit = t, this.num = e, this.unit = t, mR(e) && (this.unit = ""), t !== "" && !uwe.test(t) && (this.num = NaN, this.unit = ""), mwe(t) && (this.num = hwe(e, t), this.unit = "px");
}
add(t) {
return this.unit === t.unit ? new e(this.num + t.num, this.unit) : new e(NaN, "");
@@ -59260,10 +59700,10 @@ var o1 = class e {
return `${this.num}${this.unit}`;
}
isNaN() {
- return sR(this.num);
+ return mR(this.num);
}
};
-n1 = o1, GCe(o1, "NaN", new n1(NaN, ""));
+n1 = o1, swe(o1, "NaN", new n1(NaN, ""));
function s1(e) {
if (e == null || e.includes(a1)) return a1;
for (var t = e; t.includes("*") || t.includes("/");) {
@@ -59279,31 +59719,31 @@ function s1(e) {
return t;
}
var c1 = /\(([^()]*)\)/;
-function ewe(e) {
+function gwe(e) {
for (var t = e, n; (n = c1.exec(t)) != null;) {
var [, r] = n;
t = t.replace(c1, s1(r));
}
return t;
}
-function twe(e) {
+function _we(e) {
var t = e.replace(/\s+/g, "");
- return t = ewe(t), t = s1(t), t;
+ return t = gwe(t), t = s1(t), t;
}
-function nwe(e) {
+function vwe(e) {
try {
- return twe(e);
+ return _we(e);
} catch {
return a1;
}
}
function l1(e) {
- var t = nwe(e.slice(5, -1));
+ var t = vwe(e.slice(5, -1));
return t === a1 ? "" : t;
}
//#endregion
//#region node_modules/recharts/es6/component/Text.js
-var rwe = [
+var ywe = [
"x",
"y",
"lineHeight",
@@ -59312,7 +59752,7 @@ var rwe = [
"scaleToFit",
"textAnchor",
"verticalAnchor"
-], iwe = [
+], bwe = [
"dx",
"dy",
"angle",
@@ -59330,14 +59770,14 @@ function u1() {
}
function d1(e, t) {
if (e == null) return {};
- var n, r, i = awe(e, t);
+ var n, r, i = xwe(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function awe(e, t) {
+function xwe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -59350,7 +59790,7 @@ var f1 = /[ \f\n\r\t\v\u2028\u2029]+/, p1 = (e) => {
var { children: t, breakAll: n, style: r } = e;
try {
var i = [];
- return hR(t) || (i = n ? t.toString().split("") : t.toString().split(f1)), {
+ return SR(t) || (i = n ? t.toString().split("") : t.toString().split(f1)), {
wordsWithComputedWidth: i.map((e) => ({
word: e,
width: t1(e, r).width
@@ -59364,8 +59804,8 @@ var f1 = /[ \f\n\r\t\v\u2028\u2029]+/, p1 = (e) => {
function m1(e) {
return e === "start" || e === "middle" || e === "end" || e === "inherit";
}
-function owe(e) {
- return hR(e) || typeof e == "string" || typeof e == "number" || typeof e == "boolean";
+function Swe(e) {
+ return SR(e) || typeof e == "string" || typeof e == "number" || typeof e == "boolean";
}
var h1 = (e, t, n, r) => e.reduce((e, i) => {
var { word: a, width: o } = i, s = e[e.length - 1];
@@ -59378,16 +59818,16 @@ var h1 = (e, t, n, r) => e.reduce((e, i) => {
e.push(c);
}
return e;
-}, []), g1 = (e) => e.reduce((e, t) => e.width > t.width ? e : t), swe = "…", _1 = (e, t, n, r, i, a, o, s) => {
+}, []), g1 = (e) => e.reduce((e, t) => e.width > t.width ? e : t), Cwe = "…", _1 = (e, t, n, r, i, a, o, s) => {
var c = p1({
breakAll: n,
style: r,
- children: e.slice(0, t) + swe
+ children: e.slice(0, t) + Cwe
});
if (!c) return [!1, []];
var l = h1(c.wordsWithComputedWidth, a, o, s);
return [l.length > i || g1(l).width > Number(a), l];
-}, cwe = (e, t, n, r, i) => {
+}, wwe = (e, t, n, r, i) => {
var { maxLines: a, children: o, style: s, breakAll: c } = e, l = Z(a), u = String(o), d = h1(t, r, n, i);
if (!l || i || !(d.length > a || g1(d).width > Number(r))) return d;
for (var f = 0, p = u.length - 1, m = 0, h; f <= p && m <= u.length - 1;) {
@@ -59400,11 +59840,11 @@ var h1 = (e, t, n, r) => e.reduce((e, i) => {
}
return h || d;
}, v1 = (e) => [{
- words: hR(e) ? [] : e.toString().split(f1),
+ words: SR(e) ? [] : e.toString().split(f1),
width: void 0
-}], lwe = (e) => {
+}], Twe = (e) => {
var { width: t, scaleToFit: n, children: r, style: i, breakAll: a, maxLines: o } = e;
- if ((t || n) && !eG.isSsr) {
+ if ((t || n) && !dG.isSsr) {
var s, c, l = p1({
breakAll: a,
children: r,
@@ -59414,7 +59854,7 @@ var h1 = (e, t, n, r) => e.reduce((e, i) => {
var { wordsWithComputedWidth: u, spaceWidth: d } = l;
s = u, c = d;
} else return v1(r);
- return cwe({
+ return wwe({
breakAll: a,
children: r,
maxLines: o,
@@ -59422,7 +59862,7 @@ var h1 = (e, t, n, r) => e.reduce((e, i) => {
}, s, c, t, !!n);
}
return v1(r);
-}, y1 = "#808080", uwe = {
+}, y1 = "#808080", Ewe = {
angle: 0,
breakAll: !1,
capHeight: "0.71em",
@@ -59434,7 +59874,7 @@ var h1 = (e, t, n, r) => e.reduce((e, i) => {
x: 0,
y: 0
}, b1 = /*#__PURE__*/ (0, R.forwardRef)((e, t) => {
- var n = OR(e, uwe), { x: r, y: i, lineHeight: a, capHeight: o, fill: s, scaleToFit: c, textAnchor: l, verticalAnchor: u } = n, d = d1(n, rwe), f = (0, R.useMemo)(() => lwe({
+ var n = FR(e, Ewe), { x: r, y: i, lineHeight: a, capHeight: o, fill: s, scaleToFit: c, textAnchor: l, verticalAnchor: u } = n, d = d1(n, ywe), f = (0, R.useMemo)(() => Twe({
breakAll: d.breakAll,
children: d.children,
maxLines: d.maxLines,
@@ -59448,10 +59888,10 @@ var h1 = (e, t, n, r) => e.reduce((e, i) => {
c,
d.style,
d.width
- ]), { dx: p, dy: m, angle: h, className: g, breakAll: _ } = d, v = d1(d, iwe);
- if (!lR(r) || !lR(i) || f.length === 0) return null;
+ ]), { dx: p, dy: m, angle: h, className: g, breakAll: _ } = d, v = d1(d, bwe);
+ if (!gR(r) || !gR(i) || f.length === 0) return null;
var y = Number(r) + (Z(p) ? p : 0), b = Number(i) + (Z(m) ? m : 0);
- if (!hV(y) || !hV(b)) return null;
+ if (!EV(y) || !EV(b)) return null;
var x;
switch (u) {
case "start":
@@ -59467,7 +59907,7 @@ var h1 = (e, t, n, r) => e.reduce((e, i) => {
var w = C.width, { width: T } = d;
S.push(`scale(${Z(T) && Z(w) ? T / w : 1})`);
}
- return h && S.push(`rotate(${h}, ${y}, ${b})`), S.length && (v.transform = S.join(" ")), /*#__PURE__*/ R.createElement("text", u1({}, eL(v), {
+ return h && S.push(`rotate(${h}, ${y}, ${b})`), S.length && (v.transform = S.join(" ")), /*#__PURE__*/ R.createElement("text", u1({}, sL(v), {
ref: t,
x: y,
y: b,
@@ -59500,26 +59940,26 @@ function S1(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? x1(Object(n), !0).forEach(function(t) {
- dwe(e, t, n[t]);
+ Dwe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : x1(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function dwe(e, t, n) {
- return (t = fwe(t)) in e ? Object.defineProperty(e, t, {
+function Dwe(e, t, n) {
+ return (t = Owe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function fwe(e) {
- var t = pwe(e, "string");
+function Owe(e) {
+ var t = kwe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function pwe(e, t) {
+function kwe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -59529,8 +59969,8 @@ function pwe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var mwe = (e) => {
- var { viewBox: t, position: n, offset: r = 0, parentViewBox: i, clamp: a } = e, { x: o, y: s, height: c, upperWidth: l, lowerWidth: u } = RH(t), d = o, f = o + (l - u) / 2, p = (d + f) / 2, m = (l + u) / 2, h = d + l / 2, g = c >= 0 ? 1 : -1, _ = g * r, v = g > 0 ? "end" : "start", y = g > 0 ? "start" : "end", b = l >= 0 ? 1 : -1, x = b * r, S = b > 0 ? "end" : "start", C = b > 0 ? "start" : "end", w = i;
+var Awe = (e) => {
+ var { viewBox: t, position: n, offset: r = 0, parentViewBox: i, clamp: a } = e, { x: o, y: s, height: c, upperWidth: l, lowerWidth: u } = YH(t), d = o, f = o + (l - u) / 2, p = (d + f) / 2, m = (l + u) / 2, h = d + l / 2, g = c >= 0 ? 1 : -1, _ = g * r, v = g > 0 ? "end" : "start", y = g > 0 ? "start" : "end", b = l >= 0 ? 1 : -1, x = b * r, S = b > 0 ? "end" : "start", C = b > 0 ? "start" : "end", w = i;
if (n === "top") {
var T = {
x: d + l / 2,
@@ -59611,9 +60051,9 @@ var mwe = (e) => {
y: s + c - _,
horizontalAnchor: S,
verticalAnchor: v
- }, k) : n && typeof n == "object" && (Z(n.x) || cR(n.x)) && (Z(n.y) || cR(n.y)) ? S1({
- x: o + dR(n.x, m),
- y: s + dR(n.y, c),
+ }, k) : n && typeof n == "object" && (Z(n.x) || hR(n.x)) && (Z(n.y) || hR(n.y)) ? S1({
+ x: o + vR(n.x, m),
+ y: s + vR(n.y, c),
horizontalAnchor: "end",
verticalAnchor: "end"
}, k) : S1({
@@ -59622,17 +60062,17 @@ var mwe = (e) => {
horizontalAnchor: "middle",
verticalAnchor: "middle"
}, k);
-}, hwe = ["labelRef"], gwe = ["content"];
+}, jwe = ["labelRef"], Mwe = ["content"];
function C1(e, t) {
if (e == null) return {};
- var n, r, i = _we(e, t);
+ var n, r, i = Nwe(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function _we(e, t) {
+function Nwe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -59655,26 +60095,26 @@ function T1(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? w1(Object(n), !0).forEach(function(t) {
- vwe(e, t, n[t]);
+ Pwe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : w1(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function vwe(e, t, n) {
- return (t = ywe(t)) in e ? Object.defineProperty(e, t, {
+function Pwe(e, t, n) {
+ return (t = Fwe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function ywe(e) {
- var t = bwe(e, "string");
+function Fwe(e) {
+ var t = Iwe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function bwe(e, t) {
+function Iwe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -59711,9 +60151,9 @@ var D1 = /*#__PURE__*/ (0, R.createContext)(null), O1 = (e) => {
]);
return /*#__PURE__*/ R.createElement(D1.Provider, { value: c }, s);
}, k1 = () => {
- var e = (0, R.useContext)(D1), t = zH();
- return e || (t ? RH(t) : void 0);
-}, A1 = /*#__PURE__*/ (0, R.createContext)(null), xwe = (e) => {
+ var e = (0, R.useContext)(D1), t = XH();
+ return e || (t ? YH(t) : void 0);
+}, A1 = /*#__PURE__*/ (0, R.createContext)(null), Lwe = (e) => {
var { cx: t, cy: n, innerRadius: r, outerRadius: i, startAngle: a, endAngle: o, clockWise: s, children: c } = e, l = (0, R.useMemo)(() => ({
cx: t,
cy: n,
@@ -59735,11 +60175,11 @@ var D1 = /*#__PURE__*/ (0, R.createContext)(null), O1 = (e) => {
}, j1 = () => {
var e = (0, R.useContext)(A1), t = Q(Pq);
return e || t;
-}, Swe = (e) => {
- var { value: t, formatter: n } = e, r = hR(e.children) ? t : e.children;
+}, Rwe = (e) => {
+ var { value: t, formatter: n } = e, r = SR(e.children) ? t : e.children;
return typeof n == "function" ? n(r) : r;
-}, M1 = (e) => e != null && typeof e == "function", Cwe = (e, t) => oR(t - e) * Math.min(Math.abs(t - e), 360), wwe = (e, t, n, r, i) => {
- var { offset: a, className: o } = e, { cx: s, cy: c, innerRadius: l, outerRadius: u, startAngle: d, endAngle: f, clockWise: p } = i, m = (l + u) / 2, h = Cwe(d, f), g = h >= 0 ? 1 : -1, _, v;
+}, M1 = (e) => e != null && typeof e == "function", zwe = (e, t) => pR(t - e) * Math.min(Math.abs(t - e), 360), Bwe = (e, t, n, r, i) => {
+ var { offset: a, className: o } = e, { cx: s, cy: c, innerRadius: l, outerRadius: u, startAngle: d, endAngle: f, clockWise: p } = i, m = (l + u) / 2, h = zwe(d, f), g = h >= 0 ? 1 : -1, _, v;
switch (t) {
case "insideStart":
_ = d + g * a, v = p;
@@ -59755,7 +60195,7 @@ var D1 = /*#__PURE__*/ (0, R.createContext)(null), O1 = (e) => {
v = h <= 0 ? v : !v;
var y = IK(s, c, m, _), b = IK(s, c, m, _ + (v ? 1 : -1) * 359), x = `M${y.x},${y.y}
A${m},${m},0,1,${+!v},
- ${b.x},${b.y}`, S = hR(e.id) ? uR("recharts-radial-line-") : e.id;
+ ${b.x},${b.y}`, S = SR(e.id) ? _R("recharts-radial-line-") : e.id;
return /*#__PURE__*/ R.createElement("text", E1({}, r, {
dominantBaseline: "central",
className: Ql("recharts-radial-bar-label", o)
@@ -59763,7 +60203,7 @@ var D1 = /*#__PURE__*/ (0, R.createContext)(null), O1 = (e) => {
id: S,
d: x
})), /*#__PURE__*/ R.createElement("textPath", { xlinkHref: `#${S}` }, n));
-}, Twe = (e, t, n) => {
+}, Vwe = (e, t, n) => {
var { cx: r, cy: i, innerRadius: a, outerRadius: o, startAngle: s, endAngle: c } = e, l = (s + c) / 2;
if (n === "outside") {
var { x: u, y: d } = IK(r, i, o + t, l);
@@ -59799,14 +60239,14 @@ var D1 = /*#__PURE__*/ (0, R.createContext)(null), O1 = (e) => {
textAnchor: "middle",
verticalAnchor: "middle"
};
-}, N1 = (e) => e != null && "cx" in e && Z(e.cx), Ewe = {
+}, N1 = (e) => e != null && "cx" in e && Z(e.cx), Hwe = {
angle: 0,
offset: 5,
zIndex: _q.label,
position: "middle",
textBreakAll: !1
};
-function Dwe(e) {
+function Uwe(e) {
if (!N1(e)) return e;
var { cx: t, cy: n, outerRadius: r } = e, i = r * 2;
return {
@@ -59819,24 +60259,24 @@ function Dwe(e) {
};
}
function P1(e) {
- var t = OR(e, Ewe), { viewBox: n, parentViewBox: r, position: i, value: a, children: o, content: s, className: c = "", textBreakAll: l, labelRef: u } = t, d = j1(), f = k1(), p = n == null ? i === "center" ? f : d ?? f : N1(n) ? n : RH(n), m, h, g = Dwe(p);
- if (!p || hR(a) && hR(o) && !/*#__PURE__*/ (0, R.isValidElement)(s) && typeof s != "function") return null;
+ var t = FR(e, Hwe), { viewBox: n, parentViewBox: r, position: i, value: a, children: o, content: s, className: c = "", textBreakAll: l, labelRef: u } = t, d = j1(), f = k1(), p = n == null ? i === "center" ? f : d ?? f : N1(n) ? n : YH(n), m, h, g = Uwe(p);
+ if (!p || SR(a) && SR(o) && !/*#__PURE__*/ (0, R.isValidElement)(s) && typeof s != "function") return null;
var _ = T1(T1({}, t), {}, { viewBox: p });
if (/*#__PURE__*/ (0, R.isValidElement)(s)) {
- var { labelRef: v } = _, y = C1(_, hwe);
+ var { labelRef: v } = _, y = C1(_, jwe);
return /*#__PURE__*/ (0, R.cloneElement)(s, y);
}
if (typeof s == "function") {
- var { content: b } = _, x = C1(_, gwe);
+ var { content: b } = _, x = C1(_, Mwe);
if (m = /*#__PURE__*/ (0, R.createElement)(s, x), /*#__PURE__*/ (0, R.isValidElement)(m)) return m;
- } else m = Swe(t);
- var S = eL(t);
+ } else m = Rwe(t);
+ var S = sL(t);
if (N1(p)) {
- if (i === "insideStart" || i === "insideEnd" || i === "end") return wwe(t, i, m, S, p);
- h = Twe(p, t.offset, t.position);
+ if (i === "insideStart" || i === "insideEnd" || i === "end") return Bwe(t, i, m, S, p);
+ h = Vwe(p, t.offset, t.position);
} else {
if (!g) return null;
- var C = mwe({
+ var C = Awe({
viewBox: g,
position: i,
offset: t.offset,
@@ -59865,7 +60305,7 @@ var F1 = (e, t, n) => {
viewBox: t,
labelRef: n
};
- return e === !0 ? /*#__PURE__*/ R.createElement(P1, E1({ key: "label-implicit" }, r)) : lR(e) ? /*#__PURE__*/ R.createElement(P1, E1({
+ return e === !0 ? /*#__PURE__*/ R.createElement(P1, E1({ key: "label-implicit" }, r)) : gR(e) ? /*#__PURE__*/ R.createElement(P1, E1({
key: "label-implicit",
value: e
}, r)) : /*#__PURE__*/ (0, R.isValidElement)(e) ? e.type === P1 ? /*#__PURE__*/ (0, R.cloneElement)(e, T1({ key: "label-implicit" }, r)) : /*#__PURE__*/ R.createElement(P1, E1({
@@ -59880,13 +60320,13 @@ function I1(e) {
var { label: t, labelRef: n } = e;
return F1(t, k1(), n) || null;
}
-function Owe(e) {
+function Wwe(e) {
var { label: t } = e;
return F1(t, j1()) || null;
}
//#endregion
//#region node_modules/recharts/es6/component/LabelList.js
-var kwe = ["valueAccessor"], Awe = [
+var Gwe = ["valueAccessor"], Kwe = [
"dataKey",
"clockWise",
"id",
@@ -59904,14 +60344,14 @@ function L1() {
}
function R1(e, t) {
if (e == null) return {};
- var n, r, i = jwe(e, t);
+ var n, r, i = qwe(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function jwe(e, t) {
+function qwe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -59920,21 +60360,21 @@ function jwe(e, t) {
}
return n;
}
-var Mwe = (e) => {
+var Jwe = (e) => {
var t = Array.isArray(e.value) ? e.value[e.value.length - 1] : e.value;
- if (owe(t)) return t;
-}, z1 = /*#__PURE__*/ (0, R.createContext)(void 0), B1 = z1.Provider, V1 = /*#__PURE__*/ (0, R.createContext)(void 0), Nwe = V1.Provider;
-function Pwe() {
+ if (Swe(t)) return t;
+}, z1 = /*#__PURE__*/ (0, R.createContext)(void 0), B1 = z1.Provider, V1 = /*#__PURE__*/ (0, R.createContext)(void 0), Ywe = V1.Provider;
+function Xwe() {
return (0, R.useContext)(z1);
}
-function Fwe() {
+function Zwe() {
return (0, R.useContext)(V1);
}
function H1(e) {
- var { valueAccessor: t = Mwe } = e, n = R1(e, kwe), { dataKey: r, clockWise: i, id: a, textBreakAll: o, zIndex: s } = n, c = R1(n, Awe), l = Pwe(), u = Fwe(), d = l || u;
- return !d || !d.length ? null : /*#__PURE__*/ R.createElement(M$, { zIndex: s ?? _q.label }, /*#__PURE__*/ R.createElement(iL, { className: "recharts-label-list" }, d.map((e, i) => {
- var s = hR(r) ? t(e, i) : SV(e.payload, r), l = hR(a) ? {} : { id: `${a}-${i}` };
- return /*#__PURE__*/ R.createElement(P1, L1({ key: `label-${i}` }, eL(e), c, l, {
+ var { valueAccessor: t = Jwe } = e, n = R1(e, Gwe), { dataKey: r, clockWise: i, id: a, textBreakAll: o, zIndex: s } = n, c = R1(n, Kwe), l = Xwe(), u = Zwe(), d = l || u;
+ return !d || !d.length ? null : /*#__PURE__*/ R.createElement(M$, { zIndex: s ?? _q.label }, /*#__PURE__*/ R.createElement(dL, { className: "recharts-label-list" }, d.map((e, i) => {
+ var s = SR(r) ? t(e, i) : NV(e.payload, r), l = SR(a) ? {} : { id: `${a}-${i}` };
+ return /*#__PURE__*/ R.createElement(P1, L1({ key: `label-${i}` }, sL(e), c, l, {
fill: n.fill ?? e.fill,
parentViewBox: e.parentViewBox,
value: s,
@@ -59955,12 +60395,12 @@ function U1(e) {
}
//#endregion
//#region node_modules/recharts/es6/shape/Polygon.js
-var Iwe = [
+var Qwe = [
"points",
"className",
"baseLinePoints",
"connectNulls"
-], Lwe;
+], $we;
function W1() {
return W1 = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
@@ -59970,16 +60410,16 @@ function W1() {
return e;
}, W1.apply(null, arguments);
}
-function Rwe(e, t) {
+function eTe(e, t) {
if (e == null) return {};
- var n, r, i = zwe(e, t);
+ var n, r, i = tTe(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function zwe(e, t) {
+function tTe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -59988,10 +60428,10 @@ function zwe(e, t) {
}
return n;
}
-function Bwe(e, t) {
+function nTe(e, t) {
return t ||= e.slice(0), Object.freeze(Object.defineProperties(e, { raw: { value: Object.freeze(t) } }));
}
-var G1 = (e) => e != null && e.x === +e.x && e.y === +e.y, Vwe = function() {
+var G1 = (e) => e != null && e.x === +e.x && e.y === +e.y, rTe = function() {
var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : [], t = [[]];
e.forEach((e) => {
var n = t[t.length - 1];
@@ -60002,9 +60442,9 @@ var G1 = (e) => e != null && e.x === +e.x && e.y === +e.y, Vwe = function() {
var i = t[t.length - 1];
return i && i.length <= 0 && (t = t.slice(0, -1)), t;
}, K1 = (e, t) => {
- var n = Vwe(e);
+ var n = rTe(e);
t && (n = [n.reduce((e, t) => [...e, ...t], [])]);
- var r = n.map((e) => e.reduce((e, t, n) => aR(Lwe ||= Bwe([
+ var r = n.map((e) => e.reduce((e, t, n) => fR($we ||= nTe([
"",
"",
"",
@@ -60012,29 +60452,29 @@ var G1 = (e) => e != null && e.x === +e.x && e.y === +e.y, Vwe = function() {
""
]), e, n === 0 ? "M" : "L", t.x, t.y), "")).join("");
return n.length === 1 ? `${r}Z` : r;
-}, Hwe = (e, t, n) => {
+}, iTe = (e, t, n) => {
var r = K1(e, n);
return `${r.slice(-1) === "Z" ? r.slice(0, -1) : r}L${K1(Array.from(t).reverse(), n).slice(1)}`;
}, q1 = (e) => {
- var { points: t, className: n, baseLinePoints: r, connectNulls: i } = e, a = Rwe(e, Iwe);
+ var { points: t, className: n, baseLinePoints: r, connectNulls: i } = e, a = eTe(e, Qwe);
if (!t || !t.length) return null;
var o = Ql("recharts-polygon", n);
if (r && r.length) {
- var s = a.stroke && a.stroke !== "none", c = Hwe(t, r, i);
- return /*#__PURE__*/ R.createElement("g", { className: o }, /*#__PURE__*/ R.createElement("path", W1({}, eL(a), {
+ var s = a.stroke && a.stroke !== "none", c = iTe(t, r, i);
+ return /*#__PURE__*/ R.createElement("g", { className: o }, /*#__PURE__*/ R.createElement("path", W1({}, sL(a), {
fill: c.slice(-1) === "Z" ? a.fill : "none",
stroke: "none",
d: c
- })), s ? /*#__PURE__*/ R.createElement("path", W1({}, eL(a), {
+ })), s ? /*#__PURE__*/ R.createElement("path", W1({}, sL(a), {
fill: "none",
d: K1(t, i)
- })) : null, s ? /*#__PURE__*/ R.createElement("path", W1({}, eL(a), {
+ })) : null, s ? /*#__PURE__*/ R.createElement("path", W1({}, sL(a), {
fill: "none",
d: K1(r, i)
})) : null);
}
var l = K1(t, i);
- return /*#__PURE__*/ R.createElement("path", W1({}, eL(a), {
+ return /*#__PURE__*/ R.createElement("path", W1({}, sL(a), {
fill: l.slice(-1) === "Z" ? a.fill : "none",
className: o,
d: l
@@ -60053,7 +60493,7 @@ function J1() {
}
var Y1 = (e) => {
var { cx: t, cy: n, r, className: i } = e, a = Ql("recharts-dot", i);
- return Z(t) && Z(n) && Z(r) ? /*#__PURE__*/ R.createElement("circle", J1({}, QI(e), TR(e), {
+ return Z(t) && Z(n) && Z(r) ? /*#__PURE__*/ R.createElement("circle", J1({}, aL(e), MR(e), {
className: a,
cx: t,
cy: n,
@@ -60073,18 +60513,18 @@ $([
hZ,
Z1
], (e, t, n) => n.length > 0 ? e.flatMap((e) => n.flatMap((n) => ({
- value: SV(e, t.dataKey ?? n.dataKey),
+ value: NV(e, t.dataKey ?? n.dataKey),
errorDomain: []
}))).filter(Boolean) : t?.dataKey == null ? e.map((e) => ({
value: e,
errorDomain: []
})) : e.map((e) => ({
- value: SV(e, t.dataKey),
+ value: NV(e, t.dataKey),
errorDomain: []
})));
var e0 = () => void 0, t0 = $([
hZ,
- GH,
+ nU,
Q1,
$1,
dq,
@@ -60102,14 +60542,14 @@ var e0 = () => void 0, t0 = $([
Fq
], UZ),
e0,
- GH,
+ nU,
Fq
], ZZ)
], QZ), n0 = $([
t0,
gZ,
eQ
-], tQ), Uwe = $([eQ, $([
+], tQ), aTe = $([eQ, $([
hZ,
t0,
n0,
@@ -60122,22 +60562,22 @@ var e0 = () => void 0, t0 = $([
}
}, i0 = (e, t, n) => {
switch (t) {
- case "angleAxis": return Sve(e, n);
- case "radiusAxis": return Cve(e, n);
+ case "angleAxis": return Rve(e, n);
+ case "radiusAxis": return zve(e, n);
default: throw Error(`Unexpected axis type: ${t}`);
}
}, a0 = $([$([
r0,
eQ,
- Uwe,
+ aTe,
i0
], nZ)], Wq), o0 = $([
- GH,
+ nU,
$1,
gZ,
Fq
], cQ), s0 = $([
- GH,
+ nU,
r0,
eQ,
a0,
@@ -60146,7 +60586,7 @@ var e0 = () => void 0, t0 = $([
yQ,
o0,
Fq
-], xQ), Wwe = $([s0], (e) => {
+], xQ), oTe = $([s0], (e) => {
if (e) {
var t = /* @__PURE__ */ new Map();
return e.forEach((e) => {
@@ -60154,19 +60594,19 @@ var e0 = () => void 0, t0 = $([
t.has(n) || t.set(n, e);
}), Array.from(t.values());
}
-}), Gwe = $([
- GH,
+}), sTe = $([
+ nU,
r0,
a0,
i0,
yQ,
o0,
Fq
-], CQ), Kwe = $([(e, t) => s0(e, "angleAxis", t, !1)], (e) => {
+], CQ), cTe = $([(e, t) => s0(e, "angleAxis", t, !1)], (e) => {
if (e) return e.map((e) => e.coordinate);
-}), qwe = $([(e, t) => s0(e, "radiusAxis", t, !1)], (e) => {
+}), lTe = $([(e, t) => s0(e, "radiusAxis", t, !1)], (e) => {
if (e) return e.map((e) => e.coordinate);
-}), Jwe = [
+}), uTe = [
"gridType",
"radialLines",
"angleAxisId",
@@ -60179,16 +60619,16 @@ var e0 = () => void 0, t0 = $([
"polarRadius",
"zIndex"
];
-function Ywe(e, t) {
+function dTe(e, t) {
if (e == null) return {};
- var n, r, i = Xwe(e, t);
+ var n, r, i = fTe(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function Xwe(e, t) {
+function fTe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -60220,26 +60660,26 @@ function u0(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? l0(Object(n), !0).forEach(function(t) {
- Zwe(e, t, n[t]);
+ pTe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : l0(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function Zwe(e, t, n) {
- return (t = Qwe(t)) in e ? Object.defineProperty(e, t, {
+function pTe(e, t, n) {
+ return (t = mTe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function Qwe(e) {
- var t = $we(e, "string");
+function mTe(e) {
+ var t = hTe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function $we(e, t) {
+function hTe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -60249,16 +60689,16 @@ function $we(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var eTe = (e, t, n, r) => {
+var gTe = (e, t, n, r) => {
var i = "";
return r.forEach((r, a) => {
var o = IK(t, n, e, r);
i += a ? `L ${o.x},${o.y}` : `M ${o.x},${o.y}`;
}), i += "Z", i;
-}, tTe = (e) => {
+}, _Te = (e) => {
var { cx: t, cy: n, innerRadius: r, outerRadius: i, polarAngles: a, radialLines: o } = e;
if (!a || !a.length || !o) return null;
- var s = u0({ stroke: "#ccc" }, QI(e));
+ var s = u0({ stroke: "#ccc" }, aL(e));
return /*#__PURE__*/ R.createElement("g", { className: "recharts-polar-grid-angle" }, a.map((e) => {
var a = IK(t, n, r, e), o = IK(t, n, i, e);
return /*#__PURE__*/ R.createElement("line", c0({ key: `line-${e}` }, s, {
@@ -60272,7 +60712,7 @@ var eTe = (e, t, n, r) => {
var { cx: t, cy: n, radius: r } = e, i = u0({
stroke: "#ccc",
fill: "none"
- }, QI(e));
+ }, aL(e));
return /*#__PURE__*/ R.createElement("circle", c0({}, i, {
className: Ql("recharts-polar-grid-concentric-circle", e.className),
cx: t,
@@ -60283,12 +60723,12 @@ var eTe = (e, t, n, r) => {
var { radius: t } = e, n = u0({
stroke: "#ccc",
fill: "none"
- }, QI(e));
+ }, aL(e));
return /*#__PURE__*/ R.createElement("path", c0({}, n, {
className: Ql("recharts-polar-grid-concentric-polygon", e.className),
- d: eTe(t, e.cx, e.cy, e.polarAngles)
+ d: gTe(t, e.cx, e.cy, e.polarAngles)
}));
-}, nTe = (e) => {
+}, vTe = (e) => {
var { polarRadius: t, gridType: n } = e;
if (!t || !t.length) return null;
var r = Math.max(...t), i = e.fill && e.fill !== "none";
@@ -60302,14 +60742,14 @@ var eTe = (e, t, n, r) => {
radius: t
}));
}));
-}, rTe = {
+}, yTe = {
angleAxisId: 0,
radiusAxisId: 0,
gridType: "polygon",
radialLines: !0,
zIndex: _q.grid
}, p0 = (e) => {
- var t = OR(e, rTe), { gridType: n, radialLines: r, angleAxisId: i, radiusAxisId: a, cx: o, cy: s, innerRadius: c, outerRadius: l, polarAngles: u, polarRadius: d, zIndex: f } = t, p = Ywe(t, Jwe), m = Q(Pq), h = Q((e) => Kwe(e, i)), g = Q((e) => qwe(e, a)), _ = Array.isArray(u) ? u : h, v = Array.isArray(d) ? d : g;
+ var t = FR(e, yTe), { gridType: n, radialLines: r, angleAxisId: i, radiusAxisId: a, cx: o, cy: s, innerRadius: c, outerRadius: l, polarAngles: u, polarRadius: d, zIndex: f } = t, p = dTe(t, uTe), m = Q(Pq), h = Q((e) => cTe(e, i)), g = Q((e) => lTe(e, a)), _ = Array.isArray(u) ? u : h, v = Array.isArray(d) ? d : g;
if (_ == null || v == null) return null;
var y = u0({
cx: m?.cx ?? o ?? 0,
@@ -60320,13 +60760,13 @@ var eTe = (e, t, n, r) => {
polarRadius: v,
zIndex: f
}, p), { outerRadius: b } = y;
- return b <= 0 ? null : /*#__PURE__*/ R.createElement(M$, { zIndex: y.zIndex }, /*#__PURE__*/ R.createElement("g", { className: "recharts-polar-grid" }, /*#__PURE__*/ R.createElement(nTe, c0({
+ return b <= 0 ? null : /*#__PURE__*/ R.createElement(M$, { zIndex: y.zIndex }, /*#__PURE__*/ R.createElement("g", { className: "recharts-polar-grid" }, /*#__PURE__*/ R.createElement(vTe, c0({
gridType: n,
radialLines: r
}, y, {
polarAngles: _,
polarRadius: v
- })), /*#__PURE__*/ R.createElement(tTe, c0({
+ })), /*#__PURE__*/ R.createElement(_Te, c0({
gridType: n,
radialLines: r
}, y, {
@@ -60342,11 +60782,11 @@ function m0(e) {
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/math/maxBy.mjs
-function iTe(e, t = NR) {
+function bTe(e, t = BR) {
if (e == null) return;
let n = m0(e);
if (n.length === 0) return;
- let r = ZR(t), i, a;
+ let r = iz(t), i, a;
for (let e = 0; e < n.length; e++) {
let t = n[e], o = r(t, e, n);
o == null || Number.isNaN(o) || typeof o == "symbol" || (a === void 0 || o > a) && (a = o, i = t);
@@ -60355,11 +60795,11 @@ function iTe(e, t = NR) {
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/math/minBy.mjs
-function aTe(e, t = NR) {
+function xTe(e, t = BR) {
if (e == null) return;
let n = m0(e);
if (n.length === 0) return;
- let r = ZR(t), i, a;
+ let r = iz(t), i, a;
for (let e = 0; e < n.length; e++) {
let t = n[e], o = r(t, e, n);
o == null || Number.isNaN(o) || typeof o == "symbol" || (a === void 0 || o < a) && (a = o, i = t);
@@ -60368,7 +60808,7 @@ function aTe(e, t = NR) {
}
//#endregion
//#region node_modules/recharts/es6/state/polarAxisSlice.js
-var h0 = BB({
+var h0 = qB({
name: "polarAxis",
initialState: {
radiusAxis: {},
@@ -60376,19 +60816,19 @@ var h0 = BB({
},
reducers: {
addRadiusAxis(e, t) {
- e.radiusAxis[t.payload.id] = qU(t.payload);
+ e.radiusAxis[t.payload.id] = iW(t.payload);
},
removeRadiusAxis(e, t) {
delete e.radiusAxis[t.payload.id];
},
addAngleAxis(e, t) {
- e.angleAxis[t.payload.id] = qU(t.payload);
+ e.angleAxis[t.payload.id] = iW(t.payload);
},
removeAngleAxis(e, t) {
delete e.angleAxis[t.payload.id];
}
}
-}), { addRadiusAxis: oTe, removeRadiusAxis: sTe, addAngleAxis: cTe, removeAngleAxis: lTe } = h0.actions, uTe = h0.reducer;
+}), { addRadiusAxis: STe, removeRadiusAxis: CTe, addAngleAxis: wTe, removeAngleAxis: TTe } = h0.actions, ETe = h0.reducer;
//#endregion
//#region node_modules/recharts/es6/util/getClassNameFromUnknown.js
function g0(e) {
@@ -60396,12 +60836,12 @@ function g0(e) {
}
//#endregion
//#region node_modules/recharts/es6/polar/PolarRadiusAxis.js
-var dTe = ["type"], fTe = [
+var DTe = ["type"], OTe = [
"cx",
"cy",
"angle",
"axisLine"
-], pTe = [
+], kTe = [
"angle",
"tickFormatter",
"stroke",
@@ -60430,26 +60870,26 @@ function y0(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? v0(Object(n), !0).forEach(function(t) {
- mTe(e, t, n[t]);
+ ATe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : v0(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function mTe(e, t, n) {
- return (t = hTe(t)) in e ? Object.defineProperty(e, t, {
+function ATe(e, t, n) {
+ return (t = jTe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function hTe(e) {
- var t = gTe(e, "string");
+function jTe(e) {
+ var t = MTe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function gTe(e, t) {
+function MTe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -60461,14 +60901,14 @@ function gTe(e, t) {
}
function b0(e, t) {
if (e == null) return {};
- var n, r, i = _Te(e, t);
+ var n, r, i = NTe(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function _Te(e, t) {
+function NTe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -60477,20 +60917,20 @@ function _Te(e, t) {
}
return n;
}
-var vTe = "radiusAxis";
-function yTe(e) {
- var t = tz(), n = YH(), r = (0, R.useMemo)(() => {
- var { type: t } = e, r = b0(e, dTe), i = xq(n, "radiusAxis", t);
+var PTe = "radiusAxis";
+function FTe(e) {
+ var t = cz(), n = oU(), r = (0, R.useMemo)(() => {
+ var { type: t } = e, r = b0(e, DTe), i = xq(n, "radiusAxis", t);
if (i != null) return y0(y0({}, r), {}, { type: i });
}, [e, n]);
- return (0, R.useEffect)(() => r == null ? vR : (t(oTe(r)), () => {
- t(sTe(r));
+ return (0, R.useEffect)(() => r == null ? TR : (t(STe(r)), () => {
+ t(CTe(r));
}), [t, r]), null;
}
-var bTe = (e, t, n, r) => {
+var ITe = (e, t, n, r) => {
var { coordinate: i } = e;
return IK(n, r, i, t);
-}, xTe = (e) => {
+}, LTe = (e) => {
var t;
switch (e) {
case "left":
@@ -60502,49 +60942,49 @@ var bTe = (e, t, n, r) => {
default: t = "middle";
}
return t;
-}, STe = (e, t, n, r) => {
- var i = iTe(r, (e) => e.coordinate || 0);
+}, RTe = (e, t, n, r) => {
+ var i = bTe(r, (e) => e.coordinate || 0);
return {
cx: t,
cy: n,
startAngle: e,
endAngle: e,
- innerRadius: aTe(r, (e) => e.coordinate || 0)?.coordinate || 0,
+ innerRadius: xTe(r, (e) => e.coordinate || 0)?.coordinate || 0,
outerRadius: i?.coordinate || 0,
clockWise: !1
};
-}, CTe = (e, t) => {
- var { cx: n, cy: r, angle: i, axisLine: a } = e, o = b0(e, fTe), s = t.reduce((e, t) => [Math.min(e[0], t.coordinate), Math.max(e[1], t.coordinate)], [Infinity, -Infinity]), c = IK(n, r, s[0], i), l = IK(n, r, s[1], i), u = y0(y0(y0({}, QI(o)), {}, { fill: "none" }, QI(a)), {}, {
+}, zTe = (e, t) => {
+ var { cx: n, cy: r, angle: i, axisLine: a } = e, o = b0(e, OTe), s = t.reduce((e, t) => [Math.min(e[0], t.coordinate), Math.max(e[1], t.coordinate)], [Infinity, -Infinity]), c = IK(n, r, s[0], i), l = IK(n, r, s[1], i), u = y0(y0(y0({}, aL(o)), {}, { fill: "none" }, aL(a)), {}, {
x1: c.x,
y1: c.y,
x2: l.x,
y2: l.y
});
return /*#__PURE__*/ R.createElement("line", _0({ className: "recharts-polar-radius-axis-line" }, u));
-}, wTe = (e, t, n) => /*#__PURE__*/ R.isValidElement(e) ? /*#__PURE__*/ R.cloneElement(e, t) : typeof e == "function" ? e(t) : /*#__PURE__*/ R.createElement(b1, _0({}, t, { className: "recharts-polar-radius-axis-tick-value" }), n), TTe = (e, t) => {
- var { angle: n, tickFormatter: r, stroke: i, tick: a } = e, o = b0(e, pTe), s = xTe(e.orientation), c = QI(o), l = $I(a), u = t.map((t, o) => {
- var u = bTe(t, e.angle, e.cx, e.cy), d = y0(y0(y0(y0({
+}, BTe = (e, t, n) => /*#__PURE__*/ R.isValidElement(e) ? /*#__PURE__*/ R.cloneElement(e, t) : typeof e == "function" ? e(t) : /*#__PURE__*/ R.createElement(b1, _0({}, t, { className: "recharts-polar-radius-axis-tick-value" }), n), VTe = (e, t) => {
+ var { angle: n, tickFormatter: r, stroke: i, tick: a } = e, o = b0(e, kTe), s = LTe(e.orientation), c = aL(o), l = oL(a), u = t.map((t, o) => {
+ var u = ITe(t, e.angle, e.cx, e.cy), d = y0(y0(y0(y0({
textAnchor: s,
transform: `rotate(${90 - n}, ${u.x}, ${u.y})`
}, c), {}, {
stroke: "none",
fill: i
}, l), {}, { index: o }, u), {}, { payload: t });
- return /*#__PURE__*/ R.createElement(iL, _0({
+ return /*#__PURE__*/ R.createElement(dL, _0({
className: Ql("recharts-polar-radius-axis-tick", g0(a)),
key: `tick-${t.coordinate}`
- }, ER(e, t, o)), wTe(a, d, r ? r(t.value, o) : t.value));
+ }, NR(e, t, o)), BTe(a, d, r ? r(t.value, o) : t.value));
});
- return /*#__PURE__*/ R.createElement(iL, { className: "recharts-polar-radius-axis-ticks" }, u);
-}, ETe = (e) => {
+ return /*#__PURE__*/ R.createElement(dL, { className: "recharts-polar-radius-axis-ticks" }, u);
+}, HTe = (e) => {
var { radiusAxisId: t } = e, n = Q(Pq), r = Q((e) => a0(e, "radiusAxis", t)), i = Q((e) => s0(e, "radiusAxis", t, !1));
if (n == null || !i || !i.length || r == null) return null;
var a = y0(y0({}, e), {}, { scale: r }, n), { tick: o, axisLine: s } = a;
- return /*#__PURE__*/ R.createElement(M$, { zIndex: a.zIndex }, /*#__PURE__*/ R.createElement(iL, { className: Ql("recharts-polar-radius-axis", vTe, a.className) }, s && CTe(a, i), o && TTe(a, i), /*#__PURE__*/ R.createElement(xwe, STe(a.angle, a.cx, a.cy, i), /*#__PURE__*/ R.createElement(Owe, { label: a.label }), a.children)));
+ return /*#__PURE__*/ R.createElement(M$, { zIndex: a.zIndex }, /*#__PURE__*/ R.createElement(dL, { className: Ql("recharts-polar-radius-axis", PTe, a.className) }, s && zTe(a, i), o && VTe(a, i), /*#__PURE__*/ R.createElement(Lwe, RTe(a.angle, a.cx, a.cy, i), /*#__PURE__*/ R.createElement(Wwe, { label: a.label }), a.children)));
};
function x0(e) {
- var t = OR(e, yq);
- return /*#__PURE__*/ R.createElement(R.Fragment, null, /*#__PURE__*/ R.createElement(yTe, {
+ var t = FR(e, yq);
+ return /*#__PURE__*/ R.createElement(R.Fragment, null, /*#__PURE__*/ R.createElement(FTe, {
domain: t.domain,
id: t.radiusAxisId,
scale: t.scale,
@@ -60561,12 +61001,12 @@ function x0(e) {
ticks: t.ticks,
tickCount: t.tickCount,
tick: t.tick
- }), /*#__PURE__*/ R.createElement(ETe, t));
+ }), /*#__PURE__*/ R.createElement(HTe, t));
}
x0.displayName = "PolarRadiusAxis";
//#endregion
//#region node_modules/recharts/es6/polar/PolarAngleAxis.js
-var DTe = ["children", "type"], OTe = ["ref"];
+var UTe = ["children", "type"], WTe = ["ref"];
function S0() {
return S0 = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
@@ -60590,26 +61030,26 @@ function w0(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? C0(Object(n), !0).forEach(function(t) {
- kTe(e, t, n[t]);
+ GTe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : C0(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function kTe(e, t, n) {
- return (t = ATe(t)) in e ? Object.defineProperty(e, t, {
+function GTe(e, t, n) {
+ return (t = KTe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function ATe(e) {
- var t = jTe(e, "string");
+function KTe(e) {
+ var t = qTe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function jTe(e, t) {
+function qTe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -60621,14 +61061,14 @@ function jTe(e, t) {
}
function T0(e, t) {
if (e == null) return {};
- var n, r, i = MTe(e, t);
+ var n, r, i = JTe(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function MTe(e, t) {
+function JTe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -60637,17 +61077,17 @@ function MTe(e, t) {
}
return n;
}
-var E0 = 1e-5, NTe = Math.cos(FK(45)), PTe = "angleAxis";
-function FTe(e) {
- var t = tz(), n = YH(), r = (0, R.useMemo)(() => {
- var { children: t, type: r } = e, i = T0(e, DTe), a = xq(n, "angleAxis", r);
+var E0 = 1e-5, YTe = Math.cos(FK(45)), XTe = "angleAxis";
+function ZTe(e) {
+ var t = cz(), n = oU(), r = (0, R.useMemo)(() => {
+ var { children: t, type: r } = e, i = T0(e, UTe), a = xq(n, "angleAxis", r);
if (a != null) return w0(w0({}, i), {}, { type: a });
}, [e, n]), i = r === Q((e) => Eq(e, r?.id));
- return (0, R.useEffect)(() => r == null ? vR : (t(cTe(r)), () => {
- t(lTe(r));
+ return (0, R.useEffect)(() => r == null ? TR : (t(wTe(r)), () => {
+ t(TTe(r));
}), [t, r]), i ? e.children : null;
}
-var ITe = (e, t) => {
+var QTe = (e, t) => {
var { cx: n, cy: r, radius: i, orientation: a, tickSize: o } = t, s = o || 8, c = IK(n, r, i, e.coordinate), l = IK(n, r, i + (a === "inner" ? -1 : 1) * s, e.coordinate);
return {
x1: c.x,
@@ -60655,16 +61095,16 @@ var ITe = (e, t) => {
x2: l.x,
y2: l.y
};
-}, LTe = (e, t) => {
+}, $Te = (e, t) => {
var n = Math.cos(FK(-e.coordinate));
return n > E0 ? t === "outer" ? "start" : "end" : n < -E0 ? t === "outer" ? "end" : "start" : "middle";
-}, RTe = (e) => {
+}, eEe = (e) => {
var t = Math.cos(FK(-e.coordinate)), n = Math.sin(FK(-e.coordinate));
- return Math.abs(t) <= NTe ? n > 0 ? "start" : "end" : "middle";
-}, zTe = (e) => {
+ return Math.abs(t) <= YTe ? n > 0 ? "start" : "end" : "middle";
+}, tEe = (e) => {
var { cx: t, cy: n, radius: r, axisLineType: i, axisLine: a, ticks: o } = e;
if (!a) return null;
- var s = w0(w0({}, QI(e)), {}, { fill: "none" }, QI(a));
+ var s = w0(w0({}, aL(e)), {}, { fill: "none" }, aL(a));
if (i === "circle") return /*#__PURE__*/ R.createElement(Y1, S0({ className: "recharts-polar-angle-axis-line" }, s, {
cx: t,
cy: n,
@@ -60672,12 +61112,12 @@ var ITe = (e, t) => {
}));
var c = o.map((e) => IK(t, n, r, e.coordinate));
return /*#__PURE__*/ R.createElement(q1, S0({ className: "recharts-polar-angle-axis-line" }, s, { points: c }));
-}, BTe = (e) => {
+}, nEe = (e) => {
var { tick: t, tickProps: n, value: r } = e;
return t ? /*#__PURE__*/ R.isValidElement(t) ? /*#__PURE__*/ R.cloneElement(t, n) : typeof t == "function" ? t(n) : /*#__PURE__*/ R.createElement(b1, S0({}, n, { className: "recharts-polar-angle-axis-tick-value" }), r) : null;
-}, VTe = (e) => {
- var { tick: t, tickLine: n, tickFormatter: r, stroke: i, ticks: a } = e, o = QI(e), { ref: s } = o, c = T0(o, OTe), l = $I(t), u = w0(w0({}, c), {}, { fill: "none" }, QI(n)), d = a.map((a, o) => {
- var s = ITe(a, e), d = LTe(a, e.orientation), f = RTe(a), p = w0(w0(w0({}, c), {}, {
+}, rEe = (e) => {
+ var { tick: t, tickLine: n, tickFormatter: r, stroke: i, ticks: a } = e, o = aL(e), { ref: s } = o, c = T0(o, WTe), l = oL(t), u = w0(w0({}, c), {}, { fill: "none" }, aL(n)), d = a.map((a, o) => {
+ var s = QTe(a, e), d = $Te(a, e.orientation), f = eEe(a), p = w0(w0(w0({}, c), {}, {
textAnchor: d,
verticalAnchor: f,
stroke: "none",
@@ -60688,28 +61128,28 @@ var ITe = (e, t) => {
x: s.x2,
y: s.y2
});
- return /*#__PURE__*/ R.createElement(iL, S0({
+ return /*#__PURE__*/ R.createElement(dL, S0({
className: Ql("recharts-polar-angle-axis-tick", g0(t)),
key: `tick-${a.coordinate}`
- }, ER(e, a, o)), n && /*#__PURE__*/ R.createElement("line", S0({ className: "recharts-polar-angle-axis-tick-line" }, u, s)), /*#__PURE__*/ R.createElement(BTe, {
+ }, NR(e, a, o)), n && /*#__PURE__*/ R.createElement("line", S0({ className: "recharts-polar-angle-axis-tick-line" }, u, s)), /*#__PURE__*/ R.createElement(nEe, {
tick: t,
tickProps: p,
value: r ? r(a.value, o) : a.value
}));
});
- return /*#__PURE__*/ R.createElement(iL, { className: "recharts-polar-angle-axis-ticks" }, d);
-}, HTe = (e) => {
- var { angleAxisId: t } = e, n = Q(Pq), r = Q((e) => a0(e, "angleAxis", t)), i = dH(), a = Q((e) => Wwe(e, "angleAxis", t, i));
+ return /*#__PURE__*/ R.createElement(dL, { className: "recharts-polar-angle-axis-ticks" }, d);
+}, iEe = (e) => {
+ var { angleAxisId: t } = e, n = Q(Pq), r = Q((e) => a0(e, "angleAxis", t)), i = SH(), a = Q((e) => oTe(e, "angleAxis", t, i));
if (n == null || !a || !a.length || r == null) return null;
var o = w0(w0(w0({}, e), {}, { scale: r }, n), {}, {
radius: n.outerRadius,
ticks: a
});
- return /*#__PURE__*/ R.createElement(M$, { zIndex: o.zIndex }, /*#__PURE__*/ R.createElement(iL, { className: Ql("recharts-polar-angle-axis", PTe, o.className) }, /*#__PURE__*/ R.createElement(zTe, o), /*#__PURE__*/ R.createElement(VTe, o)));
+ return /*#__PURE__*/ R.createElement(M$, { zIndex: o.zIndex }, /*#__PURE__*/ R.createElement(dL, { className: Ql("recharts-polar-angle-axis", XTe, o.className) }, /*#__PURE__*/ R.createElement(tEe, o), /*#__PURE__*/ R.createElement(rEe, o)));
};
function D0(e) {
- var t = OR(e, vq);
- return /*#__PURE__*/ R.createElement(FTe, {
+ var t = FR(e, vq);
+ return /*#__PURE__*/ R.createElement(ZTe, {
id: t.angleAxisId,
scale: t.scale,
type: t.type,
@@ -60726,12 +61166,12 @@ function D0(e) {
ticks: t.ticks,
tick: t.tick,
domain: t.domain
- }, /*#__PURE__*/ R.createElement(HTe, t));
+ }, /*#__PURE__*/ R.createElement(iEe, t));
}
D0.displayName = "PolarAngleAxis";
//#endregion
//#region node_modules/react-is/cjs/react-is.production.js
-var UTe = /* @__PURE__ */ ce(((e) => {
+var aEe = /* @__PURE__ */ ce(((e) => {
var t = Symbol.for("react.transitional.element"), n = Symbol.for("react.portal"), r = Symbol.for("react.fragment"), i = Symbol.for("react.strict_mode"), a = Symbol.for("react.profiler"), o = Symbol.for("react.consumer"), s = Symbol.for("react.context"), c = Symbol.for("react.forward_ref"), l = Symbol.for("react.suspense"), u = Symbol.for("react.suspense_list"), d = Symbol.for("react.memo"), f = Symbol.for("react.lazy"), p = Symbol.for("react.view_transition");
function m(e) {
if (typeof e == "object" && e) {
@@ -60760,26 +61200,26 @@ var UTe = /* @__PURE__ */ ce(((e) => {
e.isFragment = function(e) {
return m(e) === r;
};
-})), WTe = (/* @__PURE__ */ ce(((e, t) => {
- t.exports = UTe();
+})), oEe = (/* @__PURE__ */ ce(((e, t) => {
+ t.exports = aEe();
})))(), O0 = (e) => typeof e == "string" ? e : e ? e.displayName || e.name || "Component" : "", k0 = null, A0 = null, j0 = (e) => {
if (e === k0 && Array.isArray(A0)) return A0;
var t = [];
return R.Children.forEach(e, (e) => {
- hR(e) || ((0, WTe.isFragment)(e) ? t = t.concat(j0(e.props.children)) : t.push(e));
+ SR(e) || ((0, oEe.isFragment)(e) ? t = t.concat(j0(e.props.children)) : t.push(e));
}), A0 = t, k0 = e, t;
};
function M0(e, t) {
var n = [], r = [];
return r = Array.isArray(t) ? t.map((e) => O0(e)) : [O0(t)], j0(e).forEach((e) => {
- var t = rR(e, "type.displayName") || rR(e, "type.name");
+ var t = uR(e, "type.displayName") || uR(e, "type.name");
t && r.indexOf(t) !== -1 && n.push(e);
}), n;
}
var N0 = (e) => e && typeof e == "object" && "clipDot" in e ? !!e.clipDot : !0;
//#endregion
//#region node_modules/es-toolkit/dist/compat/predicate/isPlainObject.mjs
-function GTe(e) {
+function sEe(e) {
if (typeof e != "object" || !e) return !1;
if (Object.getPrototypeOf(e) === null) return !0;
if (Object.prototype.toString.call(e) !== "[object Object]") {
@@ -60792,7 +61232,7 @@ function GTe(e) {
}
//#endregion
//#region node_modules/recharts/es6/shape/Trapezoid.js
-var KTe, qTe, JTe, YTe, XTe;
+var cEe, lEe, uEe, dEe, fEe;
function P0(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
@@ -60807,26 +61247,26 @@ function F0(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? P0(Object(n), !0).forEach(function(t) {
- ZTe(e, t, n[t]);
+ pEe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : P0(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function ZTe(e, t, n) {
- return (t = QTe(t)) in e ? Object.defineProperty(e, t, {
+function pEe(e, t, n) {
+ return (t = mEe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function QTe(e) {
- var t = $Te(e, "string");
+function mEe(e) {
+ var t = hEe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function $Te(e, t) {
+function hEe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -60849,29 +61289,29 @@ function L0(e, t) {
return t ||= e.slice(0), Object.freeze(Object.defineProperties(e, { raw: { value: Object.freeze(t) } }));
}
var R0 = (e, t, n, r, i) => {
- var a = n - r, o = aR(KTe ||= L0([
+ var a = n - r, o = fR(cEe ||= L0([
"M ",
",",
""
]), e, t);
- return o += aR(qTe ||= L0([
+ return o += fR(lEe ||= L0([
"L ",
",",
""
- ]), e + n, t), o += aR(JTe ||= L0([
+ ]), e + n, t), o += fR(uEe ||= L0([
"L ",
",",
""
- ]), e + n - a / 2, t + i), o += aR(YTe ||= L0([
+ ]), e + n - a / 2, t + i), o += fR(dEe ||= L0([
"L ",
",",
""
- ]), e + n - a / 2 - r, t + i), o += aR(XTe ||= L0([
+ ]), e + n - a / 2 - r, t + i), o += fR(fEe ||= L0([
"L ",
",",
" Z"
]), e, t), o;
-}, eEe = {
+}, gEe = {
x: 0,
y: 0,
upperWidth: 0,
@@ -60881,8 +61321,8 @@ var R0 = (e, t, n, r, i) => {
animationBegin: 0,
animationDuration: 1500,
animationEasing: "ease"
-}, tEe = (e) => {
- var t = OR(e, eEe), { x: n, y: r, upperWidth: i, lowerWidth: a, height: o, className: s } = t, { animationEasing: c, animationDuration: l, animationBegin: u, isUpdateAnimationActive: d } = t, f = (0, R.useRef)(null), [p, m] = (0, R.useState)(-1), h = (0, R.useRef)(i), g = (0, R.useRef)(a), _ = (0, R.useRef)(o), v = (0, R.useRef)(n), y = (0, R.useRef)(r), b = CK(e, "trapezoid-");
+}, _Ee = (e) => {
+ var t = FR(e, gEe), { x: n, y: r, upperWidth: i, lowerWidth: a, height: o, className: s } = t, { animationEasing: c, animationDuration: l, animationBegin: u, isUpdateAnimationActive: d } = t, f = (0, R.useRef)(null), [p, m] = (0, R.useState)(-1), h = (0, R.useRef)(i), g = (0, R.useRef)(a), _ = (0, R.useRef)(o), v = (0, R.useRef)(n), y = (0, R.useRef)(r), b = CK(e, "trapezoid-");
if ((0, R.useEffect)(() => {
if (f.current && f.current.getTotalLength) try {
var e = f.current.getTotalLength();
@@ -60890,11 +61330,11 @@ var R0 = (e, t, n, r, i) => {
} catch {}
}, []), n !== +n || r !== +r || i !== +i || a !== +a || o !== +o || i === 0 && a === 0 || o === 0) return null;
var x = Ql("recharts-trapezoid", s);
- if (!d) return /*#__PURE__*/ R.createElement("g", null, /*#__PURE__*/ R.createElement("path", I0({}, eL(t), {
+ if (!d) return /*#__PURE__*/ R.createElement("g", null, /*#__PURE__*/ R.createElement("path", I0({}, sL(t), {
className: x,
d: R0(n, r, i, a, o)
})));
- var S = h.current, C = g.current, w = _.current, T = v.current, E = y.current, D = `0px ${p === -1 ? 1 : p}px`, O = `${p}px ${p}px`, k = WG(["strokeDasharray"], l, c);
+ var S = h.current, C = g.current, w = _.current, T = v.current, E = y.current, D = `0px ${p === -1 ? 1 : p}px`, O = `${p}px ${p}px`, k = tK(["strokeDasharray"], l, c);
return /*#__PURE__*/ R.createElement(SK, {
animationId: b,
key: b,
@@ -60904,35 +61344,35 @@ var R0 = (e, t, n, r, i) => {
isActive: d,
begin: u
}, (e) => {
- var s = pR(S, i, e), c = pR(C, a, e), l = pR(w, o, e), u = pR(T, n, e), d = pR(E, r, e);
+ var s = bR(S, i, e), c = bR(C, a, e), l = bR(w, o, e), u = bR(T, n, e), d = bR(E, r, e);
f.current && (h.current = s, g.current = c, _.current = l, v.current = u, y.current = d);
var p = e > 0 ? {
transition: k,
strokeDasharray: O
} : { strokeDasharray: D };
- return /*#__PURE__*/ R.createElement("path", I0({}, eL(t), {
+ return /*#__PURE__*/ R.createElement("path", I0({}, sL(t), {
className: x,
d: R0(u, d, s, c, l),
ref: f,
style: F0(F0({}, p), t.style)
}));
});
-}, nEe = [
+}, vEe = [
"option",
"shapeType",
"activeClassName",
"inActiveClassName"
];
-function rEe(e, t) {
+function yEe(e, t) {
if (e == null) return {};
- var n, r, i = iEe(e, t);
+ var n, r, i = bEe(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function iEe(e, t) {
+function bEe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -60955,26 +61395,26 @@ function B0(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? z0(Object(n), !0).forEach(function(t) {
- aEe(e, t, n[t]);
+ xEe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : z0(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function aEe(e, t, n) {
- return (t = oEe(t)) in e ? Object.defineProperty(e, t, {
+function xEe(e, t, n) {
+ return (t = SEe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function oEe(e) {
- var t = sEe(e, "string");
+function SEe(e) {
+ var t = CEe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function sEe(e, t) {
+function CEe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -60984,34 +61424,34 @@ function sEe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function cEe(e, t) {
+function wEe(e, t) {
return B0(B0({}, t), e);
}
-function lEe(e, t) {
+function TEe(e, t) {
return e === "symbols";
}
function V0(e) {
var { shapeType: t, elementProps: n } = e;
switch (t) {
case "rectangle": return /*#__PURE__*/ R.createElement(jK, n);
- case "trapezoid": return /*#__PURE__*/ R.createElement(tEe, n);
+ case "trapezoid": return /*#__PURE__*/ R.createElement(_Ee, n);
case "sector": return /*#__PURE__*/ R.createElement(HK, n);
case "symbols":
- if (lEe(t, n)) return /*#__PURE__*/ R.createElement(CR, n);
+ if (TEe(t, n)) return /*#__PURE__*/ R.createElement(AR, n);
break;
- case "curve": return /*#__PURE__*/ R.createElement(TG, n);
+ case "curve": return /*#__PURE__*/ R.createElement(IG, n);
default: return null;
}
}
-function uEe(e) {
+function EEe(e) {
return /*#__PURE__*/ (0, R.isValidElement)(e) ? e.props : e;
}
function H0(e) {
- var { option: t, shapeType: n, activeClassName: r = "recharts-active-shape", inActiveClassName: i = "recharts-shape" } = e, a = rEe(e, nEe), o;
- if (/*#__PURE__*/ (0, R.isValidElement)(t)) o = /*#__PURE__*/ (0, R.cloneElement)(t, B0(B0({}, a), uEe(t)));
+ var { option: t, shapeType: n, activeClassName: r = "recharts-active-shape", inActiveClassName: i = "recharts-shape" } = e, a = yEe(e, vEe), o;
+ if (/*#__PURE__*/ (0, R.isValidElement)(t)) o = /*#__PURE__*/ (0, R.cloneElement)(t, B0(B0({}, a), EEe(t)));
else if (typeof t == "function") o = t(a, a.index);
- else if (GTe(t) && typeof t != "boolean") {
- var s = cEe(t, a);
+ else if (sEe(t) && typeof t != "boolean") {
+ var s = wEe(t, a);
o = /*#__PURE__*/ R.createElement(V0, {
shapeType: n,
elementProps: s
@@ -61023,12 +61463,12 @@ function H0(e) {
elementProps: c
});
}
- return a.isActive ? /*#__PURE__*/ R.createElement(iL, { className: r }, o) : /*#__PURE__*/ R.createElement(iL, { className: i }, o);
+ return a.isActive ? /*#__PURE__*/ R.createElement(dL, { className: r }, o) : /*#__PURE__*/ R.createElement(dL, { className: i }, o);
}
//#endregion
//#region node_modules/recharts/es6/context/tooltipContext.js
var U0 = (e, t, n) => {
- var r = tz();
+ var r = cz();
return (i, a) => (o) => {
e?.(i, a, o), r(NQ({
activeIndex: String(a),
@@ -61038,14 +61478,14 @@ var U0 = (e, t, n) => {
}));
};
}, W0 = (e) => {
- var t = tz();
+ var t = cz();
return (n, r) => (i) => {
- e?.(n, r, i), t(Yxe());
+ e?.(n, r, i), t(dSe());
};
}, G0 = (e, t, n) => {
- var r = tz();
+ var r = cz();
return (i, a) => (o) => {
- e?.(i, a, o), r(Xxe({
+ e?.(i, a, o), r(fSe({
activeIndex: String(a),
activeDataKey: t,
activeCoordinate: i.tooltipPosition,
@@ -61056,9 +61496,9 @@ var U0 = (e, t, n) => {
//#endregion
//#region node_modules/recharts/es6/state/SetTooltipEntrySettings.js
function K0(e) {
- var { tooltipEntrySettings: t } = e, n = tz(), r = dH(), i = (0, R.useRef)(null);
+ var { tooltipEntrySettings: t } = e, n = cz(), r = SH(), i = (0, R.useRef)(null);
return (0, R.useLayoutEffect)(() => {
- r || (i.current === null ? n(Gxe(t)) : i.current !== t && n(Kxe({
+ r || (i.current === null ? n(sSe(t)) : i.current !== t && n(cSe({
prev: i.current,
next: t
})), i.current = t);
@@ -61067,15 +61507,15 @@ function K0(e) {
n,
r
]), (0, R.useLayoutEffect)(() => () => {
- i.current &&= (n(qxe(i.current)), null);
+ i.current &&= (n(lSe(i.current)), null);
}, [n]), null;
}
//#endregion
//#region node_modules/recharts/es6/state/SetLegendPayload.js
function q0(e) {
- var { legendPayload: t } = e, n = tz(), r = dH(), i = (0, R.useRef)(null);
+ var { legendPayload: t } = e, n = cz(), r = SH(), i = (0, R.useRef)(null);
return (0, R.useLayoutEffect)(() => {
- r || (i.current === null ? n(ZU(t)) : i.current !== t && n(QU({
+ r || (i.current === null ? n(cW(t)) : i.current !== t && n(lW({
prev: i.current,
next: t
})), i.current = t);
@@ -61084,13 +61524,13 @@ function q0(e) {
r,
t
]), (0, R.useLayoutEffect)(() => () => {
- i.current &&= (n($U(i.current)), null);
+ i.current &&= (n(uW(i.current)), null);
}, [n]), null;
}
function J0(e) {
- var { legendPayload: t } = e, n = tz(), r = Q(GH), i = (0, R.useRef)(null);
+ var { legendPayload: t } = e, n = cz(), r = Q(nU), i = (0, R.useRef)(null);
return (0, R.useLayoutEffect)(() => {
- (r === "centric" || r === "radial") && (i.current === null ? n(ZU(t)) : i.current !== t && n(QU({
+ (r === "centric" || r === "radial") && (i.current === null ? n(cW(t)) : i.current !== t && n(lW({
prev: i.current,
next: t
})), i.current = t);
@@ -61099,27 +61539,27 @@ function J0(e) {
r,
t
]), (0, R.useLayoutEffect)(() => () => {
- i.current &&= (n($U(i.current)), null);
+ i.current &&= (n(uW(i.current)), null);
}, [n]), null;
}
//#endregion
//#region node_modules/recharts/es6/util/useId.js
-var dEe = R.useId ?? (() => {
- var [e] = R.useState(() => uR("uid-"));
+var DEe = R.useId ?? (() => {
+ var [e] = R.useState(() => _R("uid-"));
return e;
});
//#endregion
//#region node_modules/recharts/es6/util/useUniqueId.js
-function fEe(e, t) {
- var n = dEe();
+function OEe(e, t) {
+ var n = DEe();
return t || (e ? `${e}-${n}` : n);
}
//#endregion
//#region node_modules/recharts/es6/context/RegisterGraphicalItemId.js
-var pEe = /*#__PURE__*/ (0, R.createContext)(void 0), Y0 = (e) => {
- var { id: t, type: n, children: r } = e, i = fEe(`recharts-${n}`, t);
- return /*#__PURE__*/ R.createElement(pEe.Provider, { value: i }, r(i));
-}, X0 = BB({
+var kEe = /*#__PURE__*/ (0, R.createContext)(void 0), Y0 = (e) => {
+ var { id: t, type: n, children: r } = e, i = OEe(`recharts-${n}`, t);
+ return /*#__PURE__*/ R.createElement(kEe.Provider, { value: i }, r(i));
+}, X0 = qB({
name: "graphicalItems",
initialState: {
cartesianItems: [],
@@ -61128,79 +61568,79 @@ var pEe = /*#__PURE__*/ (0, R.createContext)(void 0), Y0 = (e) => {
reducers: {
addCartesianGraphicalItem: {
reducer(e, t) {
- e.cartesianItems.push(qU(t.payload));
+ e.cartesianItems.push(iW(t.payload));
},
- prepare: IB()
+ prepare: UB()
},
replaceCartesianGraphicalItem: {
reducer(e, t) {
- var { prev: n, next: r } = t.payload, i = DB(e).cartesianItems.indexOf(qU(n));
- i > -1 && (e.cartesianItems[i] = qU(r));
+ var { prev: n, next: r } = t.payload, i = PB(e).cartesianItems.indexOf(iW(n));
+ i > -1 && (e.cartesianItems[i] = iW(r));
},
- prepare: IB()
+ prepare: UB()
},
removeCartesianGraphicalItem: {
reducer(e, t) {
- var n = DB(e).cartesianItems.indexOf(qU(t.payload));
+ var n = PB(e).cartesianItems.indexOf(iW(t.payload));
n > -1 && e.cartesianItems.splice(n, 1);
},
- prepare: IB()
+ prepare: UB()
},
addPolarGraphicalItem: {
reducer(e, t) {
- e.polarItems.push(qU(t.payload));
+ e.polarItems.push(iW(t.payload));
},
- prepare: IB()
+ prepare: UB()
},
removePolarGraphicalItem: {
reducer(e, t) {
- var n = DB(e).polarItems.indexOf(qU(t.payload));
+ var n = PB(e).polarItems.indexOf(iW(t.payload));
n > -1 && e.polarItems.splice(n, 1);
},
- prepare: IB()
+ prepare: UB()
},
replacePolarGraphicalItem: {
reducer(e, t) {
- var { prev: n, next: r } = t.payload, i = DB(e).polarItems.indexOf(qU(n));
- i > -1 && (e.polarItems[i] = qU(r));
+ var { prev: n, next: r } = t.payload, i = PB(e).polarItems.indexOf(iW(n));
+ i > -1 && (e.polarItems[i] = iW(r));
},
- prepare: IB()
+ prepare: UB()
}
}
-}), { addCartesianGraphicalItem: mEe, replaceCartesianGraphicalItem: hEe, removeCartesianGraphicalItem: gEe, addPolarGraphicalItem: _Ee, removePolarGraphicalItem: vEe, replacePolarGraphicalItem: yEe } = X0.actions, bEe = X0.reducer, Z0 = /*#__PURE__*/ (0, R.memo)((e) => {
- var t = tz(), n = (0, R.useRef)(null);
+}), { addCartesianGraphicalItem: AEe, replaceCartesianGraphicalItem: jEe, removeCartesianGraphicalItem: MEe, addPolarGraphicalItem: NEe, removePolarGraphicalItem: PEe, replacePolarGraphicalItem: FEe } = X0.actions, IEe = X0.reducer, Z0 = /*#__PURE__*/ (0, R.memo)((e) => {
+ var t = cz(), n = (0, R.useRef)(null);
return (0, R.useLayoutEffect)(() => {
- n.current === null ? t(mEe(e)) : n.current !== e && t(hEe({
+ n.current === null ? t(AEe(e)) : n.current !== e && t(jEe({
prev: n.current,
next: e
})), n.current = e;
}, [t, e]), (0, R.useLayoutEffect)(() => () => {
- n.current &&= (t(gEe(n.current)), null);
+ n.current &&= (t(MEe(n.current)), null);
}, [t]), null;
}), Q0 = /*#__PURE__*/ (0, R.memo)((e) => {
- var t = tz(), n = (0, R.useRef)(null);
+ var t = cz(), n = (0, R.useRef)(null);
return (0, R.useLayoutEffect)(() => {
- n.current === null ? t(_Ee(e)) : n.current !== e && t(yEe({
+ n.current === null ? t(NEe(e)) : n.current !== e && t(FEe({
prev: n.current,
next: e
})), n.current = e;
}, [t, e]), (0, R.useLayoutEffect)(() => () => {
- n.current &&= (t(vEe(n.current)), null);
+ n.current &&= (t(PEe(n.current)), null);
}, [t]), null;
});
//#endregion
//#region node_modules/es-toolkit/dist/array/last.mjs
-function xEe(e) {
+function LEe(e) {
return e[e.length - 1];
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/array/last.mjs
-function SEe(e) {
- if (!(!PR(e) || e.length === 0)) return xEe(m0(e));
+function REe(e) {
+ if (!(!VR(e) || e.length === 0)) return LEe(m0(e));
}
//#endregion
//#region node_modules/recharts/es6/component/Dots.js
-var CEe = ["points"];
+var zEe = ["points"];
function $0(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
@@ -61215,26 +61655,26 @@ function e2(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? $0(Object(n), !0).forEach(function(t) {
- wEe(e, t, n[t]);
+ BEe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : $0(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function wEe(e, t, n) {
- return (t = TEe(t)) in e ? Object.defineProperty(e, t, {
+function BEe(e, t, n) {
+ return (t = VEe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function TEe(e) {
- var t = EEe(e, "string");
+function VEe(e) {
+ var t = HEe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function EEe(e, t) {
+function HEe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -61253,16 +61693,16 @@ function t2() {
return e;
}, t2.apply(null, arguments);
}
-function DEe(e, t) {
+function UEe(e, t) {
if (e == null) return {};
- var n, r, i = OEe(e, t);
+ var n, r, i = WEe(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function OEe(e, t) {
+function WEe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -61271,20 +61711,20 @@ function OEe(e, t) {
}
return n;
}
-function kEe(e) {
+function GEe(e) {
var { option: t, dotProps: n, className: r } = e;
if (/*#__PURE__*/ (0, R.isValidElement)(t)) return /*#__PURE__*/ (0, R.cloneElement)(t, n);
if (typeof t == "function") return t(n);
- var i = Ql(r, typeof t == "boolean" ? "" : t.className), a = n ?? {}, { points: o } = a, s = DEe(a, CEe);
+ var i = Ql(r, typeof t == "boolean" ? "" : t.className), a = n ?? {}, { points: o } = a, s = UEe(a, zEe);
return /*#__PURE__*/ R.createElement(Y1, t2({}, s, { className: i }));
}
-function AEe(e, t) {
+function KEe(e, t) {
return e == null ? !1 : t ? !0 : e.length === 1;
}
function n2(e) {
var { points: t, dot: n, className: r, dotClassName: i, dataKey: a, baseProps: o, needClip: s, clipPathId: c, zIndex: l = _q.scatter } = e;
- if (!AEe(t, n)) return null;
- var u = N0(n), d = ume(n), f = t.map((e, r) => {
+ if (!KEe(t, n)) return null;
+ var u = N0(n), d = yme(n), f = t.map((e, r) => {
var s = e2(e2(e2({ r: 3 }, o), d), {}, {
index: r,
cx: e.x ?? void 0,
@@ -61294,14 +61734,14 @@ function n2(e) {
payload: e.payload,
points: t
});
- return /*#__PURE__*/ R.createElement(kEe, {
+ return /*#__PURE__*/ R.createElement(GEe, {
key: `dot-${r}`,
option: n,
dotProps: s,
className: i
});
}), p = {};
- return s && c != null && (p.clipPath = `url(#clipPath-${u ? "" : "dots-"}${c})`), /*#__PURE__*/ R.createElement(M$, { zIndex: l }, /*#__PURE__*/ R.createElement(iL, t2({ className: r }, p), f));
+ return s && c != null && (p.clipPath = `url(#clipPath-${u ? "" : "dots-"}${c})`), /*#__PURE__*/ R.createElement(M$, { zIndex: l }, /*#__PURE__*/ R.createElement(dL, t2({ className: r }, p), f));
}
//#endregion
//#region node_modules/recharts/es6/state/cartesianAxisSlice.js
@@ -61319,26 +61759,26 @@ function i2(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? r2(Object(n), !0).forEach(function(t) {
- jEe(e, t, n[t]);
+ qEe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : r2(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function jEe(e, t, n) {
- return (t = MEe(t)) in e ? Object.defineProperty(e, t, {
+function qEe(e, t, n) {
+ return (t = JEe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function MEe(e) {
- var t = NEe(e, "string");
+function JEe(e) {
+ var t = YEe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function NEe(e, t) {
+function YEe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -61348,7 +61788,7 @@ function NEe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var a2 = BB({
+var a2 = qB({
name: "cartesianAxis",
initialState: {
xAxis: {},
@@ -61358,60 +61798,60 @@ var a2 = BB({
reducers: {
addXAxis: {
reducer(e, t) {
- e.xAxis[t.payload.id] = qU(t.payload);
+ e.xAxis[t.payload.id] = iW(t.payload);
},
- prepare: IB()
+ prepare: UB()
},
replaceXAxis: {
reducer(e, t) {
var { prev: n, next: r } = t.payload;
- e.xAxis[n.id] !== void 0 && (n.id !== r.id && delete e.xAxis[n.id], e.xAxis[r.id] = qU(r));
+ e.xAxis[n.id] !== void 0 && (n.id !== r.id && delete e.xAxis[n.id], e.xAxis[r.id] = iW(r));
},
- prepare: IB()
+ prepare: UB()
},
removeXAxis: {
reducer(e, t) {
delete e.xAxis[t.payload.id];
},
- prepare: IB()
+ prepare: UB()
},
addYAxis: {
reducer(e, t) {
- e.yAxis[t.payload.id] = qU(t.payload);
+ e.yAxis[t.payload.id] = iW(t.payload);
},
- prepare: IB()
+ prepare: UB()
},
replaceYAxis: {
reducer(e, t) {
var { prev: n, next: r } = t.payload;
- e.yAxis[n.id] !== void 0 && (n.id !== r.id && delete e.yAxis[n.id], e.yAxis[r.id] = qU(r));
+ e.yAxis[n.id] !== void 0 && (n.id !== r.id && delete e.yAxis[n.id], e.yAxis[r.id] = iW(r));
},
- prepare: IB()
+ prepare: UB()
},
removeYAxis: {
reducer(e, t) {
delete e.yAxis[t.payload.id];
},
- prepare: IB()
+ prepare: UB()
},
addZAxis: {
reducer(e, t) {
- e.zAxis[t.payload.id] = qU(t.payload);
+ e.zAxis[t.payload.id] = iW(t.payload);
},
- prepare: IB()
+ prepare: UB()
},
replaceZAxis: {
reducer(e, t) {
var { prev: n, next: r } = t.payload;
- e.zAxis[n.id] !== void 0 && (n.id !== r.id && delete e.zAxis[n.id], e.zAxis[r.id] = qU(r));
+ e.zAxis[n.id] !== void 0 && (n.id !== r.id && delete e.zAxis[n.id], e.zAxis[r.id] = iW(r));
},
- prepare: IB()
+ prepare: UB()
},
removeZAxis: {
reducer(e, t) {
delete e.zAxis[t.payload.id];
},
- prepare: IB()
+ prepare: UB()
},
updateYAxisWidth(e, t) {
var { id: n, width: r } = t.payload, i = e.yAxis[n];
@@ -61426,15 +61866,15 @@ var a2 = BB({
}
}
}
-}), { addXAxis: PEe, replaceXAxis: FEe, removeXAxis: IEe, addYAxis: LEe, replaceYAxis: REe, removeYAxis: zEe, addZAxis: BEe, replaceZAxis: VEe, removeZAxis: HEe, updateYAxisWidth: UEe } = a2.actions, WEe = a2.reducer, GEe = $([
- $([sH], (e) => ({
+}), { addXAxis: XEe, replaceXAxis: ZEe, removeXAxis: QEe, addYAxis: $Ee, replaceYAxis: eDe, removeYAxis: tDe, addZAxis: nDe, replaceZAxis: rDe, removeZAxis: iDe, updateYAxisWidth: aDe } = a2.actions, oDe = a2.reducer, sDe = $([
+ $([vH], (e) => ({
top: e.top,
bottom: e.bottom,
left: e.left,
right: e.right
})),
- WV,
- GV
+ tH,
+ nH
], (e, t, n) => {
if (!(!e || t == null || n == null)) return {
x: e.left,
@@ -61442,7 +61882,7 @@ var a2 = BB({
width: Math.max(0, t - e.left - e.right),
height: Math.max(0, n - e.top - e.bottom)
};
-}), o2 = () => Q(GEe), KEe = () => Q(TSe);
+}), o2 = () => Q(sDe), cDe = () => Q(VSe);
//#endregion
//#region node_modules/recharts/es6/component/ActivePoints.js
function s2(e, t) {
@@ -61459,26 +61899,26 @@ function c2(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? s2(Object(n), !0).forEach(function(t) {
- qEe(e, t, n[t]);
+ lDe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : s2(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function qEe(e, t, n) {
- return (t = JEe(t)) in e ? Object.defineProperty(e, t, {
+function lDe(e, t, n) {
+ return (t = uDe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function JEe(e) {
- var t = YEe(e, "string");
+function uDe(e) {
+ var t = dDe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function YEe(e, t) {
+function dDe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -61488,7 +61928,7 @@ function YEe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var XEe = (e) => {
+var fDe = (e) => {
var { point: t, childIndex: n, mainColor: r, activeDot: i, dataKey: a, clipPath: o } = e;
if (i === !1 || t.x == null || t.y == null) return null;
var s = c2(c2(c2({}, {
@@ -61502,17 +61942,17 @@ var XEe = (e) => {
stroke: "#fff",
payload: t.payload,
value: t.value
- }), $I(i)), TR(i)), c = /*#__PURE__*/ (0, R.isValidElement)(i) ? /*#__PURE__*/ (0, R.cloneElement)(i, s) : typeof i == "function" ? i(s) : /*#__PURE__*/ R.createElement(Y1, s);
- return /*#__PURE__*/ R.createElement(iL, {
+ }), oL(i)), MR(i)), c = /*#__PURE__*/ (0, R.isValidElement)(i) ? /*#__PURE__*/ (0, R.cloneElement)(i, s) : typeof i == "function" ? i(s) : /*#__PURE__*/ R.createElement(Y1, s);
+ return /*#__PURE__*/ R.createElement(dL, {
className: "recharts-active-dot",
clipPath: o
}, c);
};
function l2(e) {
- var { points: t, mainColor: n, activeDot: r, itemDataKey: i, clipPath: a, zIndex: o = _q.activeDot } = e, s = Q(d$), c = KEe();
+ var { points: t, mainColor: n, activeDot: r, itemDataKey: i, clipPath: a, zIndex: o = _q.activeDot } = e, s = Q(d$), c = cDe();
if (t == null || c == null) return null;
var l = t.find((e) => c.includes(e.payload));
- return hR(l) ? null : /*#__PURE__*/ R.createElement(M$, { zIndex: o }, /*#__PURE__*/ R.createElement(XEe, {
+ return SR(l) ? null : /*#__PURE__*/ R.createElement(M$, { zIndex: o }, /*#__PURE__*/ R.createElement(fDe, {
point: l,
childIndex: Number(s),
mainColor: n,
@@ -61537,26 +61977,26 @@ function d2(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? u2(Object(n), !0).forEach(function(t) {
- ZEe(e, t, n[t]);
+ pDe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : u2(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function ZEe(e, t, n) {
- return (t = QEe(t)) in e ? Object.defineProperty(e, t, {
+function pDe(e, t, n) {
+ return (t = mDe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function QEe(e) {
- var t = $Ee(e, "string");
+function mDe(e) {
+ var t = hDe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function $Ee(e, t) {
+function hDe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -61566,13 +62006,13 @@ function $Ee(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var f2 = (e, t) => a0(e, "radiusAxis", t), eDe = $([f2], (e) => {
+var f2 = (e, t) => a0(e, "radiusAxis", t), gDe = $([f2], (e) => {
if (e != null) return { scale: e };
-}), tDe = $([Dq, f2], (e, t) => {
+}), _De = $([Dq, f2], (e, t) => {
if (e != null && t != null) return d2(d2({}, e), {}, { scale: t });
-}), nDe = (e, t, n, r) => s0(e, "radiusAxis", t, r), p2 = (e, t, n) => Eq(e, n), m2 = (e, t, n) => a0(e, "angleAxis", n), rDe = $([p2, m2], (e, t) => {
+}), vDe = (e, t, n, r) => s0(e, "radiusAxis", t, r), p2 = (e, t, n) => Eq(e, n), m2 = (e, t, n) => a0(e, "angleAxis", n), yDe = $([p2, m2], (e, t) => {
if (e != null && t != null) return d2(d2({}, e), {}, { scale: t });
-}), iDe = (e, t, n, r) => s0(e, "angleAxis", n, r), aDe = $([
+}), bDe = (e, t, n, r) => s0(e, "angleAxis", n, r), xDe = $([
p2,
m2,
Pq
@@ -61584,30 +62024,30 @@ var f2 = (e, t) => a0(e, "radiusAxis", t), eDe = $([f2], (e) => {
cx: n.cx,
cy: n.cy
};
-}), oDe = (e, t, n, r, i) => i, sDe = $([
- GH,
- tDe,
- nDe,
- rDe,
- iDe
-], (e, t, n, r, i) => wV(e, "radiusAxis") ? zV(t, n, !1) : zV(r, i, !1)), cDe = $([
- eDe,
- aDe,
+}), SDe = (e, t, n, r, i) => i, CDe = $([
+ nU,
+ _De,
+ vDe,
+ yDe,
+ bDe
+], (e, t, n, r, i) => FV(e, "radiusAxis") ? XV(t, n, !1) : XV(r, i, !1)), wDe = $([
+ gDe,
+ xDe,
KK,
- $([X1, oDe], (e, t) => {
+ $([X1, SDe], (e, t) => {
if (e != null) return e.find((e) => e.type === "radar" && t === e.id)?.dataKey;
}),
- sDe
+ CDe
], (e, t, n, r, i) => {
var { chartData: a, dataStartIndex: o, dataEndIndex: s } = n;
- if (e != null && t != null && a != null && i != null && r != null) return vDe({
+ if (e != null && t != null && a != null && i != null && r != null) return PDe({
radiusAxis: e,
angleAxis: t,
displayedData: a.slice(o, s + 1),
dataKey: r,
bandSize: i
});
-}), lDe = ["id"];
+}), TDe = ["id"];
function h2() {
return h2 = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
@@ -61631,26 +62071,26 @@ function _2(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? g2(Object(n), !0).forEach(function(t) {
- uDe(e, t, n[t]);
+ EDe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : g2(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function uDe(e, t, n) {
- return (t = dDe(t)) in e ? Object.defineProperty(e, t, {
+function EDe(e, t, n) {
+ return (t = DDe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function dDe(e) {
- var t = fDe(e, "string");
+function DDe(e) {
+ var t = ODe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function fDe(e, t) {
+function ODe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -61660,16 +62100,16 @@ function fDe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function pDe(e, t) {
+function kDe(e, t) {
if (e == null) return {};
- var n, r, i = mDe(e, t);
+ var n, r, i = ADe(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function mDe(e, t) {
+function ADe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -61681,27 +62121,27 @@ function mDe(e, t) {
function v2(e, t) {
return e && e !== "none" ? e : t;
}
-var hDe = (e) => {
+var jDe = (e) => {
var { dataKey: t, name: n, stroke: r, fill: i, legendType: a, hide: o } = e;
return [{
inactive: o,
dataKey: t,
type: a,
color: v2(r, i),
- value: VV(n, t),
+ value: QV(n, t),
payload: e
}];
-}, gDe = /*#__PURE__*/ R.memo((e) => {
+}, MDe = /*#__PURE__*/ R.memo((e) => {
var { dataKey: t, stroke: n, strokeWidth: r, fill: i, name: a, hide: o, tooltipType: s, id: c } = e, l = {
dataDefinedOnItem: void 0,
- getPosition: vR,
+ getPosition: TR,
settings: {
stroke: n,
strokeWidth: r,
fill: i,
nameKey: void 0,
dataKey: t,
- name: VV(a, t),
+ name: QV(a, t),
hide: o,
type: s,
color: v2(n, i),
@@ -61711,8 +62151,8 @@ var hDe = (e) => {
};
return /*#__PURE__*/ R.createElement(K0, { tooltipEntrySettings: l });
});
-function _De(e) {
- var { points: t, props: n } = e, { dot: r, dataKey: i } = n, { id: a } = n, o = QI(pDe(n, lDe));
+function NDe(e) {
+ var { points: t, props: n } = e, { dot: r, dataKey: i } = n, { id: a } = n, o = aL(kDe(n, TDe));
return /*#__PURE__*/ R.createElement(n2, {
points: t,
dot: r,
@@ -61722,10 +62162,10 @@ function _De(e) {
baseProps: o
});
}
-function vDe(e) {
+function PDe(e) {
var { radiusAxis: t, angleAxis: n, displayedData: r, dataKey: i, bandSize: a } = e, { cx: o, cy: s } = n, c = !1, l = [], u = n.type === "number" ? 0 : a ?? 0;
r.forEach((e, r) => {
- var a = SV(e, n.dataKey, r), d = SV(e, i), f = (n.scale.map(a) ?? 0) + u, p = Array.isArray(d) ? SEe(d) : d, m = hR(p) ? 0 : t.scale.map(p) ?? 0;
+ var a = NV(e, n.dataKey, r), d = NV(e, i), f = (n.scale.map(a) ?? 0) + u, p = Array.isArray(d) ? REe(d) : d, m = SR(p) ? 0 : t.scale.map(p) ?? 0;
Array.isArray(d) && d.length >= 2 && (c = !0), l.push(_2(_2({}, IK(o, s, m, f)), {}, {
name: a,
value: d,
@@ -61739,7 +62179,7 @@ function vDe(e) {
var d = [];
return c && l.forEach((e) => {
if (Array.isArray(e.value)) {
- var n = e.value[0], r = hR(n) ? 0 : t.scale.map(n) ?? 0;
+ var n = e.value[0], r = SR(n) ? 0 : t.scale.map(n) ?? 0;
d.push(_2(_2({}, e), {}, { radius: r }, IK(o, s, r, e.angle)));
} else d.push(e);
}), {
@@ -61748,7 +62188,7 @@ function vDe(e) {
baseLinePoints: d
};
}
-function yDe(e) {
+function FDe(e) {
var { showLabels: t, points: n, children: r } = e, i = n.map((e) => {
var t = {
x: e.x,
@@ -61768,10 +62208,10 @@ function yDe(e) {
});
return /*#__PURE__*/ R.createElement(B1, { value: t ? i : void 0 }, r);
}
-function bDe(e) {
+function IDe(e) {
var { points: t, baseLinePoints: n, props: r } = e;
if (t == null) return null;
- var { shape: i, isRange: a, connectNulls: o } = r, s = /*#__PURE__*/ R.isValidElement(i) ? /*#__PURE__*/ R.cloneElement(i, _2(_2({}, r), {}, { points: t })) : typeof i == "function" ? i(_2(_2({}, r), {}, { points: t })) : /*#__PURE__*/ R.createElement(q1, h2({}, eL(r), {
+ var { shape: i, isRange: a, connectNulls: o } = r, s = /*#__PURE__*/ R.isValidElement(i) ? /*#__PURE__*/ R.cloneElement(i, _2(_2({}, r), {}, { points: t })) : typeof i == "function" ? i(_2(_2({}, r), {}, { points: t })) : /*#__PURE__*/ R.createElement(q1, h2({}, sL(r), {
onMouseEnter: (e) => {
var { onMouseEnter: t } = r;
t && t(r, e);
@@ -61784,7 +62224,7 @@ function bDe(e) {
baseLinePoints: a ? n : void 0,
connectNulls: o
}));
- return /*#__PURE__*/ R.createElement(iL, { className: "recharts-radar-polygon" }, s, /*#__PURE__*/ R.createElement(_De, {
+ return /*#__PURE__*/ R.createElement(dL, { className: "recharts-radar-polygon" }, s, /*#__PURE__*/ R.createElement(NDe, {
props: r,
points: t
}));
@@ -61792,20 +62232,20 @@ function bDe(e) {
var y2 = (e, t, n) => (r, i) => {
var a = e && e[Math.floor(i * t)];
return a ? _2(_2({}, r), {}, {
- x: pR(a.x, r.x, n),
- y: pR(a.y, r.y, n)
+ x: bR(a.x, r.x, n),
+ y: bR(a.y, r.y, n)
}) : _2(_2({}, r), {}, {
- x: pR(r.cx, r.x, n),
- y: pR(r.cy, r.y, n)
+ x: bR(r.cx, r.x, n),
+ y: bR(r.cy, r.y, n)
});
};
-function xDe(e) {
+function LDe(e) {
var { props: t, previousPointsRef: n, previousBaseLinePointsRef: r } = e, { points: i, baseLinePoints: a, isAnimationActive: o, animationBegin: s, animationDuration: c, animationEasing: l, onAnimationEnd: u, onAnimationStart: d } = t, f = n.current, p = r.current, m = f ? f.length / i.length : 1, h = p ? p.length / a.length : 1, g = CK(t, "recharts-radar-"), [_, v] = (0, R.useState)(!1), y = !_, b = (0, R.useCallback)(() => {
typeof u == "function" && u(), v(!1);
}, [u]), x = (0, R.useCallback)(() => {
typeof d == "function" && d(), v(!0);
}, [d]);
- return /*#__PURE__*/ R.createElement(yDe, {
+ return /*#__PURE__*/ R.createElement(FDe, {
showLabels: y,
points: i
}, /*#__PURE__*/ R.createElement(SK, {
@@ -61819,22 +62259,22 @@ function xDe(e) {
onAnimationStart: x
}, (e) => {
var o = e === 1 ? i : i.map(y2(f, m, e)), s = e === 1 ? a : a?.map(y2(p, h, e));
- return e > 0 && (n.current = o, r.current = s), /*#__PURE__*/ R.createElement(bDe, {
+ return e > 0 && (n.current = o, r.current = s), /*#__PURE__*/ R.createElement(IDe, {
points: o,
baseLinePoints: s,
props: t
});
}), /*#__PURE__*/ R.createElement(U1, { label: t.label }), t.children);
}
-function SDe(e) {
+function RDe(e) {
var t = (0, R.useRef)(void 0), n = (0, R.useRef)(void 0);
- return /*#__PURE__*/ R.createElement(xDe, {
+ return /*#__PURE__*/ R.createElement(LDe, {
props: e,
previousPointsRef: t,
previousBaseLinePointsRef: n
});
}
-var CDe = {
+var zDe = {
activeDot: !0,
angleAxisId: 0,
animationBegin: 0,
@@ -61848,27 +62288,27 @@ var CDe = {
radiusAxisId: 0,
zIndex: _q.area
};
-function wDe(e) {
+function BDe(e) {
var { hide: t, className: n, points: r } = e;
if (t) return null;
var i = Ql("recharts-radar", n);
- return /*#__PURE__*/ R.createElement(M$, { zIndex: e.zIndex }, /*#__PURE__*/ R.createElement(iL, { className: i }, /*#__PURE__*/ R.createElement(SDe, e)), /*#__PURE__*/ R.createElement(l2, {
+ return /*#__PURE__*/ R.createElement(M$, { zIndex: e.zIndex }, /*#__PURE__*/ R.createElement(dL, { className: i }, /*#__PURE__*/ R.createElement(RDe, e)), /*#__PURE__*/ R.createElement(l2, {
points: r,
mainColor: v2(e.stroke, e.fill),
itemDataKey: e.dataKey,
activeDot: e.activeDot
}));
}
-function TDe(e) {
- var t = dH(), n = Q((n) => cDe(n, e.radiusAxisId, e.angleAxisId, t, e.id));
- return n?.points == null ? null : /*#__PURE__*/ R.createElement(wDe, h2({}, e, {
+function VDe(e) {
+ var t = SH(), n = Q((n) => wDe(n, e.radiusAxisId, e.angleAxisId, t, e.id));
+ return n?.points == null ? null : /*#__PURE__*/ R.createElement(BDe, h2({}, e, {
points: n?.points,
baseLinePoints: n?.baseLinePoints,
isRange: n?.isRange
}));
}
function b2(e) {
- var t = OR(e, CDe);
+ var t = FR(e, zDe);
return /*#__PURE__*/ R.createElement(Y0, {
id: t.id,
type: "radar"
@@ -61880,7 +62320,7 @@ function b2(e) {
hide: t.hide,
angleAxisId: t.angleAxisId,
radiusAxisId: t.radiusAxisId
- }), /*#__PURE__*/ R.createElement(J0, { legendPayload: hDe(t) }), /*#__PURE__*/ R.createElement(gDe, {
+ }), /*#__PURE__*/ R.createElement(J0, { legendPayload: jDe(t) }), /*#__PURE__*/ R.createElement(MDe, {
dataKey: t.dataKey,
stroke: t.stroke,
strokeWidth: t.strokeWidth,
@@ -61889,7 +62329,7 @@ function b2(e) {
hide: t.hide,
tooltipType: t.tooltipType,
id: e
- }), /*#__PURE__*/ R.createElement(TDe, h2({}, t, { id: e }))));
+ }), /*#__PURE__*/ R.createElement(VDe, h2({}, t, { id: e }))));
}
b2.displayName = "Radar";
//#endregion
@@ -61913,7 +62353,7 @@ function C2(e) {
//#region node_modules/recharts/es6/state/selectors/combiners/combineBarSizeList.js
var w2 = (e, t, n) => {
var r = n ?? e;
- if (!hR(r)) return dR(r, t, 0);
+ if (!SR(r)) return vR(r, t, 0);
}, T2 = (e, t, n) => {
var r = {}, i = e.filter(zq), a = e.filter((e) => e.stackId == null), o = i.reduce((e, t) => {
var n = e[t.stackId];
@@ -61948,26 +62388,26 @@ function D2(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? E2(Object(n), !0).forEach(function(t) {
- EDe(e, t, n[t]);
+ HDe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : E2(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function EDe(e, t, n) {
- return (t = DDe(t)) in e ? Object.defineProperty(e, t, {
+function HDe(e, t, n) {
+ return (t = UDe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function DDe(e) {
- var t = ODe(e, "string");
+function UDe(e) {
+ var t = WDe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function ODe(e, t) {
+function WDe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -61977,11 +62417,11 @@ function ODe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function kDe(e, t, n, r, i) {
+function GDe(e, t, n, r, i) {
var a = r.length;
if (!(a < 1)) {
- var o = dR(e, n, 0, !0), s, c = [];
- if (hV(r[0]?.barSize)) {
+ var o = vR(e, n, 0, !0), s, c = [];
+ if (EV(r[0]?.barSize)) {
var l = !1, u = n / a, d = r.reduce((e, t) => e + (t.barSize || 0), 0);
d += (a - 1) * o, d >= n && (d -= (a - 1) * o, o = 0), d >= n && u > 0 && (l = !0, u *= .9, d = a * u);
var f = {
@@ -62000,11 +62440,11 @@ function kDe(e, t, n, r, i) {
return f = n.position, r;
}, c);
} else {
- var p = dR(t, n, 0, !0);
+ var p = vR(t, n, 0, !0);
n - 2 * p - (a - 1) * o <= 0 && (o = 0);
var m = (n - 2 * p - (a - 1) * o) / a;
m > 1 && (m >>= 0);
- var h = hV(i) ? Math.min(m, i) : m;
+ var h = EV(i) ? Math.min(m, i) : m;
s = r.reduce((e, t, n) => [...e, {
stackId: t.stackId,
dataKeys: t.dataKeys,
@@ -62018,7 +62458,7 @@ function kDe(e, t, n, r, i) {
}
}
var O2 = (e, t, n, r, i, a, o) => {
- var s = hR(o) ? t : o, c = kDe(n, r, i === a ? a : i, e, s);
+ var s = SR(o) ? t : o, c = GDe(n, r, i === a ? a : i, e, s);
return i !== a && c != null && (c = c.map((e) => D2(D2({}, e), {}, { position: D2(D2({}, e.position), {}, { offset: e.position.offset - i / 2 }) }))), c;
}, k2 = (e, t) => {
var n = Lq(t);
@@ -62054,26 +62494,26 @@ function M2(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? j2(Object(n), !0).forEach(function(t) {
- ADe(e, t, n[t]);
+ KDe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : j2(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function ADe(e, t, n) {
- return (t = jDe(t)) in e ? Object.defineProperty(e, t, {
+function KDe(e, t, n) {
+ return (t = qDe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function jDe(e) {
- var t = MDe(e, "string");
+function qDe(e) {
+ var t = JDe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function MDe(e, t) {
+function JDe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -62085,30 +62525,30 @@ function MDe(e, t) {
}
var N2 = $([(e, t) => Dq(e, t), (e, t) => a0(e, "radiusAxis", t)], (e, t) => {
if (e != null && t != null) return M2(M2({}, e), {}, { scale: t });
-}), P2 = (e, t) => Gwe(e, "radiusAxis", t, !1), F2 = $([(e, t, n) => Eq(e, n), (e, t, n) => a0(e, "angleAxis", n)], (e, t) => {
+}), P2 = (e, t) => sTe(e, "radiusAxis", t, !1), F2 = $([(e, t, n) => Eq(e, n), (e, t, n) => a0(e, "angleAxis", n)], (e, t) => {
if (e != null && t != null) return M2(M2({}, e), {}, { scale: t });
}), I2 = (e, t, n) => s0(e, "angleAxis", n, !1), L2 = $([X1, (e, t, n, r) => r], (e, t) => {
if (e.some((e) => e.type === "radialBar" && t.dataKey === e.dataKey && t.stackId === e.stackId)) return t;
}), R2 = $([
- GH,
+ nU,
N2,
P2,
F2,
I2
-], (e, t, n, r, i) => wV(e, "radiusAxis") ? zV(t, n, !1) : zV(r, i, !1)), NDe = $([
+], (e, t, n, r, i) => FV(e, "radiusAxis") ? XV(t, n, !1) : XV(r, i, !1)), YDe = $([
F2,
N2,
- GH
+ nU
], (e, t, n) => {
var r = n === "radial" ? e : t;
- if (r != null && r.scale != null) return NV({ numericAxis: r });
-}), PDe = (e, t, n, r, i) => i, FDe = (e, t, n, r, i) => n, IDe = (e, t, n, r, i) => t, z2 = (e, t, n, r, i) => r.maxBarSize, B2 = (e) => e.type === "radialBar", LDe = $([$([
+ if (r != null && r.scale != null) return WV({ numericAxis: r });
+}), XDe = (e, t, n, r, i) => i, ZDe = (e, t, n, r, i) => n, QDe = (e, t, n, r, i) => t, z2 = (e, t, n, r, i) => r.maxBarSize, B2 = (e) => e.type === "radialBar", $De = $([$([
$([
$([
- GH,
+ nU,
X1,
- FDe,
- IDe
+ ZDe,
+ QDe
], (e, t, n, r) => t.filter((t) => e === "centric" ? t.angleAxisId === n : t.radiusAxisId === r).filter((e) => e.hide === !1).filter(B2)),
uq,
() => void 0
@@ -62117,7 +62557,7 @@ var N2 = $([(e, t) => Dq(e, t), (e, t) => a0(e, "radiusAxis", t)], (e, t) => {
cq,
lq,
$([
- GH,
+ nU,
sq,
F2,
I2,
@@ -62125,8 +62565,8 @@ var N2 = $([(e, t) => Dq(e, t), (e, t) => a0(e, "radiusAxis", t)], (e, t) => {
P2,
z2
], (e, t, n, r, i, a, o) => {
- var s = hR(o) ? t : o;
- return e === "centric" ? zV(n, r, !0) ?? s ?? 0 : zV(i, a, !0) ?? s ?? 0;
+ var s = SR(o) ? t : o;
+ return e === "centric" ? XV(n, r, !0) ?? s ?? 0 : XV(i, a, !0) ?? s ?? 0;
}),
R2,
z2
@@ -62139,7 +62579,7 @@ var N2 = $([(e, t) => Dq(e, t), (e, t) => a0(e, "radiusAxis", t)], (e, t) => {
V2,
dq,
fq
-], FZ), RDe = $([
+], FZ), eOe = $([
F2,
I2,
N2,
@@ -62147,17 +62587,17 @@ var N2 = $([(e, t) => Dq(e, t), (e, t) => a0(e, "radiusAxis", t)], (e, t) => {
GK,
L2,
R2,
- GH,
- NDe,
+ nU,
+ YDe,
Pq,
- PDe,
- LDe,
- $([(e, t, n) => GH(e) === "centric" ? H2(e, "radiusAxis", t) : H2(e, "angleAxis", n), L2], k2)
+ XDe,
+ $De,
+ $([(e, t, n) => nU(e) === "centric" ? H2(e, "radiusAxis", t) : H2(e, "angleAxis", n), L2], k2)
], (e, t, n, r, i, a, o, s, c, l, u, d, f) => {
var { chartData: p, dataStartIndex: m, dataEndIndex: h } = i;
if (a == null || n == null || e == null || p == null || o == null || d == null || s !== "centric" && s !== "radial" || r == null || l == null) return [];
var { dataKey: g, minPointSize: _ } = a, { cx: v, cy: y, startAngle: b, endAngle: x } = l;
- return tOe({
+ return _Oe({
angleAxis: e,
angleAxisTicks: t,
bandSize: o,
@@ -62178,7 +62618,7 @@ var N2 = $([(e, t) => Dq(e, t), (e, t) => a0(e, "radiusAxis", t)], (e, t) => {
stackedDomain: f ? (s === "centric" ? n : e).scale.domain() : null,
startAngle: b
});
-}), zDe = $([KK, (e, t) => t], (e, t) => {
+}), tOe = $([KK, (e, t) => t], (e, t) => {
var { chartData: n, dataStartIndex: r, dataEndIndex: i } = e;
if (n == null) return [];
var a = n.slice(r, i + 1);
@@ -62192,20 +62632,20 @@ var N2 = $([(e, t) => Dq(e, t), (e, t) => a0(e, "radiusAxis", t)], (e, t) => {
//#endregion
//#region node_modules/recharts/es6/zIndex/getZIndexFromUnknown.js
function U2(e, t) {
- return e && typeof e == "object" && "zIndex" in e && typeof e.zIndex == "number" && hV(e.zIndex) ? e.zIndex : t;
+ return e && typeof e == "object" && "zIndex" in e && typeof e.zIndex == "number" && EV(e.zIndex) ? e.zIndex : t;
}
//#endregion
//#region node_modules/recharts/es6/polar/RadialBar.js
-var BDe = [
+var nOe = [
"shape",
"activeShape",
"cornerRadius",
"id"
-], VDe = [
+], rOe = [
"onMouseEnter",
"onClick",
"onMouseLeave"
-], HDe = ["value", "background"];
+], iOe = ["value", "background"];
function W2() {
return W2 = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
@@ -62229,26 +62669,26 @@ function K2(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? G2(Object(n), !0).forEach(function(t) {
- UDe(e, t, n[t]);
+ aOe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : G2(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function UDe(e, t, n) {
- return (t = WDe(t)) in e ? Object.defineProperty(e, t, {
+function aOe(e, t, n) {
+ return (t = oOe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function WDe(e) {
- var t = GDe(e, "string");
+function oOe(e) {
+ var t = sOe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function GDe(e, t) {
+function sOe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -62260,14 +62700,14 @@ function GDe(e, t) {
}
function q2(e, t) {
if (e == null) return {};
- var n, r, i = KDe(e, t);
+ var n, r, i = cOe(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function KDe(e, t) {
+function cOe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -62277,7 +62717,7 @@ function KDe(e, t) {
return n;
}
var J2 = [];
-function qDe(e) {
+function lOe(e) {
var { showLabels: t, sectors: n, children: r } = e, i = n.map((e) => ({
value: e.value,
payload: e.payload,
@@ -62294,15 +62734,15 @@ function qDe(e) {
},
fill: e.fill
}));
- return /*#__PURE__*/ R.createElement(Nwe, { value: t ? i : void 0 }, r);
+ return /*#__PURE__*/ R.createElement(Ywe, { value: t ? i : void 0 }, r);
}
-function JDe(e) {
- var { sectors: t, allOtherRadialBarProps: n, showLabels: r } = e, { shape: i, activeShape: a, cornerRadius: o, id: s } = n, c = q2(n, BDe), l = QI(c), u = Q(d$), { onMouseEnter: d, onClick: f, onMouseLeave: p } = n, m = q2(n, VDe), h = U0(d, n.dataKey, s), g = W0(p), _ = G0(f, n.dataKey, s);
- return t == null ? null : /*#__PURE__*/ R.createElement(qDe, {
+function uOe(e) {
+ var { sectors: t, allOtherRadialBarProps: n, showLabels: r } = e, { shape: i, activeShape: a, cornerRadius: o, id: s } = n, c = q2(n, nOe), l = aL(c), u = Q(d$), { onMouseEnter: d, onClick: f, onMouseLeave: p } = n, m = q2(n, rOe), h = U0(d, n.dataKey, s), g = W0(p), _ = G0(f, n.dataKey, s);
+ return t == null ? null : /*#__PURE__*/ R.createElement(lOe, {
showLabels: r,
sectors: t
}, t.map((e, t) => {
- var n = !!(a && u === String(t)), r = h(e, t), s = g(e, t), d = _(e, t), f = K2(K2(K2(K2({}, l), {}, { cornerRadius: S2(o) }, e), ER(m, e, t)), {}, {
+ var n = !!(a && u === String(t)), r = h(e, t), s = g(e, t), d = _(e, t), f = K2(K2(K2(K2({}, l), {}, { cornerRadius: S2(o) }, e), NR(m, e, t)), {}, {
onMouseEnter: r,
onMouseLeave: s,
onClick: d,
@@ -62319,7 +62759,7 @@ function JDe(e) {
}, /*#__PURE__*/ R.createElement(C2, f)) : /*#__PURE__*/ R.createElement(C2, W2({ key: `sector-${e.cx}-${e.cy}-${e.innerRadius}-${e.outerRadius}-${e.startAngle}-${e.endAngle}-${t}` }, f));
}), /*#__PURE__*/ R.createElement(U1, { label: n.label }), n.children);
}
-function YDe(e) {
+function dOe(e) {
var { props: t, previousSectorsRef: n } = e, { sectors: r, isAnimationActive: i, animationBegin: a, animationDuration: o, animationEasing: s, onAnimationEnd: c, onAnimationStart: l } = t, u = CK(t, "recharts-radialbar-"), d = n.current, [f, p] = (0, R.useState)(!1), m = (0, R.useCallback)(() => {
typeof c == "function" && c(), p(!1);
}, [c]), h = (0, R.useCallback)(() => {
@@ -62338,34 +62778,34 @@ function YDe(e) {
var i = e === 1 ? r : (r ?? J2).map((t, n) => {
var r = d && d[n];
if (r) return K2(K2({}, t), {}, {
- startAngle: pR(r.startAngle, t.startAngle, e),
- endAngle: pR(r.endAngle, t.endAngle, e)
+ startAngle: bR(r.startAngle, t.startAngle, e),
+ endAngle: bR(r.endAngle, t.endAngle, e)
});
var { endAngle: i, startAngle: a } = t;
- return K2(K2({}, t), {}, { endAngle: pR(a, i, e) });
+ return K2(K2({}, t), {}, { endAngle: bR(a, i, e) });
});
- return e > 0 && (n.current = i ?? null), /*#__PURE__*/ R.createElement(JDe, {
+ return e > 0 && (n.current = i ?? null), /*#__PURE__*/ R.createElement(uOe, {
sectors: i ?? J2,
allOtherRadialBarProps: t,
showLabels: !f
});
});
}
-function XDe(e) {
+function fOe(e) {
var t = (0, R.useRef)(null);
- return /*#__PURE__*/ R.createElement(YDe, {
+ return /*#__PURE__*/ R.createElement(dOe, {
props: e,
previousSectorsRef: t
});
}
-function ZDe(e) {
- var t = Q((t) => zDe(t, e.legendType));
+function pOe(e) {
+ var t = Q((t) => tOe(t, e.legendType));
return /*#__PURE__*/ R.createElement(J0, { legendPayload: t ?? [] });
}
-var QDe = /*#__PURE__*/ R.memo((e) => {
+var mOe = /*#__PURE__*/ R.memo((e) => {
var { dataKey: t, sectors: n, stroke: r, strokeWidth: i, name: a, hide: o, fill: s, tooltipType: c, id: l } = e, u = {
dataDefinedOnItem: n,
- getPosition: vR,
+ getPosition: TR,
settings: {
graphicalItemId: l,
stroke: r,
@@ -62373,7 +62813,7 @@ var QDe = /*#__PURE__*/ R.memo((e) => {
fill: s,
nameKey: void 0,
dataKey: t,
- name: VV(a, t),
+ name: QV(a, t),
hide: o,
type: c,
color: s,
@@ -62381,14 +62821,14 @@ var QDe = /*#__PURE__*/ R.memo((e) => {
}
};
return /*#__PURE__*/ R.createElement(K0, { tooltipEntrySettings: u });
-}), $De = class extends R.PureComponent {
+}), hOe = class extends R.PureComponent {
renderBackground(e) {
if (e == null) return null;
- var { cornerRadius: t } = this.props, n = $I(this.props.background);
+ var { cornerRadius: t } = this.props, n = oL(this.props.background);
return /*#__PURE__*/ R.createElement(M$, { zIndex: U2(this.props.background, _q.barBackground) }, e.map((e, r) => {
- var { value: i, background: a } = e, o = q2(e, HDe);
+ var { value: i, background: a } = e, o = q2(e, iOe);
if (!a) return null;
- var s = K2(K2(K2(K2(K2({ cornerRadius: S2(t) }, o), {}, { fill: "#eee" }, a), n), ER(this.props, e, r)), {}, {
+ var s = K2(K2(K2(K2(K2({ cornerRadius: S2(t) }, o), {}, { fill: "#eee" }, a), n), NR(this.props, e, r)), {}, {
index: r,
className: Ql("recharts-radial-bar-background-sector", String(n?.className)),
option: a,
@@ -62401,17 +62841,17 @@ var QDe = /*#__PURE__*/ R.memo((e) => {
var { hide: e, sectors: t, className: n, background: r } = this.props;
if (e) return null;
var i = Ql("recharts-area", n);
- return /*#__PURE__*/ R.createElement(M$, { zIndex: this.props.zIndex }, /*#__PURE__*/ R.createElement(iL, { className: i }, r && /*#__PURE__*/ R.createElement(iL, { className: "recharts-radial-bar-background" }, this.renderBackground(t)), /*#__PURE__*/ R.createElement(iL, { className: "recharts-radial-bar-sectors" }, /*#__PURE__*/ R.createElement(XDe, this.props))));
+ return /*#__PURE__*/ R.createElement(M$, { zIndex: this.props.zIndex }, /*#__PURE__*/ R.createElement(dL, { className: i }, r && /*#__PURE__*/ R.createElement(dL, { className: "recharts-radial-bar-background" }, this.renderBackground(t)), /*#__PURE__*/ R.createElement(dL, { className: "recharts-radial-bar-sectors" }, /*#__PURE__*/ R.createElement(fOe, this.props))));
}
};
-function eOe(e) {
+function gOe(e) {
var t = R.useMemo(() => M0(e.children, Y$), [e.children]), n = R.useMemo(() => ({
data: void 0,
hide: !1,
id: e.id,
dataKey: e.dataKey,
minPointSize: e.minPointSize,
- stackId: AV(e.stackId),
+ stackId: VV(e.stackId),
maxBarSize: e.maxBarSize,
barSize: e.barSize,
type: "radialBar",
@@ -62426,8 +62866,8 @@ function eOe(e) {
e.barSize,
e.angleAxisId,
e.radiusAxisId
- ]), r = Q((r) => RDe(r, e.radiusAxisId, e.angleAxisId, n, t)) ?? J2;
- return /*#__PURE__*/ R.createElement(R.Fragment, null, /*#__PURE__*/ R.createElement(QDe, {
+ ]), r = Q((r) => eOe(r, e.radiusAxisId, e.angleAxisId, n, t)) ?? J2;
+ return /*#__PURE__*/ R.createElement(R.Fragment, null, /*#__PURE__*/ R.createElement(mOe, {
dataKey: e.dataKey,
sectors: r,
stroke: e.stroke,
@@ -62437,7 +62877,7 @@ function eOe(e) {
fill: e.fill,
tooltipType: e.tooltipType,
id: e.id
- }), /*#__PURE__*/ R.createElement($De, W2({}, e, { sectors: r })));
+ }), /*#__PURE__*/ R.createElement(hOe, W2({}, e, { sectors: r })));
}
var Y2 = {
angleAxisId: 0,
@@ -62456,12 +62896,12 @@ var Y2 = {
radiusAxisId: 0,
zIndex: _q.bar
};
-function tOe(e) {
+function _Oe(e) {
var { displayedData: t, stackedData: n, dataStartIndex: r, stackedDomain: i, dataKey: a, baseValue: o, layout: s, radiusAxis: c, radiusAxisTicks: l, bandSize: u, pos: d, angleAxis: f, minPointSize: p, cx: m, cy: h, angleAxisTicks: g, cells: _, startAngle: v, endAngle: y } = e;
return g == null || l == null ? J2 : (t ?? []).map((e, t) => {
var b, x, S, C, w, T;
- if (n ? b = DV(n[r + t], i) : (b = SV(e, a), Array.isArray(b) || (b = [o, b])), s === "radial") {
- if (C = f.scale.map(b[0]) ?? v, w = f.scale.map(b[1]) ?? y, x = MV({
+ if (n ? b = RV(n[r + t], i) : (b = NV(e, a), Array.isArray(b) || (b = [o, b])), s === "radial") {
+ if (C = f.scale.map(b[0]) ?? v, w = f.scale.map(b[1]) ?? y, x = UV({
axis: c,
ticks: l,
bandSize: u,
@@ -62472,7 +62912,7 @@ function tOe(e) {
S = x + d.size;
var E = w - C;
if (Math.abs(p) > 0 && Math.abs(E) < Math.abs(p)) {
- var D = oR(E || p) * (Math.abs(p) - Math.abs(E));
+ var D = pR(E || p) * (Math.abs(p) - Math.abs(E));
w += D;
}
T = { background: {
@@ -62484,7 +62924,7 @@ function tOe(e) {
endAngle: y
} };
}
- } else if (x = c.scale.map(b[0]), S = c.scale.map(b[1]), C = MV({
+ } else if (x = c.scale.map(b[0]), S = c.scale.map(b[1]), C = UV({
axis: f,
ticks: g,
bandSize: u,
@@ -62495,7 +62935,7 @@ function tOe(e) {
w = C + d.size;
var O = S - x;
if (Math.abs(p) > 0 && Math.abs(O) < Math.abs(p)) {
- var k = oR(O || p) * (Math.abs(p) - Math.abs(O));
+ var k = pR(O || p) * (Math.abs(p) - Math.abs(O));
S += k;
}
}
@@ -62512,7 +62952,7 @@ function tOe(e) {
});
}
function X2(e) {
- var t = OR(e, Y2);
+ var t = FR(e, Y2);
return /*#__PURE__*/ R.createElement(Y0, {
id: t.id,
type: "radialBar"
@@ -62524,17 +62964,17 @@ function X2(e) {
hide: t.hide ?? Y2.hide,
angleAxisId: t.angleAxisId ?? Y2.angleAxisId,
radiusAxisId: t.radiusAxisId ?? Y2.radiusAxisId,
- stackId: AV(t.stackId),
+ stackId: VV(t.stackId),
barSize: t.barSize,
minPointSize: t.minPointSize,
maxBarSize: t.maxBarSize
- }), /*#__PURE__*/ R.createElement(ZDe, t), /*#__PURE__*/ R.createElement(eOe, W2({}, t, { id: e }))));
+ }), /*#__PURE__*/ R.createElement(pOe, t), /*#__PURE__*/ R.createElement(gOe, W2({}, t, { id: e }))));
}
X2.displayName = "RadialBar";
//#endregion
//#region node_modules/recharts/es6/context/chartDataContext.js
var Z2 = (e) => {
- var { chartData: t } = e, n = tz(), r = dH();
+ var { chartData: t } = e, n = cz(), r = SH();
return (0, R.useEffect)(() => r ? () => {} : (n(U$(t)), () => {
n(U$(void 0));
}), [
@@ -62553,13 +62993,13 @@ var Z2 = (e) => {
bottom: 0,
left: 0
}
-}, $2 = BB({
+}, $2 = qB({
name: "brush",
initialState: Q2,
reducers: { setBrushSettings(e, t) {
return t.payload == null ? Q2 : t.payload;
} }
-}), { setBrushSettings: nOe } = $2.actions, rOe = $2.reducer, iOe = (e, t) => {
+}), { setBrushSettings: vOe } = $2.actions, yOe = $2.reducer, bOe = (e, t) => {
var { x: n, y: r } = e, { x: i, y: a } = t;
return {
x: Math.min(n, i),
@@ -62567,9 +63007,9 @@ var Z2 = (e) => {
width: Math.abs(i - n),
height: Math.abs(a - r)
};
-}, aOe = (e) => {
+}, xOe = (e) => {
var { x1: t, y1: n, x2: r, y2: i } = e;
- return iOe({
+ return bOe({
x: t,
y: n
}, {
@@ -62577,13 +63017,13 @@ var Z2 = (e) => {
y: i
});
};
-function oOe(e) {
+function SOe(e) {
return (e % 180 + 180) % 180;
}
-var sOe = function(e) {
- var { width: t, height: n } = e, r = oOe(arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 0) * Math.PI / 180, i = Math.atan(n / t), a = r > i && r < Math.PI - i ? n / Math.sin(r) : t / Math.cos(r);
+var COe = function(e) {
+ var { width: t, height: n } = e, r = SOe(arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 0) * Math.PI / 180, i = Math.atan(n / t), a = r > i && r < Math.PI - i ? n / Math.sin(r) : t / Math.cos(r);
return Math.abs(a);
-}, e4 = BB({
+}, e4 = qB({
name: "referenceElements",
initialState: {
dots: [],
@@ -62595,26 +63035,26 @@ var sOe = function(e) {
e.dots.push(t.payload);
},
removeDot: (e, t) => {
- var n = DB(e).dots.findIndex((e) => e === t.payload);
+ var n = PB(e).dots.findIndex((e) => e === t.payload);
n !== -1 && e.dots.splice(n, 1);
},
addArea: (e, t) => {
e.areas.push(t.payload);
},
removeArea: (e, t) => {
- var n = DB(e).areas.findIndex((e) => e === t.payload);
+ var n = PB(e).areas.findIndex((e) => e === t.payload);
n !== -1 && e.areas.splice(n, 1);
},
addLine: (e, t) => {
- e.lines.push(qU(t.payload));
+ e.lines.push(iW(t.payload));
},
removeLine: (e, t) => {
- var n = DB(e).lines.findIndex((e) => e === t.payload);
+ var n = PB(e).lines.findIndex((e) => e === t.payload);
n !== -1 && e.lines.splice(n, 1);
}
}
-}), { addDot: cOe, removeDot: lOe, addArea: uOe, removeArea: dOe, addLine: fOe, removeLine: pOe } = e4.actions, mOe = e4.reducer, t4 = /*#__PURE__*/ (0, R.createContext)(void 0), hOe = (e) => {
- var { children: t } = e, [n] = (0, R.useState)(`${uR("recharts")}-clip`), r = o2();
+}), { addDot: wOe, removeDot: TOe, addArea: EOe, removeArea: DOe, addLine: OOe, removeLine: kOe } = e4.actions, AOe = e4.reducer, t4 = /*#__PURE__*/ (0, R.createContext)(void 0), jOe = (e) => {
+ var { children: t } = e, [n] = (0, R.useState)(`${_R("recharts")}-clip`), r = o2();
if (r == null) return null;
var { x: i, y: a, width: o, height: s } = r;
return /*#__PURE__*/ R.createElement(t4.Provider, { value: n }, /*#__PURE__*/ R.createElement("defs", null, /*#__PURE__*/ R.createElement("clipPath", { id: n }, /*#__PURE__*/ R.createElement("rect", {
@@ -62623,7 +63063,7 @@ var sOe = function(e) {
height: s,
width: o
}))), t);
-}, gOe = () => (0, R.useContext)(t4), _Oe = class {
+}, MOe = () => (0, R.useContext)(t4), NOe = class {
constructor(e) {
var { x: t, y: n } = e;
this.xAxisScale = t, this.yAxisScale = n;
@@ -62663,26 +63103,26 @@ function r4(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? n4(Object(n), !0).forEach(function(t) {
- vOe(e, t, n[t]);
+ POe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : n4(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function vOe(e, t, n) {
- return (t = yOe(t)) in e ? Object.defineProperty(e, t, {
+function POe(e, t, n) {
+ return (t = FOe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function yOe(e) {
- var t = bOe(e, "string");
+function FOe(e) {
+ var t = IOe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function bOe(e, t) {
+function IOe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -62701,18 +63141,18 @@ function i4() {
return e;
}, i4.apply(null, arguments);
}
-var xOe = (e, t) => {
+var LOe = (e, t) => {
var n;
if (/*#__PURE__*/ R.isValidElement(e)) n = /*#__PURE__*/ R.cloneElement(e, t);
else if (typeof e == "function") n = e(t);
else {
- if (!hV(t.x1) || !hV(t.y1) || !hV(t.x2) || !hV(t.y2)) return null;
+ if (!EV(t.x1) || !EV(t.y1) || !EV(t.x2) || !EV(t.y2)) return null;
n = /*#__PURE__*/ R.createElement("line", i4({}, t, { className: "recharts-reference-line-line" }));
}
return n;
-}, SOe = (e, t, n, r, i, a) => {
+}, ROe = (e, t, n, r, i, a) => {
var { x: o, width: s } = a, c = i.map(e, { position: n });
- if (!hV(c) || t === "discard" && !i.isInRange(c)) return null;
+ if (!EV(c) || t === "discard" && !i.isInRange(c)) return null;
var l = [{
x: o + s,
y: c
@@ -62721,9 +63161,9 @@ var xOe = (e, t) => {
y: c
}];
return r === "left" ? l.reverse() : l;
-}, COe = (e, t, n, r, i, a) => {
+}, zOe = (e, t, n, r, i, a) => {
var { y: o, height: s } = a, c = i.map(e, { position: n });
- if (!hV(c) || t === "discard" && !i.isInRange(c)) return null;
+ if (!EV(c) || t === "discard" && !i.isInRange(c)) return null;
var l = [{
x: c,
y: o + s
@@ -62732,7 +63172,7 @@ var xOe = (e, t) => {
y: o
}];
return r === "top" ? l.reverse() : l;
-}, wOe = (e, t, n, r) => {
+}, BOe = (e, t, n, r) => {
var i = [r.mapWithFallback(e[0], {
position: n,
fallback: "rangeMin"
@@ -62741,43 +63181,43 @@ var xOe = (e, t) => {
fallback: "rangeMax"
})];
return t === "discard" && i.some((e) => !r.isInRange(e)) ? null : i;
-}, TOe = (e, t, n, r, i, a, o) => {
- var { x: s, y: c, segment: l, ifOverflow: u } = o, d = lR(s);
- return lR(c) ? SOe(c, u, r, a, t, n) : d ? COe(s, u, r, i, e, n) : l != null && l.length === 2 ? wOe(l, u, r, new _Oe({
+}, VOe = (e, t, n, r, i, a, o) => {
+ var { x: s, y: c, segment: l, ifOverflow: u } = o, d = gR(s);
+ return gR(c) ? ROe(c, u, r, a, t, n) : d ? zOe(s, u, r, i, e, n) : l != null && l.length === 2 ? BOe(l, u, r, new NOe({
x: e,
y: t
})) : null;
};
-function EOe(e) {
- var t = tz();
- return (0, R.useEffect)(() => (t(fOe(e)), () => {
- t(pOe(e));
+function HOe(e) {
+ var t = cz();
+ return (0, R.useEffect)(() => (t(OOe(e)), () => {
+ t(kOe(e));
})), null;
}
-function DOe(e) {
- var { xAxisId: t, yAxisId: n, shape: r, className: i, ifOverflow: a } = e, o = dH(), s = gOe(), c = Q((e) => uZ(e, t)), l = Q((e) => pZ(e, n)), u = Q((e) => uQ(e, "xAxis", t, o)), d = Q((e) => uQ(e, "yAxis", n, o)), f = zH();
+function UOe(e) {
+ var { xAxisId: t, yAxisId: n, shape: r, className: i, ifOverflow: a } = e, o = SH(), s = MOe(), c = Q((e) => uZ(e, t)), l = Q((e) => pZ(e, n)), u = Q((e) => uQ(e, "xAxis", t, o)), d = Q((e) => uQ(e, "yAxis", n, o)), f = XH();
if (!s || !f || c == null || l == null || u == null || d == null) return null;
- var p = TOe(u, d, f, e.position, c.orientation, l.orientation, e);
+ var p = VOe(u, d, f, e.position, c.orientation, l.orientation, e);
if (!p) return null;
var m = p[0], h = p[1];
if (m == null || h == null) return null;
- var { x: g, y: _ } = m, { x: v, y } = h, b = r4(r4({ clipPath: a === "hidden" ? `url(#${s})` : void 0 }, eL(e)), {}, {
+ var { x: g, y: _ } = m, { x: v, y } = h, b = r4(r4({ clipPath: a === "hidden" ? `url(#${s})` : void 0 }, sL(e)), {}, {
x1: g,
y1: _,
x2: v,
y2: y
- }), x = aOe({
+ }), x = xOe({
x1: g,
y1: _,
x2: v,
y2: y
});
- return /*#__PURE__*/ R.createElement(M$, { zIndex: e.zIndex }, /*#__PURE__*/ R.createElement(iL, { className: Ql("recharts-reference-line", i) }, xOe(r, b), /*#__PURE__*/ R.createElement(O1, i4({}, x, {
+ return /*#__PURE__*/ R.createElement(M$, { zIndex: e.zIndex }, /*#__PURE__*/ R.createElement(dL, { className: Ql("recharts-reference-line", i) }, LOe(r, b), /*#__PURE__*/ R.createElement(O1, i4({}, x, {
lowerWidth: x.width,
upperWidth: x.width
}), /*#__PURE__*/ R.createElement(I1, { label: e.label }), e.children)));
}
-var OOe = {
+var WOe = {
ifOverflow: "discard",
xAxisId: 0,
yAxisId: 0,
@@ -62790,15 +63230,15 @@ var OOe = {
zIndex: _q.line
};
function a4(e) {
- var t = OR(e, OOe);
- return /*#__PURE__*/ R.createElement(R.Fragment, null, /*#__PURE__*/ R.createElement(EOe, {
+ var t = FR(e, WOe);
+ return /*#__PURE__*/ R.createElement(R.Fragment, null, /*#__PURE__*/ R.createElement(HOe, {
yAxisId: t.yAxisId,
xAxisId: t.xAxisId,
ifOverflow: t.ifOverflow,
x: t.x,
y: t.y,
segment: t.segment
- }), /*#__PURE__*/ R.createElement(DOe, t));
+ }), /*#__PURE__*/ R.createElement(UOe, t));
}
a4.displayName = "ReferenceLine";
//#endregion
@@ -62814,13 +63254,13 @@ function o4(e, t) {
}
//#endregion
//#region node_modules/recharts/es6/util/TickUtils.js
-function kOe(e, t, n) {
- return sOe({
+function GOe(e, t, n) {
+ return COe({
width: e.width + t.width,
height: e.height + t.height
}, n);
}
-function AOe(e, t, n) {
+function KOe(e, t, n) {
var r = n === "width", { x: i, y: a, width: o, height: s } = e;
return t === 1 ? {
start: r ? i : a,
@@ -62835,12 +63275,12 @@ function s4(e, t, n, r, i) {
var a = n();
return e * (t - e * a / 2 - r) >= 0 && e * (t + e * a / 2 - i) <= 0;
}
-function jOe(e, t) {
+function qOe(e, t) {
return o4(e, t + 1);
}
//#endregion
//#region node_modules/recharts/es6/cartesian/getEquidistantTicks.js
-function MOe(e, t, n, r, i) {
+function JOe(e, t, n, r, i) {
for (var a = (r || []).slice(), { start: o, end: s } = t, c = 0, l = 1, u = o, d = function() {
var t = r?.[c];
if (t === void 0) return { v: o4(r, l) };
@@ -62849,7 +63289,7 @@ function MOe(e, t, n, r, i) {
}, f; l <= a.length;) if (f = d(), f) return f.v;
return [];
}
-function NOe(e, t, n, r, i) {
+function YOe(e, t, n, r, i) {
var a = (r || []).slice().length;
if (a === 0) return [];
for (var { start: o, end: s } = t, c = 1; c <= a; c++) {
@@ -62886,26 +63326,26 @@ function l4(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? c4(Object(n), !0).forEach(function(t) {
- POe(e, t, n[t]);
+ XOe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : c4(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function POe(e, t, n) {
- return (t = FOe(t)) in e ? Object.defineProperty(e, t, {
+function XOe(e, t, n) {
+ return (t = ZOe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function FOe(e) {
- var t = IOe(e, "string");
+function ZOe(e) {
+ var t = QOe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function IOe(e, t) {
+function QOe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -62915,7 +63355,7 @@ function IOe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function LOe(e, t, n, r, i) {
+function $Oe(e, t, n, r, i) {
for (var a = (r || []).slice(), o = a.length, { start: s } = t, { end: c } = t, l = function(t) {
var r = a[t];
if (r == null) return 1;
@@ -62928,7 +63368,7 @@ function LOe(e, t, n, r, i) {
}, u = o - 1; u >= 0; u--) if (l(u)) continue;
return a;
}
-function ROe(e, t, n, r, i, a) {
+function eke(e, t, n, r, i, a) {
var o = (r || []).slice(), s = o.length, { start: c, end: l } = t;
if (a) {
var u = r[s - 1];
@@ -62952,7 +63392,7 @@ function ROe(e, t, n, r, i, a) {
function u4(e, t, n) {
var { tick: r, ticks: i, viewBox: a, minTickGap: o, orientation: s, interval: c, tickFormatter: l, unit: u, angle: d } = e;
if (!i || !i.length || !r) return [];
- if (Z(c) || eG.isSsr) return jOe(i, Z(c) ? c : 0) ?? [];
+ if (Z(c) || dG.isSsr) return qOe(i, Z(c) ? c : 0) ?? [];
var f = [], p = s === "top" || s === "bottom" ? "width" : "height", m = u && p === "width" ? t1(u, {
fontSize: t,
letterSpacing: n
@@ -62961,19 +63401,19 @@ function u4(e, t, n) {
height: 0
}, h = (e, r) => {
var i = typeof l == "function" ? l(e.value, r) : e.value;
- return p === "width" ? kOe(t1(i, {
+ return p === "width" ? GOe(t1(i, {
fontSize: t,
letterSpacing: n
}), m, d) : t1(i, {
fontSize: t,
letterSpacing: n
})[p];
- }, g = i[0], _ = i[1], v = i.length >= 2 && g != null && _ != null ? oR(_.coordinate - g.coordinate) : 1, y = AOe(a, v, p);
- return c === "equidistantPreserveStart" ? MOe(v, y, h, i, o) : c === "equidistantPreserveEnd" ? NOe(v, y, h, i, o) : (f = c === "preserveStart" || c === "preserveStartEnd" ? ROe(v, y, h, i, o, c === "preserveStartEnd") : LOe(v, y, h, i, o), f.filter((e) => e.isShow));
+ }, g = i[0], _ = i[1], v = i.length >= 2 && g != null && _ != null ? pR(_.coordinate - g.coordinate) : 1, y = KOe(a, v, p);
+ return c === "equidistantPreserveStart" ? JOe(v, y, h, i, o) : c === "equidistantPreserveEnd" ? YOe(v, y, h, i, o) : (f = c === "preserveStart" || c === "preserveStartEnd" ? eke(v, y, h, i, o, c === "preserveStartEnd") : $Oe(v, y, h, i, o), f.filter((e) => e.isShow));
}
//#endregion
//#region node_modules/recharts/es6/util/YAxisUtils.js
-var zOe = (e) => {
+var tke = (e) => {
var { ticks: t, label: n, labelGapWithTick: r = 5, tickSize: i = 0, tickMargin: a = 0 } = e, o = 0;
if (t) {
Array.from(t).forEach((e) => {
@@ -62986,7 +63426,7 @@ var zOe = (e) => {
return Math.round(l);
}
return 0;
-}, d4 = BB({
+}, d4 = qB({
name: "renderedTicks",
initialState: {
xAxis: {},
@@ -62995,14 +63435,14 @@ var zOe = (e) => {
reducers: {
setRenderedTicks: (e, t) => {
var { axisType: n, axisId: r, ticks: i } = t.payload;
- e[n][r] = qU(i);
+ e[n][r] = iW(i);
},
removeRenderedTicks: (e, t) => {
var { axisType: n, axisId: r } = t.payload;
delete e[n][r];
}
}
-}), { setRenderedTicks: BOe, removeRenderedTicks: VOe } = d4.actions, HOe = d4.reducer, UOe = [
+}), { setRenderedTicks: nke, removeRenderedTicks: rke } = d4.actions, ike = d4.reducer, ake = [
"axisLine",
"width",
"height",
@@ -63012,16 +63452,16 @@ var zOe = (e) => {
"axisType",
"axisId"
];
-function WOe(e, t) {
+function oke(e, t) {
if (e == null) return {};
- var n, r, i = GOe(e, t);
+ var n, r, i = ske(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function GOe(e, t) {
+function ske(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -63053,26 +63493,26 @@ function m4(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? p4(Object(n), !0).forEach(function(t) {
- KOe(e, t, n[t]);
+ cke(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : p4(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function KOe(e, t, n) {
- return (t = qOe(t)) in e ? Object.defineProperty(e, t, {
+function cke(e, t, n) {
+ return (t = lke(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function qOe(e) {
- var t = JOe(e, "string");
+function lke(e) {
+ var t = uke(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function JOe(e, t) {
+function uke(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -63106,10 +63546,10 @@ var h4 = {
interval: "preserveEnd",
zIndex: _q.axis
};
-function YOe(e) {
+function dke(e) {
var { x: t, y: n, width: r, height: i, orientation: a, mirror: o, axisLine: s, otherSvgProps: c } = e;
if (!s) return null;
- var l = m4(m4(m4({}, c), QI(s)), {}, { fill: "none" });
+ var l = m4(m4(m4({}, c), aL(s)), {}, { fill: "none" });
if (a === "top" || a === "bottom") {
var u = +(a === "top" && !o || a === "bottom" && o);
l = m4(m4({}, l), {}, {
@@ -63127,9 +63567,9 @@ function YOe(e) {
y2: n + i
});
}
- return /*#__PURE__*/ R.createElement("line", f4({}, l, { className: Ql("recharts-cartesian-axis-line", rR(s, "className")) }));
+ return /*#__PURE__*/ R.createElement("line", f4({}, l, { className: Ql("recharts-cartesian-axis-line", uR(s, "className")) }));
}
-function XOe(e, t, n, r, i, a, o, s, c) {
+function fke(e, t, n, r, i, a, o, s, c) {
var l, u, d, f, p, m, h = s ? -1 : 1, g = e.tickSize || o, _ = Z(e.tickCoord) ? e.tickCoord : e.coordinate;
switch (a) {
case "top":
@@ -63156,14 +63596,14 @@ function XOe(e, t, n, r, i, a, o, s, c) {
}
};
}
-function ZOe(e, t) {
+function pke(e, t) {
switch (e) {
case "left": return t ? "start" : "end";
case "right": return t ? "end" : "start";
default: return "middle";
}
}
-function QOe(e, t) {
+function mke(e, t) {
switch (e) {
case "left":
case "right": return "middle";
@@ -63171,7 +63611,7 @@ function QOe(e, t) {
default: return t ? "end" : "start";
}
}
-function $Oe(e) {
+function hke(e) {
var { option: t, tickProps: n, value: r } = e, i, a = Ql(n.className, "recharts-cartesian-axis-tick-value");
if (/*#__PURE__*/ R.isValidElement(t)) i = /*#__PURE__*/ R.cloneElement(t, m4(m4({}, n), {}, { className: a }));
else if (typeof t == "function") i = t(m4(m4({}, n), {}, { className: a }));
@@ -63181,9 +63621,9 @@ function $Oe(e) {
}
return i;
}
-function eke(e) {
- var { ticks: t, axisType: n, axisId: r } = e, i = tz();
- return (0, R.useEffect)(() => r == null || n == null ? vR : (i(BOe({
+function gke(e) {
+ var { ticks: t, axisType: n, axisId: r } = e, i = cz();
+ return (0, R.useEffect)(() => r == null || n == null ? TR : (i(nke({
ticks: t.map((e) => ({
value: e.value,
coordinate: e.coordinate,
@@ -63193,7 +63633,7 @@ function eke(e) {
axisId: r,
axisType: n
})), () => {
- i(VOe({
+ i(rke({
axisId: r,
axisType: n
}));
@@ -63204,15 +63644,15 @@ function eke(e) {
n
]), null;
}
-var tke = /*#__PURE__*/ (0, R.forwardRef)((e, t) => {
- var { ticks: n = [], tick: r, tickLine: i, stroke: a, tickFormatter: o, unit: s, padding: c, tickTextProps: l, orientation: u, mirror: d, x: f, y: p, width: m, height: h, tickSize: g, tickMargin: _, fontSize: v, letterSpacing: y, getTicksConfig: b, events: x, axisType: S, axisId: C } = e, w = u4(m4(m4({}, b), {}, { ticks: n }), v, y), T = QI(b), E = $I(r), D = m1(T.textAnchor) ? T.textAnchor : ZOe(u, d), O = QOe(u, d), k = {};
+var _ke = /*#__PURE__*/ (0, R.forwardRef)((e, t) => {
+ var { ticks: n = [], tick: r, tickLine: i, stroke: a, tickFormatter: o, unit: s, padding: c, tickTextProps: l, orientation: u, mirror: d, x: f, y: p, width: m, height: h, tickSize: g, tickMargin: _, fontSize: v, letterSpacing: y, getTicksConfig: b, events: x, axisType: S, axisId: C } = e, w = u4(m4(m4({}, b), {}, { ticks: n }), v, y), T = aL(b), E = oL(r), D = m1(T.textAnchor) ? T.textAnchor : pke(u, d), O = mke(u, d), k = {};
typeof i == "object" && (k = i);
- var A = m4(m4({}, T), {}, { fill: "none" }, k), j = w.map((e) => m4({ entry: e }, XOe(e, f, p, m, h, u, g, d, _))), M = j.map((e) => {
+ var A = m4(m4({}, T), {}, { fill: "none" }, k), j = w.map((e) => m4({ entry: e }, fke(e, f, p, m, h, u, g, d, _))), M = j.map((e) => {
var { entry: t, line: n } = e;
- return /*#__PURE__*/ R.createElement(iL, {
+ return /*#__PURE__*/ R.createElement(dL, {
className: "recharts-cartesian-axis-tick",
key: `tick-${t.value}-${t.coordinate}-${t.tickCoord}`
- }, i && /*#__PURE__*/ R.createElement("line", f4({}, A, n, { className: Ql("recharts-cartesian-axis-tick-line", rR(i, "className")) })));
+ }, i && /*#__PURE__*/ R.createElement("line", f4({}, A, n, { className: Ql("recharts-cartesian-axis-tick-line", uR(i, "className")) })));
}), N = j.map((e, t) => {
var { entry: n, tick: i } = e, u = m4(m4({}, m4(m4(m4(m4({ verticalAnchor: O }, T), {}, {
textAnchor: D,
@@ -63225,16 +63665,16 @@ var tke = /*#__PURE__*/ (0, R.forwardRef)((e, t) => {
tickFormatter: o,
padding: c
}, l), {}, { angle: l?.angle ?? T.angle ?? 0 })), E);
- return /*#__PURE__*/ R.createElement(iL, f4({
+ return /*#__PURE__*/ R.createElement(dL, f4({
className: "recharts-cartesian-axis-tick-label",
key: `tick-label-${n.value}-${n.coordinate}-${n.tickCoord}`
- }, ER(x, n, t)), r && /*#__PURE__*/ R.createElement($Oe, {
+ }, NR(x, n, t)), r && /*#__PURE__*/ R.createElement(hke, {
option: r,
tickProps: u,
value: `${typeof o == "function" ? o(n.value, t) : n.value}${s || ""}`
}));
});
- return /*#__PURE__*/ R.createElement("g", { className: `recharts-cartesian-axis-ticks recharts-${S}-ticks` }, /*#__PURE__*/ R.createElement(eke, {
+ return /*#__PURE__*/ R.createElement("g", { className: `recharts-cartesian-axis-ticks recharts-${S}-ticks` }, /*#__PURE__*/ R.createElement(gke, {
ticks: w,
axisId: C,
axisType: S
@@ -63242,9 +63682,9 @@ var tke = /*#__PURE__*/ (0, R.forwardRef)((e, t) => {
className: `recharts-cartesian-axis-tick-labels recharts-${S}-tick-labels`,
ref: t
}, N)), M.length > 0 && /*#__PURE__*/ R.createElement("g", { className: `recharts-cartesian-axis-tick-lines recharts-${S}-tick-lines` }, M));
-}), nke = /*#__PURE__*/ (0, R.forwardRef)((e, t) => {
- var { axisLine: n, width: r, height: i, className: a, hide: o, ticks: s, axisType: c, axisId: l } = e, u = WOe(e, UOe), [d, f] = (0, R.useState)(""), [p, m] = (0, R.useState)(""), h = (0, R.useRef)(null);
- (0, R.useImperativeHandle)(t, () => ({ getCalculatedWidth: () => zOe({
+}), vke = /*#__PURE__*/ (0, R.forwardRef)((e, t) => {
+ var { axisLine: n, width: r, height: i, className: a, hide: o, ticks: s, axisType: c, axisId: l } = e, u = oke(e, ake), [d, f] = (0, R.useState)(""), [p, m] = (0, R.useState)(""), h = (0, R.useRef)(null);
+ (0, R.useImperativeHandle)(t, () => ({ getCalculatedWidth: () => tke({
ticks: h.current,
label: e.labelRef?.current,
labelGapWithTick: 5,
@@ -63262,7 +63702,7 @@ var tke = /*#__PURE__*/ (0, R.forwardRef)((e, t) => {
}
}
}, [d, p]);
- return o || r != null && r <= 0 || i != null && i <= 0 ? null : /*#__PURE__*/ R.createElement(M$, { zIndex: e.zIndex }, /*#__PURE__*/ R.createElement(iL, { className: Ql("recharts-cartesian-axis", a) }, /*#__PURE__*/ R.createElement(YOe, {
+ return o || r != null && r <= 0 || i != null && i <= 0 ? null : /*#__PURE__*/ R.createElement(M$, { zIndex: e.zIndex }, /*#__PURE__*/ R.createElement(dL, { className: Ql("recharts-cartesian-axis", a) }, /*#__PURE__*/ R.createElement(dke, {
x: e.x,
y: e.y,
width: r,
@@ -63270,8 +63710,8 @@ var tke = /*#__PURE__*/ (0, R.forwardRef)((e, t) => {
orientation: e.orientation,
mirror: e.mirror,
axisLine: n,
- otherSvgProps: QI(e)
- }), /*#__PURE__*/ R.createElement(tke, {
+ otherSvgProps: aL(e)
+ }), /*#__PURE__*/ R.createElement(_ke, {
ref: g,
axisType: c,
events: u,
@@ -63307,19 +63747,19 @@ var tke = /*#__PURE__*/ (0, R.forwardRef)((e, t) => {
labelRef: e.labelRef
}), e.children)));
}), g4 = /*#__PURE__*/ R.forwardRef((e, t) => {
- var n = OR(e, h4);
- return /*#__PURE__*/ R.createElement(nke, f4({}, n, { ref: t }));
+ var n = FR(e, h4);
+ return /*#__PURE__*/ R.createElement(vke, f4({}, n, { ref: t }));
});
g4.displayName = "CartesianAxis";
//#endregion
//#region node_modules/recharts/es6/cartesian/CartesianGrid.js
-var rke = [
+var yke = [
"x1",
"y1",
"x2",
"y2",
"key"
-], ike = ["offset"], ake = ["xAxisId", "yAxisId"], oke = ["xAxisId", "yAxisId"];
+], bke = ["offset"], xke = ["xAxisId", "yAxisId"], Ske = ["xAxisId", "yAxisId"];
function _4(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
@@ -63334,26 +63774,26 @@ function v4(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? _4(Object(n), !0).forEach(function(t) {
- ske(e, t, n[t]);
+ Cke(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : _4(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function ske(e, t, n) {
- return (t = cke(t)) in e ? Object.defineProperty(e, t, {
+function Cke(e, t, n) {
+ return (t = wke(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function cke(e) {
- var t = lke(e, "string");
+function wke(e) {
+ var t = Tke(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function lke(e, t) {
+function Tke(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -63374,14 +63814,14 @@ function y4() {
}
function b4(e, t) {
if (e == null) return {};
- var n, r, i = uke(e, t);
+ var n, r, i = Eke(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function uke(e, t) {
+function Eke(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -63390,7 +63830,7 @@ function uke(e, t) {
}
return n;
}
-var dke = (e) => {
+var Dke = (e) => {
var { fill: t } = e;
if (!t || t === "none") return null;
var { fillOpacity: n, x: r, y: i, width: a, height: o, ry: s } = e;
@@ -63411,7 +63851,7 @@ function x4(e) {
if (/*#__PURE__*/ R.isValidElement(t)) r = /*#__PURE__*/ R.cloneElement(t, n);
else if (typeof t == "function") r = t(n);
else {
- var { x1: i, y1: a, x2: o, y2: s, key: c } = n, l = QI(b4(n, rke)) ?? {}, { offset: u } = l, d = b4(l, ike);
+ var { x1: i, y1: a, x2: o, y2: s, key: c } = n, l = aL(b4(n, yke)) ?? {}, { offset: u } = l, d = b4(l, bke);
r = /*#__PURE__*/ R.createElement("line", y4({}, d, {
x1: i,
y1: a,
@@ -63423,10 +63863,10 @@ function x4(e) {
}
return r;
}
-function fke(e) {
+function Oke(e) {
var { x: t, width: n, horizontal: r = !0, horizontalPoints: i } = e;
if (!r || !i || !i.length) return null;
- var { xAxisId: a, yAxisId: o } = e, s = b4(e, ake), c = i.map((e, i) => {
+ var { xAxisId: a, yAxisId: o } = e, s = b4(e, xke), c = i.map((e, i) => {
var a = v4(v4({}, s), {}, {
x1: t,
y1: e,
@@ -63443,10 +63883,10 @@ function fke(e) {
});
return /*#__PURE__*/ R.createElement("g", { className: "recharts-cartesian-grid-horizontal" }, c);
}
-function pke(e) {
+function kke(e) {
var { y: t, height: n, vertical: r = !0, verticalPoints: i } = e;
if (!r || !i || !i.length) return null;
- var { xAxisId: a, yAxisId: o } = e, s = b4(e, oke), c = i.map((e, i) => {
+ var { xAxisId: a, yAxisId: o } = e, s = b4(e, Ske), c = i.map((e, i) => {
var a = v4(v4({}, s), {}, {
x1: e,
y1: t,
@@ -63463,7 +63903,7 @@ function pke(e) {
});
return /*#__PURE__*/ R.createElement("g", { className: "recharts-cartesian-grid-vertical" }, c);
}
-function mke(e) {
+function Ake(e) {
var { horizontalFill: t, fillOpacity: n, x: r, y: i, width: a, height: o, horizontalPoints: s, horizontal: c = !0 } = e;
if (!c || !t || !t.length || s == null) return null;
var l = s.map((e) => Math.round(e + i - i)).sort((e, t) => e - t);
@@ -63486,7 +63926,7 @@ function mke(e) {
});
return /*#__PURE__*/ R.createElement("g", { className: "recharts-cartesian-gridstripes-horizontal" }, u);
}
-function hke(e) {
+function jke(e) {
var { vertical: t = !0, verticalFill: n, fillOpacity: r, x: i, y: a, width: o, height: s, verticalPoints: c } = e;
if (!t || !n || !n.length) return null;
var l = c.map((e) => Math.round(e + i - i)).sort((e, t) => e - t);
@@ -63509,10 +63949,10 @@ function hke(e) {
});
return /*#__PURE__*/ R.createElement("g", { className: "recharts-cartesian-gridstripes-vertical" }, u);
}
-var gke = (e, t) => {
+var Mke = (e, t) => {
var { xAxis: n, width: r, height: i, offset: a } = e;
- return TV(u4(v4(v4(v4({}, h4), n), {}, {
- ticks: EV(n, !0),
+ return IV(u4(v4(v4(v4({}, h4), n), {}, {
+ ticks: LV(n, !0),
viewBox: {
x: 0,
y: 0,
@@ -63520,10 +63960,10 @@ var gke = (e, t) => {
height: i
}
})), a.left, a.left + a.width, t);
-}, _ke = (e, t) => {
+}, Nke = (e, t) => {
var { yAxis: n, width: r, height: i, offset: a } = e;
- return TV(u4(v4(v4(v4({}, h4), n), {}, {
- ticks: EV(n, !0),
+ return IV(u4(v4(v4(v4({}, h4), n), {}, {
+ ticks: LV(n, !0),
viewBox: {
x: 0,
y: 0,
@@ -63531,7 +63971,7 @@ var gke = (e, t) => {
height: i
}
})), a.top, a.top + a.height, t);
-}, vke = {
+}, Pke = {
horizontal: !0,
vertical: !0,
horizontalPoints: [],
@@ -63546,14 +63986,14 @@ var gke = (e, t) => {
zIndex: _q.grid
};
function S4(e) {
- var t = HH(), n = UH(), r = VH(), i = v4(v4({}, OR(e, vke)), {}, {
+ var t = $H(), n = eU(), r = QH(), i = v4(v4({}, FR(e, Pke)), {}, {
x: Z(e.x) ? e.x : r.left,
y: Z(e.y) ? e.y : r.top,
width: Z(e.width) ? e.width : r.width,
height: Z(e.height) ? e.height : r.height
- }), { xAxisId: a, yAxisId: o, x: s, y: c, width: l, height: u, syncWithTicks: d, horizontalValues: f, verticalValues: p } = i, m = dH(), h = Q((e) => bQ(e, "xAxis", a, m)), g = Q((e) => bQ(e, "yAxis", o, m));
- if (!gV(l) || !gV(u) || !Z(s) || !Z(c)) return null;
- var _ = i.verticalCoordinatesGenerator || gke, v = i.horizontalCoordinatesGenerator || _ke, { horizontalPoints: y, verticalPoints: b } = i;
+ }), { xAxisId: a, yAxisId: o, x: s, y: c, width: l, height: u, syncWithTicks: d, horizontalValues: f, verticalValues: p } = i, m = SH(), h = Q((e) => bQ(e, "xAxis", a, m)), g = Q((e) => bQ(e, "yAxis", o, m));
+ if (!DV(l) || !DV(u) || !Z(s) || !Z(c)) return null;
+ var _ = i.verticalCoordinatesGenerator || Mke, v = i.horizontalCoordinatesGenerator || Nke, { horizontalPoints: y, verticalPoints: b } = i;
if ((!y || !y.length) && typeof v == "function") {
var x = f && f.length, S = v({
yAxis: g ? v4(v4({}, g), {}, { ticks: x ? f : g.ticks }) : void 0,
@@ -63561,7 +64001,7 @@ function S4(e) {
height: n ?? u,
offset: r
}, x ? !0 : d);
- _H(Array.isArray(S), `horizontalCoordinatesGenerator should return Array but instead it returned [${typeof S}]`), Array.isArray(S) && (y = S);
+ OH(Array.isArray(S), `horizontalCoordinatesGenerator should return Array but instead it returned [${typeof S}]`), Array.isArray(S) && (y = S);
}
if ((!b || !b.length) && typeof _ == "function") {
var C = p && p.length, w = _({
@@ -63570,9 +64010,9 @@ function S4(e) {
height: n ?? u,
offset: r
}, C ? !0 : d);
- _H(Array.isArray(w), `verticalCoordinatesGenerator should return Array but instead it returned [${typeof w}]`), Array.isArray(w) && (b = w);
+ OH(Array.isArray(w), `verticalCoordinatesGenerator should return Array but instead it returned [${typeof w}]`), Array.isArray(w) && (b = w);
}
- return /*#__PURE__*/ R.createElement(M$, { zIndex: i.zIndex }, /*#__PURE__*/ R.createElement("g", { className: "recharts-cartesian-grid" }, /*#__PURE__*/ R.createElement(dke, {
+ return /*#__PURE__*/ R.createElement(M$, { zIndex: i.zIndex }, /*#__PURE__*/ R.createElement("g", { className: "recharts-cartesian-grid" }, /*#__PURE__*/ R.createElement(Dke, {
fill: i.fill,
fillOpacity: i.fillOpacity,
x: i.x,
@@ -63580,12 +64020,12 @@ function S4(e) {
width: i.width,
height: i.height,
ry: i.ry
- }), /*#__PURE__*/ R.createElement(mke, y4({}, i, { horizontalPoints: y })), /*#__PURE__*/ R.createElement(hke, y4({}, i, { verticalPoints: b })), /*#__PURE__*/ R.createElement(fke, y4({}, i, {
+ }), /*#__PURE__*/ R.createElement(Ake, y4({}, i, { horizontalPoints: y })), /*#__PURE__*/ R.createElement(jke, y4({}, i, { verticalPoints: b })), /*#__PURE__*/ R.createElement(Oke, y4({}, i, {
offset: r,
horizontalPoints: y,
xAxis: h,
yAxis: g
- })), /*#__PURE__*/ R.createElement(pke, y4({}, i, {
+ })), /*#__PURE__*/ R.createElement(kke, y4({}, i, {
offset: r,
verticalPoints: b,
xAxis: h,
@@ -63595,7 +64035,7 @@ function S4(e) {
S4.displayName = "CartesianGrid";
//#endregion
//#region node_modules/recharts/es6/state/errorBarSlice.js
-var C4 = BB({
+var C4 = qB({
name: "errorBars",
initialState: {},
reducers: {
@@ -63612,17 +64052,17 @@ var C4 = BB({
e[n] && (e[n] = e[n].filter((e) => e.dataKey !== r.dataKey || e.direction !== r.direction));
}
}
-}), { addErrorBar: yke, replaceErrorBar: bke, removeErrorBar: xke } = C4.actions, Ske = C4.reducer, Cke = ["children"];
-function wke(e, t) {
+}), { addErrorBar: Fke, replaceErrorBar: Ike, removeErrorBar: Lke } = C4.actions, Rke = C4.reducer, zke = ["children"];
+function Bke(e, t) {
if (e == null) return {};
- var n, r, i = Tke(e, t);
+ var n, r, i = Vke(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function Tke(e, t) {
+function Vke(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -63631,7 +64071,7 @@ function Tke(e, t) {
}
return n;
}
-var Eke = /*#__PURE__*/ (0, R.createContext)({
+var Hke = /*#__PURE__*/ (0, R.createContext)({
data: [],
xAxisId: "xAxis-0",
yAxisId: "yAxis-0",
@@ -63643,8 +64083,8 @@ var Eke = /*#__PURE__*/ (0, R.createContext)({
errorBarOffset: 0
});
function w4(e) {
- var { children: t } = e, n = wke(e, Cke);
- return /*#__PURE__*/ R.createElement(Eke.Provider, { value: n }, t);
+ var { children: t } = e, n = Bke(e, zke);
+ return /*#__PURE__*/ R.createElement(Hke.Provider, { value: n }, t);
}
//#endregion
//#region node_modules/recharts/es6/cartesian/GraphicalItemClipPath.js
@@ -63669,30 +64109,30 @@ function E4(e) {
}
//#endregion
//#region node_modules/recharts/es6/state/selectors/lineSelectors.js
-var D4 = (e, t, n, r) => TQ(e, "xAxis", t, r), O4 = (e, t, n, r) => wQ(e, "xAxis", t, r), k4 = (e, t, n, r) => TQ(e, "yAxis", n, r), A4 = (e, t, n, r) => wQ(e, "yAxis", n, r), Dke = $([
- GH,
+var D4 = (e, t, n, r) => TQ(e, "xAxis", t, r), O4 = (e, t, n, r) => wQ(e, "xAxis", t, r), k4 = (e, t, n, r) => TQ(e, "yAxis", n, r), A4 = (e, t, n, r) => wQ(e, "yAxis", n, r), Uke = $([
+ nU,
D4,
k4,
O4,
A4
-], (e, t, n, r, i) => wV(e, "xAxis") ? zV(t, r, !1) : zV(n, i, !1)), Oke = (e, t, n, r, i) => i;
-function kke(e) {
+], (e, t, n, r, i) => FV(e, "xAxis") ? XV(t, r, !1) : XV(n, i, !1)), Wke = (e, t, n, r, i) => i;
+function Gke(e) {
return e.type === "line";
}
-var Ake = $([
- GH,
+var Kke = $([
+ nU,
D4,
k4,
O4,
A4,
- $([yZ, Oke], (e, t) => e.filter(kke).find((e) => e.id === t)),
- Dke,
+ $([yZ, Wke], (e, t) => e.filter(Gke).find((e) => e.id === t)),
+ Uke,
qK
], (e, t, n, r, i, a, o, s) => {
var { chartData: c, dataStartIndex: l, dataEndIndex: u } = s;
if (!(a == null || t == null || n == null || r == null || i == null || r.length === 0 || i.length === 0 || o == null || e !== "horizontal" && e !== "vertical")) {
var { dataKey: d, data: f } = a, p = f != null && f.length > 0 ? f : c?.slice(l, u + 1);
- if (p != null) return Xke({
+ if (p != null) return fAe({
layout: e,
xAxis: t,
yAxis: n,
@@ -63707,7 +64147,7 @@ var Ake = $([
//#endregion
//#region node_modules/recharts/es6/util/getRadiusAndStrokeWidthFromDot.js
function j4(e) {
- var t = $I(e), n = 3, r = 2;
+ var t = oL(e), n = 3, r = 2;
if (t != null) {
var { r: i, strokeWidth: a } = t, o = Number(i), s = Number(a);
return (Number.isNaN(o) || o < 0) && (o = n), (Number.isNaN(s) || s < 0) && (s = r), {
@@ -63722,13 +64162,13 @@ function j4(e) {
}
//#endregion
//#region node_modules/recharts/es6/cartesian/Line.js
-var jke = ["id"], Mke = [
+var qke = ["id"], Jke = [
"type",
"layout",
"connectNulls",
"needClip",
"shape"
-], Nke = [
+], Yke = [
"activeDot",
"animateNewValues",
"animationBegin",
@@ -63767,26 +64207,26 @@ function P4(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? N4(Object(n), !0).forEach(function(t) {
- Pke(e, t, n[t]);
+ Xke(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : N4(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function Pke(e, t, n) {
- return (t = Fke(t)) in e ? Object.defineProperty(e, t, {
+function Xke(e, t, n) {
+ return (t = Zke(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function Fke(e) {
- var t = Ike(e, "string");
+function Zke(e) {
+ var t = Qke(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function Ike(e, t) {
+function Qke(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -63798,14 +64238,14 @@ function Ike(e, t) {
}
function F4(e, t) {
if (e == null) return {};
- var n, r, i = Lke(e, t);
+ var n, r, i = $ke(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function Lke(e, t) {
+function $ke(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -63814,27 +64254,27 @@ function Lke(e, t) {
}
return n;
}
-var Rke = (e) => {
+var eAe = (e) => {
var { dataKey: t, name: n, stroke: r, legendType: i, hide: a } = e;
return [{
inactive: a,
dataKey: t,
type: i,
color: r,
- value: VV(n, t),
+ value: QV(n, t),
payload: e
}];
-}, zke = /*#__PURE__*/ R.memo((e) => {
+}, tAe = /*#__PURE__*/ R.memo((e) => {
var { dataKey: t, data: n, stroke: r, strokeWidth: i, fill: a, name: o, hide: s, unit: c, tooltipType: l, id: u } = e, d = {
dataDefinedOnItem: n,
- getPosition: vR,
+ getPosition: TR,
settings: {
stroke: r,
strokeWidth: i,
fill: a,
dataKey: t,
nameKey: void 0,
- name: VV(o, t),
+ name: QV(o, t),
hide: s,
type: l,
color: r,
@@ -63844,11 +64284,11 @@ var Rke = (e) => {
};
return /*#__PURE__*/ R.createElement(K0, { tooltipEntrySettings: d });
}), I4 = (e, t) => `${t}px ${e}px`;
-function Bke(e, t) {
+function nAe(e, t) {
for (var n = e.length % 2 == 0 ? e : [...e, 0], r = [], i = 0; i < t; ++i) r.push(...n);
return r;
}
-var Vke = (e, t, n) => {
+var rAe = (e, t, n) => {
var r = n.reduce((e, t) => e + t, 0);
if (!r) return I4(t, e);
for (var i = Math.floor(e / r), a = e % r, o = [], s = 0, c = 0; s < n.length; c += (l = n[s]) ?? 0, ++s) {
@@ -63860,13 +64300,13 @@ var Vke = (e, t, n) => {
}
var d = o.length % 2 == 0 ? [0, t] : [t];
return [
- ...Bke(n, i),
+ ...nAe(n, i),
...o,
...d
].map((e) => `${e}px`).join(", ");
};
-function Hke(e) {
- var { clipPathId: t, points: n, props: r } = e, { dot: i, dataKey: a, needClip: o } = r, { id: s } = r, c = QI(F4(r, jke));
+function iAe(e) {
+ var { clipPathId: t, points: n, props: r } = e, { dot: i, dataKey: a, needClip: o } = r, { id: s } = r, c = aL(F4(r, qke));
return /*#__PURE__*/ R.createElement(n2, {
points: n,
dot: i,
@@ -63878,7 +64318,7 @@ function Hke(e) {
clipPathId: t
});
}
-function Uke(e) {
+function aAe(e) {
var { showLabels: t, children: n, points: r } = e, i = (0, R.useMemo)(() => r?.map((e) => {
var t = {
x: e.x ?? 0,
@@ -63899,7 +64339,7 @@ function Uke(e) {
return /*#__PURE__*/ R.createElement(B1, { value: t ? i : void 0 }, n);
}
function L4(e) {
- var { clipPathId: t, pathRef: n, points: r, strokeDasharray: i, props: a } = e, { type: o, layout: s, connectNulls: c, needClip: l, shape: u } = a, d = P4(P4({}, eL(F4(a, Mke))), {}, {
+ var { clipPathId: t, pathRef: n, points: r, strokeDasharray: i, props: a } = e, { type: o, layout: s, connectNulls: c, needClip: l, shape: u } = a, d = P4(P4({}, sL(F4(a, Jke))), {}, {
fill: "none",
className: "recharts-line-curve",
clipPath: l ? `url(#clipPath-${t})` : void 0,
@@ -63912,28 +64352,28 @@ function L4(e) {
return /*#__PURE__*/ R.createElement(R.Fragment, null, r?.length > 1 && /*#__PURE__*/ R.createElement(H0, M4({
shapeType: "curve",
option: u
- }, d, { pathRef: n })), /*#__PURE__*/ R.createElement(Hke, {
+ }, d, { pathRef: n })), /*#__PURE__*/ R.createElement(iAe, {
points: r,
clipPathId: t,
props: a
}));
}
-function Wke(e) {
+function oAe(e) {
try {
return e && e.getTotalLength && e.getTotalLength() || 0;
} catch {
return 0;
}
}
-function Gke(e) {
+function sAe(e) {
var { clipPathId: t, props: n, pathRef: r, previousPointsRef: i, longestAnimatedLengthRef: a } = e, { points: o, strokeDasharray: s, isAnimationActive: c, animationBegin: l, animationDuration: u, animationEasing: d, animateNewValues: f, width: p, height: m, onAnimationEnd: h, onAnimationStart: g } = n, _ = i.current, v = CK(o, "recharts-line-"), y = (0, R.useRef)(v), [b, x] = (0, R.useState)(!1), S = !b, C = (0, R.useCallback)(() => {
typeof h == "function" && h(), x(!1);
}, [h]), w = (0, R.useCallback)(() => {
typeof g == "function" && g(), x(!0);
- }, [g]), T = Wke(r.current), E = (0, R.useRef)(0);
+ }, [g]), T = oAe(r.current), E = (0, R.useRef)(0);
y.current !== v && (E.current = a.current, y.current = v);
var D = E.current;
- return /*#__PURE__*/ R.createElement(Uke, {
+ return /*#__PURE__*/ R.createElement(aAe, {
points: o,
showLabels: S
}, n.children, /*#__PURE__*/ R.createElement(SK, {
@@ -63946,20 +64386,20 @@ function Gke(e) {
onAnimationStart: w,
key: v
}, (e) => {
- var l = pR(D, T + D, e), u = Math.min(l, T), d = c ? s ? Vke(u, T, `${s}`.split(/[,\s]+/gim).map((e) => parseFloat(e))) : I4(T, u) : s == null ? void 0 : String(s);
+ var l = bR(D, T + D, e), u = Math.min(l, T), d = c ? s ? rAe(u, T, `${s}`.split(/[,\s]+/gim).map((e) => parseFloat(e))) : I4(T, u) : s == null ? void 0 : String(s);
if (e > 0 && T > 0 && (i.current = o, a.current = Math.max(a.current, u)), _) {
var h = _.length / o.length, g = e === 1 ? o : o.map((t, n) => {
var r = Math.floor(n * h);
if (_[r]) {
var i = _[r];
return P4(P4({}, t), {}, {
- x: pR(i.x, t.x, e),
- y: pR(i.y, t.y, e)
+ x: bR(i.x, t.x, e),
+ y: bR(i.y, t.y, e)
});
}
return f ? P4(P4({}, t), {}, {
- x: pR(p * 2, t.x, e),
- y: pR(m / 2, t.y, e)
+ x: bR(p * 2, t.x, e),
+ y: bR(m / 2, t.y, e)
}) : P4(P4({}, t), {}, {
x: t.x,
y: t.y
@@ -63982,9 +64422,9 @@ function Gke(e) {
});
}), /*#__PURE__*/ R.createElement(U1, { label: n.label }));
}
-function Kke(e) {
+function cAe(e) {
var { clipPathId: t, props: n } = e, r = (0, R.useRef)(null), i = (0, R.useRef)(0), a = (0, R.useRef)(null);
- return /*#__PURE__*/ R.createElement(Gke, {
+ return /*#__PURE__*/ R.createElement(sAe, {
props: n,
clipPathId: t,
previousPointsRef: r,
@@ -63992,17 +64432,17 @@ function Kke(e) {
pathRef: a
});
}
-var qke = (e, t) => ({
+var lAe = (e, t) => ({
x: e.x ?? void 0,
y: e.y ?? void 0,
value: e.value,
- errorVal: SV(e.payload, t)
-}), Jke = class extends R.Component {
+ errorVal: NV(e.payload, t)
+}), uAe = class extends R.Component {
render() {
var { hide: e, dot: t, points: n, className: r, xAxisId: i, yAxisId: a, top: o, left: s, width: c, height: l, id: u, needClip: d, zIndex: f } = this.props;
if (e) return null;
var p = Ql("recharts-line", r), m = u, { r: h, strokeWidth: g } = j4(t), _ = N0(t), v = h * 2 + g, y = d ? `url(#clipPath-${_ ? "" : "dots-"}${m})` : void 0;
- return /*#__PURE__*/ R.createElement(M$, { zIndex: f }, /*#__PURE__*/ R.createElement(iL, { className: p }, d && /*#__PURE__*/ R.createElement("defs", null, /*#__PURE__*/ R.createElement(E4, {
+ return /*#__PURE__*/ R.createElement(M$, { zIndex: f }, /*#__PURE__*/ R.createElement(dL, { className: p }, d && /*#__PURE__*/ R.createElement("defs", null, /*#__PURE__*/ R.createElement(E4, {
clipPathId: m,
xAxisId: i,
yAxisId: a
@@ -64015,9 +64455,9 @@ var qke = (e, t) => ({
xAxisId: i,
yAxisId: a,
data: n,
- dataPointFormatter: qke,
+ dataPointFormatter: lAe,
errorBarOffset: 0
- }, /*#__PURE__*/ R.createElement(Kke, {
+ }, /*#__PURE__*/ R.createElement(cAe, {
props: this.props,
clipPathId: m
}))), /*#__PURE__*/ R.createElement(l2, {
@@ -64048,11 +64488,11 @@ var qke = (e, t) => ({
zIndex: _q.line,
type: "linear"
};
-function Yke(e) {
- var t = OR(e, R4), { activeDot: n, animateNewValues: r, animationBegin: i, animationDuration: a, animationEasing: o, connectNulls: s, dot: c, hide: l, isAnimationActive: u, label: d, legendType: f, xAxisId: p, yAxisId: m, id: h } = t, g = F4(t, Nke), { needClip: _ } = T4(p, m), v = o2(), y = KH(), b = dH(), x = Q((e) => Ake(e, p, m, b, h));
+function dAe(e) {
+ var t = FR(e, R4), { activeDot: n, animateNewValues: r, animationBegin: i, animationDuration: a, animationEasing: o, connectNulls: s, dot: c, hide: l, isAnimationActive: u, label: d, legendType: f, xAxisId: p, yAxisId: m, id: h } = t, g = F4(t, Yke), { needClip: _ } = T4(p, m), v = o2(), y = rU(), b = SH(), x = Q((e) => Kke(e, p, m, b, h));
if (y !== "horizontal" && y !== "vertical" || x == null || v == null) return null;
var { height: S, width: C, x: w, y: T } = v;
- return /*#__PURE__*/ R.createElement(Jke, M4({}, g, {
+ return /*#__PURE__*/ R.createElement(uAe, M4({}, g, {
id: h,
connectNulls: s,
dot: c,
@@ -64076,23 +64516,23 @@ function Yke(e) {
needClip: _
}));
}
-function Xke(e) {
+function fAe(e) {
var { layout: t, xAxis: n, yAxis: r, xAxisTicks: i, yAxisTicks: a, dataKey: o, bandSize: s, displayedData: c } = e;
return c.map((e, c) => {
- var l = SV(e, o);
+ var l = NV(e, o);
if (t === "horizontal") return {
- x: jV({
+ x: HV({
axis: n,
ticks: i,
bandSize: s,
entry: e,
index: c
}),
- y: (hR(l) ? null : r.scale.map(l)) ?? null,
+ y: (SR(l) ? null : r.scale.map(l)) ?? null,
value: l,
payload: e
};
- var u = hR(l) ? null : n.scale.map(l), d = jV({
+ var u = SR(l) ? null : n.scale.map(l), d = HV({
axis: r,
ticks: a,
bandSize: s,
@@ -64107,12 +64547,12 @@ function Xke(e) {
};
}).filter(Boolean);
}
-function Zke(e) {
- var t = OR(e, R4), n = dH();
+function pAe(e) {
+ var t = FR(e, R4), n = SH();
return /*#__PURE__*/ R.createElement(Y0, {
id: t.id,
type: "line"
- }, (e) => /*#__PURE__*/ R.createElement(R.Fragment, null, /*#__PURE__*/ R.createElement(q0, { legendPayload: Rke(t) }), /*#__PURE__*/ R.createElement(zke, {
+ }, (e) => /*#__PURE__*/ R.createElement(R.Fragment, null, /*#__PURE__*/ R.createElement(q0, { legendPayload: eAe(t) }), /*#__PURE__*/ R.createElement(tAe, {
dataKey: t.dataKey,
data: t.data,
stroke: t.stroke,
@@ -64133,9 +64573,9 @@ function Zke(e) {
dataKey: t.dataKey,
hide: t.hide,
isPanorama: n
- }), /*#__PURE__*/ R.createElement(Yke, M4({}, t, { id: e }))));
+ }), /*#__PURE__*/ R.createElement(dAe, M4({}, t, { id: e }))));
}
-var z4 = /*#__PURE__*/ R.memo(Zke, yW);
+var z4 = /*#__PURE__*/ R.memo(pAe, AW);
z4.displayName = "Line";
//#endregion
//#region node_modules/recharts/es6/state/selectors/graphicalItemSelectors.js
@@ -64147,19 +64587,19 @@ function V4(e, t) {
}
//#endregion
//#region node_modules/recharts/es6/state/selectors/areaSelectors.js
-var H4 = (e, t, n) => TQ(e, "xAxis", B4(e, t), n), U4 = (e, t, n) => wQ(e, "xAxis", B4(e, t), n), W4 = (e, t, n) => TQ(e, "yAxis", V4(e, t), n), G4 = (e, t, n) => wQ(e, "yAxis", V4(e, t), n), Qke = $([
- GH,
+var H4 = (e, t, n) => TQ(e, "xAxis", B4(e, t), n), U4 = (e, t, n) => wQ(e, "xAxis", B4(e, t), n), W4 = (e, t, n) => TQ(e, "yAxis", V4(e, t), n), G4 = (e, t, n) => wQ(e, "yAxis", V4(e, t), n), mAe = $([
+ nU,
H4,
W4,
U4,
G4
-], (e, t, n, r, i) => wV(e, "xAxis") ? zV(t, r, !1) : zV(n, i, !1)), K4 = $([yZ, (e, t) => t], (e, t) => e.filter((e) => e.type === "area").find((e) => e.id === t)), q4 = (e) => wV(GH(e), "xAxis") ? "yAxis" : "xAxis", $ke = (e, t) => q4(e) === "yAxis" ? V4(e, t) : B4(e, t), eAe = $([
- GH,
+], (e, t, n, r, i) => FV(e, "xAxis") ? XV(t, r, !1) : XV(n, i, !1)), K4 = $([yZ, (e, t) => t], (e, t) => e.filter((e) => e.type === "area").find((e) => e.id === t)), q4 = (e) => FV(nU(e), "xAxis") ? "yAxis" : "xAxis", hAe = (e, t) => q4(e) === "yAxis" ? V4(e, t) : B4(e, t), gAe = $([
+ nU,
H4,
W4,
U4,
G4,
- $([K4, (e, t, n) => IZ(e, q4(e), $ke(e, t), n)], (e, t) => {
+ $([K4, (e, t, n) => IZ(e, q4(e), hAe(e, t), n)], (e, t) => {
if (e != null && t != null) {
var { stackId: n } = e, r = Lq(e);
if (n != null && r != null) {
@@ -64169,14 +64609,14 @@ var H4 = (e, t, n) => TQ(e, "xAxis", B4(e, t), n), U4 = (e, t, n) => wQ(e, "xAxi
}
}),
JK,
- Qke,
+ mAe,
K4,
- vve
+ Pve
], (e, t, n, r, i, a, o, s, c, l) => {
var { chartData: u, dataStartIndex: d, dataEndIndex: f } = o;
if (!(c == null || e !== "horizontal" && e !== "vertical" || t == null || n == null || r == null || i == null || r.length === 0 || i.length === 0 || s == null)) {
var { data: p } = c, m = p && p.length > 0 ? p : u?.slice(d, f + 1);
- if (m != null) return bAe({
+ if (m != null) return IAe({
layout: e,
xAxis: t,
yAxis: n,
@@ -64190,7 +64630,7 @@ var H4 = (e, t, n) => TQ(e, "xAxis", B4(e, t), n), U4 = (e, t, n) => wQ(e, "xAxi
bandSize: s
});
}
-}), tAe = ["id"], nAe = [
+}), _Ae = ["id"], vAe = [
"activeDot",
"animationBegin",
"animationDuration",
@@ -64217,14 +64657,14 @@ function J4() {
}
function Y4(e, t) {
if (e == null) return {};
- var n, r, i = rAe(e, t);
+ var n, r, i = yAe(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function rAe(e, t) {
+function yAe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -64247,26 +64687,26 @@ function Z4(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? X4(Object(n), !0).forEach(function(t) {
- iAe(e, t, n[t]);
+ bAe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : X4(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function iAe(e, t, n) {
- return (t = aAe(t)) in e ? Object.defineProperty(e, t, {
+function bAe(e, t, n) {
+ return (t = xAe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function aAe(e) {
- var t = oAe(e, "string");
+function xAe(e) {
+ var t = SAe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function oAe(e, t) {
+function SAe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -64279,27 +64719,27 @@ function oAe(e, t) {
function Q4(e, t) {
return e && e !== "none" ? e : t;
}
-var sAe = (e) => {
+var CAe = (e) => {
var { dataKey: t, name: n, stroke: r, fill: i, legendType: a, hide: o } = e;
return [{
inactive: o,
dataKey: t,
type: a,
color: Q4(r, i),
- value: VV(n, t),
+ value: QV(n, t),
payload: e
}];
-}, cAe = /*#__PURE__*/ R.memo((e) => {
+}, wAe = /*#__PURE__*/ R.memo((e) => {
var { dataKey: t, data: n, stroke: r, strokeWidth: i, fill: a, name: o, hide: s, unit: c, tooltipType: l, id: u } = e, d = {
dataDefinedOnItem: n,
- getPosition: vR,
+ getPosition: TR,
settings: {
stroke: r,
strokeWidth: i,
fill: a,
dataKey: t,
nameKey: void 0,
- name: VV(o, t),
+ name: QV(o, t),
hide: s,
type: l,
color: Q4(r, a),
@@ -64309,8 +64749,8 @@ var sAe = (e) => {
};
return /*#__PURE__*/ R.createElement(K0, { tooltipEntrySettings: d });
});
-function lAe(e) {
- var { clipPathId: t, points: n, props: r } = e, { needClip: i, dot: a, dataKey: o } = r, s = QI(r);
+function TAe(e) {
+ var { clipPathId: t, points: n, props: r } = e, { needClip: i, dot: a, dataKey: o } = r, s = aL(r);
return /*#__PURE__*/ R.createElement(n2, {
points: n,
dot: a,
@@ -64322,7 +64762,7 @@ function lAe(e) {
clipPathId: t
});
}
-function uAe(e) {
+function EAe(e) {
var { showLabels: t, children: n, points: r } = e, i = r.map((e) => {
var t = {
x: e.x ?? 0,
@@ -64343,8 +64783,8 @@ function uAe(e) {
return /*#__PURE__*/ R.createElement(B1, { value: t ? i : void 0 }, n);
}
function $4(e) {
- var { points: t, baseLine: n, needClip: r, clipPathId: i, props: a } = e, { layout: o, type: s, stroke: c, connectNulls: l, isRange: u } = a, { id: d } = a, f = Y4(a, tAe), p = QI(f), m = eL(f);
- return /*#__PURE__*/ R.createElement(R.Fragment, null, t?.length > 1 && /*#__PURE__*/ R.createElement(iL, { clipPath: r ? `url(#clipPath-${i})` : void 0 }, /*#__PURE__*/ R.createElement(TG, J4({}, m, {
+ var { points: t, baseLine: n, needClip: r, clipPathId: i, props: a } = e, { layout: o, type: s, stroke: c, connectNulls: l, isRange: u } = a, { id: d } = a, f = Y4(a, _Ae), p = aL(f), m = sL(f);
+ return /*#__PURE__*/ R.createElement(R.Fragment, null, t?.length > 1 && /*#__PURE__*/ R.createElement(dL, { clipPath: r ? `url(#clipPath-${i})` : void 0 }, /*#__PURE__*/ R.createElement(IG, J4({}, m, {
id: d,
points: t,
connectNulls: l,
@@ -64353,29 +64793,29 @@ function $4(e) {
layout: o,
stroke: "none",
className: "recharts-area-area"
- })), c !== "none" && /*#__PURE__*/ R.createElement(TG, J4({}, p, {
+ })), c !== "none" && /*#__PURE__*/ R.createElement(IG, J4({}, p, {
className: "recharts-area-curve",
layout: o,
type: s,
connectNulls: l,
fill: "none",
points: t
- })), c !== "none" && u && Array.isArray(n) && /*#__PURE__*/ R.createElement(TG, J4({}, p, {
+ })), c !== "none" && u && Array.isArray(n) && /*#__PURE__*/ R.createElement(IG, J4({}, p, {
className: "recharts-area-curve",
layout: o,
type: s,
connectNulls: l,
fill: "none",
points: n
- }))), /*#__PURE__*/ R.createElement(lAe, {
+ }))), /*#__PURE__*/ R.createElement(TAe, {
points: t,
props: f,
clipPathId: i
}));
}
-function dAe(e) {
+function DAe(e) {
var { alpha: t, baseLine: n, points: r, strokeWidth: i } = e, a = r[0]?.y, o = r[r.length - 1]?.y;
- if (!hV(a) || !hV(o)) return null;
+ if (!EV(a) || !EV(o)) return null;
var s = t * Math.abs(a - o), c = Math.max(...r.map((e) => e.x || 0));
return Z(n) ? c = Math.max(n, c) : n && Array.isArray(n) && n.length && (c = Math.max(...n.map((e) => e.x || 0), c)), Z(c) ? /*#__PURE__*/ R.createElement("rect", {
x: 0,
@@ -64384,9 +64824,9 @@ function dAe(e) {
height: Math.floor(s)
}) : null;
}
-function fAe(e) {
+function OAe(e) {
var { alpha: t, baseLine: n, points: r, strokeWidth: i } = e, a = r[0]?.x, o = r[r.length - 1]?.x;
- if (!hV(a) || !hV(o)) return null;
+ if (!EV(a) || !EV(o)) return null;
var s = t * Math.abs(a - o), c = Math.max(...r.map((e) => e.y || 0));
return Z(n) ? c = Math.max(n, c) : n && Array.isArray(n) && n.length && (c = Math.max(...n.map((e) => e.y || 0), c)), Z(c) ? /*#__PURE__*/ R.createElement("rect", {
x: a < o ? a : a - s,
@@ -64395,32 +64835,32 @@ function fAe(e) {
height: Math.floor(c + (i ? parseInt(`${i}`, 10) : 1))
}) : null;
}
-function pAe(e) {
+function kAe(e) {
var { alpha: t, layout: n, points: r, baseLine: i, strokeWidth: a } = e;
- return n === "vertical" ? /*#__PURE__*/ R.createElement(dAe, {
+ return n === "vertical" ? /*#__PURE__*/ R.createElement(DAe, {
alpha: t,
points: r,
baseLine: i,
strokeWidth: a
- }) : /*#__PURE__*/ R.createElement(fAe, {
+ }) : /*#__PURE__*/ R.createElement(OAe, {
alpha: t,
points: r,
baseLine: i,
strokeWidth: a
});
}
-function mAe(e) {
+function AAe(e) {
var { needClip: t, clipPathId: n, props: r, previousPointsRef: i, previousBaselineRef: a } = e, { points: o, baseLine: s, isAnimationActive: c, animationBegin: l, animationDuration: u, animationEasing: d, onAnimationStart: f, onAnimationEnd: p } = r, m = CK((0, R.useMemo)(() => ({
points: o,
baseLine: s
- }), [o, s]), "recharts-area-"), h = qH(), [g, _] = (0, R.useState)(!1), v = !g, y = (0, R.useCallback)(() => {
+ }), [o, s]), "recharts-area-"), h = iU(), [g, _] = (0, R.useState)(!1), v = !g, y = (0, R.useCallback)(() => {
typeof p == "function" && p(), _(!1);
}, [p]), b = (0, R.useCallback)(() => {
typeof f == "function" && f(), _(!0);
}, [f]);
if (h == null) return null;
var x = i.current, S = a.current;
- return /*#__PURE__*/ R.createElement(uAe, {
+ return /*#__PURE__*/ R.createElement(EAe, {
showLabels: v,
points: o
}, r.children, /*#__PURE__*/ R.createElement(SK, {
@@ -64439,18 +64879,18 @@ function mAe(e) {
if (x[r]) {
var i = x[r];
return Z4(Z4({}, t), {}, {
- x: pR(i.x, t.x, e),
- y: pR(i.y, t.y, e)
+ x: bR(i.x, t.x, e),
+ y: bR(i.y, t.y, e)
});
}
return t;
- }), d = Z(s) ? pR(S, s, e) : hR(s) || sR(s) ? pR(S, 0, e) : s.map((t, n) => {
+ }), d = Z(s) ? bR(S, s, e) : SR(s) || mR(s) ? bR(S, 0, e) : s.map((t, n) => {
var r = Math.floor(n * l);
if (Array.isArray(S) && S[r]) {
var i = S[r];
return Z4(Z4({}, t), {}, {
- x: pR(i.x, t.x, e),
- y: pR(i.y, t.y, e)
+ x: bR(i.x, t.x, e),
+ y: bR(i.y, t.y, e)
});
}
return t;
@@ -64463,13 +64903,13 @@ function mAe(e) {
props: r
});
}
- return e > 0 && (i.current = o, a.current = s), /*#__PURE__*/ R.createElement(iL, null, c && /*#__PURE__*/ R.createElement("defs", null, /*#__PURE__*/ R.createElement("clipPath", { id: `animationClipPath-${n}` }, /*#__PURE__*/ R.createElement(pAe, {
+ return e > 0 && (i.current = o, a.current = s), /*#__PURE__*/ R.createElement(dL, null, c && /*#__PURE__*/ R.createElement("defs", null, /*#__PURE__*/ R.createElement("clipPath", { id: `animationClipPath-${n}` }, /*#__PURE__*/ R.createElement(kAe, {
alpha: e,
points: o,
baseLine: s,
layout: h,
strokeWidth: r.strokeWidth
- }))), /*#__PURE__*/ R.createElement(iL, { clipPath: `url(#animationClipPath-${n})` }, /*#__PURE__*/ R.createElement($4, {
+ }))), /*#__PURE__*/ R.createElement(dL, { clipPath: `url(#animationClipPath-${n})` }, /*#__PURE__*/ R.createElement($4, {
points: o,
baseLine: s,
needClip: t,
@@ -64478,9 +64918,9 @@ function mAe(e) {
})));
}), /*#__PURE__*/ R.createElement(U1, { label: r.label }));
}
-function hAe(e) {
+function jAe(e) {
var { needClip: t, clipPathId: n, props: r } = e, i = (0, R.useRef)(null), a = (0, R.useRef)();
- return /*#__PURE__*/ R.createElement(mAe, {
+ return /*#__PURE__*/ R.createElement(AAe, {
needClip: t,
clipPathId: n,
props: r,
@@ -64488,12 +64928,12 @@ function hAe(e) {
previousBaselineRef: a
});
}
-var gAe = class extends R.PureComponent {
+var MAe = class extends R.PureComponent {
render() {
var { hide: e, dot: t, points: n, className: r, top: i, left: a, needClip: o, xAxisId: s, yAxisId: c, width: l, height: u, id: d, baseLine: f, zIndex: p } = this.props;
if (e) return null;
var m = Ql("recharts-area", r), h = d, { r: g, strokeWidth: _ } = j4(t), v = N0(t), y = g * 2 + _, b = o ? `url(#clipPath-${v ? "" : "dots-"}${h})` : void 0;
- return /*#__PURE__*/ R.createElement(M$, { zIndex: p }, /*#__PURE__*/ R.createElement(iL, { className: m }, o && /*#__PURE__*/ R.createElement("defs", null, /*#__PURE__*/ R.createElement(E4, {
+ return /*#__PURE__*/ R.createElement(M$, { zIndex: p }, /*#__PURE__*/ R.createElement(dL, { className: m }, o && /*#__PURE__*/ R.createElement("defs", null, /*#__PURE__*/ R.createElement(E4, {
clipPathId: h,
xAxisId: s,
yAxisId: c
@@ -64502,7 +64942,7 @@ var gAe = class extends R.PureComponent {
y: i - y / 2,
width: l + y,
height: u + y
- }))), /*#__PURE__*/ R.createElement(hAe, {
+ }))), /*#__PURE__*/ R.createElement(jAe, {
needClip: o,
clipPathId: h,
props: this.props
@@ -64520,7 +64960,7 @@ var gAe = class extends R.PureComponent {
clipPath: b
}));
}
-}, _Ae = {
+}, NAe = {
activeDot: !0,
animationBegin: 0,
animationDuration: 1500,
@@ -64540,11 +64980,11 @@ var gAe = class extends R.PureComponent {
yAxisId: 0,
zIndex: _q.area
};
-function vAe(e) {
- var { activeDot: t, animationBegin: n, animationDuration: r, animationEasing: i, connectNulls: a, dot: o, fill: s, fillOpacity: c, hide: l, isAnimationActive: u, legendType: d, stroke: f, xAxisId: p, yAxisId: m } = e, h = Y4(e, nAe), g = KH(), _ = b$(), { needClip: v } = T4(p, m), y = dH(), { points: b, isRange: x, baseLine: S } = Q((t) => eAe(t, e.id, y)) ?? {}, C = o2();
+function PAe(e) {
+ var { activeDot: t, animationBegin: n, animationDuration: r, animationEasing: i, connectNulls: a, dot: o, fill: s, fillOpacity: c, hide: l, isAnimationActive: u, legendType: d, stroke: f, xAxisId: p, yAxisId: m } = e, h = Y4(e, vAe), g = rU(), _ = b$(), { needClip: v } = T4(p, m), y = SH(), { points: b, isRange: x, baseLine: S } = Q((t) => gAe(t, e.id, y)) ?? {}, C = o2();
if (g !== "horizontal" && g !== "vertical" || C == null || _ !== "AreaChart" && _ !== "ComposedChart") return null;
var { height: w, width: T, x: E, y: D } = C;
- return !b || !b.length ? null : /*#__PURE__*/ R.createElement(gAe, J4({}, h, {
+ return !b || !b.length ? null : /*#__PURE__*/ R.createElement(MAe, J4({}, h, {
activeDot: t,
animationBegin: n,
animationDuration: r,
@@ -64570,7 +65010,7 @@ function vAe(e) {
yAxisId: m
}));
}
-var yAe = (e, t, n, r, i) => {
+var FAe = (e, t, n, r, i) => {
var a = n ?? t;
if (Z(a)) return a;
var o = e === "horizontal" ? i : r, s = o.scale.domain();
@@ -64580,17 +65020,17 @@ var yAe = (e, t, n, r, i) => {
}
return a === "dataMin" ? s[0] : a === "dataMax" ? s[1] : s[0];
};
-function bAe(e) {
- var { areaSettings: { connectNulls: t, baseValue: n, dataKey: r }, stackedData: i, layout: a, chartBaseValue: o, xAxis: s, yAxis: c, displayedData: l, dataStartIndex: u, xAxisTicks: d, yAxisTicks: f, bandSize: p } = e, m = i && i.length, h = yAe(a, o, n, s, c), g = a === "horizontal", _ = !1, v = l.map((e, n) => {
+function IAe(e) {
+ var { areaSettings: { connectNulls: t, baseValue: n, dataKey: r }, stackedData: i, layout: a, chartBaseValue: o, xAxis: s, yAxis: c, displayedData: l, dataStartIndex: u, xAxisTicks: d, yAxisTicks: f, bandSize: p } = e, m = i && i.length, h = FAe(a, o, n, s, c), g = a === "horizontal", _ = !1, v = l.map((e, n) => {
var a;
if (m) a = i[u + n];
else {
- var o = SV(e, r);
+ var o = NV(e, r);
Array.isArray(o) ? (a = o, _ = !0) : a = [h, o];
}
- var l = a?.[1] ?? null, v = l == null || m && !t && SV(e, r) == null;
+ var l = a?.[1] ?? null, v = l == null || m && !t && NV(e, r) == null;
return g ? {
- x: jV({
+ x: HV({
axis: s,
ticks: d,
bandSize: p,
@@ -64602,7 +65042,7 @@ function bAe(e) {
payload: e
} : {
x: v ? null : s.scale.map(l) ?? null,
- y: jV({
+ y: HV({
axis: c,
ticks: f,
bandSize: p,
@@ -64630,12 +65070,12 @@ function bAe(e) {
isRange: _
};
}
-function xAe(e) {
- var t = OR(e, _Ae), n = dH();
+function LAe(e) {
+ var t = FR(e, NAe), n = SH();
return /*#__PURE__*/ R.createElement(Y0, {
id: t.id,
type: "area"
- }, (e) => /*#__PURE__*/ R.createElement(R.Fragment, null, /*#__PURE__*/ R.createElement(q0, { legendPayload: sAe(t) }), /*#__PURE__*/ R.createElement(cAe, {
+ }, (e) => /*#__PURE__*/ R.createElement(R.Fragment, null, /*#__PURE__*/ R.createElement(q0, { legendPayload: CAe(t) }), /*#__PURE__*/ R.createElement(wAe, {
dataKey: t.dataKey,
data: t.data,
stroke: t.stroke,
@@ -64654,21 +65094,21 @@ function xAe(e) {
xAxisId: t.xAxisId,
yAxisId: t.yAxisId,
zAxisId: 0,
- stackId: AV(t.stackId),
+ stackId: VV(t.stackId),
hide: t.hide,
barSize: void 0,
baseValue: t.baseValue,
isPanorama: n,
connectNulls: t.connectNulls
- }), /*#__PURE__*/ R.createElement(vAe, J4({}, t, { id: e }))));
+ }), /*#__PURE__*/ R.createElement(PAe, J4({}, t, { id: e }))));
}
-var e3 = /*#__PURE__*/ R.memo(xAe, yW);
+var e3 = /*#__PURE__*/ R.memo(LAe, AW);
e3.displayName = "Area";
//#endregion
//#region node_modules/tiny-invariant/dist/esm/tiny-invariant.js
-var SAe = "Invariant failed";
-function CAe(e, t) {
- if (!e) throw Error(SAe);
+var RAe = "Invariant failed";
+function zAe(e, t) {
+ if (!e) throw Error(RAe);
}
//#endregion
//#region node_modules/recharts/es6/util/BarUtils.js
@@ -64688,45 +65128,45 @@ function n3(e) {
inActiveClassName: "recharts-inactive-bar"
}, e));
}
-var wAe = function(e) {
+var BAe = function(e) {
var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 0;
return (n, r) => {
if (Z(e)) return e;
- var i = Z(n) || hR(n);
- return i ? e(n, r) : (!i && CAe(!1, `minPointSize callback function received a value with type of ${typeof n}. Currently only numbers or null/undefined are supported.`), t);
+ var i = Z(n) || SR(n);
+ return i ? e(n, r) : (!i && zAe(!1, `minPointSize callback function received a value with type of ${typeof n}. Currently only numbers or null/undefined are supported.`), t);
};
-}, TAe = (e, t, n) => n, r3 = $([yZ, (e, t) => t], (e, t) => e.filter((e) => e.type === "bar").find((e) => e.id === t)), EAe = $([r3], (e) => e?.maxBarSize), DAe = (e, t, n, r) => r, OAe = $([
- GH,
+}, VAe = (e, t, n) => n, r3 = $([yZ, (e, t) => t], (e, t) => e.filter((e) => e.type === "bar").find((e) => e.id === t)), HAe = $([r3], (e) => e?.maxBarSize), UAe = (e, t, n, r) => r, WAe = $([
+ nU,
yZ,
B4,
V4,
- TAe
-], (e, t, n, r, i) => t.filter((t) => e === "horizontal" ? t.xAxisId === n : t.yAxisId === r).filter((e) => e.isPanorama === i).filter((e) => e.hide === !1).filter((e) => e.type === "bar")), kAe = (e, t, n) => {
- var r = GH(e), i = B4(e, t), a = V4(e, t);
+ VAe
+], (e, t, n, r, i) => t.filter((t) => e === "horizontal" ? t.xAxisId === n : t.yAxisId === r).filter((e) => e.isPanorama === i).filter((e) => e.hide === !1).filter((e) => e.type === "bar")), GAe = (e, t, n) => {
+ var r = nU(e), i = B4(e, t), a = V4(e, t);
if (i != null && a != null) return r === "horizontal" ? IZ(e, "yAxis", a, n) : IZ(e, "xAxis", i, n);
-}, AAe = $([
- OAe,
+}, KAe = $([
+ WAe,
uq,
(e, t) => {
- var n = GH(e), r = B4(e, t), i = V4(e, t);
+ var n = nU(e), r = B4(e, t), i = V4(e, t);
if (r != null && i != null) return n === "horizontal" ? _Q(e, "xAxis", r) : _Q(e, "yAxis", i);
}
-], T2), jAe = (e, t, n) => {
+], T2), qAe = (e, t, n) => {
var r = r3(e, t);
if (r == null) return 0;
var i = B4(e, t), a = V4(e, t);
if (i == null || a == null) return 0;
- var o = GH(e), s = sq(e), { maxBarSize: c } = r, l = hR(c) ? s : c, u, d;
- return o === "horizontal" ? (u = TQ(e, "xAxis", i, n), d = wQ(e, "xAxis", i, n)) : (u = TQ(e, "yAxis", a, n), d = wQ(e, "yAxis", a, n)), zV(u, d, !0) ?? l ?? 0;
+ var o = nU(e), s = sq(e), { maxBarSize: c } = r, l = SR(c) ? s : c, u, d;
+ return o === "horizontal" ? (u = TQ(e, "xAxis", i, n), d = wQ(e, "xAxis", i, n)) : (u = TQ(e, "yAxis", a, n), d = wQ(e, "yAxis", a, n)), XV(u, d, !0) ?? l ?? 0;
}, i3 = (e, t, n) => {
- var r = GH(e), i = B4(e, t), a = V4(e, t);
+ var r = nU(e), i = B4(e, t), a = V4(e, t);
if (i != null && a != null) {
var o, s;
- return r === "horizontal" ? (o = TQ(e, "xAxis", i, n), s = wQ(e, "xAxis", i, n)) : (o = TQ(e, "yAxis", a, n), s = wQ(e, "yAxis", a, n)), zV(o, s);
+ return r === "horizontal" ? (o = TQ(e, "xAxis", i, n), s = wQ(e, "xAxis", i, n)) : (o = TQ(e, "yAxis", a, n), s = wQ(e, "yAxis", a, n)), XV(o, s);
}
-}, MAe = $([
- sH,
- lH,
+}, JAe = $([
+ vH,
+ bH,
(e, t, n) => {
var r = B4(e, t);
if (r != null) return TQ(e, "xAxis", r, n);
@@ -64744,25 +65184,25 @@ var wAe = function(e) {
if (r != null) return wQ(e, "yAxis", r, n);
},
$([$([
- AAe,
+ KAe,
sq,
cq,
lq,
- jAe,
+ qAe,
i3,
- EAe
+ HAe
], O2), r3], A2),
- GH,
+ nU,
JK,
i3,
- $([kAe, r3], k2),
+ $([GAe, r3], k2),
r3,
- DAe
+ UAe
], (e, t, n, r, i, a, o, s, c, l, u, d, f) => {
var { chartData: p, dataStartIndex: m, dataEndIndex: h } = c;
if (!(d == null || o == null || t == null || s !== "horizontal" && s !== "vertical" || n == null || r == null || i == null || a == null || l == null)) {
var { data: g } = d, _ = g != null && g.length > 0 ? g : p?.slice(m, h + 1);
- if (_ != null) return oje({
+ if (_ != null) return Sje({
layout: s,
barSettings: d,
pos: o,
@@ -64779,7 +65219,7 @@ var wAe = function(e) {
dataStartIndex: m
});
}
-}), NAe = ["index"];
+}), YAe = ["index"];
function a3() {
return a3 = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
@@ -64789,16 +65229,16 @@ function a3() {
return e;
}, a3.apply(null, arguments);
}
-function PAe(e, t) {
+function XAe(e, t) {
if (e == null) return {};
- var n, r, i = FAe(e, t);
+ var n, r, i = ZAe(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function FAe(e, t) {
+function ZAe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -64807,31 +65247,31 @@ function FAe(e, t) {
}
return n;
}
-var o3 = /*#__PURE__*/ (0, R.createContext)(void 0), IAe = (e) => {
+var o3 = /*#__PURE__*/ (0, R.createContext)(void 0), QAe = (e) => {
var t = (0, R.useContext)(o3);
if (t != null) return t.stackId;
- if (e != null) return AV(e);
-}, LAe = (e, t) => `recharts-bar-stack-clip-path-${e}-${t}`, RAe = (e) => {
+ if (e != null) return VV(e);
+}, $Ae = (e, t) => `recharts-bar-stack-clip-path-${e}-${t}`, eje = (e) => {
var t = (0, R.useContext)(o3);
if (t != null) {
var { stackId: n } = t;
- return `url(#${LAe(n, e)})`;
+ return `url(#${$Ae(n, e)})`;
}
}, s3 = (e) => {
- var { index: t } = e, n = PAe(e, NAe), r = RAe(t);
- return /*#__PURE__*/ R.createElement(iL, a3({
+ var { index: t } = e, n = XAe(e, YAe), r = eje(t);
+ return /*#__PURE__*/ R.createElement(dL, a3({
className: "recharts-bar-stack-layer",
clipPath: r
}, n));
-}, zAe = [
+}, tje = [
"onMouseEnter",
"onMouseLeave",
"onClick"
-], BAe = [
+], nje = [
"value",
"background",
"tooltipPosition"
-], VAe = ["id"], HAe = [
+], rje = ["id"], ije = [
"onMouseEnter",
"onClick",
"onMouseLeave"
@@ -64859,26 +65299,26 @@ function u3(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? l3(Object(n), !0).forEach(function(t) {
- UAe(e, t, n[t]);
+ aje(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : l3(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function UAe(e, t, n) {
- return (t = WAe(t)) in e ? Object.defineProperty(e, t, {
+function aje(e, t, n) {
+ return (t = oje(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function WAe(e) {
- var t = GAe(e, "string");
+function oje(e) {
+ var t = sje(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function GAe(e, t) {
+function sje(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -64890,14 +65330,14 @@ function GAe(e, t) {
}
function d3(e, t) {
if (e == null) return {};
- var n, r, i = KAe(e, t);
+ var n, r, i = cje(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function KAe(e, t) {
+function cje(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -64906,27 +65346,27 @@ function KAe(e, t) {
}
return n;
}
-var qAe = (e) => {
+var lje = (e) => {
var { dataKey: t, name: n, fill: r, legendType: i, hide: a } = e;
return [{
inactive: a,
dataKey: t,
type: i,
color: r,
- value: VV(n, t),
+ value: QV(n, t),
payload: e
}];
-}, JAe = /*#__PURE__*/ R.memo((e) => {
+}, uje = /*#__PURE__*/ R.memo((e) => {
var { dataKey: t, stroke: n, strokeWidth: r, fill: i, name: a, hide: o, unit: s, tooltipType: c, id: l } = e, u = {
dataDefinedOnItem: void 0,
- getPosition: vR,
+ getPosition: TR,
settings: {
stroke: n,
strokeWidth: r,
fill: i,
dataKey: t,
nameKey: void 0,
- name: VV(a, t),
+ name: QV(a, t),
hide: o,
type: c,
color: i,
@@ -64936,17 +65376,17 @@ var qAe = (e) => {
};
return /*#__PURE__*/ R.createElement(K0, { tooltipEntrySettings: u });
});
-function YAe(e) {
- var t = Q(d$), { data: n, dataKey: r, background: i, allOtherBarProps: a } = e, { onMouseEnter: o, onMouseLeave: s, onClick: c } = a, l = d3(a, zAe), u = U0(o, r, a.id), d = W0(s), f = G0(c, r, a.id);
+function dje(e) {
+ var t = Q(d$), { data: n, dataKey: r, background: i, allOtherBarProps: a } = e, { onMouseEnter: o, onMouseLeave: s, onClick: c } = a, l = d3(a, tje), u = U0(o, r, a.id), d = W0(s), f = G0(c, r, a.id);
if (!i || n == null) return null;
- var p = $I(i);
+ var p = oL(i);
return /*#__PURE__*/ R.createElement(M$, { zIndex: U2(i, _q.barBackground) }, n.map((e, n) => {
- var { value: a, background: o, tooltipPosition: s } = e, c = d3(e, BAe);
+ var { value: a, background: o, tooltipPosition: s } = e, c = d3(e, nje);
if (!o) return null;
var m = u(e, n), h = d(e, n), g = f(e, n), _ = u3(u3(u3(u3(u3({
option: i,
isActive: String(n) === t
- }, c), {}, { fill: "#eee" }, o), p), ER(l, e, n)), {}, {
+ }, c), {}, { fill: "#eee" }, o), p), NR(l, e, n)), {}, {
onMouseEnter: m,
onMouseLeave: h,
onClick: g,
@@ -64957,7 +65397,7 @@ function YAe(e) {
return /*#__PURE__*/ R.createElement(n3, c3({ key: `background-bar-${n}` }, _));
}));
}
-function XAe(e) {
+function fje(e) {
var { showLabels: t, children: n, rects: r } = e, i = r?.map((e) => {
var t = {
x: e.x,
@@ -64977,7 +65417,7 @@ function XAe(e) {
});
return /*#__PURE__*/ R.createElement(B1, { value: t ? i : void 0 }, n);
}
-function ZAe(e) {
+function pje(e) {
var { shape: t, activeBar: n, baseProps: r, entry: i, index: a, dataKey: o } = e, s = Q(d$), c = Q(p$), l = n && String(i.originalDataIndex) === s && (c == null || o === c), [u, d] = (0, R.useState)(!1), [f, p] = (0, R.useState)(!1);
(0, R.useEffect)(() => {
var e;
@@ -64998,7 +65438,7 @@ function ZAe(e) {
}));
return g ? /*#__PURE__*/ R.createElement(M$, { zIndex: _q.activeBar }, /*#__PURE__*/ R.createElement(s3, { index: i.originalDataIndex }, v)) : v;
}
-function QAe(e) {
+function mje(e) {
var { shape: t, baseProps: n, entry: r, index: i, dataKey: a } = e;
return /*#__PURE__*/ R.createElement(n3, c3({}, n, { name: String(n.name) }, r, {
isActive: !1,
@@ -65007,24 +65447,24 @@ function QAe(e) {
dataKey: a
}));
}
-function $Ae(e) {
- var { data: t, props: n } = e, r = QI(n) ?? {}, { id: i } = r, a = d3(r, VAe), { shape: o, dataKey: s, activeBar: c } = n, { onMouseEnter: l, onClick: u, onMouseLeave: d } = n, f = d3(n, HAe), p = U0(l, s, i), m = W0(d), h = G0(u, s, i);
+function hje(e) {
+ var { data: t, props: n } = e, r = aL(n) ?? {}, { id: i } = r, a = d3(r, rje), { shape: o, dataKey: s, activeBar: c } = n, { onMouseEnter: l, onClick: u, onMouseLeave: d } = n, f = d3(n, ije), p = U0(l, s, i), m = W0(d), h = G0(u, s, i);
return t ? /*#__PURE__*/ R.createElement(R.Fragment, null, t.map((e, t) => /*#__PURE__*/ R.createElement(s3, c3({
index: e.originalDataIndex,
key: `rectangle-${e?.x}-${e?.y}-${e?.value}-${t}`,
className: "recharts-bar-rectangle"
- }, ER(f, e, t), {
+ }, NR(f, e, t), {
onMouseEnter: p(e, t),
onMouseLeave: m(e, t),
onClick: h(e, t)
- }), c ? /*#__PURE__*/ R.createElement(ZAe, {
+ }), c ? /*#__PURE__*/ R.createElement(pje, {
shape: o,
activeBar: c,
baseProps: a,
entry: e,
index: t,
dataKey: s
- }) : /*#__PURE__*/ R.createElement(QAe, {
+ }) : /*#__PURE__*/ R.createElement(mje, {
shape: o,
baseProps: a,
entry: e,
@@ -65032,13 +65472,13 @@ function $Ae(e) {
dataKey: s
})))) : null;
}
-function eje(e) {
+function gje(e) {
var { props: t, previousRectanglesRef: n } = e, { data: r, layout: i, isAnimationActive: a, animationBegin: o, animationDuration: s, animationEasing: c, onAnimationEnd: l, onAnimationStart: u } = t, d = n.current, f = CK(t, "recharts-bar-"), [p, m] = (0, R.useState)(!1), h = !p, g = (0, R.useCallback)(() => {
typeof l == "function" && l(), m(!1);
}, [l]), _ = (0, R.useCallback)(() => {
typeof u == "function" && u(), m(!0);
}, [u]);
- return /*#__PURE__*/ R.createElement(XAe, {
+ return /*#__PURE__*/ R.createElement(fje, {
showLabels: h,
rects: r
}, /*#__PURE__*/ R.createElement(SK, {
@@ -65054,68 +65494,68 @@ function eje(e) {
var a = e === 1 ? r : r?.map((t, n) => {
var r = d && d[n];
if (r) return u3(u3({}, t), {}, {
- x: pR(r.x, t.x, e),
- y: pR(r.y, t.y, e),
- width: pR(r.width, t.width, e),
- height: pR(r.height, t.height, e)
+ x: bR(r.x, t.x, e),
+ y: bR(r.y, t.y, e),
+ width: bR(r.width, t.width, e),
+ height: bR(r.height, t.height, e)
});
if (i === "horizontal") {
- var a = pR(0, t.height, e), o = pR(t.stackedBarStart, t.y, e);
+ var a = bR(0, t.height, e), o = bR(t.stackedBarStart, t.y, e);
return u3(u3({}, t), {}, {
y: o,
height: a
});
}
- var s = pR(0, t.width, e), c = pR(t.stackedBarStart, t.x, e);
+ var s = bR(0, t.width, e), c = bR(t.stackedBarStart, t.x, e);
return u3(u3({}, t), {}, {
width: s,
x: c
});
});
- return e > 0 && (n.current = a ?? null), a == null ? null : /*#__PURE__*/ R.createElement(iL, null, /*#__PURE__*/ R.createElement($Ae, {
+ return e > 0 && (n.current = a ?? null), a == null ? null : /*#__PURE__*/ R.createElement(dL, null, /*#__PURE__*/ R.createElement(hje, {
props: t,
data: a
}));
}), /*#__PURE__*/ R.createElement(U1, { label: t.label }), t.children);
}
-function tje(e) {
+function _je(e) {
var t = (0, R.useRef)(null);
- return /*#__PURE__*/ R.createElement(eje, {
+ return /*#__PURE__*/ R.createElement(gje, {
previousRectanglesRef: t,
props: e
});
}
-var f3 = 0, nje = (e, t) => {
+var f3 = 0, vje = (e, t) => {
var n = Array.isArray(e.value) ? e.value[1] : e.value;
return {
x: e.x,
y: e.y,
value: n,
- errorVal: SV(e, t)
+ errorVal: NV(e, t)
};
-}, rje = class extends R.PureComponent {
+}, yje = class extends R.PureComponent {
render() {
var { hide: e, data: t, dataKey: n, className: r, xAxisId: i, yAxisId: a, needClip: o, background: s, id: c } = this.props;
if (e || t == null) return null;
var l = Ql("recharts-bar", r), u = c;
- return /*#__PURE__*/ R.createElement(iL, {
+ return /*#__PURE__*/ R.createElement(dL, {
className: l,
id: c
}, o && /*#__PURE__*/ R.createElement("defs", null, /*#__PURE__*/ R.createElement(E4, {
clipPathId: u,
xAxisId: i,
yAxisId: a
- })), /*#__PURE__*/ R.createElement(iL, {
+ })), /*#__PURE__*/ R.createElement(dL, {
className: "recharts-bar-rectangles",
clipPath: o ? `url(#clipPath-${u})` : void 0
- }, /*#__PURE__*/ R.createElement(YAe, {
+ }, /*#__PURE__*/ R.createElement(dje, {
data: t,
dataKey: n,
background: s,
allOtherBarProps: this.props
- }), /*#__PURE__*/ R.createElement(tje, this.props)));
+ }), /*#__PURE__*/ R.createElement(_je, this.props)));
}
-}, ije = {
+}, bje = {
activeBar: !1,
animationBegin: 0,
animationDuration: 400,
@@ -65130,17 +65570,17 @@ var f3 = 0, nje = (e, t) => {
yAxisId: 0,
zIndex: _q.bar
};
-function aje(e) {
- var { xAxisId: t, yAxisId: n, hide: r, legendType: i, minPointSize: a, activeBar: o, animationBegin: s, animationDuration: c, animationEasing: l, isAnimationActive: u } = e, { needClip: d } = T4(t, n), f = KH(), p = dH(), m = M0(e.children, Y$), h = Q((t) => MAe(t, e.id, p, m));
+function xje(e) {
+ var { xAxisId: t, yAxisId: n, hide: r, legendType: i, minPointSize: a, activeBar: o, animationBegin: s, animationDuration: c, animationEasing: l, isAnimationActive: u } = e, { needClip: d } = T4(t, n), f = rU(), p = SH(), m = M0(e.children, Y$), h = Q((t) => JAe(t, e.id, p, m));
if (f !== "vertical" && f !== "horizontal") return null;
var g, _ = h?.[0];
return g = _ == null || _.height == null || _.width == null ? 0 : f === "vertical" ? _.height / 2 : _.width / 2, /*#__PURE__*/ R.createElement(w4, {
xAxisId: t,
yAxisId: n,
data: h,
- dataPointFormatter: nje,
+ dataPointFormatter: vje,
errorBarOffset: g
- }, /*#__PURE__*/ R.createElement(rje, c3({}, e, {
+ }, /*#__PURE__*/ R.createElement(yje, c3({}, e, {
layout: f,
needClip: d,
data: h,
@@ -65156,20 +65596,20 @@ function aje(e) {
isAnimationActive: u
})));
}
-function oje(e) {
- var { layout: t, barSettings: { dataKey: n, minPointSize: r, hasCustomShape: i }, pos: a, bandSize: o, xAxis: s, yAxis: c, xAxisTicks: l, yAxisTicks: u, stackedData: d, displayedData: f, offset: p, cells: m, parentViewBox: h, dataStartIndex: g } = e, _ = t === "horizontal" ? c : s, v = d ? _.scale.domain() : null, y = NV({ numericAxis: _ }), b = _.scale.map(y);
+function Sje(e) {
+ var { layout: t, barSettings: { dataKey: n, minPointSize: r, hasCustomShape: i }, pos: a, bandSize: o, xAxis: s, yAxis: c, xAxisTicks: l, yAxisTicks: u, stackedData: d, displayedData: f, offset: p, cells: m, parentViewBox: h, dataStartIndex: g } = e, _ = t === "horizontal" ? c : s, v = d ? _.scale.domain() : null, y = WV({ numericAxis: _ }), b = _.scale.map(y);
return f.map((e, f) => {
var _, x, S, C, w, T;
if (d) {
var E = d[f + g];
if (E == null) return null;
- _ = DV(E, v);
- } else _ = SV(e, n), Array.isArray(_) || (_ = [y, _]);
- var D = wAe(r, f3)(_[1], f);
+ _ = RV(E, v);
+ } else _ = NV(e, n), Array.isArray(_) || (_ = [y, _]);
+ var D = BAe(r, f3)(_[1], f);
if (t === "horizontal") {
var O = c.scale.map(_[0]), k = c.scale.map(_[1]);
if (O == null || k == null) return null;
- x = MV({
+ x = UV({
axis: s,
ticks: l,
bandSize: o,
@@ -65178,19 +65618,19 @@ function oje(e) {
index: f
}), S = k ?? O ?? void 0, C = a.size;
var A = O - k;
- if (w = sR(A) ? 0 : A, T = {
+ if (w = mR(A) ? 0 : A, T = {
x,
y: p.top,
width: C,
height: p.height
}, Math.abs(D) > 0 && Math.abs(w) < Math.abs(D)) {
- var j = oR(w || D) * (Math.abs(D) - Math.abs(w));
+ var j = pR(w || D) * (Math.abs(D) - Math.abs(w));
S -= j, w += j;
}
} else {
var M = s.scale.map(_[0]), N = s.scale.map(_[1]);
if (M == null || N == null) return null;
- if (x = M, S = MV({
+ if (x = M, S = UV({
axis: c,
ticks: u,
bandSize: o,
@@ -65203,7 +65643,7 @@ function oje(e) {
width: p.width,
height: w
}, Math.abs(D) > 0 && Math.abs(C) < Math.abs(D)) {
- var P = oR(C || D) * (Math.abs(D) - Math.abs(C));
+ var P = pR(C || D) * (Math.abs(D) - Math.abs(C));
C += P;
}
}
@@ -65225,12 +65665,12 @@ function oje(e) {
}, m && m[f] && m[f].props);
}).filter(Boolean);
}
-function sje(e) {
- var t = OR(e, ije), n = IAe(t.stackId), r = dH();
+function Cje(e) {
+ var t = FR(e, bje), n = QAe(t.stackId), r = SH();
return /*#__PURE__*/ R.createElement(Y0, {
id: t.id,
type: "bar"
- }, (e) => /*#__PURE__*/ R.createElement(R.Fragment, null, /*#__PURE__*/ R.createElement(q0, { legendPayload: qAe(t) }), /*#__PURE__*/ R.createElement(JAe, {
+ }, (e) => /*#__PURE__*/ R.createElement(R.Fragment, null, /*#__PURE__*/ R.createElement(q0, { legendPayload: lje(t) }), /*#__PURE__*/ R.createElement(uje, {
dataKey: t.dataKey,
stroke: t.stroke,
strokeWidth: t.strokeWidth,
@@ -65255,23 +65695,23 @@ function sje(e) {
maxBarSize: t.maxBarSize,
isPanorama: r,
hasCustomShape: t.shape != null
- }), /*#__PURE__*/ R.createElement(M$, { zIndex: t.zIndex }, /*#__PURE__*/ R.createElement(aje, c3({}, t, { id: e })))));
+ }), /*#__PURE__*/ R.createElement(M$, { zIndex: t.zIndex }, /*#__PURE__*/ R.createElement(xje, c3({}, t, { id: e })))));
}
-var p3 = /*#__PURE__*/ R.memo(sje, yW);
+var p3 = /*#__PURE__*/ R.memo(Cje, AW);
p3.displayName = "Bar";
//#endregion
//#region node_modules/recharts/es6/util/axisPropsAreEqual.js
-var cje = ["domain", "range"], lje = ["domain", "range"];
+var wje = ["domain", "range"], Tje = ["domain", "range"];
function m3(e, t) {
if (e == null) return {};
- var n, r, i = uje(e, t);
+ var n, r, i = Eje(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function uje(e, t) {
+function Eje(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -65285,16 +65725,16 @@ function h3(e, t) {
}
function g3(e, t) {
if (e === t) return !0;
- var { domain: n, range: r } = e, i = m3(e, cje), { domain: a, range: o } = t, s = m3(t, lje);
- return !h3(n, a) || !h3(r, o) ? !1 : yW(i, s);
+ var { domain: n, range: r } = e, i = m3(e, wje), { domain: a, range: o } = t, s = m3(t, Tje);
+ return !h3(n, a) || !h3(r, o) ? !1 : AW(i, s);
}
//#endregion
//#region node_modules/recharts/es6/cartesian/XAxis.js
-var dje = ["type"], fje = [
+var Dje = ["type"], Oje = [
"dangerouslySetInnerHTML",
"ticks",
"scale"
-], pje = ["id", "scale"];
+], kje = ["id", "scale"];
function _3() {
return _3 = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
@@ -65318,26 +65758,26 @@ function y3(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? v3(Object(n), !0).forEach(function(t) {
- mje(e, t, n[t]);
+ Aje(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : v3(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function mje(e, t, n) {
- return (t = hje(t)) in e ? Object.defineProperty(e, t, {
+function Aje(e, t, n) {
+ return (t = jje(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function hje(e) {
- var t = gje(e, "string");
+function jje(e) {
+ var t = Mje(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function gje(e, t) {
+function Mje(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -65349,14 +65789,14 @@ function gje(e, t) {
}
function b3(e, t) {
if (e == null) return {};
- var n, r, i = _je(e, t);
+ var n, r, i = Nje(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function _je(e, t) {
+function Nje(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -65365,23 +65805,23 @@ function _je(e, t) {
}
return n;
}
-function vje(e) {
- var t = tz(), n = (0, R.useRef)(null), r = qH(), { type: i } = e, a = b3(e, dje), o = xq(r, "xAxis", i), s = (0, R.useMemo)(() => {
+function Pje(e) {
+ var t = cz(), n = (0, R.useRef)(null), r = iU(), { type: i } = e, a = b3(e, Dje), o = xq(r, "xAxis", i), s = (0, R.useMemo)(() => {
if (o != null) return y3(y3({}, a), {}, { type: o });
}, [a, o]);
return (0, R.useLayoutEffect)(() => {
- s != null && (n.current === null ? t(PEe(s)) : n.current !== s && t(FEe({
+ s != null && (n.current === null ? t(XEe(s)) : n.current !== s && t(ZEe({
prev: n.current,
next: s
})), n.current = s);
}, [s, t]), (0, R.useLayoutEffect)(() => () => {
- n.current &&= (t(IEe(n.current)), null);
+ n.current &&= (t(QEe(n.current)), null);
}, [t]), null;
}
-var yje = (e) => {
- var { xAxisId: t, className: n } = e, r = Q(lH), i = dH(), a = "xAxis", o = Q((e) => SQ(e, a, t, i)), s = Q((e) => hQ(e, t)), c = Q((e) => Bxe(e, t)), l = Q((e) => lZ(e, t));
+var Fje = (e) => {
+ var { xAxisId: t, className: n } = e, r = Q(bH), i = SH(), a = "xAxis", o = Q((e) => SQ(e, a, t, i)), s = Q((e) => hQ(e, t)), c = Q((e) => nSe(e, t)), l = Q((e) => lZ(e, t));
if (s == null || c == null || l == null) return null;
- var { dangerouslySetInnerHTML: u, ticks: d, scale: f } = e, p = b3(e, fje), { id: m, scale: h } = l, g = b3(l, pje);
+ var { dangerouslySetInnerHTML: u, ticks: d, scale: f } = e, p = b3(e, Oje), { id: m, scale: h } = l, g = b3(l, kje);
return /*#__PURE__*/ R.createElement(g4, _3({}, p, g, {
x: c.x,
y: c.y,
@@ -65393,7 +65833,7 @@ var yje = (e) => {
axisType: a,
axisId: t
}));
-}, bje = {
+}, Ije = {
allowDataOverflow: cZ.allowDataOverflow,
allowDecimals: cZ.allowDecimals,
allowDuplicatedCategory: cZ.allowDuplicatedCategory,
@@ -65418,8 +65858,8 @@ var yje = (e) => {
niceTicks: cZ.niceTicks,
xAxisId: 0
}, x3 = /*#__PURE__*/ R.memo((e) => {
- var t = OR(e, bje);
- return /*#__PURE__*/ R.createElement(R.Fragment, null, /*#__PURE__*/ R.createElement(vje, {
+ var t = FR(e, Ije);
+ return /*#__PURE__*/ R.createElement(R.Fragment, null, /*#__PURE__*/ R.createElement(Pje, {
allowDataOverflow: t.allowDataOverflow,
allowDecimals: t.allowDecimals,
allowDuplicatedCategory: t.allowDuplicatedCategory,
@@ -65445,16 +65885,16 @@ var yje = (e) => {
type: t.type,
unit: t.unit,
niceTicks: t.niceTicks
- }), /*#__PURE__*/ R.createElement(yje, t));
+ }), /*#__PURE__*/ R.createElement(Fje, t));
}, g3);
x3.displayName = "XAxis";
//#endregion
//#region node_modules/recharts/es6/cartesian/YAxis.js
-var xje = ["type"], Sje = [
+var Lje = ["type"], Rje = [
"dangerouslySetInnerHTML",
"ticks",
"scale"
-], Cje = ["id", "scale"];
+], zje = ["id", "scale"];
function S3() {
return S3 = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
@@ -65478,26 +65918,26 @@ function w3(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? C3(Object(n), !0).forEach(function(t) {
- wje(e, t, n[t]);
+ Bje(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : C3(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function wje(e, t, n) {
- return (t = Tje(t)) in e ? Object.defineProperty(e, t, {
+function Bje(e, t, n) {
+ return (t = Vje(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function Tje(e) {
- var t = Eje(e, "string");
+function Vje(e) {
+ var t = Hje(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function Eje(e, t) {
+function Hje(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -65509,14 +65949,14 @@ function Eje(e, t) {
}
function T3(e, t) {
if (e == null) return {};
- var n, r, i = Dje(e, t);
+ var n, r, i = Uje(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function Dje(e, t) {
+function Uje(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -65525,27 +65965,27 @@ function Dje(e, t) {
}
return n;
}
-function Oje(e) {
- var t = tz(), n = (0, R.useRef)(null), r = qH(), { type: i } = e, a = T3(e, xje), o = xq(r, "yAxis", i), s = (0, R.useMemo)(() => {
+function Wje(e) {
+ var t = cz(), n = (0, R.useRef)(null), r = iU(), { type: i } = e, a = T3(e, Lje), o = xq(r, "yAxis", i), s = (0, R.useMemo)(() => {
if (o != null) return w3(w3({}, a), {}, { type: o });
}, [o, a]);
return (0, R.useLayoutEffect)(() => {
- s != null && (n.current === null ? t(LEe(s)) : n.current !== s && t(REe({
+ s != null && (n.current === null ? t($Ee(s)) : n.current !== s && t(eDe({
prev: n.current,
next: s
})), n.current = s);
}, [s, t]), (0, R.useLayoutEffect)(() => () => {
- n.current &&= (t(zEe(n.current)), null);
+ n.current &&= (t(tDe(n.current)), null);
}, [t]), null;
}
-function kje(e) {
- var { yAxisId: t, className: n, width: r, label: i } = e, a = (0, R.useRef)(null), o = (0, R.useRef)(null), s = Q(lH), c = dH(), l = tz(), u = "yAxis", d = Q((e) => gQ(e, t)), f = Q((e) => Vxe(e, t)), p = Q((e) => SQ(e, u, t, c)), m = Q((e) => fZ(e, t));
+function Gje(e) {
+ var { yAxisId: t, className: n, width: r, label: i } = e, a = (0, R.useRef)(null), o = (0, R.useRef)(null), s = Q(bH), c = SH(), l = cz(), u = "yAxis", d = Q((e) => gQ(e, t)), f = Q((e) => rSe(e, t)), p = Q((e) => SQ(e, u, t, c)), m = Q((e) => fZ(e, t));
if ((0, R.useLayoutEffect)(() => {
if (!(r !== "auto" || !d || M1(i) || /*#__PURE__*/ (0, R.isValidElement)(i) || m == null)) {
var e = a.current;
if (e) {
var n = e.getCalculatedWidth();
- Math.round(d.width) !== Math.round(n) && l(UEe({
+ Math.round(d.width) !== Math.round(n) && l(aDe({
id: t,
width: n
}));
@@ -65560,7 +66000,7 @@ function kje(e) {
r,
m
]), d == null || f == null || m == null) return null;
- var { dangerouslySetInnerHTML: h, ticks: g, scale: _ } = e, v = T3(e, Sje), { id: y, scale: b } = m, x = T3(m, Cje);
+ var { dangerouslySetInnerHTML: h, ticks: g, scale: _ } = e, v = T3(e, Rje), { id: y, scale: b } = m, x = T3(m, zje);
return /*#__PURE__*/ R.createElement(g4, S3({}, v, x, {
ref: a,
labelRef: o,
@@ -65576,7 +66016,7 @@ function kje(e) {
axisId: t
}));
}
-var Aje = {
+var Kje = {
allowDataOverflow: dZ.allowDataOverflow,
allowDecimals: dZ.allowDecimals,
allowDuplicatedCategory: dZ.allowDuplicatedCategory,
@@ -65601,8 +66041,8 @@ var Aje = {
width: dZ.width,
yAxisId: 0
}, E3 = /*#__PURE__*/ R.memo((e) => {
- var t = OR(e, Aje);
- return /*#__PURE__*/ R.createElement(R.Fragment, null, /*#__PURE__*/ R.createElement(Oje, {
+ var t = FR(e, Kje);
+ return /*#__PURE__*/ R.createElement(R.Fragment, null, /*#__PURE__*/ R.createElement(Wje, {
interval: t.interval,
id: t.yAxisId,
scale: t.scale,
@@ -65628,27 +66068,27 @@ var Aje = {
tick: t.tick,
tickFormatter: t.tickFormatter,
niceTicks: t.niceTicks
- }), /*#__PURE__*/ R.createElement(kje, t));
+ }), /*#__PURE__*/ R.createElement(Gje, t));
}, g3);
E3.displayName = "YAxis";
var D3 = $([
(e, t) => t,
- GH,
+ nU,
Pq,
Hq,
i$,
o$,
- LSe,
- sH
-], WSe);
+ $Se,
+ vH
+], oCe);
//#endregion
//#region node_modules/recharts/es6/util/getRelativeCoordinate.js
-function jje(e) {
+function qje(e) {
return "getBBox" in e.currentTarget && typeof e.currentTarget.getBBox == "function";
}
function O3(e) {
var t = e.currentTarget.getBoundingClientRect(), n, r;
- if (jje(e)) {
+ if (qje(e)) {
var i = e.currentTarget.getBBox();
n = i.width > 0 ? t.width / i.width : 1, r = i.height > 0 ? t.height / i.height : 1;
} else {
@@ -65663,19 +66103,19 @@ function O3(e) {
}
//#endregion
//#region node_modules/recharts/es6/state/mouseEventsMiddleware.js
-var k3 = jB("mouseClick"), A3 = dV();
+var k3 = RB("mouseClick"), A3 = vV();
A3.startListening({
actionCreator: k3,
effect: (e, t) => {
var n = e.payload, r = D3(t.getState(), O3(n));
- r?.activeIndex != null && t.dispatch(Zxe({
+ r?.activeIndex != null && t.dispatch(pSe({
activeIndex: r.activeIndex,
activeDataKey: void 0,
activeCoordinate: r.activeCoordinate
}));
}
});
-var j3 = jB("mouseMove"), M3 = dV(), N3 = null, P3 = null, F3 = null;
+var j3 = RB("mouseMove"), M3 = vV(), N3 = null, P3 = null, F3 = null;
M3.startListening({
actionCreator: j3,
effect: (e, t) => {
@@ -65706,7 +66146,7 @@ M3.startListening({
});
//#endregion
//#region node_modules/recharts/es6/state/reduxDevtoolsJsonStringifyReplacer.js
-function Mje(e, t) {
+function Jje(e, t) {
return t instanceof HTMLElement ? `HTMLElement <${t.tagName} class="${t.className}">` : t === window ? "global.window" : e === "children" && typeof t == "object" && t ? "<<CHILDREN>>" : t;
}
//#endregion
@@ -65723,17 +66163,17 @@ var I3 = {
syncMethod: "index",
baseValue: void 0,
reverseStackOrder: !1
-}, L3 = BB({
+}, L3 = qB({
name: "rootProps",
initialState: I3,
reducers: { updateOptions: (e, t) => {
e.accessibilityLayer = t.payload.accessibilityLayer, e.barCategoryGap = t.payload.barCategoryGap, e.barGap = t.payload.barGap ?? I3.barGap, e.barSize = t.payload.barSize, e.maxBarSize = t.payload.maxBarSize, e.stackOffset = t.payload.stackOffset, e.syncId = t.payload.syncId, e.syncMethod = t.payload.syncMethod, e.className = t.payload.className, e.baseValue = t.payload.baseValue, e.reverseStackOrder = t.payload.reverseStackOrder;
} }
-}), Nje = L3.reducer, { updateOptions: Pje } = L3.actions, R3 = BB({
+}), Yje = L3.reducer, { updateOptions: Xje } = L3.actions, R3 = qB({
name: "polarOptions",
initialState: null,
reducers: { updatePolarOptions: (e, t) => e === null ? t.payload : (e.startAngle = t.payload.startAngle, e.endAngle = t.payload.endAngle, e.cx = t.payload.cx, e.cy = t.payload.cy, e.innerRadius = t.payload.innerRadius, e.outerRadius = t.payload.outerRadius, e) }
-}), { updatePolarOptions: Fje } = R3.actions, Ije = R3.reducer, z3 = jB("keyDown"), B3 = jB("focus"), V3 = jB("blur"), H3 = dV(), U3 = null, W3 = null, G3 = null;
+}), { updatePolarOptions: Zje } = R3.actions, Qje = R3.reducer, z3 = RB("keyDown"), B3 = RB("focus"), V3 = RB("blur"), H3 = vV(), U3 = null, W3 = null, G3 = null;
H3.startListening({
actionCreator: z3,
effect: (e, t) => {
@@ -65758,7 +66198,7 @@ H3.startListening({
}));
return;
}
- var c = Hxe(e) === "left-to-right" ? 1 : -1, l = a + (r === "ArrowRight" ? 1 : -1) * c;
+ var c = iSe(e) === "left-to-right" ? 1 : -1, l = a + (r === "ArrowRight" ? 1 : -1) * c;
if (o == null || l >= o.length || l < 0) return;
var u = D$(e, "axis", "hover", String(l));
t.dispatch(LQ({
@@ -65821,7 +66261,7 @@ function K3(e) {
}
//#endregion
//#region node_modules/recharts/es6/state/externalEventsMiddleware.js
-var q3 = jB("externalEvent"), J3 = dV(), Y3 = /* @__PURE__ */ new Map(), X3 = /* @__PURE__ */ new Map(), Z3 = /* @__PURE__ */ new Map();
+var q3 = RB("externalEvent"), J3 = vV(), Y3 = /* @__PURE__ */ new Map(), X3 = /* @__PURE__ */ new Map(), Z3 = /* @__PURE__ */ new Map();
J3.startListening({
actionCreator: q3,
effect: (e, t) => {
@@ -65841,12 +66281,12 @@ J3.startListening({
try {
if (!e) return;
var { handler: n, reactEvent: r } = e, a = t.getState(), o = {
- activeCoordinate: CSe(a),
+ activeCoordinate: zSe(a),
activeDataKey: p$(a),
activeIndex: d$(a),
activeLabel: f$(a),
activeTooltipIndex: d$(a),
- isTooltipActive: wSe(a)
+ isTooltipActive: BSe(a)
};
n && n(o, r);
} finally {
@@ -65870,7 +66310,7 @@ J3.startListening({
}
}
});
-var Lje = $([
+var $je = $([
$([GQ], (e) => e.tooltipItemPayloads),
(e, t) => t,
(e, t, n) => n
@@ -65882,7 +66322,7 @@ var Lje = $([
if (i != null) return i(t);
}
}
-}), Q3 = jB("touchMove"), $3 = dV(), e6 = null, t6 = null, n6 = null, r6 = null;
+}), Q3 = RB("touchMove"), $3 = vV(), e6 = null, t6 = null, n6 = null, r6 = null;
$3.startListening({
actionCreator: Q3,
effect: (e, t) => {
@@ -65915,9 +66355,9 @@ $3.startListening({
if (document.elementFromPoint == null || a == null) return;
var o = document.elementFromPoint(a.clientX, a.clientY);
if (!o || !o.getAttribute) return;
- var s = o.getAttribute(XV), c = o.getAttribute("data-recharts-item-id") ?? void 0, l = ZQ(e).find((e) => e.id === c);
+ var s = o.getAttribute(sH), c = o.getAttribute("data-recharts-item-id") ?? void 0, l = ZQ(e).find((e) => e.id === c);
if (s == null || l == null || c == null) return;
- var { dataKey: u } = l, d = Lje(e, s, c);
+ var { dataKey: u } = l, d = $je(e, s, c);
t.dispatch(NQ({
activeDataKey: u,
activeIndex: s,
@@ -65949,33 +66389,33 @@ var i6 = {
"scroll",
"wheel"
]
-}, a6 = BB({
+}, a6 = qB({
name: "eventSettings",
initialState: i6,
reducers: { setEventSettings: (e, t) => {
- t.payload.throttleDelay != null && (e.throttleDelay = t.payload.throttleDelay), t.payload.throttledEvents != null && (e.throttledEvents = qU(t.payload.throttledEvents));
+ t.payload.throttleDelay != null && (e.throttleDelay = t.payload.throttleDelay), t.payload.throttledEvents != null && (e.throttledEvents = iW(t.payload.throttledEvents));
} }
-}), { setEventSettings: Rje } = a6.actions, zje = a6.reducer, Bje = yz({
- brush: rOe,
- cartesianAxis: WEe,
- chartData: _Ce,
- errorBars: Ske,
- eventSettings: zje,
- graphicalItems: bEe,
- layout: j_e,
- legend: eW,
- options: fCe,
- polarAxis: uTe,
- polarOptions: Ije,
- referenceElements: mOe,
- renderedTicks: HOe,
- rootProps: Nje,
- tooltip: Qxe,
- zIndex: rCe
-}), Vje = function(e) {
+}), { setEventSettings: eMe } = a6.actions, tMe = a6.reducer, nMe = Ez({
+ brush: yOe,
+ cartesianAxis: oDe,
+ chartData: NCe,
+ errorBars: Rke,
+ eventSettings: tMe,
+ graphicalItems: IEe,
+ layout: wV,
+ legend: dW,
+ options: OCe,
+ polarAxis: ETe,
+ polarOptions: Qje,
+ referenceElements: AOe,
+ renderedTicks: ike,
+ rootProps: Yje,
+ tooltip: mSe,
+ zIndex: yCe
+}), rMe = function(e) {
var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "Chart";
- return r_e({
- reducer: Bje,
+ return f_e({
+ reducer: nMe,
preloadedState: e,
middleware: (e) => e({
serializableCheck: !1,
@@ -65993,10 +66433,10 @@ var i6 = {
]),
enhancers: (e) => {
var t = e;
- return typeof e == "function" && (t = e()), t.concat(RB({ type: "raf" }));
+ return typeof e == "function" && (t = e()), t.concat(GB({ type: "raf" }));
},
- devTools: eG.devToolsEnabled && {
- serialize: { replacer: Mje },
+ devTools: dG.devToolsEnabled && {
+ serialize: { replacer: Jje },
name: `recharts-${t}`
}
});
@@ -66004,21 +66444,21 @@ var i6 = {
//#endregion
//#region node_modules/recharts/es6/state/RechartsStoreProvider.js
function o6(e) {
- var { preloadedState: t, children: n, reduxStoreName: r } = e, i = dH(), a = (0, R.useRef)(null);
+ var { preloadedState: t, children: n, reduxStoreName: r } = e, i = SH(), a = (0, R.useRef)(null);
if (i) return n;
- a.current ??= Vje(t, r);
- var o = ez;
- return /*#__PURE__*/ R.createElement(gW, {
+ a.current ??= rMe(t, r);
+ var o = sz;
+ return /*#__PURE__*/ R.createElement(DW, {
context: o,
store: a.current
}, n);
}
//#endregion
//#region node_modules/recharts/es6/state/ReportMainChartProps.js
-function Hje(e) {
- var { layout: t, margin: n } = e, r = tz(), i = dH();
+function iMe(e) {
+ var { layout: t, margin: n } = e, r = cz(), i = SH();
return (0, R.useEffect)(() => {
- i || (r(O_e(t)), r(D_e(n)));
+ i || (r(xV(t)), r(I_e(n)));
}, [
r,
i,
@@ -66026,31 +66466,31 @@ function Hje(e) {
n
]), null;
}
-var s6 = /*#__PURE__*/ (0, R.memo)(Hje, yW);
+var s6 = /*#__PURE__*/ (0, R.memo)(iMe, AW);
//#endregion
//#region node_modules/recharts/es6/state/ReportChartProps.js
function c6(e) {
- var t = tz();
+ var t = cz();
return (0, R.useEffect)(() => {
- t(Pje(e));
+ t(Xje(e));
}, [t, e]), null;
}
var l6 = /*#__PURE__*/ (0, R.memo)((e) => {
- var t = tz();
+ var t = cz();
return (0, R.useEffect)(() => {
- t(Rje(e));
+ t(eMe(e));
}, [t, e]), null;
-}, yW);
+}, AW);
//#endregion
//#region node_modules/recharts/es6/zIndex/ZIndexPortal.js
function u6(e) {
- var { zIndex: t, isPanorama: n } = e, r = (0, R.useRef)(null), i = tz();
- return (0, R.useLayoutEffect)(() => (r.current && i(tCe({
+ var { zIndex: t, isPanorama: n } = e, r = (0, R.useRef)(null), i = cz();
+ return (0, R.useLayoutEffect)(() => (r.current && i(_Ce({
zIndex: t,
element: r.current,
isPanorama: n
})), () => {
- i(nCe({
+ i(vCe({
zIndex: t,
isPanorama: n
}));
@@ -66065,7 +66505,7 @@ function u6(e) {
});
}
function d6(e) {
- var { children: t, isPanorama: n } = e, r = Q(KSe);
+ var { children: t, isPanorama: n } = e, r = Q(cCe);
if (!r || r.length === 0) return t;
var i = r.filter((e) => e < 0), a = r.filter((e) => e > 0);
return /*#__PURE__*/ R.createElement(R.Fragment, null, i.map((e) => /*#__PURE__*/ R.createElement(u6, {
@@ -66080,17 +66520,17 @@ function d6(e) {
}
//#endregion
//#region node_modules/recharts/es6/container/RootSurface.js
-var Uje = ["children"];
-function Wje(e, t) {
+var aMe = ["children"];
+function oMe(e, t) {
if (e == null) return {};
- var n, r, i = Gje(e, t);
+ var n, r, i = sMe(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function Gje(e, t) {
+function sMe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -66108,46 +66548,46 @@ function f6() {
return e;
}, f6.apply(null, arguments);
}
-var Kje = {
+var cMe = {
width: "100%",
height: "100%",
display: "block"
-}, qje = /*#__PURE__*/ (0, R.forwardRef)((e, t) => {
- var n = HH(), r = UH(), i = uG();
- if (!gV(n) || !gV(r)) return null;
+}, lMe = /*#__PURE__*/ (0, R.forwardRef)((e, t) => {
+ var n = $H(), r = eU(), i = xG();
+ if (!DV(n) || !DV(r)) return null;
var { children: a, otherAttributes: o, title: s, desc: c } = e, l, u;
- return o != null && (l = typeof o.tabIndex == "number" ? o.tabIndex : i ? 0 : void 0, u = typeof o.role == "string" ? o.role : i ? "application" : void 0), /*#__PURE__*/ R.createElement(nL, f6({}, o, {
+ return o != null && (l = typeof o.tabIndex == "number" ? o.tabIndex : i ? 0 : void 0, u = typeof o.role == "string" ? o.role : i ? "application" : void 0), /*#__PURE__*/ R.createElement(lL, f6({}, o, {
title: s,
desc: c,
role: u,
tabIndex: l,
width: n,
height: r,
- style: Kje,
+ style: cMe,
ref: t
}), a);
-}), Jje = (e) => {
- var { children: t } = e, n = Q(pH);
+}), uMe = (e) => {
+ var { children: t } = e, n = Q(wH);
if (!n) return null;
var { width: r, height: i, y: a, x: o } = n;
- return /*#__PURE__*/ R.createElement(nL, {
+ return /*#__PURE__*/ R.createElement(lL, {
width: r,
height: i,
x: o,
y: a
}, t);
}, p6 = /*#__PURE__*/ (0, R.forwardRef)((e, t) => {
- var { children: n } = e, r = Wje(e, Uje);
- return dH() ? /*#__PURE__*/ R.createElement(Jje, null, /*#__PURE__*/ R.createElement(d6, { isPanorama: !0 }, n)) : /*#__PURE__*/ R.createElement(qje, f6({ ref: t }, r), /*#__PURE__*/ R.createElement(d6, { isPanorama: !1 }, n));
+ var { children: n } = e, r = oMe(e, aMe);
+ return SH() ? /*#__PURE__*/ R.createElement(uMe, null, /*#__PURE__*/ R.createElement(d6, { isPanorama: !0 }, n)) : /*#__PURE__*/ R.createElement(lMe, f6({ ref: t }, r), /*#__PURE__*/ R.createElement(d6, { isPanorama: !1 }, n));
});
//#endregion
//#region node_modules/recharts/es6/util/useReportScale.js
-function Yje() {
- var e = tz(), [t, n] = (0, R.useState)(null), r = Q(KV);
+function dMe() {
+ var e = cz(), [t, n] = (0, R.useState)(null), r = Q(rH);
return (0, R.useEffect)(() => {
if (t != null) {
var n = t.getBoundingClientRect().width / t.offsetWidth;
- hV(n) && n !== r && e(A_e(n));
+ EV(n) && n !== r && e(CV(n));
}
}, [
t,
@@ -66167,30 +66607,30 @@ function m6(e, t) {
}
return n;
}
-function Xje(e) {
+function fMe(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? m6(Object(n), !0).forEach(function(t) {
- Zje(e, t, n[t]);
+ pMe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : m6(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function Zje(e, t, n) {
- return (t = Qje(t)) in e ? Object.defineProperty(e, t, {
+function pMe(e, t, n) {
+ return (t = mMe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function Qje(e) {
- var t = $je(e, "string");
+function mMe(e) {
+ var t = hMe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function $je(e, t) {
+function hMe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -66209,7 +66649,7 @@ function h6() {
return e;
}, h6.apply(null, arguments);
}
-var eMe = () => (ECe(), null);
+var gMe = () => (HCe(), null);
function g6(e) {
if (typeof e == "number") return e;
if (typeof e == "string") {
@@ -66218,7 +66658,7 @@ function g6(e) {
}
return 0;
}
-var tMe = /*#__PURE__*/ (0, R.forwardRef)((e, t) => {
+var _Me = /*#__PURE__*/ (0, R.forwardRef)((e, t) => {
var n = (0, R.useRef)(null), [r, i] = (0, R.useState)({
containerWidth: g6(e.style?.width),
containerHeight: g6(e.style?.height)
@@ -66246,11 +66686,11 @@ var tMe = /*#__PURE__*/ (0, R.forwardRef)((e, t) => {
}, [t, a]);
return (0, R.useEffect)(() => () => {
n.current?.disconnect();
- }, [a]), /*#__PURE__*/ R.createElement(R.Fragment, null, /*#__PURE__*/ R.createElement(ZH, {
+ }, [a]), /*#__PURE__*/ R.createElement(R.Fragment, null, /*#__PURE__*/ R.createElement(cU, {
width: r.containerWidth,
height: r.containerHeight
}), /*#__PURE__*/ R.createElement("div", h6({ ref: o }, e)));
-}), nMe = /*#__PURE__*/ (0, R.forwardRef)((e, t) => {
+}), vMe = /*#__PURE__*/ (0, R.forwardRef)((e, t) => {
var { width: n, height: r } = e, [i, a] = (0, R.useState)({
containerWidth: g6(n),
containerHeight: g6(r)
@@ -66268,32 +66708,32 @@ var tMe = /*#__PURE__*/ (0, R.forwardRef)((e, t) => {
o(n, r);
}
}, [t, o]);
- return /*#__PURE__*/ R.createElement(R.Fragment, null, /*#__PURE__*/ R.createElement(ZH, {
+ return /*#__PURE__*/ R.createElement(R.Fragment, null, /*#__PURE__*/ R.createElement(cU, {
width: i.containerWidth,
height: i.containerHeight
}), /*#__PURE__*/ R.createElement("div", h6({ ref: s }, e)));
-}), rMe = /*#__PURE__*/ (0, R.forwardRef)((e, t) => {
+}), yMe = /*#__PURE__*/ (0, R.forwardRef)((e, t) => {
var { width: n, height: r } = e;
- return /*#__PURE__*/ R.createElement(R.Fragment, null, /*#__PURE__*/ R.createElement(ZH, {
+ return /*#__PURE__*/ R.createElement(R.Fragment, null, /*#__PURE__*/ R.createElement(cU, {
width: n,
height: r
}), /*#__PURE__*/ R.createElement("div", h6({ ref: t }, e)));
-}), iMe = /*#__PURE__*/ (0, R.forwardRef)((e, t) => {
+}), bMe = /*#__PURE__*/ (0, R.forwardRef)((e, t) => {
var { width: n, height: r } = e;
- return typeof n == "string" || typeof r == "string" ? /*#__PURE__*/ R.createElement(nMe, h6({}, e, { ref: t })) : typeof n == "number" && typeof r == "number" ? /*#__PURE__*/ R.createElement(rMe, h6({}, e, {
+ return typeof n == "string" || typeof r == "string" ? /*#__PURE__*/ R.createElement(vMe, h6({}, e, { ref: t })) : typeof n == "number" && typeof r == "number" ? /*#__PURE__*/ R.createElement(yMe, h6({}, e, {
width: n,
height: r,
ref: t
- })) : /*#__PURE__*/ R.createElement(R.Fragment, null, /*#__PURE__*/ R.createElement(ZH, {
+ })) : /*#__PURE__*/ R.createElement(R.Fragment, null, /*#__PURE__*/ R.createElement(cU, {
width: n,
height: r
}), /*#__PURE__*/ R.createElement("div", h6({ ref: t }, e)));
});
-function aMe(e) {
- return e ? tMe : iMe;
+function xMe(e) {
+ return e ? _Me : bMe;
}
-var oMe = /*#__PURE__*/ (0, R.forwardRef)((e, t) => {
- var { children: n, className: r, height: i, onClick: a, onContextMenu: o, onDoubleClick: s, onMouseDown: c, onMouseEnter: l, onMouseLeave: u, onMouseMove: d, onMouseUp: f, onTouchEnd: p, onTouchMove: m, onTouchStart: h, style: g, width: _, responsive: v, dispatchTouchEvents: y = !0 } = e, b = (0, R.useRef)(null), x = tz(), [S, C] = (0, R.useState)(null), [w, T] = (0, R.useState)(null), E = Yje(), D = FH(), O = D?.width > 0 ? D.width : _, k = D?.height > 0 ? D.height : i, A = (0, R.useCallback)((e) => {
+var SMe = /*#__PURE__*/ (0, R.forwardRef)((e, t) => {
+ var { children: n, className: r, height: i, onClick: a, onContextMenu: o, onDoubleClick: s, onMouseDown: c, onMouseEnter: l, onMouseLeave: u, onMouseMove: d, onMouseUp: f, onTouchEnd: p, onTouchMove: m, onTouchStart: h, style: g, width: _, responsive: v, dispatchTouchEvents: y = !0 } = e, b = (0, R.useRef)(null), x = cz(), [S, C] = (0, R.useState)(null), [w, T] = (0, R.useState)(null), E = dMe(), D = KH(), O = D?.width > 0 ? D.width : _, k = D?.height > 0 ? D.height : i, A = (0, R.useCallback)((e) => {
E(e), typeof t == "function" && t(e), C(e), T(e), e != null && (b.current = e);
}, [
E,
@@ -66365,12 +66805,12 @@ var oMe = /*#__PURE__*/ (0, R.forwardRef)((e, t) => {
handler: p,
reactEvent: e
}));
- }, [x, p]), ce = aMe(v);
- return /*#__PURE__*/ R.createElement(I$.Provider, { value: S }, /*#__PURE__*/ R.createElement(aL.Provider, { value: w }, /*#__PURE__*/ R.createElement(ce, {
+ }, [x, p]), ce = xMe(v);
+ return /*#__PURE__*/ R.createElement(I$.Provider, { value: S }, /*#__PURE__*/ R.createElement(fL.Provider, { value: w }, /*#__PURE__*/ R.createElement(ce, {
width: O ?? g?.width,
height: k ?? g?.height,
className: Ql("recharts-wrapper", r),
- style: Xje({
+ style: fMe({
position: "relative",
cursor: "default",
width: O,
@@ -66391,8 +66831,8 @@ var oMe = /*#__PURE__*/ (0, R.forwardRef)((e, t) => {
onTouchMove: oe,
onTouchStart: ae,
ref: A
- }, /*#__PURE__*/ R.createElement(eMe, null), n)));
-}), sMe = [
+ }, /*#__PURE__*/ R.createElement(gMe, null), n)));
+}), CMe = [
"width",
"height",
"responsive",
@@ -66403,16 +66843,16 @@ var oMe = /*#__PURE__*/ (0, R.forwardRef)((e, t) => {
"title",
"desc"
];
-function cMe(e, t) {
+function wMe(e, t) {
if (e == null) return {};
- var n, r, i = lMe(e, t);
+ var n, r, i = TMe(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function lMe(e, t) {
+function TMe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -66422,15 +66862,15 @@ function lMe(e, t) {
return n;
}
var _6 = /*#__PURE__*/ (0, R.forwardRef)((e, t) => {
- var { width: n, height: r, responsive: i, children: a, className: o, style: s, compact: c, title: l, desc: u } = e, d = QI(cMe(e, sMe));
- return c ? /*#__PURE__*/ R.createElement(R.Fragment, null, /*#__PURE__*/ R.createElement(ZH, {
+ var { width: n, height: r, responsive: i, children: a, className: o, style: s, compact: c, title: l, desc: u } = e, d = aL(wMe(e, CMe));
+ return c ? /*#__PURE__*/ R.createElement(R.Fragment, null, /*#__PURE__*/ R.createElement(cU, {
width: n,
height: r
}), /*#__PURE__*/ R.createElement(p6, {
otherAttributes: d,
title: l,
desc: u
- }, a)) : /*#__PURE__*/ R.createElement(oMe, {
+ }, a)) : /*#__PURE__*/ R.createElement(SMe, {
className: o,
style: s,
width: n,
@@ -66452,7 +66892,7 @@ var _6 = /*#__PURE__*/ (0, R.forwardRef)((e, t) => {
title: l,
desc: u,
ref: t
- }, /*#__PURE__*/ R.createElement(hOe, null, a)));
+ }, /*#__PURE__*/ R.createElement(jOe, null, a)));
});
//#endregion
//#region node_modules/recharts/es6/chart/CartesianChart.js
@@ -66475,30 +66915,30 @@ function y6(e, t) {
}
return n;
}
-function uMe(e) {
+function EMe(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? y6(Object(n), !0).forEach(function(t) {
- dMe(e, t, n[t]);
+ DMe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : y6(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function dMe(e, t, n) {
- return (t = fMe(t)) in e ? Object.defineProperty(e, t, {
+function DMe(e, t, n) {
+ return (t = OMe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function fMe(e) {
- var t = pMe(e, "string");
+function OMe(e) {
+ var t = kMe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function pMe(e, t) {
+function kMe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -66508,7 +66948,7 @@ function pMe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var mMe = uMe({
+var AMe = EMe({
accessibilityLayer: !0,
barCategoryGap: "10%",
barGap: 4,
@@ -66524,7 +66964,7 @@ var mMe = uMe({
stackOffset: "none",
syncMethod: "index"
}, i6), b6 = /*#__PURE__*/ (0, R.forwardRef)(function(e, t) {
- var n = OR(e.categoricalChartProps, mMe), { chartName: r, defaultTooltipEventType: i, validateTooltipEventTypes: a, tooltipPayloadSearcher: o, categoricalChartProps: s } = e, c = {
+ var n = FR(e.categoricalChartProps, AMe), { chartName: r, defaultTooltipEventType: i, validateTooltipEventTypes: a, tooltipPayloadSearcher: o, categoricalChartProps: s } = e, c = {
chartName: r,
defaultTooltipEventType: i,
validateTooltipEventTypes: a,
@@ -66553,32 +66993,32 @@ var mMe = uMe({
className: n.className,
reverseStackOrder: n.reverseStackOrder
}), /*#__PURE__*/ R.createElement(_6, v6({}, n, { ref: t })));
-}), hMe = ["axis"], gMe = /*#__PURE__*/ (0, R.forwardRef)((e, t) => /*#__PURE__*/ R.createElement(b6, {
+}), jMe = ["axis"], MMe = /*#__PURE__*/ (0, R.forwardRef)((e, t) => /*#__PURE__*/ R.createElement(b6, {
chartName: "LineChart",
defaultTooltipEventType: "axis",
- validateTooltipEventTypes: hMe,
+ validateTooltipEventTypes: jMe,
tooltipPayloadSearcher: B$,
categoricalChartProps: e,
ref: t
-})), _Me = ["axis", "item"], x6 = /*#__PURE__*/ (0, R.forwardRef)((e, t) => /*#__PURE__*/ R.createElement(b6, {
+})), NMe = ["axis", "item"], x6 = /*#__PURE__*/ (0, R.forwardRef)((e, t) => /*#__PURE__*/ R.createElement(b6, {
chartName: "BarChart",
defaultTooltipEventType: "axis",
- validateTooltipEventTypes: _Me,
+ validateTooltipEventTypes: NMe,
tooltipPayloadSearcher: B$,
categoricalChartProps: e,
ref: t
}));
//#endregion
//#region node_modules/recharts/es6/state/ReportPolarOptions.js
-function vMe(e) {
- var t = tz();
+function PMe(e) {
+ var t = cz();
return (0, R.useEffect)(() => {
- t(Fje(e));
+ t(Zje(e));
}, [t, e]), null;
}
//#endregion
//#region node_modules/recharts/es6/chart/PolarChart.js
-var yMe = ["layout"];
+var FMe = ["layout"];
function S6() {
return S6 = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
@@ -66588,16 +67028,16 @@ function S6() {
return e;
}, S6.apply(null, arguments);
}
-function bMe(e, t) {
+function IMe(e, t) {
if (e == null) return {};
- var n, r, i = xMe(e, t);
+ var n, r, i = LMe(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function xMe(e, t) {
+function LMe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -66616,30 +67056,30 @@ function C6(e, t) {
}
return n;
}
-function SMe(e) {
+function RMe(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? C6(Object(n), !0).forEach(function(t) {
- CMe(e, t, n[t]);
+ zMe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : C6(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function CMe(e, t, n) {
- return (t = wMe(t)) in e ? Object.defineProperty(e, t, {
+function zMe(e, t, n) {
+ return (t = BMe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function wMe(e) {
- var t = TMe(e, "string");
+function BMe(e) {
+ var t = VMe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function TMe(e, t) {
+function VMe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -66649,7 +67089,7 @@ function TMe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var w6 = SMe({
+var w6 = RMe({
accessibilityLayer: !0,
stackOffset: "none",
barCategoryGap: "10%",
@@ -66669,7 +67109,7 @@ var w6 = SMe({
innerRadius: 0,
outerRadius: "80%"
}, i6), T6 = /*#__PURE__*/ (0, R.forwardRef)(function(e, t) {
- var n = OR(e.categoricalChartProps, w6), { layout: r } = n, i = bMe(n, yMe), { chartName: a, defaultTooltipEventType: o, validateTooltipEventTypes: s, tooltipPayloadSearcher: c } = e, l = {
+ var n = FR(e.categoricalChartProps, w6), { layout: r } = n, i = IMe(n, FMe), { chartName: a, defaultTooltipEventType: o, validateTooltipEventTypes: s, tooltipPayloadSearcher: c } = e, l = {
chartName: a,
defaultTooltipEventType: o,
validateTooltipEventTypes: s,
@@ -66697,7 +67137,7 @@ var w6 = SMe({
syncMethod: n.syncMethod,
className: n.className,
reverseStackOrder: n.reverseStackOrder
- }), /*#__PURE__*/ R.createElement(vMe, {
+ }), /*#__PURE__*/ R.createElement(PMe, {
cx: n.cx,
cy: n.cy,
startAngle: n.startAngle,
@@ -66722,26 +67162,26 @@ function D6(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? E6(Object(n), !0).forEach(function(t) {
- EMe(e, t, n[t]);
+ HMe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : E6(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function EMe(e, t, n) {
- return (t = DMe(t)) in e ? Object.defineProperty(e, t, {
+function HMe(e, t, n) {
+ return (t = UMe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function DMe(e) {
- var t = OMe(e, "string");
+function UMe(e) {
+ var t = WMe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function OMe(e, t) {
+function WMe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -66751,24 +67191,24 @@ function OMe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var kMe = ["axis"], AMe = D6(D6({}, w6), {}, {
+var GMe = ["axis"], KMe = D6(D6({}, w6), {}, {
layout: "centric",
startAngle: 90,
endAngle: -270
-}), jMe = /*#__PURE__*/ (0, R.forwardRef)((e, t) => {
- var n = OR(e, AMe);
+}), qMe = /*#__PURE__*/ (0, R.forwardRef)((e, t) => {
+ var n = FR(e, KMe);
return /*#__PURE__*/ R.createElement(T6, {
chartName: "RadarChart",
defaultTooltipEventType: "axis",
- validateTooltipEventTypes: kMe,
+ validateTooltipEventTypes: GMe,
tooltipPayloadSearcher: B$,
categoricalChartProps: n,
ref: t
});
-}), MMe = ["axis"], NMe = /*#__PURE__*/ (0, R.forwardRef)((e, t) => /*#__PURE__*/ R.createElement(b6, {
+}), JMe = ["axis"], YMe = /*#__PURE__*/ (0, R.forwardRef)((e, t) => /*#__PURE__*/ R.createElement(b6, {
chartName: "AreaChart",
defaultTooltipEventType: "axis",
- validateTooltipEventTypes: MMe,
+ validateTooltipEventTypes: JMe,
tooltipPayloadSearcher: B$,
categoricalChartProps: e,
ref: t
@@ -66789,26 +67229,26 @@ function k6(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? O6(Object(n), !0).forEach(function(t) {
- PMe(e, t, n[t]);
+ XMe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : O6(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function PMe(e, t, n) {
- return (t = FMe(t)) in e ? Object.defineProperty(e, t, {
+function XMe(e, t, n) {
+ return (t = ZMe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function FMe(e) {
- var t = IMe(e, "string");
+function ZMe(e) {
+ var t = QMe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function IMe(e, t) {
+function QMe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -66818,16 +67258,16 @@ function IMe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var LMe = ["axis", "item"], RMe = k6(k6({}, w6), {}, {
+var $Me = ["axis", "item"], eNe = k6(k6({}, w6), {}, {
layout: "radial",
startAngle: 0,
endAngle: 360
-}), zMe = /*#__PURE__*/ (0, R.forwardRef)((e, t) => {
- var n = OR(e, RMe);
+}), tNe = /*#__PURE__*/ (0, R.forwardRef)((e, t) => {
+ var n = FR(e, eNe);
return /*#__PURE__*/ R.createElement(T6, {
chartName: "RadialBarChart",
defaultTooltipEventType: "axis",
- validateTooltipEventTypes: LMe,
+ validateTooltipEventTypes: $Me,
tooltipPayloadSearcher: B$,
categoricalChartProps: n,
ref: t
@@ -66844,7 +67284,7 @@ var j6 = {
light: "",
dark: ".dark"
}, M6 = Object.keys(j6);
-function BMe(e) {
+function nNe(e) {
for (let [t, n] of Object.entries(e)) if (n.colors && !M6.some((e) => n.colors?.[e] !== void 0)) throw Error(`[EvilCharts] Invalid chart config for "${t}": colors object must have at least one theme key (${M6.join(", ")}). Received empty object or invalid keys.`);
}
var N6 = R.createContext(null);
@@ -66858,7 +67298,7 @@ function F6({ id: e, config: t, initialDimension: n = {
height: 200
}, className: r, children: i, footer: a, ...o }) {
let s = R.useId(), c = `chart-${e ?? s.replace(/:/g, "")}`;
- return BMe(t), /* @__PURE__ */ (0, z.jsx)(N6.Provider, {
+ return nNe(t), /* @__PURE__ */ (0, z.jsx)(N6.Provider, {
value: { config: t },
children: /* @__PURE__ */ (0, z.jsxs)("div", {
"data-slot": "chart",
@@ -66870,7 +67310,7 @@ function F6({ id: e, config: t, initialDimension: n = {
id: c,
config: t
}),
- /* @__PURE__ */ (0, z.jsx)(LH, {
+ /* @__PURE__ */ (0, z.jsx)(JH, {
className: "min-h-0 w-full flex-1",
initialDimension: n,
children: i
@@ -66889,7 +67329,7 @@ function I6({ isLoading: e }) {
})
}) : null;
}
-function VMe(e, t) {
+function rNe(e, t) {
let n = e.length;
if (n >= t) return e.slice(0, t);
let r = [], i = Math.floor(t / n), a = t % n;
@@ -66904,7 +67344,7 @@ var L6 = ({ id: e, config: t }) => {
if (!n.length) return null;
let r = (e) => n.flatMap(([t, n]) => {
let r = n.colors?.[e];
- return !r || !Array.isArray(r) || r.length === 0 ? [] : VMe(r, z6(n)).map((e, n) => ` --color-${t}-${n}: ${e};`);
+ return !r || !Array.isArray(r) || r.length === 0 ? [] : rNe(r, z6(n)).map((e, n) => ` --color-${t}-${n}: ${e};`);
}).filter(Boolean).join("\n"), i = Object.entries(j6).map(([t, n]) => `${n} [data-chart=${e}] {\n${r(t)}\n}`).join("\n");
return /* @__PURE__ */ (0, z.jsx)("style", { dangerouslySetInnerHTML: { __html: i } });
};
@@ -66918,15 +67358,15 @@ function z6(e) {
let t = M6.map((t) => e.colors?.[t]?.length ?? 0);
return Math.max(...t, 1);
}
-var HMe = (e = 10, t = 0, n = 70) => {
+var iNe = (e = 10, t = 0, n = 70) => {
let r = n - t;
return Array.from({ length: e }, () => ({ loading: Math.floor(Math.random() * r) + t }));
-}, UMe = {
+}, aNe = {
sm: "rounded-sm",
md: "rounded-md",
lg: "rounded-lg",
xl: "rounded-xl"
-}, WMe = {
+}, oNe = {
default: "bg-background",
"frosted-glass": "bg-background/70 backdrop-blur-sm"
};
@@ -66953,7 +67393,7 @@ function B6({ active: e, payload: t, className: n, indicator: r = "dot", hideLab
if (!e || !t?.length) return /* @__PURE__ */ (0, z.jsx)("span", { className: "p-4" });
let _ = t.length === 1 && r !== "dot";
return /* @__PURE__ */ (0, z.jsxs)("div", {
- className: A6("border-border/50 grid min-w-32 items-start gap-1.5 border px-2.5 py-1.5 text-xs shadow-xl", UMe[p], WMe[m], n),
+ className: A6("border-border/50 grid min-w-32 items-start gap-1.5 border px-2.5 py-1.5 text-xs shadow-xl", aNe[p], oNe[m], n),
children: [_ ? null : g, /* @__PURE__ */ (0, z.jsx)("div", {
className: "grid gap-1.5",
children: t.filter((e) => e.type !== "none").map((e, t) => {
@@ -66967,7 +67407,7 @@ function B6({ active: e, payload: t, className: n, indicator: r = "dot", hideLab
"w-0 border-[1.5px] border-dashed bg-transparent!": r === "dashed",
"my-0.5": _ && r === "dashed"
}),
- style: GMe(n, o)
+ style: sNe(n, o)
}), /* @__PURE__ */ (0, z.jsxs)("div", {
className: A6("flex flex-1 justify-between gap-4 leading-none", _ ? "items-end" : "items-center"),
children: [/* @__PURE__ */ (0, z.jsxs)("div", {
@@ -66986,10 +67426,10 @@ function B6({ active: e, payload: t, className: n, indicator: r = "dot", hideLab
})]
});
}
-function GMe(e, t) {
+function sNe(e, t) {
return t <= 1 ? { background: `var(--color-${e}-0)` } : { background: `linear-gradient(to right, ${Array.from({ length: t }, (n, r) => `var(--color-${e}-${r}) ${r / (t - 1) * 100}%`).join(", ")})` };
}
-var V6 = ({ animationDuration: e = 200, ...t }) => /* @__PURE__ */ (0, z.jsx)(PCe, {
+var V6 = ({ animationDuration: e = 200, ...t }) => /* @__PURE__ */ (0, z.jsx)(XCe, {
animationDuration: e,
...t
});
@@ -67006,7 +67446,7 @@ function H6({ className: e, hideIcon: t = !1, nameKey: n, payload: r, verticalAl
onClick: () => {
c && s?.(o === r ? null : r);
},
- children: [i?.icon && !t ? /* @__PURE__ */ (0, z.jsx)(i.icon, {}) : /* @__PURE__ */ (0, z.jsx)(KMe, {
+ children: [i?.icon && !t ? /* @__PURE__ */ (0, z.jsx)(i.icon, {}) : /* @__PURE__ */ (0, z.jsx)(cNe, {
variant: l,
dataKey: r,
colorsCount: d
@@ -67015,8 +67455,8 @@ function H6({ className: e, hideIcon: t = !1, nameKey: n, payload: r, verticalAl
})
}) : null;
}
-function KMe({ variant: e, dataKey: t, colorsCount: n }) {
- let r = qMe(t, n), i = JMe(t, n);
+function cNe({ variant: e, dataKey: t, colorsCount: n }) {
+ let r = lNe(t, n), i = uNe(t, n);
switch (e) {
case "square": return /* @__PURE__ */ (0, z.jsx)("div", {
className: "h-2 w-2 shrink-0",
@@ -67048,10 +67488,10 @@ function KMe({ variant: e, dataKey: t, colorsCount: n }) {
});
}
}
-function qMe(e, t) {
+function lNe(e, t) {
return t <= 1 ? { backgroundColor: `var(--color-${e}-0)` } : { background: `linear-gradient(to right, ${Array.from({ length: t }, (n, r) => `var(--color-${e}-${r}) ${r / (t - 1) * 100}%`).join(", ")})` };
}
-function JMe(e, t) {
+function uNe(e, t) {
let n = {
WebkitMask: "linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0)",
WebkitMaskComposite: "xor",
@@ -67066,12 +67506,12 @@ function JMe(e, t) {
...n
};
}
-var U6 = LW, W6 = () => null, G6 = {
+var U6 = JW, W6 = () => null, G6 = {
stiffness: 300,
damping: 35,
mass: .8
};
-function YMe({ range: e, totalPoints: t, containerRef: n, commit: r }) {
+function dNe({ range: e, totalPoints: t, containerRef: n, commit: r }) {
let i = R.useRef(null), [a, o] = R.useState(!1), s = (0, R.useCallback)((e) => !n.current || t <= 1 ? 0 : Math.round(e / n.current.getBoundingClientRect().width * (t - 1)), [t, n]), c = (0, R.useCallback)((t, n) => {
t.preventDefault(), t.target.setPointerCapture(t.pointerId), i.current = {
type: n,
@@ -67117,7 +67557,7 @@ function YMe({ range: e, totalPoints: t, containerRef: n, commit: r }) {
])
};
}
-function XMe({ data: e, chartConfig: t, dataKeys: n, xDataKey: r, variant: i = "area", height: a = 56, className: o, stacked: s = !1, strokeVariant: c = "solid", connectNulls: l = !1, barRadius: u, startIndex: d, endIndex: f, defaultStartIndex: p = 0, defaultEndIndex: m, onChange: h, formatLabel: g, curveType: _ = "monotone", minSpan: v = 2, showLabels: y = !0, skipStyle: b = !1 }) {
+function fNe({ data: e, chartConfig: t, dataKeys: n, xDataKey: r, variant: i = "area", height: a = 56, className: o, stacked: s = !1, strokeVariant: c = "solid", connectNulls: l = !1, barRadius: u, startIndex: d, endIndex: f, defaultStartIndex: p = 0, defaultEndIndex: m, onChange: h, formatLabel: g, curveType: _ = "monotone", minSpan: v = 2, showLabels: y = !0, skipStyle: b = !1 }) {
let x = R.useRef(null), S = R.useMemo(() => n ?? Object.keys(t), [n, t]), C = e.length, w = R.useId().replace(/:/g, ""), T = d !== void 0 && f !== void 0, [E, D] = R.useState(() => ({
startIndex: Math.max(0, Math.min(p, C - 1)),
endIndex: Math.max(0, Math.min(m ?? C - 1, C - 1))
@@ -67151,7 +67591,7 @@ function XMe({ data: e, chartConfig: t, dataKeys: n, xDataKey: r, variant: i = "
startIndex: n,
endIndex: r
};
- }, [C, v]), { isDragging: A, bind: j } = YMe({
+ }, [C, v]), { isDragging: A, bind: j } = dNe({
range: E,
totalPoints: C,
containerRef: x,
@@ -67176,16 +67616,16 @@ function XMe({ data: e, chartConfig: t, dataKeys: n, xDataKey: r, variant: i = "
f,
A
]);
- let N = C > 1 ? M.startIndex / (C - 1) * 100 : 0, P = C > 1 ? M.endIndex / (C - 1) * 100 : 100, ee = NF(N), F = NF(P);
+ let N = C > 1 ? M.startIndex / (C - 1) * 100 : 0, P = C > 1 ? M.endIndex / (C - 1) * 100 : 100, ee = VF(N), F = VF(P);
ee.get() !== N && ee.set(N), F.get() !== P && F.set(P);
- let I = LF(ee, G6), te = LF(F, G6), ne = FF(I, (e) => `${e}%`), re = FF(te, (e) => `${e}%`), ie = FF(I, (e) => `${e}%`), ae = FF(te, (e) => `${Math.max(0, 100 - e)}%`), oe = NF(`${Math.max(0, P - N)}%`), se = (0, R.useCallback)(() => {
+ let I = GF(ee, G6), te = GF(F, G6), ne = UF(I, (e) => `${e}%`), re = UF(te, (e) => `${e}%`), ie = UF(I, (e) => `${e}%`), ae = UF(te, (e) => `${Math.max(0, 100 - e)}%`), oe = VF(`${Math.max(0, P - N)}%`), se = (0, R.useCallback)(() => {
oe.set(`${Math.max(0, te.get() - I.get())}%`);
}, [
I,
te,
oe
]);
- MF(I, "change", se), MF(te, "change", se);
+ BF(I, "change", se), BF(te, "change", se);
let ce = (0, R.useCallback)((t) => {
if (!r) return String(t);
let n = e[t]?.[r];
@@ -67207,7 +67647,7 @@ function XMe({ data: e, chartConfig: t, dataKeys: n, xDataKey: r, variant: i = "
}),
/* @__PURE__ */ (0, z.jsx)("div", {
className: "absolute inset-0 overflow-hidden rounded-md",
- children: /* @__PURE__ */ (0, z.jsx)(ZMe, {
+ children: /* @__PURE__ */ (0, z.jsx)(pNe, {
data: e,
keys: S,
chartConfig: t,
@@ -67220,15 +67660,15 @@ function XMe({ data: e, chartConfig: t, dataKeys: n, xDataKey: r, variant: i = "
barRadius: u
})
}),
- /* @__PURE__ */ (0, z.jsx)(RF.div, {
+ /* @__PURE__ */ (0, z.jsx)(KF.div, {
className: "bg-background/70 pointer-events-none absolute inset-y-0 left-0 rounded-l-md backdrop-blur-[2px]",
style: { width: ie }
}),
- /* @__PURE__ */ (0, z.jsx)(RF.div, {
+ /* @__PURE__ */ (0, z.jsx)(KF.div, {
className: "bg-background/70 pointer-events-none absolute inset-y-0 right-0 rounded-r-md backdrop-blur-[2px]",
style: { width: ae }
}),
- /* @__PURE__ */ (0, z.jsx)(RF.div, {
+ /* @__PURE__ */ (0, z.jsx)(KF.div, {
className: "absolute inset-y-0 cursor-grab touch-none rounded-sm border active:cursor-grabbing",
style: {
left: ne,
@@ -67253,7 +67693,7 @@ function XMe({ data: e, chartConfig: t, dataKeys: n, xDataKey: r, variant: i = "
}
function K6({ side: e, position: t, label: n, bind: r }) {
let i = e === "left";
- return /* @__PURE__ */ (0, z.jsxs)(RF.div, {
+ return /* @__PURE__ */ (0, z.jsxs)(KF.div, {
className: "absolute inset-y-0 z-10",
style: { left: t },
children: [/* @__PURE__ */ (0, z.jsx)("div", {
@@ -67276,7 +67716,7 @@ function K6({ side: e, position: t, label: n, bind: r }) {
})]
});
}
-function ZMe({ data: e, keys: t, chartConfig: n, variant: r, curveType: i, chartId: a, stacked: o, strokeVariant: s = "solid", connectNulls: c = !1, barRadius: l }) {
+function pNe({ data: e, keys: t, chartConfig: n, variant: r, curveType: i, chartId: a, stacked: o, strokeVariant: s = "solid", connectNulls: c = !1, barRadius: l }) {
let u = R.useMemo(() => Object.entries(n).filter(([e]) => t.includes(e)).map(([e, t]) => ({
dataKey: e,
colorsCount: z6(t)
@@ -67333,10 +67773,10 @@ function ZMe({ data: e, keys: t, chartConfig: n, variant: r, curveType: i, chart
})
})] })] }, e);
})] });
- if (r === "line") return /* @__PURE__ */ (0, z.jsx)(LH, {
+ if (r === "line") return /* @__PURE__ */ (0, z.jsx)(JH, {
width: "100%",
height: "100%",
- children: /* @__PURE__ */ (0, z.jsxs)(gMe, {
+ children: /* @__PURE__ */ (0, z.jsxs)(MMe, {
data: e,
margin: {
top: 4,
@@ -67360,7 +67800,7 @@ function ZMe({ data: e, keys: t, chartConfig: n, variant: r, curveType: i, chart
});
if (r === "bar") {
let n = l ?? 3;
- return /* @__PURE__ */ (0, z.jsx)(LH, {
+ return /* @__PURE__ */ (0, z.jsx)(JH, {
width: "100%",
height: "100%",
children: /* @__PURE__ */ (0, z.jsxs)(x6, {
@@ -67389,10 +67829,10 @@ function ZMe({ data: e, keys: t, chartConfig: n, variant: r, curveType: i, chart
})
});
}
- return /* @__PURE__ */ (0, z.jsx)(LH, {
+ return /* @__PURE__ */ (0, z.jsx)(JH, {
width: "100%",
height: "100%",
- children: /* @__PURE__ */ (0, z.jsxs)(NMe, {
+ children: /* @__PURE__ */ (0, z.jsxs)(YMe, {
data: e,
margin: {
top: 4,
@@ -67418,7 +67858,7 @@ function ZMe({ data: e, keys: t, chartConfig: n, variant: r, curveType: i, chart
})
});
}
-function QMe({ data: e, defaultStartIndex: t = 0, defaultEndIndex: n }) {
+function mNe({ data: e, defaultStartIndex: t = 0, defaultEndIndex: n }) {
let [r, i] = R.useState({
startIndex: t,
endIndex: n ?? Math.max(0, e.length - 1)
@@ -67442,7 +67882,7 @@ function QMe({ data: e, defaultStartIndex: t = 0, defaultEndIndex: n }) {
}
};
}
-var $Me = {
+var hNe = {
dots: ({ id: e }) => /* @__PURE__ */ (0, z.jsx)("pattern", {
id: e,
x: "0",
@@ -67615,7 +68055,7 @@ var $Me = {
})
};
function q6({ variant: e }) {
- let t = (0, R.useId)().replace(/:/g, ""), n = `${t}-bg-${e}`, r = `${t}-bg-edge-fade`, i = `${t}-bg-blur`, a = $Me[e];
+ let t = (0, R.useId)().replace(/:/g, ""), n = `${t}-bg-${e}`, r = `${t}-bg-edge-fade`, i = `${t}-bg-blur`, a = hNe[e];
return /* @__PURE__ */ (0, z.jsxs)(M$, {
zIndex: -1,
children: [/* @__PURE__ */ (0, z.jsxs)("defs", { children: [
@@ -67646,7 +68086,7 @@ function q6({ variant: e }) {
}
//#endregion
//#region src/react/evilcharts/registry/charts/recharts-bar-chart.tsx
-var J6 = 2, eNe = "loading", tNe = 2e3, nNe = "evil-stacked", rNe = .5, iNe = .05, aNe = [
+var J6 = 2, gNe = "loading", _Ne = 2e3, vNe = "evil-stacked", yNe = .5, bNe = .05, xNe = [
0,
.7,
.5,
@@ -67658,7 +68098,7 @@ function X6() {
return e;
}
function Z6({ config: e, data: t, children: n, className: r, chartProps: i, stackType: a = "default", layout: o = "vertical", barRadius: s = J6, animationType: c = "left-to-right", barGap: l, barCategoryGap: u, backgroundVariant: d, defaultSelectedDataKey: f = null, onSelectionChange: p, isLoading: m = !1, loadingBars: h, xDataKey: g }) {
- let _ = (0, R.useId)().replace(/:/g, ""), [v] = (0, R.useState)(() => Date.now()), [y, b] = (0, R.useState)(f), [x, S] = (0, R.useState)(!1), { loadingData: C, onShimmerExit: w } = wNe(m, h), { visibleData: T, brushProps: E } = QMe({ data: t }), D = (0, R.useMemo)(() => {
+ let _ = (0, R.useId)().replace(/:/g, ""), [v] = (0, R.useState)(() => Date.now()), [y, b] = (0, R.useState)(f), [x, S] = (0, R.useState)(!1), { loadingData: C, onShimmerExit: w } = BNe(m, h), { visibleData: T, brushProps: E } = mNe({ data: t }), D = (0, R.useMemo)(() => {
let e = R.Children.toArray(n), t = e.find((e) => (0, R.isValidElement)(e) && e.type === W6), r = (0, R.isValidElement)(t) ? t.props : {};
return {
slot: {
@@ -67701,7 +68141,7 @@ function Z6({ config: e, data: t, children: n, className: r, chartProps: i, stac
children: /* @__PURE__ */ (0, z.jsxs)(F6, {
className: r,
config: e,
- footer: O && !m && /* @__PURE__ */ (0, z.jsx)(XMe, {
+ footer: O && !m && /* @__PURE__ */ (0, z.jsx)(fNe, {
data: t,
chartConfig: e,
xDataKey: g,
@@ -67732,7 +68172,7 @@ function Z6({ config: e, data: t, children: n, className: r, chartProps: i, stac
d && /* @__PURE__ */ (0, z.jsx)(q6, { variant: d }),
/* @__PURE__ */ (0, z.jsx)(a4, { color: "white" }),
D.chartChildren,
- m && /* @__PURE__ */ (0, z.jsx)(TNe, {
+ m && /* @__PURE__ */ (0, z.jsx)(VNe, {
chartId: _,
onShimmerExit: w
})
@@ -67741,8 +68181,8 @@ function Z6({ config: e, data: t, children: n, className: r, chartProps: i, stac
})
});
}
-function oNe({ 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 } = X6(), b = (0, R.useId)().replace(/:/g, ""), x = ade();
+function SNe({ 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 } = X6(), b = (0, R.useId)().replace(/:/g, ""), x = gde();
if (f) return null;
let S = n ?? p, C = _ === e, w = x ? "none" : r ?? m, T = {
id: b,
@@ -67764,7 +68204,7 @@ function oNe({ dataKey: e, variant: t = "default", radius: n, animationType: r,
};
return /* @__PURE__ */ (0, z.jsxs)(z.Fragment, { children: [/* @__PURE__ */ (0, z.jsx)(p3, {
dataKey: e,
- stackId: u ? nNe : void 0,
+ stackId: u ? vNe : void 0,
fill: `url(#${b}-colors-${e})`,
radius: S,
isAnimationActive: !1,
@@ -67781,44 +68221,44 @@ function oNe({ dataKey: e, variant: t = "default", radius: n, animationType: r,
}),
...c
}), /* @__PURE__ */ (0, z.jsxs)("defs", { children: [
- /* @__PURE__ */ (0, z.jsx)(hNe, {
+ /* @__PURE__ */ (0, z.jsx)(jNe, {
id: b,
dataKey: e,
config: l
}),
- t === "hatched" && /* @__PURE__ */ (0, z.jsx)(gNe, {
+ t === "hatched" && /* @__PURE__ */ (0, z.jsx)(MNe, {
id: b,
dataKey: e
}),
- t === "duotone" && /* @__PURE__ */ (0, z.jsx)(vNe, {
+ t === "duotone" && /* @__PURE__ */ (0, z.jsx)(PNe, {
id: b,
dataKey: e,
config: l
}),
- t === "duotone-reverse" && /* @__PURE__ */ (0, z.jsx)(yNe, {
+ t === "duotone-reverse" && /* @__PURE__ */ (0, z.jsx)(FNe, {
id: b,
dataKey: e,
config: l
}),
- t === "gradient" && /* @__PURE__ */ (0, z.jsx)(bNe, {
+ t === "gradient" && /* @__PURE__ */ (0, z.jsx)(INe, {
id: b,
dataKey: e
}),
- t === "stripped" && /* @__PURE__ */ (0, z.jsx)(xNe, {
+ t === "stripped" && /* @__PURE__ */ (0, z.jsx)(LNe, {
id: b,
dataKey: e
}),
- s && /* @__PURE__ */ (0, z.jsx)(_Ne, {
+ s && /* @__PURE__ */ (0, z.jsx)(NNe, {
id: b,
dataKey: e
}),
- o && /* @__PURE__ */ (0, z.jsx)(SNe, {
+ o && /* @__PURE__ */ (0, z.jsx)(RNe, {
id: b,
dataKey: e
})
] })] });
}
-function sNe({ tickLine: e = !1, axisLine: t = !1, tickMargin: n = 8, minTickGap: r = 8, type: i, ...a }) {
+function CNe({ tickLine: e = !1, axisLine: t = !1, tickMargin: n = 8, minTickGap: r = 8, type: i, ...a }) {
let { isLoading: o, isHorizontal: s } = X6();
return o ? null : /* @__PURE__ */ (0, z.jsx)(x3, {
tickLine: e,
@@ -67829,7 +68269,7 @@ function sNe({ tickLine: e = !1, axisLine: t = !1, tickMargin: n = 8, minTickGap
...a
});
}
-function cNe({ tickLine: e = !1, axisLine: t = !1, tickMargin: n = 8, minTickGap: r = 8, width: i = "auto", type: a, ...o }) {
+function wNe({ tickLine: e = !1, axisLine: t = !1, tickMargin: n = 8, minTickGap: r = 8, width: i = "auto", type: a, ...o }) {
let { isLoading: s, isHorizontal: c } = X6();
return s ? null : /* @__PURE__ */ (0, z.jsx)(E3, {
tickLine: e,
@@ -67841,7 +68281,7 @@ function cNe({ tickLine: e = !1, axisLine: t = !1, tickMargin: n = 8, minTickGap
...o
});
}
-function lNe({ strokeDasharray: e = "3 3", vertical: t, horizontal: n, ...r }) {
+function TNe({ strokeDasharray: e = "3 3", vertical: t, horizontal: n, ...r }) {
let { isHorizontal: i } = X6();
return /* @__PURE__ */ (0, z.jsx)(S4, {
strokeDasharray: e,
@@ -67850,7 +68290,7 @@ function lNe({ strokeDasharray: e = "3 3", vertical: t, horizontal: n, ...r }) {
...r
});
}
-function uNe({ variant: e, roundness: t, defaultIndex: n }) {
+function ENe({ variant: e, roundness: t, defaultIndex: n }) {
let { isLoading: r, selectedDataKey: i } = X6();
return r ? null : /* @__PURE__ */ (0, z.jsx)(V6, {
cursor: !1,
@@ -67862,7 +68302,7 @@ function uNe({ variant: e, roundness: t, defaultIndex: n }) {
})
});
}
-function dNe({ variant: e, align: t = "right", verticalAlign: n = "top", isClickable: r = !1 }) {
+function DNe({ variant: e, align: t = "right", verticalAlign: n = "top", isClickable: r = !1 }) {
let { selectedDataKey: i, selectDataKey: a } = X6();
return /* @__PURE__ */ (0, z.jsx)(U6, {
verticalAlign: n,
@@ -67876,7 +68316,7 @@ function dNe({ variant: e, align: t = "right", verticalAlign: n = "top", isClick
});
}
var Q6 = (e) => {
- let { x: t = 0, y: n = 0, width: r = 0, height: i = 0, id: a, dataKey: o, variant: s, barRadius: c, glowing: l, bufferBar: u, isClickable: d, enableHoverHighlight: f, isMouseInChart: p, isHorizontal: m = !1, animationType: h = "none", introStartedAt: g = 0, selectedDataKey: _, isActive: v, dataLength: y = 0, onClick: b } = e, x = typeof e.index == "number" ? e.index : -1, S = u && y > 0 && x === y - 1, C = s === "stripped", w = fNe(h, x, y, m, g), T = S ? `url(#${a}-buffer-hatched-${o})` : pNe(s, a, o), E = l ? `url(#${a}-bar-glow-${o})` : void 0, D = mNe({
+ let { x: t = 0, y: n = 0, width: r = 0, height: i = 0, id: a, dataKey: o, variant: s, barRadius: c, glowing: l, bufferBar: u, isClickable: d, enableHoverHighlight: f, isMouseInChart: p, isHorizontal: m = !1, animationType: h = "none", introStartedAt: g = 0, selectedDataKey: _, isActive: v, dataLength: y = 0, onClick: b } = e, x = typeof e.index == "number" ? e.index : -1, S = u && y > 0 && x === y - 1, C = s === "stripped", w = ONe(h, x, y, m, g), T = S ? `url(#${a}-buffer-hatched-${o})` : kNe(s, a, o), E = l ? `url(#${a}-bar-glow-${o})` : void 0, D = ANe({
isClickable: d,
selectedDataKey: _,
dataKey: o,
@@ -67913,7 +68353,7 @@ var Q6 = (e) => {
children: [/* @__PURE__ */ (0, z.jsx)(jK, {
...e,
fill: "transparent"
- }), w ? /* @__PURE__ */ (0, z.jsx)(RF.g, {
+ }), w ? /* @__PURE__ */ (0, z.jsx)(KF.g, {
initial: w.initial,
animate: w.animate,
transition: w.transition,
@@ -67921,7 +68361,7 @@ var Q6 = (e) => {
children: A
}) : A]
});
-}, fNe = (e, t, n, r, i) => {
+}, ONe = (e, t, n, r, i) => {
if (e === "none" || t < 0 || n <= 0) return null;
let a = n - 1, o = a / 2, s;
switch (e) {
@@ -67936,11 +68376,11 @@ var Q6 = (e) => {
break;
default: s = t;
}
- let c = s * iNe * 1e3, l = rNe * 1e3, u = c + l, d = Date.now() - i;
+ let c = s * bNe * 1e3, l = yNe * 1e3, u = c + l, d = Date.now() - i;
if (d >= u) return null;
let f = d <= c ? 0 : (d - c) / l, p = {
duration: (u - Math.max(d, c)) / 1e3,
- ease: aNe,
+ ease: xNe,
delay: Math.max(0, c - d) / 1e3
};
return r ? {
@@ -67954,7 +68394,7 @@ var Q6 = (e) => {
transition: p,
style: { originY: 1 }
};
-}, pNe = (e, t, n) => {
+}, kNe = (e, t, n) => {
switch (e) {
case "hatched": return `url(#${t}-hatched-${n})`;
case "duotone": return `url(#${t}-duotone-${n})`;
@@ -67963,10 +68403,10 @@ var Q6 = (e) => {
case "stripped": return `url(#${t}-stripped-${n})`;
default: return `url(#${t}-colors-${n})`;
}
-}, mNe = ({ isClickable: e, selectedDataKey: t, dataKey: n, enableHoverHighlight: r, isMouseInChart: i, isActive: a }) => {
+}, ANe = ({ isClickable: e, selectedDataKey: t, dataKey: n, enableHoverHighlight: r, isMouseInChart: i, isActive: a }) => {
let o = e && t !== null ? t === null || t === n ? 1 : .15 : 1;
return r && i ? a ? o : o * .3 : o;
-}, hNe = ({ id: e, dataKey: t, config: n }) => {
+}, jNe = ({ id: e, dataKey: t, config: n }) => {
let r = z6(n[t] ?? {});
return /* @__PURE__ */ (0, z.jsx)("linearGradient", {
id: `${e}-colors-${t}`,
@@ -67988,7 +68428,7 @@ var Q6 = (e) => {
}, i);
})
});
-}, gNe = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, z.jsxs)(z.Fragment, { children: [
+}, MNe = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, z.jsxs)(z.Fragment, { children: [
/* @__PURE__ */ (0, z.jsxs)("pattern", {
id: `${e}-hatched-mask-pattern`,
x: "0",
@@ -68029,7 +68469,7 @@ var Q6 = (e) => {
mask: `url(#${e}-hatched-mask-${t})`
})
})
-] }), _Ne = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, z.jsxs)(z.Fragment, { children: [
+] }), NNe = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, z.jsxs)(z.Fragment, { children: [
/* @__PURE__ */ (0, z.jsxs)("pattern", {
id: `${e}-buffer-hatched-mask-pattern`,
x: "0",
@@ -68070,7 +68510,7 @@ var Q6 = (e) => {
mask: `url(#${e}-buffer-hatched-mask-${t})`
})
})
-] }), vNe = ({ id: e, dataKey: t, config: n }) => {
+] }), PNe = ({ id: e, dataKey: t, config: n }) => {
let r = z6(n[t] ?? {});
return /* @__PURE__ */ (0, z.jsxs)(z.Fragment, { children: [
/* @__PURE__ */ (0, z.jsxs)("linearGradient", {
@@ -68138,7 +68578,7 @@ var Q6 = (e) => {
})
})
] });
-}, yNe = ({ id: e, dataKey: t, config: n }) => {
+}, FNe = ({ id: e, dataKey: t, config: n }) => {
let r = z6(n[t] ?? {});
return /* @__PURE__ */ (0, z.jsxs)(z.Fragment, { children: [
/* @__PURE__ */ (0, z.jsxs)("linearGradient", {
@@ -68206,7 +68646,7 @@ var Q6 = (e) => {
})
})
] });
-}, bNe = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, z.jsxs)(z.Fragment, { children: [
+}, INe = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, z.jsxs)(z.Fragment, { children: [
/* @__PURE__ */ (0, z.jsxs)("linearGradient", {
id: `${e}-gradient-mask-gradient`,
x1: "0",
@@ -68243,7 +68683,7 @@ var Q6 = (e) => {
mask: `url(#${e}-gradient-mask-${t})`
})
})
-] }), xNe = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, z.jsxs)(z.Fragment, { children: [
+] }), LNe = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, z.jsxs)(z.Fragment, { children: [
/* @__PURE__ */ (0, z.jsxs)("linearGradient", {
id: `${e}-stripped-mask-gradient`,
x1: "0",
@@ -68280,7 +68720,7 @@ var Q6 = (e) => {
mask: `url(#${e}-stripped-mask-${t})`
})
})
-] }), SNe = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, z.jsxs)("filter", {
+] }), RNe = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, z.jsxs)("filter", {
id: `${e}-bar-glow-${t}`,
x: "-100%",
y: "-100%",
@@ -68300,35 +68740,35 @@ var Q6 = (e) => {
}),
/* @__PURE__ */ (0, z.jsxs)("feMerge", { children: [/* @__PURE__ */ (0, z.jsx)("feMergeNode", { in: "glow" }), /* @__PURE__ */ (0, z.jsx)("feMergeNode", { in: "SourceGraphic" })] })
]
-}), CNe = (e = 17, t = .05, n = .9) => Array.from({ length: e }, (r, i) => {
+}), zNe = (e = 17, t = .05, n = .9) => Array.from({ length: e }, (r, i) => {
let a = i / (e - 1), o = t + Math.sin(a * Math.PI) ** 2 * (n - t);
return {
offset: `${(a * 100).toFixed(0)}%`,
opacity: Number(o.toFixed(3))
};
});
-function wNe(e, t = 12) {
+function BNe(e, t = 12) {
let [n, r] = (0, R.useState)(!1), i = (0, R.useCallback)(() => {
e && r((e) => !e);
}, [e]);
return {
- loadingData: (0, R.useMemo)(() => HMe(t, 20, 80), [t, n]),
+ loadingData: (0, R.useMemo)(() => iNe(t, 20, 80), [t, n]),
onShimmerExit: i
};
}
-var TNe = ({ chartId: e, onShimmerExit: t }) => /* @__PURE__ */ (0, z.jsxs)(z.Fragment, { children: [/* @__PURE__ */ (0, z.jsx)(p3, {
- dataKey: eNe,
+var VNe = ({ chartId: e, onShimmerExit: t }) => /* @__PURE__ */ (0, z.jsxs)(z.Fragment, { children: [/* @__PURE__ */ (0, z.jsx)(p3, {
+ dataKey: gNe,
fill: "currentColor",
fillOpacity: .15,
radius: J6,
isAnimationActive: !1,
legendType: "none",
style: { mask: `url(#${e}-loading-mask)` }
-}), /* @__PURE__ */ (0, z.jsx)("defs", { children: /* @__PURE__ */ (0, z.jsx)(ENe, {
+}), /* @__PURE__ */ (0, z.jsx)("defs", { children: /* @__PURE__ */ (0, z.jsx)(HNe, {
chartId: e,
onShimmerExit: t
-}) })] }), ENe = ({ chartId: e, onShimmerExit: t }) => {
- let n = CNe(), r = (0, R.useRef)(-1);
+}) })] }), HNe = ({ chartId: e, onShimmerExit: t }) => {
+ let n = zNe(), r = (0, R.useRef)(-1);
return /* @__PURE__ */ (0, z.jsxs)(z.Fragment, { children: [
/* @__PURE__ */ (0, z.jsx)("linearGradient", {
id: `${e}-loading-mask-gradient`,
@@ -68351,7 +68791,7 @@ var TNe = ({ chartId: e, onShimmerExit: t }) => /* @__PURE__ */ (0, z.jsxs)(z.Fr
height: "1",
x: "0",
y: "0",
- children: /* @__PURE__ */ (0, z.jsx)(RF.rect, {
+ children: /* @__PURE__ */ (0, z.jsx)(KF.rect, {
y: "0",
width: "1",
height: "1",
@@ -68359,7 +68799,7 @@ var TNe = ({ chartId: e, onShimmerExit: t }) => /* @__PURE__ */ (0, z.jsxs)(z.Fr
initial: { x: -1 },
animate: { x: 2 },
transition: {
- duration: tNe / 1e3,
+ duration: _Ne / 1e3,
ease: "linear",
repeat: Infinity,
repeatType: "loop"
@@ -68381,7 +68821,7 @@ var TNe = ({ chartId: e, onShimmerExit: t }) => /* @__PURE__ */ (0, z.jsxs)(z.Fr
})
] });
};
-Z6.Bar = oNe, Z6.XAxis = sNe, Z6.YAxis = cNe, Z6.Grid = lNe, Z6.Tooltip = uNe, Z6.Legend = dNe, Z6.Brush = W6;
+Z6.Bar = SNe, Z6.XAxis = CNe, Z6.YAxis = wNe, Z6.Grid = TNe, Z6.Tooltip = ENe, Z6.Legend = DNe, Z6.Brush = W6;
//#endregion
//#region src/react/charts/chart-card.tsx
var $6 = `${Mi({ radius: "chart" })} flex flex-col gap-4 max-sm:p-4`;
@@ -68411,7 +68851,7 @@ var t8 = [
"var(--color-chart-5)",
"var(--color-chart-6)"
], n8 = (e) => ({ light: [e] }), r8 = (e) => `s${e}`;
-function DNe(e) {
+function UNe(e) {
return Object.fromEntries(e.map((e, t) => [r8(t), {
label: e,
colors: n8(t8[t % t8.length])
@@ -68436,7 +68876,7 @@ function a8({ swatch: e, name: t, value: n }) {
});
}
var o8 = "size-2.5 shrink-0 rounded-xs";
-function ONe({ active: e, payload: t, label: n, nameKey: r, valueKey: i, hideLabel: a }) {
+function WNe({ active: e, payload: t, label: n, nameKey: r, valueKey: i, hideLabel: a }) {
let { config: o } = P6(), s = (t ?? []).filter((e) => e.type !== "none");
if (!e || !s.length) return /* @__PURE__ */ (0, z.jsx)("span", { className: "p-4" });
let c = a || typeof n != "string" ? null : o[n]?.label ?? n;
@@ -68461,7 +68901,7 @@ function ONe({ active: e, payload: t, label: n, nameKey: r, valueKey: i, hideLab
function s8({ nameKey: e, valueKey: t, hideLabel: n }) {
return /* @__PURE__ */ (0, z.jsx)(V6, {
cursor: !1,
- content: /* @__PURE__ */ (0, z.jsx)(ONe, {
+ content: /* @__PURE__ */ (0, z.jsx)(WNe, {
nameKey: e,
valueKey: t,
hideLabel: n
@@ -68538,7 +68978,7 @@ var d8 = [
"周六",
"周日"
], f8 = (e, t) => e ? Math.max(.12, e / t) : 0;
-function kNe(e) {
+function GNe(e) {
let t = Array.from({ length: 7 }, () => Array(24).fill(0));
for (let n of e?.hours || []) {
let { weekday: e, hour: r, count: i } = n;
@@ -68555,7 +68995,7 @@ function kNe(e) {
total: n.reduce((e, t) => e + t, 0)
};
}
-function ANe(e) {
+function KNe(e) {
let t = (e?.days || []).filter((e) => /^\d{4}-\d{2}-\d{2}$/.test(e.date) && Number.isFinite(e.count) && e.count >= 0).slice().sort((e, t) => e.date.localeCompare(t.date)), n = {
cells: [],
total: 0,
@@ -68594,19 +69034,19 @@ var p8 = 14, m8 = 17, h8 = {
fill: "fill-chart-5",
dot: "bg-chart-5"
}
-}, jNe = {
+}, qNe = {
start: "translate-x-0",
center: "-translate-x-1/2",
end: "-translate-x-full"
};
-function MNe({ cell: e, series: t, tone: n, left: r, top: i, anchor: a }) {
+function JNe({ cell: e, series: t, tone: n, left: r, top: i, anchor: a }) {
return /* @__PURE__ */ (0, z.jsxs)("div", {
"aria-hidden": !0,
style: {
left: `${r}%`,
top: `${i}%`
},
- className: `pointer-events-none absolute z-10 -mt-2 -translate-y-full ${i8} ${jNe[a]}`,
+ className: `pointer-events-none absolute z-10 -mt-2 -translate-y-full ${i8} ${qNe[a]}`,
children: [/* @__PURE__ */ (0, z.jsx)("div", {
className: "font-medium text-foreground",
children: e.label
@@ -68664,7 +69104,7 @@ function g8({ title: e, words: t, cells: n, total: r, columns: i, rows: a, axis:
}, e.key);
})]
})
- }), g && _ ? /* @__PURE__ */ (0, z.jsx)(MNe, {
+ }), g && _ ? /* @__PURE__ */ (0, z.jsx)(JNe, {
cell: g,
series: t.series,
tone: c,
@@ -68680,7 +69120,7 @@ function g8({ title: e, words: t, cells: n, total: r, columns: i, rows: a, axis:
]
});
}
-var NNe = /* @__PURE__ */ (0, z.jsxs)(z.Fragment, { children: [d8.map((e, t) => /* @__PURE__ */ (0, z.jsx)("text", {
+var YNe = /* @__PURE__ */ (0, z.jsxs)(z.Fragment, { children: [d8.map((e, t) => /* @__PURE__ */ (0, z.jsx)("text", {
x: 0,
y: 18 + t * m8 + 7,
dominantBaseline: "middle",
@@ -68694,7 +69134,7 @@ var NNe = /* @__PURE__ */ (0, z.jsxs)(z.Fragment, { children: [d8.map((e, t) =>
children: t
}, t))] });
function _8({ activity: e, title: t, dailyTitle: n, words: r, tone: i, empty: a }) {
- let o = kNe(e), s = ANe(e);
+ let o = GNe(e), s = KNe(e);
return s.cells.length ? /* @__PURE__ */ (0, z.jsxs)("div", {
className: "inline-grid w-full items-start gap-5 lg:grid-cols-2",
children: [/* @__PURE__ */ (0, z.jsx)(g8, {
@@ -68705,7 +69145,7 @@ function _8({ activity: e, title: t, dailyTitle: n, words: r, tone: i, empty: a
total: o.total,
columns: 24,
rows: 7,
- axis: NNe,
+ axis: YNe,
footer: /* @__PURE__ */ (0, z.jsxs)(z.Fragment, { children: [/* @__PURE__ */ (0, z.jsx)("span", { children: "星期 × 小时" }), /* @__PURE__ */ (0, z.jsx)("span", { children: e?.timezone || "UTC+08:00" })] })
}), /* @__PURE__ */ (0, z.jsx)(g8, {
title: n,
@@ -68777,14 +69217,14 @@ function v8({ children: e, className: t = "", previewCount: n = 10 }) {
}
//#endregion
//#region src/react/evilcharts/registry/charts/recharts-radial-chart.tsx
-var PNe = "30%", FNe = "100%", y8 = 5, b8 = 14, INe = 5, x8 = 1500, S8 = (0, R.createContext)(null);
+var XNe = "30%", ZNe = "100%", y8 = 5, b8 = 14, QNe = 5, x8 = 1500, S8 = (0, R.createContext)(null);
function C8() {
let e = (0, R.use)(S8);
if (!e) throw Error("Radial chart parts (<RadialBar />, <Tooltip />, …) must be used within <EvilRadialChart />");
return e;
}
-function w8({ config: e, data: t, nameKey: n, children: r, className: i, chartProps: a, variant: o = "full", max: s, innerRadius: c = PNe, outerRadius: l = FNe, defaultSelectedDataKey: u = null, onSelectionChange: d, isLoading: f = !1, backgroundVariant: p }) {
- let m = (0, R.useId)().replace(/:/g, ""), [h, g] = (0, R.useState)(u), _ = UNe(f), v = BNe(o), y = (0, R.useCallback)((e, t) => {
+function w8({ config: e, data: t, nameKey: n, children: r, className: i, chartProps: a, variant: o = "full", max: s, innerRadius: c = XNe, outerRadius: l = ZNe, defaultSelectedDataKey: u = null, onSelectionChange: d, isLoading: f = !1, backgroundVariant: p }) {
+ let m = (0, R.useId)().replace(/:/g, ""), [h, g] = (0, R.useState)(u), _ = aPe(f), v = nPe(o), y = (0, R.useCallback)((e, t) => {
g(e), d?.(e === null ? null : {
dataKey: e,
value: t ?? 0
@@ -68816,7 +69256,7 @@ function w8({ config: e, data: t, nameKey: n, children: r, className: i, chartPr
children: /* @__PURE__ */ (0, z.jsxs)(F6, {
className: i,
config: e,
- children: [/* @__PURE__ */ (0, z.jsx)(I6, { isLoading: f }), /* @__PURE__ */ (0, z.jsxs)(zMe, {
+ children: [/* @__PURE__ */ (0, z.jsx)(I6, { isLoading: f }), /* @__PURE__ */ (0, z.jsxs)(tNe, {
id: m,
data: f ? _ : b,
innerRadius: c,
@@ -68835,8 +69275,8 @@ function w8({ config: e, data: t, nameKey: n, children: r, className: i, chartPr
}),
p && /* @__PURE__ */ (0, z.jsx)(q6, { variant: p }),
r,
- f && /* @__PURE__ */ (0, z.jsx)(WNe, {}),
- /* @__PURE__ */ (0, z.jsx)("defs", { children: /* @__PURE__ */ (0, z.jsx)(VNe, {
+ f && /* @__PURE__ */ (0, z.jsx)(oPe, {}),
+ /* @__PURE__ */ (0, z.jsx)("defs", { children: /* @__PURE__ */ (0, z.jsx)(rPe, {
config: e,
chartId: m
}) })
@@ -68845,7 +69285,7 @@ function w8({ config: e, data: t, nameKey: n, children: r, className: i, chartPr
})
});
}
-function LNe({ dataKey: e, cornerRadius: t = y8, barSize: n = b8, showBackground: r = !0, isClickable: i = !1, radialBarProps: a }) {
+function $Ne({ dataKey: e, cornerRadius: t = y8, barSize: n = b8, showBackground: r = !0, isClickable: i = !1, radialBarProps: a }) {
let { nameKey: o, isLoading: s, selectedBar: c, selectBar: l } = C8();
return s ? null : /* @__PURE__ */ (0, z.jsx)(X2, {
dataKey: e,
@@ -68870,7 +69310,7 @@ function LNe({ dataKey: e, cornerRadius: t = y8, barSize: n = b8, showBackground
...a
});
}
-function RNe({ variant: e, roundness: t, defaultIndex: n }) {
+function ePe({ variant: e, roundness: t, defaultIndex: n }) {
let { nameKey: r, isLoading: i } = C8();
return i ? null : /* @__PURE__ */ (0, z.jsx)(V6, {
defaultIndex: n,
@@ -68883,7 +69323,7 @@ function RNe({ variant: e, roundness: t, defaultIndex: n }) {
})
});
}
-function zNe({ variant: e, align: t = "center", verticalAlign: n = "bottom", isClickable: r = !1 }) {
+function tPe({ variant: e, align: t = "center", verticalAlign: n = "bottom", isClickable: r = !1 }) {
let { nameKey: i, isLoading: a, selectedBar: o, selectBar: s } = C8();
return a ? null : /* @__PURE__ */ (0, z.jsx)(U6, {
verticalAlign: n,
@@ -68897,7 +69337,7 @@ function zNe({ variant: e, align: t = "center", verticalAlign: n = "bottom", isC
})
});
}
-function BNe(e) {
+function nPe(e) {
switch (e) {
case "semi": return {
startAngle: 180,
@@ -68913,7 +69353,7 @@ function BNe(e) {
};
}
}
-var VNe = ({ config: e, chartId: t }) => /* @__PURE__ */ (0, z.jsx)(z.Fragment, { children: Object.entries(e).map(([e, n]) => {
+var rPe = ({ config: e, chartId: t }) => /* @__PURE__ */ (0, z.jsx)(z.Fragment, { children: Object.entries(e).map(([e, n]) => {
let r = z6(n);
return /* @__PURE__ */ (0, z.jsx)("linearGradient", {
id: `${t}-radial-colors-${e}`,
@@ -68936,13 +69376,13 @@ var VNe = ({ config: e, chartId: t }) => /* @__PURE__ */ (0, z.jsx)(z.Fragment,
})
}, `${t}-radial-colors-${e}`);
}) });
-function HNe() {
- return Array.from({ length: INe }, (e, t) => ({
+function iPe() {
+ return Array.from({ length: QNe }, (e, t) => ({
name: `loading${t}`,
value: 40 + Math.random() * 60
}));
}
-function UNe(e) {
+function aPe(e) {
let [t, n] = (0, R.useState)(0);
return (0, R.useEffect)(() => {
if (!e) return;
@@ -68950,9 +69390,9 @@ function UNe(e) {
n((e) => e + 1);
}, x8);
return () => clearInterval(t);
- }, [e]), (0, R.useMemo)(() => HNe(), [t]);
+ }, [e]), (0, R.useMemo)(() => iPe(), [t]);
}
-var WNe = () => /* @__PURE__ */ (0, z.jsx)(X2, {
+var oPe = () => /* @__PURE__ */ (0, z.jsx)(X2, {
dataKey: "value",
cornerRadius: y8,
barSize: b8,
@@ -68966,17 +69406,17 @@ var WNe = () => /* @__PURE__ */ (0, z.jsx)(X2, {
fillOpacity: .25
})
});
-w8.RadialBar = LNe, w8.Tooltip = RNe, w8.Legend = zNe;
+w8.RadialBar = $Ne, w8.Tooltip = ePe, w8.Legend = tPe;
//#endregion
//#region src/react/stats/radial-card.tsx
-var GNe = [
+var sPe = [
"bg-chart-1",
"bg-chart-2",
"bg-chart-3",
"bg-chart-4",
"bg-chart-5",
"bg-chart-6"
-], KNe = [
+], cPe = [
"aria-pressed:bg-chart-1/10 aria-pressed:ring-chart-1",
"aria-pressed:bg-chart-2/10 aria-pressed:ring-chart-2",
"aria-pressed:bg-chart-3/10 aria-pressed:ring-chart-3",
@@ -69017,13 +69457,13 @@ function T8({ title: e, rows: t, unit: n = "个视频" }) {
children: /* @__PURE__ */ (0, z.jsxs)(w8, {
data: f,
nameKey: "slice",
- config: DNe(s.map((e) => e.name)),
- max: eme(s.map((e) => e.value)),
+ config: UNe(s.map((e) => e.name)),
+ max: lme(s.map((e) => e.value)),
innerRadius: "22%",
className: "aspect-auto h-75 max-sm:h-65",
children: [/* @__PURE__ */ (0, z.jsx)(w8.RadialBar, {
dataKey: "value",
- barSize: tme(s.length),
+ barSize: ume(s.length),
radialBarProps: {
shape: (e) => /* @__PURE__ */ (0, z.jsx)(HK, {
...e,
@@ -69049,13 +69489,13 @@ function T8({ title: e, rows: t, unit: n = "个视频" }) {
onPointerLeave: () => o(-1),
onFocus: () => o(t),
onBlur: () => o(-1),
- className: `flex min-w-0 cursor-pointer flex-col items-start gap-1 rounded-xl bg-background-tertiary-default p-2.5 text-left outline-none aria-pressed:ring-1 aria-pressed:ring-inset focus-visible:ring-2 focus-visible:ring-border-focus-ring ${KNe[t % 6]}`,
+ className: `flex min-w-0 cursor-pointer flex-col items-start gap-1 rounded-xl bg-background-tertiary-default p-2.5 text-left outline-none aria-pressed:ring-1 aria-pressed:ring-inset focus-visible:ring-2 focus-visible:ring-border-focus-ring ${cPe[t % 6]}`,
children: [
/* @__PURE__ */ (0, z.jsxs)("span", {
className: "flex min-w-0 items-center gap-1.5 text-caption-1-regular text-text-secondary",
children: [/* @__PURE__ */ (0, z.jsx)("i", {
"aria-hidden": !0,
- className: `size-3 shrink-0 rounded-sm ${GNe[t % 6]}`
+ className: `size-3 shrink-0 rounded-sm ${sPe[t % 6]}`
}), e.name]
}),
/* @__PURE__ */ (0, z.jsx)("b", {
@@ -69074,7 +69514,7 @@ function T8({ title: e, rows: t, unit: n = "个视频" }) {
}
//#endregion
//#region src/react/stats/stats-page.tsx
-var qNe = 10, E8 = t8[5], JNe = t8[4], YNe = `${Mi()} flex flex-col gap-4`, XNe = "添加媒体文件夹或关注来源后,这里会显示馆藏统计。", ZNe = "补全资料或添加标签后,这里会显示馆藏中的内容标签。", QNe = "开始播放后,这里会显示最近的真实观看证据。", $Ne = "刮削或手动打标之后,这里会显示每个来源覆盖了多少视频。", ePe = "添加媒体文件夹后,这里会显示存储空间。";
+var lPe = 10, E8 = t8[5], uPe = t8[4], dPe = `${Mi()} flex flex-col gap-4`, fPe = "添加媒体文件夹或关注来源后,这里会显示馆藏统计。", pPe = "补全资料或添加标签后,这里会显示馆藏中的内容标签。", mPe = "开始播放后,这里会显示最近的真实观看证据。", hPe = "刮削或手动打标之后,这里会显示每个来源覆盖了多少视频。", gPe = "添加媒体文件夹后,这里会显示存储空间。";
function D8({ term: e, value: t }) {
return /* @__PURE__ */ (0, z.jsxs)("div", {
className: "flex min-h-16 min-w-0 flex-col gap-1.5 rounded-2lg bg-background-primary-default p-3",
@@ -69096,7 +69536,7 @@ function O8({ term: e, value: t, total: n }) {
className: "tabular-nums",
children: [t.toLocaleString(), /* @__PURE__ */ (0, z.jsxs)("span", {
className: "ml-1.5 text-caption-1-regular text-text-secondary",
- children: [GI(t, n), "%"]
+ children: [QI(t, n), "%"]
})]
})]
}), /* @__PURE__ */ (0, z.jsx)(zi, {
@@ -69127,14 +69567,14 @@ function k8({ term: e, figure: t, unit: n }) {
}
function A8({ headline: e, children: t }) {
return /* @__PURE__ */ (0, z.jsxs)("div", {
- className: `${YNe} md:flex-row md:gap-6`,
+ className: `${dPe} md:flex-row md:gap-6`,
children: [e, /* @__PURE__ */ (0, z.jsx)("div", {
className: "min-w-0 grow",
children: t
})]
});
}
-function tPe({ data: t, configurable: n, openMediaSettings: r }) {
+function _Pe({ data: t, configurable: n, openMediaSettings: r }) {
return t.by_loc.reduce((e, t) => e + t.videos, 0) ? /* @__PURE__ */ (0, z.jsxs)("div", {
className: "flex flex-col gap-5",
children: [/* @__PURE__ */ (0, z.jsxs)("div", {
@@ -69162,14 +69602,14 @@ function tPe({ data: t, configurable: n, openMediaSettings: r }) {
unit: "个视频",
series: "视频",
color: E8,
- rows: ame(t.by_length)
+ rows: mme(t.by_length)
}),
/* @__PURE__ */ (0, z.jsx)(u8, {
title: "画质",
unit: "个视频",
series: "视频",
color: E8,
- rows: JI(t.by_quality)
+ rows: tL(t.by_quality)
}),
/* @__PURE__ */ (0, z.jsx)(u8, {
title: "文件类型",
@@ -69177,7 +69617,7 @@ function tPe({ data: t, configurable: n, openMediaSettings: r }) {
series: "条目",
color: E8,
layout: "horizontal",
- rows: rme(t.by_medium)
+ rows: fme(t.by_medium)
})
]
})]
@@ -69195,10 +69635,10 @@ function tPe({ data: t, configurable: n, openMediaSettings: r }) {
size: "small",
children: "添加关注"
})] }),
- children: XNe
+ children: fPe
});
}
-function nPe({ data: e }) {
+function vPe({ data: e }) {
return /* @__PURE__ */ (0, z.jsxs)(z.Fragment, { children: [/* @__PURE__ */ (0, z.jsx)(_8, {
activity: e.play_activity,
title: "播放时间",
@@ -69213,11 +69653,11 @@ function nPe({ data: e }) {
title: "播放次数",
unit: "个作品",
series: "作品",
- color: JNe,
- rows: sme(e.replays)
+ color: uPe,
+ rows: gme(e.replays)
})] });
}
-function rPe({ attribution: e }) {
+function yPe({ attribution: e }) {
let t = e.videos;
return /* @__PURE__ */ (0, z.jsxs)("div", {
className: "flex flex-col",
@@ -69250,7 +69690,7 @@ function rPe({ attribution: e }) {
]
});
}
-function iPe({ volume: e }) {
+function bPe({ volume: e }) {
let t = e.total, n = e.used ?? 0;
return /* @__PURE__ */ (0, z.jsxs)("article", {
className: "flex min-w-0 flex-col gap-1.5 border-b border-separator-border py-3 last:border-b-0",
@@ -69267,7 +69707,7 @@ function iPe({ volume: e }) {
className: "whitespace-nowrap tabular-nums",
children: [s(n), /* @__PURE__ */ (0, z.jsxs)("span", {
className: "ml-1.5 text-caption-1-regular text-text-secondary",
- children: [GI(n, t), "%"]
+ children: [QI(n, t), "%"]
})]
})]
}),
@@ -69289,10 +69729,10 @@ function iPe({ volume: e }) {
]
});
}
-function aPe({ volumes: e, configurable: t, openMediaSettings: n }) {
+function xPe({ volumes: e, configurable: t, openMediaSettings: n }) {
return e.length ? /* @__PURE__ */ (0, z.jsx)("div", {
className: "flex flex-col",
- children: e.map((e) => /* @__PURE__ */ (0, z.jsx)(iPe, { volume: e }, `${e.kind}:${e.label}`))
+ children: e.map((e) => /* @__PURE__ */ (0, z.jsx)(bPe, { volume: e }, `${e.kind}:${e.label}`))
}) : /* @__PURE__ */ (0, z.jsx)(Pi, {
shell: "plain",
icon: Be,
@@ -69302,12 +69742,12 @@ function aPe({ volumes: e, configurable: t, openMediaSettings: n }) {
onClick: n,
children: "添加媒体文件夹"
}) : void 0,
- children: ePe
+ children: gPe
});
}
-function oPe({ tags: e, tagLabel: t, onTag: n }) {
+function SPe({ tags: e, tagLabel: t, onTag: n }) {
return e.length ? /* @__PURE__ */ (0, z.jsx)(v8, {
- previewCount: qNe,
+ previewCount: lPe,
className: "inline-grid w-full gap-x-6 gap-y-1 sm:grid-cols-2",
children: e.map((e, r) => /* @__PURE__ */ (0, z.jsx)("li", {
className: "min-w-0",
@@ -69341,14 +69781,14 @@ function oPe({ tags: e, tagLabel: t, onTag: n }) {
size: "small",
children: "补全资料"
}),
- children: ZNe
+ children: pPe
});
}
-function sPe({ rows: e }) {
+function CPe({ rows: e }) {
return e.length ? /* @__PURE__ */ (0, z.jsx)("div", {
className: "flex flex-col gap-5",
children: e.map((e) => {
- let t = KI(e);
+ let t = $I(e);
return /* @__PURE__ */ (0, z.jsxs)("article", {
className: "flex flex-wrap items-center gap-x-6 gap-y-2",
children: [/* @__PURE__ */ (0, z.jsxs)("div", {
@@ -69356,14 +69796,14 @@ function sPe({ rows: e }) {
children: [/* @__PURE__ */ (0, z.jsx)("h3", {
className: "min-w-0 text-body-2-medium text-text-primary",
children: /* @__PURE__ */ (0, z.jsx)("a", {
- href: $pe(e),
+ href: cme(e),
"data-middle-truncate": !0,
className: "block max-w-full overflow-hidden whitespace-nowrap hover:underline",
children: e.name
})
}), /* @__PURE__ */ (0, z.jsxs)("p", {
className: "flex flex-wrap gap-3 text-caption-1-regular text-text-secondary",
- children: [/* @__PURE__ */ (0, z.jsx)("span", { children: e.creator ?? "" }), /* @__PURE__ */ (0, z.jsx)("span", { children: Qpe(e) })]
+ children: [/* @__PURE__ */ (0, z.jsx)("span", { children: e.creator ?? "" }), /* @__PURE__ */ (0, z.jsx)("span", { children: sme(e) })]
})]
}), /* @__PURE__ */ (0, z.jsxs)("div", {
className: "min-w-0 basis-40",
@@ -69372,7 +69812,7 @@ function sPe({ rows: e }) {
value: t
}), /* @__PURE__ */ (0, z.jsx)("small", {
className: "mt-1.5 block text-caption-1-regular text-text-secondary",
- children: `真实 ${t.toFixed(0)}% · 到达 ${qI(e).toFixed(0)}%`
+ children: `真实 ${t.toFixed(0)}% · 到达 ${eL(e).toFixed(0)}%`
})]
})]
}, `${e.kind}:${e.id}`);
@@ -69387,10 +69827,10 @@ function sPe({ rows: e }) {
size: "small",
children: "浏览馆藏"
}),
- children: QNe
+ children: mPe
});
}
-function cPe({ sources: e, videos: t }) {
+function wPe({ sources: e, videos: t }) {
return e.length ? /* @__PURE__ */ (0, z.jsx)("div", {
className: "inline-grid w-full gap-x-8 gap-y-6 sm:grid-cols-2",
children: e.map((e) => /* @__PURE__ */ (0, z.jsxs)("article", {
@@ -69430,11 +69870,11 @@ function cPe({ sources: e, videos: t }) {
size: "small",
children: "补全资料"
}),
- children: $Ne
+ children: hPe
});
}
function j8({ id: e, label: t, figure: n, detail: r, icon: i, accent: a }) {
- return /* @__PURE__ */ (0, z.jsx)(FS, {
+ return /* @__PURE__ */ (0, z.jsx)(HS, {
id: e,
className: bl({
interactive: !0,
@@ -69449,27 +69889,27 @@ function j8({ id: e, label: t, figure: n, detail: r, icon: i, accent: a }) {
})
});
}
-function lPe(e) {
+function TPe(e) {
let t = Nn({
- queryKey: UI,
- queryFn: ({ signal: e }) => WI(e)
+ queryKey: XI,
+ queryFn: ({ signal: e }) => ZI(e)
}), n = t.data;
if (!n) return /* @__PURE__ */ (0, z.jsx)(Ii, { children: /* @__PURE__ */ (0, z.jsx)(G, {
tone: "error",
title: "馆藏统计读取失败",
children: t.error ? U(t.error) : "未取得统计数据,请刷新页面重试。"
}) });
- let r = n.consumption, i = n.storage_summary, a = n.by_loc.reduce((e, t) => e + t.videos, 0), o = n.by_loc.reduce((e, t) => e + t.bytes, 0), c = GI(n.tag_cov, n.attribution.videos);
+ let r = n.consumption, i = n.storage_summary, a = n.by_loc.reduce((e, t) => e + t.videos, 0), o = n.by_loc.reduce((e, t) => e + t.bytes, 0), c = QI(n.tag_cov, n.attribution.videos);
return /* @__PURE__ */ (0, z.jsxs)(Ii, { children: [
/* @__PURE__ */ (0, z.jsx)("p", {
className: "text-caption-1-regular text-text-secondary",
children: `账本当前快照 · ${a.toLocaleString()} 个视频 · ${s(o)}`
}),
- /* @__PURE__ */ (0, z.jsxs)(jS, {
+ /* @__PURE__ */ (0, z.jsxs)(RS, {
defaultSelectedKey: "inventory",
className: "flex flex-col gap-4",
children: [
- /* @__PURE__ */ (0, z.jsxs)(NS, {
+ /* @__PURE__ */ (0, z.jsxs)(BS, {
"aria-label": "统计视图",
className: xl,
children: [
@@ -69487,7 +69927,7 @@ function lPe(e) {
icon: Le,
accent: 1,
figure: r.played.toLocaleString(),
- detail: Zpe(r.play_seconds)
+ detail: ome(r.play_seconds)
}),
/* @__PURE__ */ (0, z.jsx)(j8, {
id: "coverage",
@@ -69507,14 +69947,14 @@ function lPe(e) {
})
]
}),
- /* @__PURE__ */ (0, z.jsx)(IS, {
+ /* @__PURE__ */ (0, z.jsx)(US, {
id: "inventory",
- children: /* @__PURE__ */ (0, z.jsx)(tPe, {
+ children: /* @__PURE__ */ (0, z.jsx)(_Pe, {
data: n,
...e
})
}),
- /* @__PURE__ */ (0, z.jsxs)(IS, {
+ /* @__PURE__ */ (0, z.jsxs)(US, {
id: "viewing",
className: "flex flex-col gap-5",
children: [/* @__PURE__ */ (0, z.jsx)(A8, {
@@ -69560,9 +70000,9 @@ function lPe(e) {
})
]
})
- }), /* @__PURE__ */ (0, z.jsx)(nPe, { data: n })]
+ }), /* @__PURE__ */ (0, z.jsx)(vPe, { data: n })]
}),
- /* @__PURE__ */ (0, z.jsx)(IS, {
+ /* @__PURE__ */ (0, z.jsx)(US, {
id: "coverage",
children: /* @__PURE__ */ (0, z.jsx)(A8, {
headline: /* @__PURE__ */ (0, z.jsx)(k8, {
@@ -69570,10 +70010,10 @@ function lPe(e) {
figure: `${c}%`,
unit: `${n.tag_cov.toLocaleString()} / ${n.attribution.videos.toLocaleString()}`
}),
- children: /* @__PURE__ */ (0, z.jsx)(rPe, { attribution: n.attribution })
+ children: /* @__PURE__ */ (0, z.jsx)(yPe, { attribution: n.attribution })
})
}),
- /* @__PURE__ */ (0, z.jsx)(IS, {
+ /* @__PURE__ */ (0, z.jsx)(US, {
id: "storage",
children: /* @__PURE__ */ (0, z.jsx)(A8, {
headline: /* @__PURE__ */ (0, z.jsx)(k8, {
@@ -69581,7 +70021,7 @@ function lPe(e) {
figure: String(i.measured),
unit: "个卷已取得容量"
}),
- children: /* @__PURE__ */ (0, z.jsx)(aPe, {
+ children: /* @__PURE__ */ (0, z.jsx)(xPe, {
volumes: n.storage_volumes,
...e
})
@@ -69589,51 +70029,51 @@ function lPe(e) {
})
]
}),
- /* @__PURE__ */ (0, z.jsxs)(jS, {
+ /* @__PURE__ */ (0, z.jsxs)(RS, {
defaultSelectedKey: "tags",
className: `${Mi({ padding: "none" })} flex flex-col`,
children: [
/* @__PURE__ */ (0, z.jsx)("div", {
className: "px-4 pt-3",
- children: /* @__PURE__ */ (0, z.jsxs)(nA, {
+ children: /* @__PURE__ */ (0, z.jsxs)(pA, {
"aria-label": "统计维度",
- className: iA,
+ className: hA,
children: [
- /* @__PURE__ */ (0, z.jsx)(FS, {
+ /* @__PURE__ */ (0, z.jsx)(HS, {
id: "tags",
- className: aA,
+ className: gA,
children: "内容标签"
}),
- /* @__PURE__ */ (0, z.jsx)(FS, {
+ /* @__PURE__ */ (0, z.jsx)(HS, {
id: "recent",
- className: aA,
+ className: gA,
children: "最近看过"
}),
- /* @__PURE__ */ (0, z.jsx)(FS, {
+ /* @__PURE__ */ (0, z.jsx)(HS, {
id: "sources",
- className: aA,
+ className: gA,
children: "标签来源"
})
]
})
}),
- /* @__PURE__ */ (0, z.jsx)(IS, {
+ /* @__PURE__ */ (0, z.jsx)(US, {
id: "tags",
className: "px-4 pt-3.5 pb-4",
- children: /* @__PURE__ */ (0, z.jsx)(oPe, {
+ children: /* @__PURE__ */ (0, z.jsx)(SPe, {
tags: n.top_tags,
...e
})
}),
- /* @__PURE__ */ (0, z.jsx)(IS, {
+ /* @__PURE__ */ (0, z.jsx)(US, {
id: "recent",
className: "px-4 pt-3.5 pb-4",
- children: /* @__PURE__ */ (0, z.jsx)(sPe, { rows: n.recent })
+ children: /* @__PURE__ */ (0, z.jsx)(CPe, { rows: n.recent })
}),
- /* @__PURE__ */ (0, z.jsx)(IS, {
+ /* @__PURE__ */ (0, z.jsx)(US, {
id: "sources",
className: "px-4 pt-3.5 pb-4",
- children: /* @__PURE__ */ (0, z.jsx)(cPe, {
+ children: /* @__PURE__ */ (0, z.jsx)(wPe, {
sources: n.tag_source,
videos: n.attribution.videos
})
@@ -69644,7 +70084,7 @@ function lPe(e) {
}
//#endregion
//#region node_modules/d3-sankey/src/align.js
-function uPe(e, t) {
+function EPe(e, t) {
return e.sourceLinks.length ? e.depth : t - 1;
}
//#endregion
@@ -69668,13 +70108,13 @@ function F8(e, t) {
function I8(e) {
return e.value;
}
-function dPe(e) {
+function DPe(e) {
return e.index;
}
-function fPe(e) {
+function OPe(e) {
return e.nodes;
}
-function pPe(e) {
+function kPe(e) {
return e.links;
}
function L8(e, t) {
@@ -69689,8 +70129,8 @@ function R8({ nodes: e }) {
for (let e of t.targetLinks) e.y1 = n + e.width / 2, n += e.width;
}
}
-function mPe() {
- let e = 0, t = 0, n = 1, r = 1, i = 24, a = 8, o, s = dPe, c = uPe, l, u, d = fPe, f = pPe, p = 6;
+function APe() {
+ let e = 0, t = 0, n = 1, r = 1, i = 24, a = 8, o, s = DPe, c = EPe, l, u, d = OPe, f = kPe, p = 6;
function m() {
let e = {
nodes: d.apply(null, arguments),
@@ -69876,7 +70316,7 @@ function mPe() {
}
//#endregion
//#region node_modules/d3-path/src/path.js
-var z8 = Math.PI, B8 = 2 * z8, V8 = 1e-6, hPe = B8 - V8;
+var z8 = Math.PI, B8 = 2 * z8, V8 = 1e-6, jPe = B8 - V8;
function H8() {
this._x0 = this._y0 = this._x1 = this._y1 = null, this._ = "";
}
@@ -69917,7 +70357,7 @@ H8.prototype = U8.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) > V8 || Math.abs(this._y1 - l) > V8) && (this._ += "L" + c + "," + l), n && (d < 0 && (d = d % B8 + B8), d > hPe ? this._ += "A" + n + "," + n + ",0,1," + u + "," + (e - o) + "," + (t - s) + "A" + n + "," + n + ",0,1," + u + "," + (this._x1 = c) + "," + (this._y1 = l) : d > V8 && (this._ += "A" + n + "," + n + ",0," + +(d >= z8) + "," + 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) > V8 || Math.abs(this._y1 - l) > V8) && (this._ += "L" + c + "," + l), n && (d < 0 && (d = d % B8 + B8), d > jPe ? this._ += "A" + n + "," + n + ",0,1," + u + "," + (e - o) + "," + (t - s) + "A" + n + "," + n + ",0,1," + u + "," + (this._x1 = c) + "," + (this._y1 = l) : d > V8 && (this._ += "A" + n + "," + n + ",0," + +(d >= z8) + "," + 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";
@@ -69935,27 +70375,27 @@ function W8(e) {
}
//#endregion
//#region node_modules/d3-shape/src/point.js
-function gPe(e) {
+function MPe(e) {
return e[0];
}
-function _Pe(e) {
+function NPe(e) {
return e[1];
}
//#endregion
//#region node_modules/d3-shape/src/array.js
-var vPe = Array.prototype.slice;
+var PPe = Array.prototype.slice;
//#endregion
//#region node_modules/d3-shape/src/link/index.js
-function yPe(e) {
+function FPe(e) {
return e.source;
}
-function bPe(e) {
+function IPe(e) {
return e.target;
}
-function xPe(e) {
- var t = yPe, n = bPe, r = gPe, i = _Pe, a = null;
+function LPe(e) {
+ var t = FPe, n = IPe, r = MPe, i = NPe, a = null;
function o() {
- var o, s = vPe.call(arguments), c = t.apply(this, s), l = n.apply(this, s);
+ var o, s = PPe.call(arguments), c = t.apply(this, s), l = n.apply(this, s);
if (a ||= o = U8(), 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) {
@@ -69970,48 +70410,48 @@ function xPe(e) {
return arguments.length ? (a = e ?? null, o) : a;
}, o;
}
-function SPe(e, t, n, r, i) {
+function RPe(e, t, n, r, i) {
e.moveTo(t, n), e.bezierCurveTo(t = (t + r) / 2, n, t, i, r, i);
}
-function CPe() {
- return xPe(SPe);
+function zPe() {
+ return LPe(RPe);
}
//#endregion
//#region node_modules/d3-sankey/src/sankeyLinkHorizontal.js
-function wPe(e) {
+function BPe(e) {
return [e.source.x1, e.y0];
}
-function TPe(e) {
+function VPe(e) {
return [e.target.x0, e.y1];
}
-function EPe() {
- return CPe().source(wPe).target(TPe);
+function HPe() {
+ return zPe().source(BPe).target(VPe);
}
//#endregion
//#region src/react/taste/taste.ts
-var DPe = "/api/taste", G8 = "/api/taste/refresh", OPe = "/api/taste/import", kPe = "/api/taste/source", K8 = (e) => ["taste", e], APe = ["taste", "refresh"], jPe = [
+var UPe = "/api/taste", G8 = "/api/taste/refresh", WPe = "/api/taste/import", GPe = "/api/taste/source", K8 = (e) => ["taste", e], KPe = ["taste", "refresh"], qPe = [
["7d", "最近 7 天"],
["30d", "最近 30 天"],
["90d", "最近 90 天"],
["365d", "最近一年"],
["all", "全部时间"]
-], q8 = (e, t) => wi(`${DPe}?window=${e}`, t), MPe = (e) => wi(G8, e);
-async function NPe(e, t) {
+], q8 = (e, t) => wi(`${UPe}?window=${e}`, t), JPe = (e) => wi(G8, e);
+async function YPe(e, t) {
await q.fetchQuery({
queryKey: K8(e),
queryFn: () => q8(e, t)
});
}
-var PPe = (e) => W(G8, {
+var XPe = (e) => W(G8, {
window: e,
background: !0
-}), FPe = (e, t) => W(kPe, {
+}), ZPe = (e, t) => W(GPe, {
operation: "remove",
source_key: e,
window: t
});
-async function IPe(e) {
- let t = await fetch(OPe, {
+async function QPe(e) {
+ let t = await fetch(WPe, {
method: "POST",
credentials: "same-origin",
headers: {
@@ -70029,21 +70469,21 @@ async function IPe(e) {
}
return n;
}
-var LPe = 1e4, J8 = (e) => e ? new Date(e).toLocaleDateString("zh-CN") : "—", RPe = (e) => e >= 3600 ? `${(e / 3600).toFixed(1)} 小时` : `${Math.round(e / 60)} 分钟`, zPe = (e) => Number(e.web_visits ?? e.score ?? e.visits ?? e.peach_items ?? 0);
-function BPe(e) {
+var $Pe = 1e4, J8 = (e) => e ? new Date(e).toLocaleDateString("zh-CN") : "—", eFe = (e) => e >= 3600 ? `${(e / 3600).toFixed(1)} 小时` : `${Math.round(e / 60)} 分钟`, tFe = (e) => Number(e.web_visits ?? e.score ?? e.visits ?? e.peach_items ?? 0);
+function nFe(e) {
if (e.web_visits == null) return Number(e.score || e.visits || 0).toLocaleString();
let t = [];
return e.web_visits && t.push(`浏览 ${e.web_visits}`), e.peach_items && t.push(`Peach ${e.peach_items}`), t.join(" · ");
}
-function VPe(e) {
- let t = e.map(zPe), n = Math.max(1, ...t);
+function rFe(e) {
+ let t = e.map(tFe), n = Math.max(1, ...t);
return t.map((e) => Math.max(0, Math.min(100, e / n * 100)));
}
var Y8 = (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 HPe(e) {
+function iFe(e) {
let t = Y8(e, 6);
return t.length < 3 ? [] : t;
}
@@ -70054,10 +70494,10 @@ var X8 = {
source: 145,
target: 545
};
-function UPe(e = []) {
+function aFe(e = []) {
let t = e.filter((e) => e.source && e.target && Number.isFinite(e.value) && e.value > 0);
if (!t.length) return null;
- let n = [...new Set(t.map((e) => e.source))], r = [...new Set(t.map((e) => e.target))], i = mPe().nodeId((e) => e.id).nodeWidth(10).nodePadding(22).extent([[155, 16], [535, 404]])({
+ let n = [...new Set(t.map((e) => e.source))], r = [...new Set(t.map((e) => e.target))], i = APe().nodeId((e) => e.id).nodeWidth(10).nodePadding(22).extent([[155, 16], [535, 404]])({
nodes: [...n.map((e) => ({
id: `source:${e}`,
name: e,
@@ -70072,7 +70512,7 @@ function UPe(e = []) {
target: `target:${e.target}`,
value: e.value
}))
- }), a = t.reduce((e, t) => e + t.value, 0), o = EPe();
+ }), a = t.reduce((e, t) => e + t.value, 0), o = HPe();
return {
nodes: i.nodes.map((e) => ({
id: e.id,
@@ -70102,7 +70542,7 @@ function UPe(e = []) {
total: a
};
}
-var WPe = (e) => e.length > 18 ? `${e.slice(0, 16)}…` : e, Q8 = R.memo(function({ cx: e, cy: t, dataKey: n, chartId: r, className: i, fillOpacity: a = 1, type: o = "default", maskId: s }) {
+var oFe = (e) => e.length > 18 ? `${e.slice(0, 16)}…` : e, Q8 = R.memo(function({ cx: e, cy: t, dataKey: n, chartId: r, className: i, fillOpacity: a = 1, type: o = "default", maskId: s }) {
let c = R.useId().replace(/:/g, ""), l = `url(#${r}-colors-${String(n)})`;
if (e === void 0 || t === void 0) return null;
switch (o) {
@@ -70225,14 +70665,14 @@ var t5 = R.memo(({ cx: e, cy: t, dotId: n, fillOpacity: r, gradientUrl: i, class
t5.displayName = "ColoredBorderDot";
//#endregion
//#region src/react/evilcharts/registry/charts/recharts-radar-chart.tsx
-var GPe = 1, KPe = .3, qPe = 6, n5 = 1500, r5 = "value", i5 = (0, R.createContext)(null);
+var sFe = 1, cFe = .3, lFe = 6, n5 = 1500, r5 = "value", i5 = (0, R.createContext)(null);
function a5() {
let e = (0, R.use)(i5);
if (!e) throw Error("Radar chart parts (<Radar />, <PolarAngleAxis />, …) must be used within <EvilRadarChart />");
return e;
}
function o5({ config: e, data: t, children: n, className: r, chartProps: i, backgroundVariant: a, defaultSelectedDataKey: o = null, onSelectionChange: s, isLoading: c = !1, loadingPoints: l }) {
- let u = (0, R.useId)().replace(/:/g, ""), [d, f] = (0, R.useState)(o), p = oFe(c, l), m = (0, R.useCallback)((e) => {
+ let u = (0, R.useId)().replace(/:/g, ""), [d, f] = (0, R.useState)(o), p = SFe(c, l), m = (0, R.useCallback)((e) => {
f(e), s?.(e);
}, [s]), h = (0, R.useMemo)(() => ({
config: e,
@@ -70250,32 +70690,32 @@ function o5({ config: e, data: t, children: n, className: r, chartProps: i, back
children: /* @__PURE__ */ (0, z.jsxs)(F6, {
className: r,
config: e,
- children: [/* @__PURE__ */ (0, z.jsx)(I6, { isLoading: c }), /* @__PURE__ */ (0, z.jsxs)(jMe, {
+ children: [/* @__PURE__ */ (0, z.jsx)(I6, { isLoading: c }), /* @__PURE__ */ (0, z.jsxs)(qMe, {
id: u,
data: c ? p : t,
...i,
children: [
a && /* @__PURE__ */ (0, z.jsx)(q6, { variant: a }),
n,
- c && /* @__PURE__ */ (0, z.jsx)(sFe, {})
+ c && /* @__PURE__ */ (0, z.jsx)(CFe, {})
]
})]
})
});
}
-function JPe({ dataKey: e, variant: t = "filled", fillOpacity: n = KPe, isGlowing: r = !1, isClickable: i = !1, children: a, radarProps: o }) {
+function uFe({ dataKey: e, variant: t = "filled", fillOpacity: n = cFe, isGlowing: r = !1, isClickable: i = !1, children: a, radarProps: o }) {
let { config: s, isLoading: c, selectedDataKey: l, selectDataKey: u } = a5(), d = (0, R.useId)().replace(/:/g, "");
if (c) return null;
let f = i && l !== null && l !== e, p = {
stroke: f ? .2 : 1,
fill: f ? .1 : 1,
dot: f ? .2 : 1
- }, m = t === "filled", { dot: h, activeDot: g } = eFe(a, d, e, p.dot);
+ }, m = t === "filled", { dot: h, activeDot: g } = gFe(a, d, e, p.dot);
return /* @__PURE__ */ (0, z.jsxs)(z.Fragment, { children: [/* @__PURE__ */ (0, z.jsx)(b2, {
dataKey: e,
stroke: `url(#${d}-radar-stroke-${e})`,
strokeOpacity: p.stroke,
- strokeWidth: GPe,
+ strokeWidth: sFe,
fill: m ? `url(#${d}-radar-fill-${e})` : "none",
fillOpacity: m ? n * p.fill : 0,
dot: h,
@@ -70288,29 +70728,29 @@ function JPe({ dataKey: e, variant: t = "filled", fillOpacity: n = KPe, isGlowin
},
...o
}), /* @__PURE__ */ (0, z.jsxs)("defs", { children: [
- /* @__PURE__ */ (0, z.jsx)(tFe, {
+ /* @__PURE__ */ (0, z.jsx)(_Fe, {
id: d,
dataKey: e,
config: s
}),
- /* @__PURE__ */ (0, z.jsx)(nFe, {
+ /* @__PURE__ */ (0, z.jsx)(vFe, {
id: d,
dataKey: e,
config: s
}),
- m && /* @__PURE__ */ (0, z.jsx)(rFe, {
+ m && /* @__PURE__ */ (0, z.jsx)(yFe, {
id: d,
dataKey: e,
config: s
}),
- r && /* @__PURE__ */ (0, z.jsx)(iFe, {
+ r && /* @__PURE__ */ (0, z.jsx)(bFe, {
id: d,
dataKey: e
})
] })] });
}
var s5 = () => null, c5 = () => null;
-function YPe({ gridType: e = "polygon", stroke: t = "currentColor", strokeOpacity: n = .2, strokeDasharray: r = "3 4", ...i }) {
+function dFe({ gridType: e = "polygon", stroke: t = "currentColor", strokeOpacity: n = .2, strokeDasharray: r = "3 4", ...i }) {
return /* @__PURE__ */ (0, z.jsx)(p0, {
gridType: e,
stroke: t,
@@ -70319,7 +70759,7 @@ function YPe({ gridType: e = "polygon", stroke: t = "currentColor", strokeOpacit
...i
});
}
-function XPe({ tick: e = {
+function fFe({ tick: e = {
fill: "currentColor",
fontSize: 12
}, tickLine: t = !1, ...n }) {
@@ -70330,7 +70770,7 @@ function XPe({ tick: e = {
...n
});
}
-function ZPe({ tick: e = {
+function pFe({ tick: e = {
fill: "currentColor",
fontSize: 10
}, tickLine: t = !1, axisLine: n = !1, ...r }) {
@@ -70342,7 +70782,7 @@ function ZPe({ tick: e = {
...r
});
}
-function QPe({ variant: e, roundness: t, defaultIndex: n }) {
+function mFe({ variant: e, roundness: t, defaultIndex: n }) {
let { isLoading: r, selectedDataKey: i } = a5();
return r ? null : /* @__PURE__ */ (0, z.jsx)(V6, {
defaultIndex: n,
@@ -70354,7 +70794,7 @@ function QPe({ variant: e, roundness: t, defaultIndex: n }) {
})
});
}
-function $Pe({ variant: e, align: t = "center", verticalAlign: n = "bottom", isClickable: r = !1 }) {
+function hFe({ variant: e, align: t = "center", verticalAlign: n = "bottom", isClickable: r = !1 }) {
let { isLoading: i, selectedDataKey: a, selectDataKey: o } = a5();
return i ? null : /* @__PURE__ */ (0, z.jsx)(U6, {
verticalAlign: n,
@@ -70367,7 +70807,7 @@ function $Pe({ variant: e, align: t = "center", verticalAlign: n = "bottom", isC
})
});
}
-var eFe = (e, t, n, r) => {
+var gFe = (e, t, n, r) => {
let i = !1, a = !1;
return R.Children.forEach(e, (e) => {
if ((0, R.isValidElement)(e)) {
@@ -70409,7 +70849,7 @@ var eFe = (e, t, n, r) => {
stopColor: `var(--color-${e}-${i}, var(--color-${e}-0))`,
stopOpacity: n?.[i]
}, a);
-}) }), tFe = ({ id: e, dataKey: t, config: n }) => {
+}) }), _Fe = ({ id: e, dataKey: t, config: n }) => {
let r = z6(n[t] ?? {});
return /* @__PURE__ */ (0, z.jsx)("linearGradient", {
id: `${e}-colors-${t}`,
@@ -70422,7 +70862,7 @@ var eFe = (e, t, n, r) => {
colorsCount: r
})
});
-}, nFe = ({ id: e, dataKey: t, config: n }) => {
+}, vFe = ({ id: e, dataKey: t, config: n }) => {
let r = z6(n[t] ?? {});
return /* @__PURE__ */ (0, z.jsx)("linearGradient", {
id: `${e}-radar-stroke-${t}`,
@@ -70435,7 +70875,7 @@ var eFe = (e, t, n, r) => {
colorsCount: r
})
});
-}, rFe = ({ id: e, dataKey: t, config: n }) => {
+}, yFe = ({ id: e, dataKey: t, config: n }) => {
let r = z6(n[t] ?? {}), i = r === 1 ? [.8, .3] : Array.from({ length: r }, (e, t) => t === 0 ? .8 : .3);
return /* @__PURE__ */ (0, z.jsx)("radialGradient", {
id: `${e}-radar-fill-${t}`,
@@ -70448,7 +70888,7 @@ var eFe = (e, t, n, r) => {
opacities: i
})
});
-}, iFe = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, z.jsxs)("filter", {
+}, bFe = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, z.jsxs)("filter", {
id: `${e}-radar-glow-${t}`,
x: "-50%",
y: "-50%",
@@ -70468,7 +70908,7 @@ var eFe = (e, t, n, r) => {
}),
/* @__PURE__ */ (0, z.jsxs)("feMerge", { children: [/* @__PURE__ */ (0, z.jsx)("feMergeNode", { in: "glow" }), /* @__PURE__ */ (0, z.jsx)("feMergeNode", { in: "SourceGraphic" })] })
]
-}), aFe = (e) => [
+}), xFe = (e) => [
"A",
"B",
"C",
@@ -70479,7 +70919,7 @@ var eFe = (e, t, n, r) => {
skill: e,
[r5]: 30 + Math.random() * 70
}));
-function oFe(e, t = qPe) {
+function SFe(e, t = lFe) {
let [n, r] = (0, R.useState)(0);
return (0, R.useEffect)(() => {
if (!e) return;
@@ -70487,9 +70927,9 @@ function oFe(e, t = qPe) {
r((e) => e + 1);
}, n5);
return () => clearInterval(t);
- }, [e]), (0, R.useMemo)(() => aFe(t), [t, n]);
+ }, [e]), (0, R.useMemo)(() => xFe(t), [t, n]);
}
-var sFe = () => /* @__PURE__ */ (0, z.jsx)(b2, {
+var CFe = () => /* @__PURE__ */ (0, z.jsx)(b2, {
dataKey: r5,
stroke: "currentColor",
strokeOpacity: .3,
@@ -70501,17 +70941,17 @@ var sFe = () => /* @__PURE__ */ (0, z.jsx)(b2, {
animationDuration: n5,
animationEasing: "ease-in-out"
});
-o5.Radar = JPe, o5.Dot = s5, o5.ActiveDot = c5, o5.PolarGrid = YPe, o5.PolarAngleAxis = XPe, o5.PolarRadiusAxis = ZPe, o5.Tooltip = QPe, o5.Legend = $Pe;
+o5.Radar = uFe, o5.Dot = s5, o5.ActiveDot = c5, o5.PolarGrid = dFe, o5.PolarAngleAxis = fFe, o5.PolarRadiusAxis = pFe, o5.Tooltip = mFe, o5.Legend = hFe;
//#endregion
//#region src/react/taste/charts.tsx
-var cFe = [
+var wFe = [
"stroke-chart-1",
"stroke-chart-2",
"stroke-chart-3",
"stroke-chart-4",
"stroke-chart-5",
"stroke-chart-6"
-], lFe = [
+], TFe = [
"fill-chart-1",
"fill-chart-2",
"fill-chart-3",
@@ -70521,7 +70961,7 @@ var cFe = [
], u5 = { value: {
label: "标签命中",
colors: n8(t8[3])
-} }, uFe = [
+} }, EFe = [
"min-h-24",
"min-h-24",
"min-h-24",
@@ -70531,20 +70971,20 @@ var cFe = [
"min-h-52",
"min-h-60",
"min-h-64"
-], dFe = 26, fFe = { radius: u5.value }, pFe = (e, t) => Math.sqrt(e / t);
-function mFe({ rows: e, label: t }) {
- let n = HPe(e);
+], DFe = 26, OFe = { radius: u5.value }, kFe = (e, t) => Math.sqrt(e / t);
+function AFe({ rows: e, label: t }) {
+ let n = iFe(e);
if (!n.length) return null;
let r = n[0].value, i = n.map((e) => ({
...e,
- radius: pFe(e.value, r)
+ radius: kFe(e.value, r)
}));
return /* @__PURE__ */ (0, z.jsx)("div", {
role: "img",
"aria-label": `${t}:${i.map((e) => e.name).join(",")}`,
children: /* @__PURE__ */ (0, z.jsxs)(o5, {
data: i,
- config: fFe,
+ config: OFe,
chartProps: { outerRadius: "58%" },
className: "aspect-auto h-70 text-text-secondary",
children: [
@@ -70561,17 +71001,17 @@ function mFe({ rows: e, label: t }) {
})
});
}
-function hFe({ rows: e, label: t }) {
+function jFe({ rows: e, label: t }) {
let n = Y8(e, 8);
return n.length ? /* @__PURE__ */ (0, z.jsx)("section", {
"aria-label": t,
- className: `flex grow flex-col ${uFe[n.length]}`,
+ className: `flex grow flex-col ${EFe[n.length]}`,
children: /* @__PURE__ */ (0, z.jsxs)(Z6, {
data: n,
config: u5,
layout: "horizontal",
barRadius: 4,
- chartProps: { maxBarSize: dFe },
+ chartProps: { maxBarSize: DFe },
className: "aspect-auto text-text-secondary",
children: [
/* @__PURE__ */ (0, z.jsx)(Z6.YAxis, {
@@ -70595,8 +71035,8 @@ function hFe({ rows: e, label: t }) {
})
}) : null;
}
-function gFe({ flows: e }) {
- let [t, n] = (0, R.useState)(null), r = UPe(e);
+function MFe({ flows: e }) {
+ let [t, n] = (0, R.useState)(null), r = aFe(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, z.jsxs)("section", {
@@ -70624,7 +71064,7 @@ function gFe({ flows: e }) {
"aria-label": `${e.label}:${e.value} 条线索`,
fillOpacity: 0,
strokeOpacity: a(e, e.label) ? .55 : .08,
- className: `outline-none transition-opacity ${cFe[e.color]}`,
+ className: `outline-none transition-opacity ${wFe[e.color]}`,
onPointerEnter: () => n({
value: e.value,
label: e.label,
@@ -70658,14 +71098,14 @@ function gFe({ flows: e }) {
width: 10,
height: e.height,
rx: 5,
- className: e.side === "source" ? lFe[e.color] : "fill-text-secondary"
+ className: e.side === "source" ? TFe[e.color] : "fill-text-secondary"
}), /* @__PURE__ */ (0, z.jsxs)("text", {
x: Z8[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: [WPe(e.name), /* @__PURE__ */ (0, z.jsx)("tspan", {
+ children: [oFe(e.name), /* @__PURE__ */ (0, z.jsx)("tspan", {
x: Z8[e.side],
dy: 15,
children: e.side === "source" ? e.value.toLocaleString() : `${e.share.toFixed(1)}%`
@@ -70683,7 +71123,7 @@ function gFe({ flows: e }) {
}
//#endregion
//#region src/react/taste/taste-page.tsx
-var _Fe = 10, d5 = gi(dO, fO, "text-body-2-medium"), f5 = `${Mi()} flex flex-col gap-4`, p5 = "rounded-xl bg-background-primary-default p-3", vFe = "读取运行 Peach 的这台电脑上的浏览记录", yFe = "导入或读取浏览记录后,这里会列出已采集设备。", bFe = "馆藏里暂时没有对得上浏览信号的标签。", xFe = "采集浏览记录后,这里会显示聚合后的口味证据。", SFe = "这些词在浏览记录中出现,但 Peach 观看记录还没有对应证据", CFe = "在运行 Peach 的电脑上使用浏览器:点上面的「读取浏览器历史」。", wFe = "记录在其他设备上:导出文件后,点上面的「导入历史文件」。多台设备的文件分别导入。", TFe = "需要刷新时再次读取或导入;数据源可在页面底部移除。", EFe = "这个数据源将不再用于口味分析。原始导出文件保留。", m5 = "peach-taste-guide-dismissed";
+var NFe = 10, d5 = gi(MO, NO, "text-body-2-medium"), f5 = `${Mi()} flex flex-col gap-4`, p5 = "rounded-xl bg-background-primary-default p-3", PFe = "读取运行 Peach 的这台电脑上的浏览记录", FFe = "导入或读取浏览记录后,这里会列出已采集设备。", IFe = "馆藏里暂时没有对得上浏览信号的标签。", LFe = "采集浏览记录后,这里会显示聚合后的口味证据。", RFe = "这些词在浏览记录中出现,但 Peach 观看记录还没有对应证据", zFe = "在运行 Peach 的电脑上使用浏览器:点上面的「读取浏览器历史」。", BFe = "记录在其他设备上:导出文件后,点上面的「导入历史文件」。多台设备的文件分别导入。", VFe = "需要刷新时再次读取或导入;数据源可在页面底部移除。", HFe = "这个数据源将不再用于口味分析。原始导出文件保留。", m5 = "peach-taste-guide-dismissed";
function h5({ icon: e, term: t, figure: n, detail: r, accent: i }) {
return /* @__PURE__ */ (0, z.jsx)("div", {
className: bl(),
@@ -70710,22 +71150,22 @@ function g5({ name: e, domain: t }) {
})]
});
}
-function DFe({ html: e }) {
+function UFe({ html: e }) {
return /* @__PURE__ */ (0, z.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 ${IN}`,
+ 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 ${HP}`,
dangerouslySetInnerHTML: { __html: e }
});
}
-function OFe({ rows: e, kind: t, visual: n, empty: r, onSignal: i, avatarInner: a }) {
+function WFe({ rows: e, kind: t, visual: n, empty: r, onSignal: i, avatarInner: a }) {
if (!e.length) return /* @__PURE__ */ (0, z.jsx)(Pi, {
shell: "plain",
icon: Ze,
title: "暂无足够证据",
children: r
});
- let o = VPe(e);
+ let o = rFe(e);
return /* @__PURE__ */ (0, z.jsx)(v8, {
- previewCount: _Fe,
+ previewCount: NFe,
className: "inline-grid w-full gap-x-7 gap-y-2 sm:grid-cols-2",
children: e.map((e, r) => {
let s = !!t && !!e.peach_items, c = String(e.source_domain || ""), l = /* @__PURE__ */ (0, z.jsxs)(z.Fragment, { children: [
@@ -70752,7 +71192,7 @@ function OFe({ rows: e, kind: t, visual: n, empty: r, onSignal: i, avatarInner:
name: e.name,
domain: c
}) : null,
- n !== "none" && n !== "domain" && (e.entity_id || e.has_avatar || !c) ? /* @__PURE__ */ (0, z.jsx)(DFe, { html: a(e.name, e.entity_id ? {
+ n !== "none" && n !== "domain" && (e.entity_id || e.has_avatar || !c) ? /* @__PURE__ */ (0, z.jsx)(UFe, { html: a(e.name, e.entity_id ? {
id: e.entity_id,
has_image: !!e.has_image,
avatar_focus: e.avatar_focus
@@ -70764,7 +71204,7 @@ function OFe({ rows: e, kind: t, visual: n, empty: r, onSignal: i, avatarInner:
children: e.name
}), /* @__PURE__ */ (0, z.jsx)("small", {
className: "text-caption-1-regular text-text-secondary",
- children: BPe(e)
+ children: nFe(e)
})]
}),
s ? /* @__PURE__ */ (0, z.jsx)(Ee, {
@@ -70788,23 +71228,23 @@ function OFe({ rows: e, kind: t, visual: n, empty: r, onSignal: i, avatarInner:
});
}
function _5({ label: e, panels: t, onSignal: n, avatarInner: r }) {
- return /* @__PURE__ */ (0, z.jsxs)(jS, {
+ return /* @__PURE__ */ (0, z.jsxs)(RS, {
className: `${Mi({ padding: "none" })} flex flex-col`,
children: [/* @__PURE__ */ (0, z.jsx)("div", {
className: "px-4 pt-3",
- children: /* @__PURE__ */ (0, z.jsx)(nA, {
+ children: /* @__PURE__ */ (0, z.jsx)(pA, {
"aria-label": e,
- className: iA,
- children: t.map((e) => /* @__PURE__ */ (0, z.jsx)(FS, {
+ className: hA,
+ children: t.map((e) => /* @__PURE__ */ (0, z.jsx)(HS, {
id: e.id,
- className: aA,
+ className: gA,
children: e.name
}, e.id))
})
- }), t.map((e) => /* @__PURE__ */ (0, z.jsx)(IS, {
+ }), t.map((e) => /* @__PURE__ */ (0, z.jsx)(US, {
id: e.id,
className: "px-4 pt-3.5 pb-4",
- children: /* @__PURE__ */ (0, z.jsx)(OFe, {
+ children: /* @__PURE__ */ (0, z.jsx)(WFe, {
...e.props,
onSignal: n,
avatarInner: r
@@ -70812,7 +71252,7 @@ function _5({ label: e, panels: t, onSignal: n, avatarInner: r }) {
}, e.id))]
});
}
-function kFe({ data: e, onSignal: t, navigate: n }) {
+function GFe({ data: e, onSignal: t, navigate: n }) {
let r = e.analysis;
if (!r?.headline) return null;
let i = r.confidence || {}, a = [...(r.explore || []).map((e) => ({
@@ -70887,12 +71327,12 @@ function kFe({ data: e, onSignal: t, navigate: n }) {
shell: "plain",
icon: Ze,
title: "还没有可探索的入口",
- children: bFe
+ children: IFe
})
]
});
}
-function AFe({ onboarding: e, done: t }) {
+function KFe({ onboarding: e, done: t }) {
let [n, r] = (0, R.useState)(() => {
try {
return localStorage.getItem(m5) === "1";
@@ -70905,17 +71345,17 @@ function AFe({ onboarding: e, done: t }) {
padding: "none",
className: "p-4"
}),
- children: /* @__PURE__ */ (0, z.jsxs)(FO, {
+ children: /* @__PURE__ */ (0, z.jsxs)(nk, {
summary: "浏览器历史记录导入指南",
defaultOpen: e,
children: [
/* @__PURE__ */ (0, z.jsx)("p", {
className: "text-body-2-regular text-text-secondary",
- children: CFe
+ children: zFe
}),
/* @__PURE__ */ (0, z.jsx)("p", {
className: "text-body-2-regular text-text-secondary",
- children: wFe
+ children: BFe
}),
/* @__PURE__ */ (0, z.jsxs)("ul", {
className: "flex list-disc flex-col gap-1 pl-5 text-body-2-regular text-text-secondary",
@@ -70945,7 +71385,7 @@ function AFe({ onboarding: e, done: t }) {
}),
/* @__PURE__ */ (0, z.jsx)("p", {
className: "text-body-2-regular text-text-secondary",
- children: TFe
+ children: VFe
}),
/* @__PURE__ */ (0, z.jsx)("span", {
className: "self-start",
@@ -70965,7 +71405,7 @@ function AFe({ onboarding: e, done: t }) {
})
});
}
-function jFe({ busy: e, onRefresh: t, onImport: n }) {
+function qFe({ busy: e, onRefresh: t, onImport: n }) {
let r = (0, R.useRef)(null), [i, a] = (0, R.useState)(!1), o = (e) => {
a(!1), e();
};
@@ -70975,7 +71415,7 @@ function jFe({ busy: e, onRefresh: t, onImport: n }) {
"data-variant": "primary",
children: [/* @__PURE__ */ (0, z.jsx)(H, {
leadingIcon: Me,
- title: vFe,
+ title: PFe,
onClick: t,
...K(e),
children: "读取浏览器历史"
@@ -70991,14 +71431,14 @@ function jFe({ busy: e, onRefresh: t, onImport: n }) {
e || a(!0);
}
})]
- }), /* @__PURE__ */ (0, z.jsx)(gy, {
+ }), /* @__PURE__ */ (0, z.jsx)(sy, {
triggerRef: r,
isOpen: i,
onOpenChange: a,
placement: "bottom end",
offset: 4,
- className: uO,
- children: /* @__PURE__ */ (0, z.jsxs)(sO, {
+ className: jO,
+ children: /* @__PURE__ */ (0, z.jsxs)(OO, {
"aria-label": "更多取得浏览记录的方式",
className: "flex w-52 flex-col gap-1 outline-none",
children: [/* @__PURE__ */ (0, z.jsxs)("button", {
@@ -71021,9 +71461,9 @@ function jFe({ busy: e, onRefresh: t, onImport: n }) {
})
})] });
}
-function MFe({ sources: e, window: t, toast: n }) {
+function JFe({ sources: e, window: t, toast: n }) {
let r = Pn({
- mutationFn: (e) => FPe(e, t),
+ mutationFn: (e) => ZPe(e, t),
onSuccess: (e) => {
q.setQueryData(K8(t), e.dashboard), n("已移除口味数据源");
}
@@ -71075,7 +71515,7 @@ function MFe({ sources: e, window: t, toast: n }) {
onClick: () => {
r.isPending || y({
title: "移除口味数据源",
- body: EFe,
+ body: HFe,
confirmLabel: "移除口味数据源",
onConfirm: () => r.mutateAsync(e.source_key)
});
@@ -71087,26 +71527,26 @@ function MFe({ sources: e, window: t, toast: n }) {
shell: "plain",
icon: Ne,
title: "还没有数据源",
- children: yFe
+ children: FFe
})
]
});
}
-function NFe(e) {
+function YFe(e) {
let { onSignal: t, navigate: n, toast: r, avatarInner: i, onboarding: a } = e, [o, c] = (0, R.useState)("all"), [l, u] = (0, R.useState)("browser"), d = (0, R.useRef)(null), f = Nn({
queryKey: K8(o),
queryFn: ({ signal: e }) => q8(o, e),
placeholderData: jt
- }), { job: p, running: m, outcome: h, start: g } = WO({
- queryKey: APe,
- queryFn: ({ signal: e }) => MPe(e),
- start: () => PPe(o),
- idlePollMs: LPe,
+ }), { job: p, running: m, outcome: h, start: g } = uk({
+ queryKey: KPe,
+ queryFn: ({ signal: e }) => JPe(e),
+ start: () => XPe(o),
+ idlePollMs: $Pe,
onFinish: (e) => {
e.status !== "failed" && (q.invalidateQueries({ queryKey: ["taste"] }), r("已更新口味分析"));
}
}), _ = Pn({
- mutationFn: (e) => IPe(e),
+ mutationFn: (e) => QPe(e),
onSuccess: (e) => {
q.setQueryData(K8("all"), e.dashboard), c("all"), r("已导入口味数据");
}
@@ -71123,40 +71563,40 @@ function NFe(e) {
}) });
let x = b.summary || {}, S = b.coverage || {}, C = b.rankings || {}, w = b.storage || {}, T = C.browser_categories || [], E = b.gaps || [], D = S.tagged || 0, O = S.identified || 0, k = g.error ? U(g.error) : _.error ? U(_.error) : h?.status === "failed" ? h.error || "读取未取得" : "";
return /* @__PURE__ */ (0, z.jsxs)(Ii, { children: [
- /* @__PURE__ */ (0, z.jsxs)(jS, {
+ /* @__PURE__ */ (0, z.jsxs)(RS, {
selectedKey: l,
onSelectionChange: (e) => u(String(e)),
className: "flex flex-col gap-5",
children: [
/* @__PURE__ */ (0, z.jsxs)("div", {
className: "flex flex-wrap items-center justify-between gap-3",
- children: [/* @__PURE__ */ (0, z.jsxs)(nA, {
+ children: [/* @__PURE__ */ (0, z.jsxs)(pA, {
"aria-label": "口味证据来源",
- className: iA,
- children: [/* @__PURE__ */ (0, z.jsx)(FS, {
+ className: hA,
+ children: [/* @__PURE__ */ (0, z.jsx)(HS, {
id: "browser",
- className: aA,
+ className: gA,
children: "浏览器记录"
- }), /* @__PURE__ */ (0, z.jsx)(FS, {
+ }), /* @__PURE__ */ (0, z.jsx)(HS, {
id: "peach",
- className: aA,
+ className: gA,
children: "Peach 内部"
})]
}), /* @__PURE__ */ (0, z.jsxs)("div", {
className: "flex flex-wrap items-center gap-2",
children: [
- /* @__PURE__ */ (0, z.jsx)(BO, {
+ /* @__PURE__ */ (0, z.jsx)(sk, {
"aria-label": "分析范围",
selectedKey: o,
onSelectionChange: (e) => {
e !== null && c(String(e));
},
- children: jPe.map(([e, t]) => /* @__PURE__ */ (0, z.jsx)(VO, {
+ children: qPe.map(([e, t]) => /* @__PURE__ */ (0, z.jsx)(ck, {
id: e,
children: t
}, e))
}),
- /* @__PURE__ */ (0, z.jsx)(jFe, {
+ /* @__PURE__ */ (0, z.jsx)(qFe, {
busy: m || g.isPending || _.isPending,
onRefresh: y,
onImport: () => d.current?.click()
@@ -71172,7 +71612,7 @@ function NFe(e) {
]
})]
}),
- /* @__PURE__ */ (0, z.jsx)(AFe, {
+ /* @__PURE__ */ (0, z.jsx)(KFe, {
onboarding: a,
done: !!(x.history_sources || b.updated_at)
}),
@@ -71180,19 +71620,19 @@ function NFe(e) {
"aria-live": "polite",
className: "flex flex-col gap-3 empty:hidden",
children: [
- m ? /* @__PURE__ */ (0, z.jsx)(SO, {
+ m ? /* @__PURE__ */ (0, z.jsx)(UO, {
label: p?.message || "正在读取浏览记录并更新口味分析",
value: p?.checked,
total: p?.total
}) : null,
- _.isPending ? /* @__PURE__ */ (0, z.jsx)(SO, { label: "正在导入历史文件" }) : null,
+ _.isPending ? /* @__PURE__ */ (0, z.jsx)(UO, { label: "正在导入历史文件" }) : null,
k ? /* @__PURE__ */ (0, z.jsx)(G, {
tone: "error",
children: k
}) : null
]
}),
- /* @__PURE__ */ (0, z.jsxs)(IS, {
+ /* @__PURE__ */ (0, z.jsxs)(US, {
id: "browser",
className: "flex flex-col gap-5",
children: [
@@ -71238,7 +71678,7 @@ function NFe(e) {
className: "text-caption-1-regular text-text-secondary",
children: "浏览器画像"
}),
- /* @__PURE__ */ (0, z.jsx)(mFe, {
+ /* @__PURE__ */ (0, z.jsx)(AFe, {
rows: T,
label: "主要口味维度"
}),
@@ -71249,14 +71689,14 @@ function NFe(e) {
]
}), /* @__PURE__ */ (0, z.jsx)("div", {
className: "flex min-w-0 grow flex-col",
- children: T.length ? /* @__PURE__ */ (0, z.jsx)(hFe, {
+ children: T.length ? /* @__PURE__ */ (0, z.jsx)(jFe, {
rows: T,
label: "口味维度排名"
}) : /* @__PURE__ */ (0, z.jsx)(Pi, {
shell: "plain",
icon: Ze,
title: "暂无口味维度",
- children: xFe
+ children: LFe
})
})]
}),
@@ -71272,7 +71712,7 @@ function NFe(e) {
tone: 4,
empty: "还没有可用于分析的口味网站访问记录。"
}),
- /* @__PURE__ */ (0, z.jsx)(gFe, { flows: b.creator_flows }),
+ /* @__PURE__ */ (0, z.jsx)(MFe, { flows: b.creator_flows }),
/* @__PURE__ */ (0, z.jsx)(_5, {
label: "浏览器口味维度",
onSignal: t,
@@ -71315,14 +71755,14 @@ function NFe(e) {
rows: E,
kind: "",
visual: "none",
- empty: SFe
+ empty: RFe
}
}
]
})
]
}),
- /* @__PURE__ */ (0, z.jsxs)(IS, {
+ /* @__PURE__ */ (0, z.jsxs)(US, {
id: "peach",
className: "flex flex-col gap-5",
children: [
@@ -71334,7 +71774,7 @@ function NFe(e) {
icon: Le,
term: "Peach 看过",
figure: Number(x.peach_items || 0).toLocaleString(),
- detail: RPe(x.peach_seconds || 0)
+ detail: eFe(x.peach_seconds || 0)
}),
/* @__PURE__ */ (0, z.jsx)(h5, {
accent: 1,
@@ -71429,12 +71869,12 @@ function NFe(e) {
})
]
}),
- /* @__PURE__ */ (0, z.jsx)(kFe, {
+ /* @__PURE__ */ (0, z.jsx)(GFe, {
data: b,
onSignal: t,
navigate: n
}),
- /* @__PURE__ */ (0, z.jsx)(MFe, {
+ /* @__PURE__ */ (0, z.jsx)(JFe, {
sources: b.sources || [],
window: o,
toast: r
@@ -71463,14 +71903,14 @@ function v5({ term: e, value: t, rest: n }) {
}
//#endregion
//#region src/board-skeleton.ts
-var y5 = (e = "60%") => `<span class="skeleton" style="width:${e}"></span>`, PFe = () => `${y5("80%")}${y5("48%")}`, FFe = (e, t) => e.repeat(t);
-function IFe() {
- return `<div data-stage-grid="" aria-hidden="true"><div data-stage-media="" class="skeleton-detail-media skeleton"></div><aside data-stage-side=""><div data-stage-side-content="" class="skeleton-lines">${y5("85%")}${y5("65%")}${FFe(PFe(), 4)}</div></aside></div>`;
+var y5 = (e = "60%") => `<span class="skeleton" style="width:${e}"></span>`, XFe = () => `${y5("80%")}${y5("48%")}`, ZFe = (e, t) => e.repeat(t);
+function QFe() {
+ return `<div data-stage-grid="" aria-hidden="true"><div data-stage-media="" class="skeleton-detail-media skeleton"></div><aside data-stage-side=""><div data-stage-side-content="" class="skeleton-lines">${y5("85%")}${y5("65%")}${ZFe(XFe(), 4)}</div></aside></div>`;
}
//#endregion
//#region src/player/host.ts
var b5 = null;
-function LFe(e) {
+function $Fe(e) {
b5 = e;
}
function x5() {
@@ -71480,10 +71920,10 @@ function x5() {
//#endregion
//#region src/player/menu.ts
var S5 = null;
-function RFe(e) {
+function eIe(e) {
S5 = e;
}
-function zFe() {
+function tIe() {
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;
}
@@ -71494,7 +71934,7 @@ function T5() {
e.innerHTML = "";
}), C5 &&= (C5(), null);
}
-async function BFe(e) {
+async function nIe(e) {
try {
return await navigator.clipboard.writeText(e), !0;
} catch {
@@ -71507,12 +71947,12 @@ async function BFe(e) {
return t.remove(), n;
}
}
-function VFe(e) {
+function rIe(e) {
let t = !!S5?.inMiniplayer(e), n = e.peachItem, r = S5?.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) => {
- BFe(i(e)).then((e) => x5().toast(e ? t : "复制失败,请手动复制地址栏", {
+ nIe(i(e)).then((e) => x5().toast(e ? t : "复制失败,请手动复制地址栏", {
timeout: 4e3,
warn: !e
}));
@@ -71551,12 +71991,12 @@ function VFe(e) {
run: () => s.click()
}), o;
}
-function HFe(e, t, n) {
- let r = zFe();
+function iIe(e, t, n) {
+ let r = tIe();
T5();
let a = x5().stage();
a instanceof HTMLDialogElement && a.open && a.append(r), r.setAttribute("popover", "manual");
- let o = VFe(e);
+ let o = rIe(e);
r.innerHTML = o.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}">${w5(l(e.icon), e.fill ? "data-player-menu-fill" : "")}<span>${i(e.label)}</span>${n ? w5(l("check"), "data-player-menu-check") : ""}</button>`;
@@ -71592,9 +72032,9 @@ function HFe(e, t, n) {
document.removeEventListener("pointerdown", c, !0), document.removeEventListener("keydown", u, !0), window.removeEventListener("scroll", d, !0);
}, s[0]?.focus();
}
-function UFe(e) {
+function aIe(e) {
e.el().addEventListener("contextmenu", (t) => {
- t.target.closest(".vjs-peach-settings-menu") || (t.preventDefault(), HFe(e, t.clientX, t.clientY));
+ t.target.closest(".vjs-peach-settings-menu") || (t.preventDefault(), iIe(e, t.clientX, t.clientY));
}), e.on("dispose", T5);
}
//#endregion
@@ -71615,7 +72055,7 @@ function A5(e) {
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 WFe(e) {
+function oIe(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;
@@ -71625,7 +72065,7 @@ function M5(e, t) {
let n = Number(e) || 0, r = p(t) || 0;
return n > 0 && r > 0 ? n * 8 / r : 0;
}
-function GFe(e) {
+function sIe(e) {
let t = [], n = null, r = 0, i = 0;
return {
bitrate: Number(e) || 0,
@@ -71640,7 +72080,7 @@ function GFe(e) {
},
sample(e) {
if (!e) return i;
- let a = performance.now(), o = WFe(e), s = e.currentTime || 0;
+ let a = performance.now(), o = oIe(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 > j5 * 2 && (t.length = 0);
@@ -71671,7 +72111,7 @@ function I5(e, t, n, r) {
}).join("");
return `<span data-player-stats-plot="${t}" role="img" aria-label="${i(r)}">${s}</span>`;
}
-function KFe() {
+function cIe() {
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>`;
@@ -71680,7 +72120,7 @@ function L5(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 qFe(e, t = "") {
+function lIe(e, t = "") {
let n = L5(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;
}
@@ -71689,14 +72129,14 @@ function R5(e, t, n = "", r = null) {
try {
i = Number(e?.tech({ IWillNotUseThisInPlugins: !0 })?.vhs?.stats?.bandwidth) || 0;
} catch {}
- return i > 0 ? i : r ? Number(r.bits) || 0 : qFe(t, n);
+ return i > 0 ? i : r ? Number(r.bits) || 0 : lIe(t, n);
}
function z5(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 JFe(e, t) {
+function uIe(e, t) {
return e > 0 ? z5(e) : t > 0 ? `已缓冲 ${Math.round(t)} 秒` : z5(0);
}
//#endregion
@@ -71712,7 +72152,7 @@ function B5(e, t, n = "") {
};
return o(), o;
}
-function YFe(e, t = !0) {
+function dIe(e, t = !0) {
let n = x5(), 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 } }));
}
@@ -71728,7 +72168,7 @@ function U5(e, t = !0) {
let i = n.stage();
i?.toggleAttribute("data-theater", r.theaterMode), H5(i?.querySelector("[data-player-theater]")), k5(D5());
}
-function XFe(e) {
+function fIe(e) {
let t = x5().stage(), n = t?.querySelector("[data-ambient-canvas]");
if (!t || !n) return () => {};
let r = n.getContext("2d", { alpha: !1 });
@@ -71762,7 +72202,7 @@ function XFe(e) {
i = !0, o++, document.removeEventListener("peachambientchange", f), e.removeEventListener("play", d), e.removeEventListener("loadeddata", d), s();
};
}
-function ZFe(e, t, n = 0, r = null) {
+function pIe(e, t, n = 0, r = null) {
let a = e.getChild("controlBar")?.el();
if (!a || a.querySelector("[data-player-quality]")) return;
let o = document.createElement("div");
@@ -71837,7 +72277,7 @@ function ZFe(e, t, n = 0, r = null) {
<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>${i(n.label)}</b>${l("player-menu-next")}</button></div>`, t);
w(a, "[data-player-ambient]").onclick = () => {
- YFe(!x5().settings().ambientMode), T();
+ dIe(!x5().settings().ambientMode), T();
}, w(a, "[data-player-speed]").onclick = () => k(), w(a, "[data-player-quality-view]").onclick = () => A();
}, E = .05, D = [
1,
@@ -71895,11 +72335,11 @@ function ZFe(e, t, n = 0, r = null) {
v() ? T() : _();
}), e.on("dispose", () => {
document.removeEventListener("pointerdown", j), document.removeEventListener(F5, x), S && clearTimeout(S);
- }), _(), QFe(e, o), $Fe(e), (e) => {
+ }), _(), mIe(e, o), hIe(e), (e) => {
p = e?.length ? e : null, v() ? T() : _();
};
}
-function QFe(e, t) {
+function mIe(e, t) {
let n = e.getChild("controlBar")?.el();
if (!n || n.querySelector("[data-player-theater]")) return;
let r = x5().settings().theaterMode, i = document.createElement("div");
@@ -71909,7 +72349,7 @@ function QFe(e, t) {
e.stopPropagation(), U5(!x5().settings().theaterMode);
};
}
-function $Fe(e) {
+function hIe(e) {
let t = e.getChild("controlBar")?.el();
if (!t || t.querySelector(".vjs-peach-right-controls")) return;
let n = t.querySelector(":scope>.vjs-play-control");
@@ -72007,7 +72447,7 @@ function $Fe(e) {
}, ie = new ResizeObserver(re);
ie.observe(e.el()), e.on("dispose", () => ie.disconnect()), ne(!1), re();
}
-function eIe(e, n, r = {}) {
+function gIe(e, n, r = {}) {
let i = e.getChild("controlBar")?.el()?.querySelector(".vjs-progress-control");
if (!i || i.querySelector("[data-player-seek-preview]")) return;
let o = r.thumbnail !== !1, s = document.createElement("div");
@@ -72040,7 +72480,7 @@ function eIe(e, n, r = {}) {
i.removeEventListener("pointermove", g), i.removeEventListener("pointerleave", _);
});
}
-function tIe(e, t) {
+function _Ie(e, t) {
let n = navigator.mediaSession;
if (!n || typeof n.setActionHandler != "function") return;
let r = () => p(e.duration()) || p(t.duration) || 0, i = (t) => {
@@ -72087,11 +72527,11 @@ function tIe(e, t) {
} catch {}
});
}
-function nIe(e) {
+function vIe(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 rIe(e, n) {
+function yIe(e, n) {
t(`/api/assets/${n}/subtitles`).then((t) => {
!e || e.isDisposed() || (t?.subtitles || []).filter((e) => e.playable).forEach((t) => {
e.addRemoteTextTrack({
@@ -72106,7 +72546,7 @@ function rIe(e, n) {
}
//#endregion
//#region src/player/stream.ts
-function iIe() {
+function bIe() {
return globalThis.crypto?.randomUUID?.() || `${Date.now().toString(36)}-${Math.random().toString(36).slice(2)}`;
}
function W5(e, t) {
@@ -72115,14 +72555,14 @@ function W5(e, t) {
type: String(e.name || "").toLowerCase().endsWith(".webm") ? "video/webm" : "video/mp4"
};
}
-function aIe(e) {
+function xIe(e) {
return e.location === "online" && e.follow_item_id ? {
src: `/follow-stream?id=${e.follow_item_id}`,
type: "video/mp4"
} : null;
}
-async function oIe(e, n) {
- let r = aIe(e);
+async function SIe(e, n) {
+ let r = xIe(e);
if (r) return r;
try {
let r = await t(`/api/stream-plan?id=${e.id}&session=${encodeURIComponent(n)}`);
@@ -72133,7 +72573,7 @@ async function oIe(e, n) {
} catch {}
return W5(e, n);
}
-function sIe(e) {
+function CIe(e) {
e && fetch(`/api/stream-cancel?session=${encodeURIComponent(e)}`, {
method: "POST",
credentials: "same-origin",
@@ -72147,16 +72587,16 @@ function K5() {
return G5;
}
function q5() {
- return G5 ||= iIe(), G5;
+ return G5 ||= bIe(), G5;
}
-var cIe = (e) => W5(e, q5()), lIe = (e) => oIe(e, q5());
+var wIe = (e) => W5(e, q5()), TIe = (e) => SIe(e, q5());
function J5() {
let e = G5;
- e && (G5 = "", sIe(e));
+ e && (G5 = "", CIe(e));
}
//#endregion
//#region src/player/telemetry.ts
-function uIe(e, n, r = {}) {
+function EIe(e, n, r = {}) {
if (!n) return;
let i = 0, a = 0, o = 0, s = null;
n.addEventListener("seeking", () => {
@@ -72204,7 +72644,7 @@ function uIe(e, n, r = {}) {
d(), u(!1);
}, { once: !0 }), l();
}
-function dIe(e, n) {
+function DIe(e, n) {
let r = 0, i = 0, a = !1, o = null, s = (r) => {
let a = p(e.duration) || p(n.duration);
!i && !r || (t("/api/follow/activity", {
@@ -72253,7 +72693,7 @@ var Y5 = "/vendor/videojs/8.24.1/", X5 = (e) => new Promise((t, n) => {
i.remove(), n(/* @__PURE__ */ Error(`script unavailable: ${e}`));
}, { once: !0 }), r || (i.src = e, document.head.appendChild(i));
}), Z5 = () => globalThis.videojs, Q5 = null;
-function fIe() {
+function OIe() {
let e = Z5();
return e ? Promise.resolve(e) : (Q5 ??= X5(`${Y5}video.min.js`).then(() => X5(`${Y5}lang/zh-CN.js`)).then(() => {
let e = Z5();
@@ -72269,14 +72709,14 @@ var $5 = /* @__PURE__ */ new WeakMap(), e7 = null, t7 = null, n7 = null;
function r7() {
e7 &&= (clearInterval(e7), null), t7 &&= (clearInterval(t7), null), n7 &&= (clearTimeout(n7), null);
}
-async function pIe(e, t, n, r = {}) {
+async function kIe(e, t, n, r = {}) {
let o = D5();
if (o && !o.isDisposed()) return o;
let c = x5(), u = r.resume ?? null;
u?.autoplay && (n = !0);
- let d = () => r.source ? Promise.resolve(r.source) : lIe(e), f;
+ let d = () => r.source ? Promise.resolve(r.source) : TIe(e), f;
try {
- f = await fIe();
+ f = await OIe();
} catch {
return t.controls = !0, d().then((e) => {
t.src = e.src, n && t.play().catch(() => {});
@@ -72296,7 +72736,7 @@ async function pIe(e, t, n, r = {}) {
remainingTimeDisplay: !1
}
});
- O5(m), m.peachItem = e, UFe(m), m.on("loadedmetadata", () => {
+ O5(m), m.peachItem = e, aIe(m), m.on("loadedmetadata", () => {
let e = m.el()?.querySelector("video");
e?.videoWidth && e.videoHeight && m.el().style.setProperty("--peach-video-ratio", `${e.videoWidth}/${e.videoHeight}`);
});
@@ -72304,7 +72744,7 @@ async function pIe(e, t, n, r = {}) {
speed: [],
activity: [],
buffer: []
- }, _ = Number(r.size ?? e.size) || 0, v = GFe(M5(_, e.duration)), y = 0, b = !1, x = () => D5() === m && !m.isDisposed(), S = () => {
+ }, _ = Number(r.size ?? e.size) || 0, v = sIe(M5(_, e.duration)), y = 0, b = !1, x = () => D5() === m && !m.isDisposed(), S = () => {
if (!h || b || !x()) return;
let e = Number(m.duration());
(!Number.isFinite(e) || Math.abs(e - h) > Math.max(2, h * .001)) && (b = !0, m.duration(h), queueMicrotask(() => {
@@ -72367,7 +72807,7 @@ async function pIe(e, t, n, r = {}) {
if (!n || m.isDisposed()) return;
let r = C();
r || v.sample(t);
- let a = R5(m, e.id, K5(), r ? null : v), o = r ? z5(a) : JFe(a, A5(t));
+ let a = R5(m, e.id, K5(), r ? null : v), o = r ? z5(a) : uIe(a, A5(t));
n.innerHTML = `${l("gauge")}<span class="sr-only">加载速度</span><span>${i(o)}</span>`;
}, O = () => {
let e = w.chrome?.netBadge;
@@ -72387,7 +72827,7 @@ async function pIe(e, t, n, r = {}) {
D(), k();
}), m.on("error", () => {
if (T && !E && !m.isDisposed()) {
- E = !0, T = !1, m.src(cIe(e)), n && m.play()?.catch(() => {});
+ E = !0, T = !1, m.src(wIe(e)), n && m.play()?.catch(() => {});
return;
}
r.checkSourceStatus !== !1 && c.loadSourceStatus().then((t) => {
@@ -72398,24 +72838,24 @@ async function pIe(e, t, n, r = {}) {
});
}), m.ready(() => {
S();
- let n = ZFe(m, t, e.height, r.qualities ?? null);
+ let n = pIe(m, t, e.height, r.qualities ?? null);
r.mediaPromise?.then((t) => {
if (!x()) return;
n?.(t?.qualities?.length ? t.qualities : null);
let r = Number(t?.size) || 0;
r > 0 && !_ && (_ = r, v.bitrate = M5(r, e.duration));
- }).catch(() => {}), eIe(m, e, { thumbnail: !r.source }), tIe(m, e), nIe(m), r.source || rIe(m, e.id), w.ready = !0, w.chrome?.statsButton && (w.chrome.statsButton.hidden = !1);
+ }).catch(() => {}), gIe(m, e, { thumbnail: !r.source }), _Ie(m, e), vIe(m), r.source || yIe(m, e.id), w.ready = !0, w.chrome?.statsButton && (w.chrome.statsButton.hidden = !1);
}), d().then((e) => {
x() && (T = String(e.type || "").includes("mpegurl"), m.src(e), S(), setTimeout(S, 0), setTimeout(S, 250), u && u.time > 0 && m.one("loadedmetadata", () => {
m.isDisposed() || m.currentTime(u.time);
}), n && m.play()?.catch(() => {}));
}).catch(() => {}), m;
}
-var mIe = "<canvas data-ambient-canvas=\"\" width=\"32\" height=\"18\"></canvas>";
+var AIe = "<canvas data-ambient-canvas=\"\" width=\"32\" height=\"18\"></canvas>";
function i7(e, t = null) {
- if (e.querySelector(":scope > [data-ambient-canvas]") || e.insertAdjacentHTML("afterbegin", mIe), e.querySelector(":scope > #playerStatsBtn")) return;
+ if (e.querySelector(":scope > [data-ambient-canvas]") || e.insertAdjacentHTML("afterbegin", AIe), e.querySelector(":scope > #playerStatsBtn")) return;
let n = document.createElement("template");
- n.innerHTML = KFe(), e.insertBefore(n.content, t);
+ n.innerHTML = cIe(), e.insertBefore(n.content, t);
}
function a7(e, t) {
let n = $5.get(e);
@@ -72444,7 +72884,7 @@ function a7(e, t) {
};
document.addEventListener(F5, t), s = () => document.removeEventListener(F5, t);
}
- let c = e.el().querySelector("video"), l = c ? XFe(c) : () => {}, u = !0, d = () => {
+ let c = e.el().querySelector("video"), l = c ? fIe(c) : () => {}, u = !0, d = () => {
u && (u = !1, s(), l(), n.chrome === i && (n.chrome = null, r7()));
};
return e.one("dispose", d), d;
@@ -72487,7 +72927,7 @@ function s7(e, n) {
method: "POST",
body: JSON.stringify({ id: i.id })
}).catch(() => {});
- }, { once: !0 }), uIe(i, e, {
+ }, { once: !0 }), EIe(i, e, {
watched: "#watched",
mark: "#mark",
ratio: "#ratioTxt"
@@ -72496,7 +72936,7 @@ function s7(e, n) {
let d = null, f = !1, p = () => {}, m = () => {
p(), !(!d || o?.(d)) && (D5() === d && (O5(null), r7()), o7(d));
};
- return pIe(i, e, n.autoplay ?? c.settings().detailAutoplay, u).then((t) => {
+ return kIe(i, e, n.autoplay ?? c.settings().detailAutoplay, u).then((t) => {
if (d = t, f) {
m();
return;
@@ -72505,18 +72945,18 @@ function s7(e, n) {
s?.(null);
return;
}
- l && (p = a7(t, l)), r === "follow" && dIe(i, e), s?.(t);
+ l && (p = a7(t, l)), r === "follow" && DIe(i, e), s?.(t);
}), () => {
f = !0, m();
};
}
//#endregion
//#region src/react/follow-detail/follow-detail.ts
-var c7 = (e) => ["follow-item", e], hIe = (e) => `/api/follow?item=${encodeURIComponent(e)}`, gIe = "/api/follow/save", _Ie = "/api/follow/media/hide";
+var c7 = (e) => ["follow-item", e], jIe = (e) => `/api/follow?item=${encodeURIComponent(e)}`, MIe = "/api/follow/save", NIe = "/api/follow/media/hide";
async function l7(e, t) {
- let n = await wi(hIe(e), t);
+ let n = await wi(jIe(e), t);
for (let t of n.groups || []) {
- let r = SM(t).find((t) => t.id === e);
+ let r = jN(t).find((t) => t.id === e);
if (r) return {
item: r,
group: t,
@@ -72526,10 +72966,10 @@ async function l7(e, t) {
}
throw Error("这条关注内容已不存在");
}
-async function vIe(e, t) {
- let n = c7(e.id), r = sle(e.id), i = q.getQueryData(vM) ? null : q.fetchQuery({
- queryKey: vM,
- queryFn: () => yM(t)
+async function PIe(e, t) {
+ let n = c7(e.id), r = _ce(e.id), i = q.getQueryData(DN) ? null : q.fetchQuery({
+ queryKey: DN,
+ queryFn: () => ON(t)
});
r ? q.setQueryData(n, {
...r,
@@ -72539,8 +72979,8 @@ async function vIe(e, t) {
queryFn: () => l7(e.id, t)
}), await i;
}
-function yIe(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 && DM(t).length > 1 ? t : null, p = s?.media_kind || e.media_kind || "", m = (u ? [...c, e] : [s, e]).filter((e) => !!e && (e.width || 0) > 0 && (e.height || 0) > 0);
+function FIe(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 && IN(t).length > 1 ? t : null, p = s?.media_kind || e.media_kind || "", m = (u ? [...c, e] : [s, e]).filter((e) => !!e && (e.width || 0) > 0 && (e.height || 0) > 0);
return {
embedded: i,
selected: s,
@@ -72554,32 +72994,32 @@ function yIe(e, t, n, r) {
src: e.playable ? `/follow-stream?id=${e.id}${s ? `&media=${s.index}` : ""}` : ""
};
}
-var bIe = (e) => SM(e).find((e) => (e.media_items || []).some((e) => e.resource_group)), xIe = {
+var IIe = (e) => jN(e).find((e) => (e.media_items || []).some((e) => e.resource_group)), LIe = {
"gofile.io": "Gofile",
"pixeldrain.com": "Pixeldrain",
"mega.nz": "MEGA",
"mega.io": "MEGA",
"mediafire.com": "MediaFire",
"drive.google.com": "Google Drive"
-}, SIe = {
+}, RIe = {
gofile: "Gofile",
pixeldrain: "Pixeldrain",
mega: "MEGA",
mediafire: "MediaFire",
google_drive: "Google Drive"
};
-function CIe(e) {
+function zIe(e) {
try {
let t = new URL(e).hostname.replace(/^www\./, "");
- return xIe[t] || t;
+ return LIe[t] || t;
} catch {
return "外部文件页";
}
}
function u7(e, t) {
- return SIe[e?.resource_provider || ""] || t.provider_label || t.provider || "在线图片";
+ return RIe[e?.resource_provider || ""] || t.provider_label || t.provider || "在线图片";
}
-function wIe(e, t, n = "") {
+function BIe(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;
@@ -72588,16 +73028,16 @@ function wIe(e, t, n = "") {
title: e.is_release && t.author ? `${t.author}:${i}` : i
};
}
-var TIe = (e) => String(e.name || "").trim(), d7 = (e, t) => e.tag_types?.[t] || "unknown", EIe = /* @__PURE__ */ new Set([
+var VIe = (e) => String(e.name || "").trim(), d7 = (e, t) => e.tag_types?.[t] || "unknown", HIe = /* @__PURE__ */ new Set([
"artist",
"character",
"copyright",
"metadata",
"unknown"
]);
-function DIe(e, t) {
+function UIe(e, t) {
let n = d7(e, t);
- return `r34-${EIe.has(n) ? n : "general"}`;
+ return `r34-${HIe.has(n) ? n : "general"}`;
}
var f7 = [
"copyright",
@@ -72606,23 +73046,23 @@ var f7 = [
"general",
"metadata"
];
-function OIe(e, t) {
+function WIe(e, t) {
let n = e.detail_tags || e.tags || [], r = (t) => {
let n = f7.indexOf(d7(e, t));
return n < 0 ? f7.length : n;
};
return [...n].sort((e, n) => r(e) - r(n) || t(e).localeCompare(t(n)));
}
-function kIe(e, t) {
+function GIe(e, t) {
let n = t.find((t) => t.id === e.source_id), r = t.filter((e) => n?.author_key && e.author_key === n.author_key);
return !r.length && n && r.push(n), r;
}
-var AIe = (e, t) => ({
+var KIe = (e, t) => ({
sources: e.sources,
aliases: e.aliases,
credentials: t
}), p7 = (e) => e?.size ? { size: e.size } : {};
-function jIe(e, t) {
+function qIe(e, t) {
let { images: n, kind: r, src: i, selected: a } = t;
return n.length ? n.map((t, r) => ({
src: `/follow-stream?id=${e.id}&media=${t.index}`,
@@ -72649,7 +73089,7 @@ function jIe(e, t) {
total: 1
}] : [];
}
-var MIe = (e) => e === "seen" ? "已标记看过" : "已更新关注状态";
+var JIe = (e) => e === "seen" ? "已标记看过" : "已更新关注状态";
//#endregion
//#region src/react/components/mix-queue.tsx
function m7({ kind: e, title: t, summary: n, onClose: r, actions: i, listRef: a, children: o, ...s }) {
@@ -72703,29 +73143,29 @@ function h7({ current: e, pic: t, lead: n, after: r, row: i, children: a, ...o }
}), r]
});
}
-var NIe = ({ label: e, count: t }) => /* @__PURE__ */ (0, z.jsxs)("h3", {
+var YIe = ({ label: e, count: t }) => /* @__PURE__ */ (0, z.jsxs)("h3", {
"data-mix-group-label": "",
children: [
e,
" ",
/* @__PURE__ */ (0, z.jsx)("span", { children: t })
]
-}), g7 = (e) => Number(e) > 0, PIe = ({ name: e }) => /* @__PURE__ */ (0, z.jsx)("span", {
+}), g7 = (e) => Number(e) > 0, XIe = ({ name: e }) => /* @__PURE__ */ (0, z.jsx)("span", {
className: "contents",
dangerouslySetInnerHTML: { __html: l(e) }
}), _7 = l("external-link", "externalmark");
-function FIe(e) {
+function ZIe(e) {
let { id: t, actions: n } = e, r = Nn({
queryKey: c7(t),
queryFn: ({ signal: e }) => l7(t, e)
}), i = Nn({
- queryKey: vM,
- queryFn: ({ signal: e }) => yM(e)
+ queryKey: DN,
+ queryFn: ({ signal: e }) => ON(e)
}), a = (0, R.useMemo)(() => new Set((i.data?.providers || []).filter((e) => e.present).map((e) => e.provider)), [i.data]), [o, s] = (0, R.useState)(e.mediaIndex);
- return r.data ? /* @__PURE__ */ (0, z.jsx)(IIe, {
+ return r.data ? /* @__PURE__ */ (0, z.jsx)(QIe, {
...e,
data: r.data,
- context: AIe(r.data, a),
+ context: KIe(r.data, a),
mediaIndex: o,
onMedia: s
}) : /* @__PURE__ */ (0, z.jsx)("div", {
@@ -72753,8 +73193,8 @@ var v7 = ({ onClose: e }) => /* @__PURE__ */ (0, z.jsx)("button", {
onClick: e,
dangerouslySetInnerHTML: { __html: l("x") }
});
-function IIe({ data: e, context: t, mediaIndex: n, onMedia: r, mediaView: i, helpers: a, actions: o }) {
- let { item: s, group: c } = e, l = yIe(s, c, n, i), u = BIe(s, o, r), d = `${s.id}:${l.selected?.index ?? ""}`, [f, p] = (0, R.useState)({
+function QIe({ data: e, context: t, mediaIndex: n, onMedia: r, mediaView: i, helpers: a, actions: o }) {
+ let { item: s, group: c } = e, l = FIe(s, c, n, i), u = nLe(s, o, r), d = `${s.id}:${l.selected?.index ?? ""}`, [f, p] = (0, R.useState)({
key: "",
kind: ""
}), m = {
@@ -72774,7 +73214,7 @@ function IIe({ data: e, context: t, mediaIndex: n, onMedia: r, mediaView: i, hel
s,
l.kind
]);
- let h = !l.embedded.length && l.collection ? bIe(l.collection) : void 0, g = l.embeddedQueue ? /* @__PURE__ */ (0, z.jsx)(S7, {
+ let h = !l.embedded.length && l.collection ? IIe(l.collection) : void 0, g = l.embeddedQueue ? /* @__PURE__ */ (0, z.jsx)(S7, {
item: s,
current: l.selected.index,
helpers: a,
@@ -72787,7 +73227,7 @@ function IIe({ data: e, context: t, mediaIndex: n, onMedia: r, mediaView: i, hel
actions: o,
onMedia: r,
currentId: s.id
- }) : /* @__PURE__ */ (0, z.jsx)(RIe, {
+ }) : /* @__PURE__ */ (0, z.jsx)(eLe, {
group: l.collection,
itemId: s.id,
helpers: a,
@@ -72798,7 +73238,7 @@ function IIe({ data: e, context: t, mediaIndex: n, onMedia: r, mediaView: i, hel
"data-with-queue": g ? "" : void 0,
"data-follow-detail": "",
children: [
- /* @__PURE__ */ (0, z.jsx)(LIe, {
+ /* @__PURE__ */ (0, z.jsx)($Ie, {
item: s,
media: l,
helpers: a,
@@ -72807,7 +73247,7 @@ function IIe({ data: e, context: t, mediaIndex: n, onMedia: r, mediaView: i, hel
issues: m
}, d),
g,
- /* @__PURE__ */ (0, z.jsx)(zIe, {
+ /* @__PURE__ */ (0, z.jsx)(tLe, {
item: s,
data: e,
context: t,
@@ -72820,8 +73260,8 @@ function IIe({ data: e, context: t, mediaIndex: n, onMedia: r, mediaView: i, hel
]
});
}
-function LIe({ item: e, media: t, helpers: n, actions: r, onMedia: i, issues: a }) {
- let { kind: o, selected: s, src: c, images: u, position: d, carousel: f, frameRatio: p } = t, m = (0, R.useRef)(null), [h, g] = (0, R.useState)(null), _ = jIe(e, t), v = s?.thumb_url || e.thumb_url || "", y = e.playable && o === "video", b = e.playable && o === "image" ? c : e.thumb_url || "", x = e.playable && o === "image" && v && v !== c ? v : "", [S, C] = (0, R.useState)(b), w = (0, R.useRef)({
+function $Ie({ item: e, media: t, helpers: n, actions: r, onMedia: i, issues: a }) {
+ let { kind: o, selected: s, src: c, images: u, position: d, carousel: f, frameRatio: p } = t, m = (0, R.useRef)(null), [h, g] = (0, R.useState)(null), _ = qIe(e, t), v = s?.thumb_url || e.thumb_url || "", y = e.playable && o === "video", b = e.playable && o === "image" ? c : e.thumb_url || "", x = e.playable && o === "image" && v && v !== c ? v : "", [S, C] = (0, R.useState)(b), w = (0, R.useRef)({
item: e,
selected: s
}), T = (0, R.useRef)(a.failed);
@@ -72858,7 +73298,7 @@ function LIe({ item: e, media: t, helpers: n, actions: r, onMedia: i, issues: a
src: S,
alt: e.title,
referrerPolicy: "no-referrer",
- onClick: _.length ? () => void Xk(Math.max(0, d), _) : void 0,
+ onClick: _.length ? () => void sA(Math.max(0, d), _) : void 0,
onError: () => {
if (x && S !== x) {
C(x), a.thumbFallback();
@@ -72928,8 +73368,8 @@ function x7(e) {
t && e.wireDrag(t);
}, [e]);
}
-function RIe({ group: e, itemId: t, helpers: n, actions: r }) {
- let i = DM(e), a = x7(n);
+function eLe({ group: e, itemId: t, helpers: n, actions: r }) {
+ let i = IN(e), a = x7(n);
return /* @__PURE__ */ (0, z.jsx)(m7, {
kind: "collection",
"data-follow-queue": "",
@@ -72938,7 +73378,7 @@ function RIe({ group: e, itemId: t, helpers: n, actions: r }) {
listRef: a,
summary: `${e.primary.title || "未命名合集"} · ${i.length} 个视频`,
children: i.map((i) => {
- let a = e.duplicates.includes(i), s = wIe(e, i, a ? i.provider_label : ""), c = a ? n.sourceIcon(i.provider, i.provider_label) : "";
+ let a = e.duplicates.includes(i), s = BIe(e, i, a ? i.provider_label : ""), c = a ? n.sourceIcon(i.provider, i.provider_label) : "";
return /* @__PURE__ */ (0, z.jsxs)(h7, {
current: i.id === t,
"data-follow-queue-item": i.id,
@@ -72986,7 +73426,7 @@ function S7({ item: e, current: t, currentId: n = e.id, helpers: r, actions: i,
onClose: i.close,
listRef: s,
summary: `${e.title || "未命名内容"} · ${o.length} 个媒体`,
- children: c.map((n) => [n.label ? /* @__PURE__ */ (0, z.jsx)(NIe, {
+ children: c.map((n) => [n.label ? /* @__PURE__ */ (0, z.jsx)(YIe, {
label: n.label,
count: n.items.length
}, `label:${n.key}`) : null, ...n.items.map((n) => /* @__PURE__ */ (0, z.jsxs)(h7, {
@@ -72998,7 +73438,7 @@ function S7({ item: e, current: t, currentId: n = e.id, helpers: r, actions: i,
pic: n.thumb_url ? /* @__PURE__ */ (0, z.jsx)(b7, { src: n.thumb_url }) : /* @__PURE__ */ (0, z.jsx)(y7, { kind: n.media_kind || "" }),
children: [/* @__PURE__ */ (0, z.jsx)("b", {
"data-middle-truncate": "",
- children: TIe(n)
+ children: VIe(n)
}), /* @__PURE__ */ (0, z.jsx)("span", {
"data-truncate-end": "",
children: n.media_kind === "image" ? "图片" : "视频"
@@ -73006,13 +73446,13 @@ function S7({ item: e, current: t, currentId: n = e.id, helpers: r, actions: i,
}, n.index))])
});
}
-function zIe({ item: e, data: t, context: n, media: r, write: a, issue: s, helpers: u, actions: d }) {
+function tLe({ item: e, data: t, context: n, media: r, write: a, issue: s, helpers: u, actions: d }) {
let { kind: f, selected: p, src: m } = r, h = {
primary: e,
variants: [],
duplicates: [],
has_wip: e.variant_kind === "wip"
- }, g = u.badges(h, e), _ = u.identity(e, kIe(e, t.sources), n), v = _.credited ? "" : e.author && c(e.author) !== c(_.author) ? e.author : "", y = u.mediaIssue(e, n), b = OIe(e, u.tagLabel), x = e.status === "saved", { busy: S } = a, C = (e) => S.has(e) ? {
+ }, g = u.badges(h, e), _ = u.identity(e, GIe(e, t.sources), n), v = _.credited ? "" : e.author && c(e.author) !== c(_.author) ? e.author : "", y = u.mediaIssue(e, n), b = WIe(e, u.tagLabel), x = e.status === "saved", { busy: S } = a, C = (e) => S.has(e) ? {
"aria-busy": !0,
"aria-disabled": !0
} : {};
@@ -73092,7 +73532,7 @@ function zIe({ item: e, data: t, context: n, media: r, write: a, issue: s, helpe
href: e,
target: "_blank",
rel: "noreferrer noopener",
- children: [CIe(e), /* @__PURE__ */ (0, z.jsx)("span", {
+ children: [zIe(e), /* @__PURE__ */ (0, z.jsx)("span", {
className: "contents",
dangerouslySetInnerHTML: { __html: _7 }
})]
@@ -73182,7 +73622,7 @@ function zIe({ item: e, data: t, context: n, media: r, write: a, issue: s, helpe
"aria-label": `恢复显示 ${e.name || ""}`,
...C(`restore:${e.index}`),
onClick: () => a.restore(e.index),
- children: [e.thumb_url ? /* @__PURE__ */ (0, z.jsx)(b7, { src: e.thumb_url }) : /* @__PURE__ */ (0, z.jsx)(PIe, { name: "image-off" }), /* @__PURE__ */ (0, z.jsx)("i", { dangerouslySetInnerHTML: { __html: l("rotate-ccw") } })]
+ children: [e.thumb_url ? /* @__PURE__ */ (0, z.jsx)(b7, { src: e.thumb_url }) : /* @__PURE__ */ (0, z.jsx)(XIe, { name: "image-off" }), /* @__PURE__ */ (0, z.jsx)("i", { dangerouslySetInnerHTML: { __html: l("rotate-ccw") } })]
}, e.index))
})]
}) : null,
@@ -73197,7 +73637,7 @@ function zIe({ item: e, data: t, context: n, media: r, write: a, issue: s, helpe
children: b.map((t) => /* @__PURE__ */ (0, z.jsx)("button", {
type: "button",
className: "tg",
- "data-tag-cat": DIe(e, t),
+ "data-tag-cat": UIe(e, t),
"data-follow-tag": t,
onClick: () => d.openTag(t),
children: u.tagLabel(t)
@@ -73207,7 +73647,7 @@ function zIe({ item: e, data: t, context: n, media: r, write: a, issue: s, helpe
})
});
}
-function BIe(e, t, n) {
+function nLe(e, t, n) {
let r = e.id, i = c7(r), [a, o] = (0, R.useState)(() => /* @__PURE__ */ new Set()), [s, c] = (0, R.useState)(""), l = (e, t) => o((n) => {
let r = new Set(n);
return t ? r.add(e) : r.delete(e), r;
@@ -73218,17 +73658,17 @@ function BIe(e, t, n) {
...t.item,
status: e
}
- }), lle(r, e);
+ }), yce(r, e);
}, d = (e) => {
c(m(e) || "操作失败"), t.failure("更新关注状态", e);
}, f = Pn({
- mutationFn: ({ to: e }) => W(Fj, {
+ mutationFn: ({ to: e }) => W(_M, {
item: r,
to: e
}),
onSuccess: (e, { to: n, was: i }) => {
- u(n), c(""), t.toast(MIe(n), { undo: i === "saved" ? void 0 : async () => {
- await W(Fj, {
+ u(n), c(""), t.toast(JIe(n), { undo: i === "saved" ? void 0 : async () => {
+ await W(_M, {
item: r,
to: i
}), u(i);
@@ -73237,7 +73677,7 @@ function BIe(e, t, n) {
onError: d,
onSettled: (e, t, { to: n }) => l(n, !1)
}), p = Pn({
- mutationFn: () => W(gIe, { item: r }),
+ mutationFn: () => W(MIe, { item: r }),
onSuccess: () => {
u("saved"), c(""), t.toast("已保存到账本");
},
@@ -73245,7 +73685,7 @@ function BIe(e, t, n) {
onSettled: () => l("save", !1)
}), h = Pn({
mutationFn: async ({ index: e, hidden: t }) => {
- await W(_Ie, {
+ await W(NIe, {
item: r,
media: e,
hidden: t
@@ -73256,7 +73696,7 @@ function BIe(e, t, n) {
},
onSuccess: (e, { hidden: r, next: a }) => {
let o = q.getQueryData(i);
- o && cle(o.item), n(a), c(""), t.toast(r ? "已隐藏这张图" : "已恢复显示");
+ o && vce(o.item), n(a), c(""), t.toast(r ? "已隐藏这张图" : "已恢复显示");
},
onError: d,
onSettled: (e, t, { index: n, hidden: r }) => l(`${r ? "hide" : "restore"}:${n}`, !1)
@@ -73296,13 +73736,13 @@ var C7 = (e) => ["item", e], w7 = (e) => [
"item-queue",
e.kind,
e.kind === "playlist" ? e.playlistId : e.seedId
-], VIe = (e, t) => [
+], rLe = (e, t) => [
"item-related",
e,
t
-], HIe = (e) => `/api/item?id=${e}`, UIe = (e, t) => `/api/related?id=${e}&limit=${t}`, T7 = "/api/playlist", WIe = "/api/feedback", E7 = "/api/item-tag", D7 = "/api/watch-later", O7 = "/api/quality-goal", k7 = "/api/preference", A7 = class extends Error {};
+], iLe = (e) => `/api/item?id=${e}`, aLe = (e, t) => `/api/related?id=${e}&limit=${t}`, T7 = "/api/playlist", oLe = "/api/feedback", E7 = "/api/item-tag", D7 = "/api/watch-later", O7 = "/api/quality-goal", k7 = "/api/preference", A7 = class extends Error {};
async function j7(e, t) {
- let n = await wi(HIe(e), t);
+ let n = await wi(iLe(e), t);
if (n.error) throw new A7(n.error);
return n;
}
@@ -73336,7 +73776,7 @@ var N7 = (e) => ({
function P7(e, t) {
return e.kind === "mix" ? t : e.items.length ? t != null && e.items.some((e) => e.id === t) ? t : e.kind === "playlist" && e.currentAssetId || e.items[0].id : null;
}
-function GIe(e, t) {
+function sLe(e, t) {
if (t?.kind !== "parts") return e;
let n = t.items.find((t) => t.id === e.id)?.part_label || "";
return e.part_label === n ? e : {
@@ -73344,7 +73784,7 @@ function GIe(e, t) {
part_label: n
};
}
-async function KIe(e, t) {
+async function cLe(e, t) {
let { queue: n, actions: r } = e, i = null;
if (n) {
let a = w7(n);
@@ -73387,7 +73827,7 @@ async function KIe(e, t) {
id: Number(o.follow_item_id)
});
}
-function qIe(e) {
+function lLe(e) {
let t = e.entity_refs || {}, n = /* @__PURE__ */ new Set(), r = (e) => {
let t = c(e.name);
return !e.name || n.has(t) ? !1 : (n.add(t), !0);
@@ -73408,14 +73848,14 @@ function qIe(e) {
unowned: !i.length && !l.length && !String(e.creator || "").trim()
};
}
-var F7 = (e) => Math.min(Math.max(e || 0, 0), 100), I7 = (e) => Math.round(F7(e) / 20), JIe = (e) => {
+var F7 = (e) => Math.min(Math.max(e || 0, 0), 100), I7 = (e) => Math.round(F7(e) / 20), uLe = (e) => {
let t = I7(e);
return t ? `${t} 星` : "未评分";
-}, YIe = (e, t) => {
+}, dLe = (e, t) => {
let n = t * 20;
return n === (e || 0) ? 0 : n;
};
-function XIe(e, t) {
+function fLe(e, t) {
let n = /* @__PURE__ */ new Map();
return (e.tags || []).filter((e) => !t.isDurationTag(e.k)).forEach((e) => {
let r = c(t.tagLabel(e.k)), i = n.get(r);
@@ -73437,13 +73877,13 @@ function V7() {
return [];
}
}
-function ZIe(e) {
+function pLe(e) {
try {
let t = V7().filter((t) => c(t) !== c(e));
localStorage.setItem(B7, JSON.stringify([e, ...t].slice(0, 12)));
} catch {}
}
-function QIe(e, t, n) {
+function mLe(e, t, n) {
let r = c(e), i = new Map(t.map((e) => [c(e.k), e])), a = t.filter((e) => !r || c(e.k).includes(r)).slice(0, 120), o = r ? [] : n.map((e) => i.get(c(e)) || {
k: e,
n: 0
@@ -73454,55 +73894,55 @@ function QIe(e, t, n) {
create: r && !s ? e.trim() : ""
};
}
-var $Ie = {
+var hLe = {
中字: "subtitle",
无码: "uncensored",
无码破解: "cracked",
有码: "censored"
-}, eLe = {
+}, gLe = {
mix: "Mix",
parts: "分卷",
editions: "版本",
playlist: "播放列表"
};
-function tLe(e) {
+function _Le(e) {
let t = e.items.length, n = e.kind === "parts" ? `${t} 卷` : e.kind === "editions" ? `${t} 个版本` : `${t} 个视频`;
return {
- title: eLe[e.kind],
+ title: gLe[e.kind],
summary: e.kind === "editions" ? n : `${e.title} · ${n}`
};
}
-var H7 = (e = "") => /^(?:\d+|[a-h])$/i.test(e) ? `第 ${e} 卷` : e, nLe = (e, t) => t?.kind === "parts" && e.part_label ? `<small class="javedition partlabel">${i(H7(e.part_label))}</small>` : "";
-function rLe(e, t, n, r) {
+var H7 = (e = "") => /^(?:\d+|[a-h])$/i.test(e) ? `第 ${e} 卷` : e, vLe = (e, t) => t?.kind === "parts" && e.part_label ? `<small class="javedition partlabel">${i(H7(e.part_label))}</small>` : "";
+function yLe(e, t, n, r) {
let i = e.filter((e) => e !== t), a = i.indexOf(n);
return i.splice(a + +!!r, 0, t), i;
}
-var iLe = (e, t) => e.length === t.length && e.every((e, n) => e === t[n]);
-function aLe(e, t) {
+var bLe = (e, t) => e.length === t.length && e.every((e, n) => e === t[n]);
+function xLe(e, t) {
return t ? "offline" : e.location === "online" && !e.follow_item_id ? "online" : e.cost === "metered" && e.location !== "online" ? "metered" : "";
}
-function oLe(e) {
+function SLe(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 sLe(e, t) {
+function CLe(e, t) {
return e === "dislike" ? t.feedback === "dislike" ? "已标记不合口味" : "已取消不合口味" : e === "seen" ? t.feedback === "seen" ? "已标记看过" : "已取消看过" : e === "dispose" ? t.disposal === "trash" ? "已移入回收站" : "已移出回收站" : "已记录一次高潮";
}
//#endregion
//#region src/react/components/overlay-host.ts
-function cLe(e) {
+function wLe(e) {
let t = e.querySelector(":scope > [data-react-overlays]");
if (t) return t;
let n = e.ownerDocument.createElement("div");
return n.className = "peach-react", n.dataset.reactOverlays = "", e.append(n), n;
}
-function lLe(e) {
+function TLe(e) {
let t = e?.ownerDocument ?? globalThis.document, n = e?.closest("dialog[open]");
- return cLe(n ?? t.body);
+ return wLe(n ?? t.body);
}
//#endregion
//#region src/react/cover-crop/cover-crop.ts
-var uLe = "/api/cover-crop", dLe = (e, t) => W(uLe, {
+var ELe = "/api/cover-crop", DLe = (e, t) => W(ELe, {
code: e,
box: t
}), U7 = .704;
@@ -73519,7 +73959,7 @@ function W7({ className: e }) {
children: /* @__PURE__ */ (0, z.jsx)("use", { href: "#i-crop" })
});
}
-function fLe({ code: e, coverUrl: t, box: n, onSaved: r }) {
+function OLe({ code: e, coverUrl: t, box: n, onSaved: r }) {
let [i, a] = (0, R.useState)(!1), o = (0, R.useRef)(null);
return /* @__PURE__ */ (0, z.jsxs)(z.Fragment, { children: [/* @__PURE__ */ (0, z.jsx)("button", {
ref: o,
@@ -73531,14 +73971,14 @@ function fLe({ 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, z.jsx)(W7, { className: "size-3.75" })
- }), /* @__PURE__ */ (0, z.jsx)(ay, {
- getContainer: () => lLe(o.current),
- children: /* @__PURE__ */ (0, z.jsx)(TA, {
+ }), /* @__PURE__ */ (0, z.jsx)(Xv, {
+ getContainer: () => TLe(o.current),
+ children: /* @__PURE__ */ (0, z.jsx)(ZA, {
isOpen: i,
onOpenChange: a,
width: "cover-crop",
label: "裁剪封面",
- children: /* @__PURE__ */ (0, z.jsx)(pLe, {
+ children: /* @__PURE__ */ (0, z.jsx)(kLe, {
code: e,
coverUrl: t,
box: n,
@@ -73548,9 +73988,9 @@ function fLe({ code: e, coverUrl: t, box: n, onSaved: r }) {
})
})] });
}
-function pLe({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {
- let [a, o] = (0, R.useState)(null), [s, c] = (0, R.useState)(null), [l, u] = (0, R.useState)(!0), d = vO(), f = Pn({
- mutationFn: (t) => dLe(e, t),
+function kLe({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {
+ let [a, o] = (0, R.useState)(null), [s, c] = (0, R.useState)(null), [l, u] = (0, R.useState)(!0), d = zO(), f = Pn({
+ mutationFn: (t) => DLe(e, t),
onSuccess: () => {
i(), r();
}
@@ -73562,15 +74002,15 @@ function pLe({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {
y0: n.y0,
x1: n.x1,
y1: n.y1
- } : oce(e, U7);
- c(xA(t, e, null));
+ } : ice(e, U7);
+ c(HA(t, e, null));
}
let m = f.isPending;
return /* @__PURE__ */ (0, z.jsxs)(z.Fragment, { children: [
/* @__PURE__ */ (0, z.jsxs)("div", {
className: "flex shrink-0 items-start gap-4 p-5",
children: [
- /* @__PURE__ */ (0, z.jsx)(EA, { children: /* @__PURE__ */ (0, z.jsx)(W7, { className: "size-6" }) }),
+ /* @__PURE__ */ (0, z.jsx)(QA, { children: /* @__PURE__ */ (0, z.jsx)(W7, { className: "size-6" }) }),
/* @__PURE__ */ (0, z.jsxs)("div", {
className: "flex min-w-0 flex-1 flex-col gap-2",
children: [
@@ -73589,7 +74029,7 @@ function pLe({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {
}) : null
]
}),
- /* @__PURE__ */ (0, z.jsx)(bO, {
+ /* @__PURE__ */ (0, z.jsx)(VO, {
icon: je,
size: "small",
"aria-label": "关闭",
@@ -73600,24 +74040,24 @@ function pLe({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {
/* @__PURE__ */ (0, z.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, z.jsx)(OA, {
+ children: /* @__PURE__ */ (0, z.jsx)(tj, {
src: t,
aspect: l ? U7 : null,
box: s,
size: a,
label: `${e} 的正封取景框`,
onSize: (e) => {
- yA(e) && p(e);
+ BA(e) && p(e);
},
onBox: c
})
}),
/* @__PURE__ */ (0, z.jsxs)("div", {
className: "flex shrink-0 flex-wrap items-center gap-3 border-t border-separator-border p-5",
- children: [/* @__PURE__ */ (0, z.jsx)(FN, {
+ children: [/* @__PURE__ */ (0, z.jsx)(VP, {
isSelected: l,
onChange: (e) => {
- u(e), e && s && a && c(xA(s, a, U7));
+ u(e), e && s && a && c(HA(s, a, U7));
},
children: /* @__PURE__ */ (0, z.jsx)("span", {
className: "text-body-2-regular text-text-secondary",
@@ -73653,7 +74093,7 @@ var G7 = ({ name: e }) => /* @__PURE__ */ (0, z.jsx)("span", {
className: "contents",
dangerouslySetInnerHTML: { __html: e }
});
-function mLe(e) {
+function ALe(e) {
let { queue: t, actions: n } = e, r = Nn({
queryKey: t ? w7(t) : ["item-queue", "none"],
queryFn: ({ signal: n }) => M7(t, e.helpers, n),
@@ -73683,9 +74123,9 @@ function mLe(e) {
})
});
}
- return /* @__PURE__ */ (0, z.jsx)(hLe, {
+ return /* @__PURE__ */ (0, z.jsx)(jLe, {
...e,
- item: GIe(o.data, i),
+ item: sLe(o.data, i),
queue: i
}, o.data.id);
}
@@ -73698,8 +74138,8 @@ var q7 = ({ onClose: e }) => /* @__PURE__ */ (0, z.jsx)("button", {
onClick: e,
dangerouslySetInnerHTML: { __html: l("x") }
});
-function hLe(e) {
- let { item: t, queue: n, actions: r, helpers: i } = e, a = jLe(t, r, e.grid.cache, i.tagLabel), o = (0, R.useRef)(t);
+function jLe(e) {
+ let { item: t, queue: n, actions: r, helpers: i } = e, a = qLe(t, r, e.grid.cache, i.tagLabel), o = (0, R.useRef)(t);
(0, R.useLayoutEffect)(() => {
r.present(o.current, n);
}, [r]), (0, R.useEffect)(() => {
@@ -73709,25 +74149,25 @@ function hLe(e) {
asset_id: t.id
}).catch(() => {});
}, []);
- let s = aLe(t, i.sourceOffline(t.location || ""));
+ let s = xLe(t, i.sourceOffline(t.location || ""));
return /* @__PURE__ */ (0, z.jsxs)(z.Fragment, { children: [/* @__PURE__ */ (0, z.jsxs)("div", {
"data-stage-grid": "",
"data-with-queue": n ? "" : void 0,
"data-item-detail": "",
children: [
- /* @__PURE__ */ (0, z.jsx)(gLe, {
+ /* @__PURE__ */ (0, z.jsx)(MLe, {
item: t,
gate: s,
helpers: i,
actions: r
}),
- n ? /* @__PURE__ */ (0, z.jsx)(vLe, {
+ n ? /* @__PURE__ */ (0, z.jsx)(PLe, {
queue: n,
itemId: t.id,
helpers: i,
actions: r
}) : null,
- /* @__PURE__ */ (0, z.jsx)(xLe, {
+ /* @__PURE__ */ (0, z.jsx)(LLe, {
item: t,
queue: n,
write: a,
@@ -73735,9 +74175,9 @@ function hLe(e) {
actions: r
})
]
- }), !n && e.relatedLimit > 0 ? /* @__PURE__ */ (0, z.jsx)(ALe, { ...e }) : null] });
+ }), !n && e.relatedLimit > 0 ? /* @__PURE__ */ (0, z.jsx)(KLe, { ...e }) : null] });
}
-function gLe({ item: e, gate: t, helpers: n, actions: r }) {
+function MLe({ item: e, gate: t, helpers: n, actions: r }) {
let [i, a] = (0, R.useState)(t ? "" : "auto"), o = (0, R.useRef)(null), c = (0, R.useRef)(e);
(0, R.useLayoutEffect)(() => {
let e = o.current;
@@ -73748,7 +74188,7 @@ function gLe({ item: e, gate: t, helpers: n, actions: r }) {
ref: o,
"data-stage-media": "",
"data-item-media": t || "video",
- children: [/* @__PURE__ */ (0, z.jsx)(q7, { onClose: r.close }), t === "offline" ? /* @__PURE__ */ (0, z.jsx)(_Le, {
+ children: [/* @__PURE__ */ (0, z.jsx)(q7, { onClose: r.close }), t === "offline" ? /* @__PURE__ */ (0, z.jsx)(NLe, {
item: e,
badge: l,
helpers: n,
@@ -73777,7 +74217,7 @@ function gLe({ item: e, gate: t, helpers: n, actions: r }) {
}) : null]
});
}
-function _Le({ item: e, badge: t, helpers: n, actions: r }) {
+function NLe({ item: e, badge: t, helpers: n, actions: r }) {
let [i, a] = (0, R.useState)(!1), [o, s] = (0, R.useState)(!1), c = async () => {
a(!0);
let t = await r.checkSource(e.location || "").catch(() => !1);
@@ -73802,8 +74242,8 @@ function _Le({ item: e, badge: t, helpers: n, actions: r }) {
]
});
}
-function vLe({ queue: e, itemId: t, helpers: n, actions: r }) {
- let i = tLe(e), a = (0, R.useRef)(null), s = bLe(e, t, r), c = (0, R.useRef)(s);
+function PLe({ queue: e, itemId: t, helpers: n, actions: r }) {
+ let i = _Le(e), a = (0, R.useRef)(null), s = ILe(e, t, r), c = (0, R.useRef)(s);
c.current = s;
let u = (0, R.useCallback)((t) => {
a.current = t, t && (n.wireDrag(t), e.kind === "playlist" && n.wireDragReorder(t, {
@@ -73811,7 +74251,7 @@ function vLe({ queue: e, itemId: t, helpers: n, actions: r }) {
attribute: "data-queue-row",
onMove: (e, t, n) => c.current.move(+e, +t, n)
}));
- }, [n, e.kind]), d = yLe(e, r), f = e.kind === "mix" ? /* @__PURE__ */ (0, z.jsx)("button", {
+ }, [n, e.kind]), d = FLe(e, r), f = e.kind === "mix" ? /* @__PURE__ */ (0, z.jsx)("button", {
type: "button",
"data-save-mix": "",
title: "保存为播放列表",
@@ -73839,7 +74279,7 @@ function vLe({ queue: e, itemId: t, helpers: n, actions: r }) {
listRef: u,
children: e.items.map((i) => {
let a = e.kind === "editions" && i.edition_label ? /* @__PURE__ */ (0, z.jsx)("i", {
- className: `javedition ${$Ie[i.edition_label] || "censored"}`,
+ className: `javedition ${hLe[i.edition_label] || "censored"}`,
"data-queue-edition": "",
children: i.edition_label
}) : null;
@@ -73883,7 +74323,7 @@ function vLe({ queue: e, itemId: t, helpers: n, actions: r }) {
})
});
}
-function yLe(e, t) {
+function FLe(e, t) {
let n = Pn({ mutationFn: (t) => W(T7, {
action: "create",
name: t,
@@ -73897,7 +74337,7 @@ function yLe(e, t) {
save: (e) => n.mutateAsync(e)
});
}
-function bLe(e, t, n) {
+function ILe(e, t, n) {
let r = w7({
kind: "playlist",
playlistId: e.playlistId
@@ -73917,8 +74357,8 @@ function bLe(e, t, n) {
return {
move: async (t, r, c) => {
if (e.kind !== "playlist") return;
- let l = rLe(s, t, r, c);
- if (iLe(l, s)) return;
+ let l = yLe(s, t, r, c);
+ if (bLe(l, s)) return;
let u = s;
await o.mutateAsync(l), n.toast("已调整播放顺序", { undo: async () => {
i(await a({
@@ -73964,7 +74404,7 @@ function bLe(e, t, n) {
}
};
}
-function xLe({ item: e, queue: t, write: n, helpers: r, actions: i }) {
+function LLe({ item: e, queue: t, write: n, helpers: r, actions: i }) {
let a = e.location === "online", o = n.busyAttrs, [c, l] = (0, R.useState)(!1);
return /* @__PURE__ */ (0, z.jsx)("div", {
"data-stage-side": "",
@@ -73972,7 +74412,7 @@ function xLe({ item: e, queue: t, write: n, helpers: r, actions: i }) {
children: /* @__PURE__ */ (0, z.jsxs)("div", {
"data-stage-side-content": "",
children: [
- /* @__PURE__ */ (0, z.jsx)(SLe, {
+ /* @__PURE__ */ (0, z.jsx)(RLe, {
item: e,
queue: t,
helpers: r,
@@ -73984,7 +74424,7 @@ function xLe({ item: e, queue: t, write: n, helpers: r, actions: i }) {
"aria-live": "polite",
children: n.sourceState
}),
- /* @__PURE__ */ (0, z.jsx)(wLe, {
+ /* @__PURE__ */ (0, z.jsx)(BLe, {
item: e,
write: n
}),
@@ -74019,18 +74459,18 @@ function xLe({ item: e, queue: t, write: n, helpers: r, actions: i }) {
}) : null
]
}),
- /* @__PURE__ */ (0, z.jsx)(TLe, {
+ /* @__PURE__ */ (0, z.jsx)(VLe, {
item: e,
helpers: r,
actions: i
}),
- /* @__PURE__ */ (0, z.jsx)(ELe, {
+ /* @__PURE__ */ (0, z.jsx)(HLe, {
item: e,
write: n,
helpers: r,
actions: i
}),
- /* @__PURE__ */ (0, z.jsx)(OLe, { item: e }),
+ /* @__PURE__ */ (0, z.jsx)(WLe, { item: e }),
/* @__PURE__ */ (0, z.jsxs)("div", {
"data-stage-actions": "",
"data-item-feedback": "",
@@ -74124,7 +74564,7 @@ function xLe({ item: e, queue: t, write: n, helpers: r, actions: i }) {
})
]
}),
- /* @__PURE__ */ (0, z.jsx)(kLe, {
+ /* @__PURE__ */ (0, z.jsx)(GLe, {
item: e,
open: c,
write: n
@@ -74148,7 +74588,7 @@ function xLe({ item: e, queue: t, write: n, helpers: r, actions: i }) {
})
});
}
-function SLe({ item: e, queue: t, helpers: n, actions: r, onStatus: i }) {
+function RLe({ item: e, queue: t, helpers: n, actions: r, onStatus: i }) {
let a = (0, R.useRef)(null), [o, s] = (0, R.useState)(!1), [c, l] = (0, R.useState)(!1);
(0, R.useLayoutEffect)(() => {
let e = a.current;
@@ -74158,7 +74598,7 @@ function SLe({ 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) + nLe(e, t);
+ let u = () => s((e) => !e), d = n.badgeHtml(e.location || "", e.cost || "", "srcbig") + n.titleHtml(e) + vLe(e, t);
return /* @__PURE__ */ (0, z.jsx)("div", {
"data-item-title": "",
children: /* @__PURE__ */ (0, z.jsxs)("div", {
@@ -74189,7 +74629,7 @@ function SLe({ item: e, queue: t, helpers: n, actions: r, onStatus: i }) {
}),
e.has_cover && e.code ? /* @__PURE__ */ (0, z.jsx)("span", {
"data-cover-crop-host": "",
- children: /* @__PURE__ */ (0, z.jsx)(fLe, {
+ children: /* @__PURE__ */ (0, z.jsx)(OLe, {
code: e.code,
coverUrl: `/cover?code=${encodeURIComponent(e.code)}`,
box: e.poster_box || null,
@@ -74199,7 +74639,7 @@ function SLe({ item: e, queue: t, helpers: n, actions: r, onStatus: i }) {
})
})
}) : null,
- e.location === "online" ? null : /* @__PURE__ */ (0, z.jsx)(CLe, {
+ e.location === "online" ? null : /* @__PURE__ */ (0, z.jsx)(zLe, {
id: e.id,
actions: r,
onStatus: i
@@ -74209,7 +74649,7 @@ function SLe({ item: e, queue: t, helpers: n, actions: r, onStatus: i }) {
})
});
}
-function CLe({ id: e, actions: t, onStatus: n }) {
+function zLe({ id: e, actions: t, onStatus: n }) {
let [r, i] = (0, R.useState)(""), a = async () => {
r || (i("reveal"), n(""), n(await t.reveal(e)), i(""));
}, o = async () => {
@@ -74242,7 +74682,7 @@ function CLe({ id: e, actions: t, onStatus: n }) {
children: /* @__PURE__ */ (0, z.jsx)(G7, { name: "folder-sync" })
})] });
}
-function wLe({ item: e, write: t }) {
+function BLe({ item: e, write: t }) {
let n = I7(e.rating);
return /* @__PURE__ */ (0, z.jsxs)("div", {
id: "detailRating",
@@ -74271,12 +74711,12 @@ function wLe({ item: e, write: t }) {
}), /* @__PURE__ */ (0, z.jsx)("span", {
"data-rating-value": "",
"aria-live": "polite",
- children: JIe(e.rating)
+ children: uLe(e.rating)
})]
});
}
-function TLe({ item: e, helpers: t, actions: n }) {
- let r = (0, R.useMemo)(() => qIe(e), [e]), [i, a] = (0, R.useState)(!1), o = Math.max(0, r.cast.length - 8), s = (e, r, a) => {
+function VLe({ item: e, helpers: t, actions: n }) {
+ let r = (0, R.useMemo)(() => lLe(e), [e]), [i, a] = (0, R.useState)(!1), o = Math.max(0, r.cast.length - 8), s = (e, r, a) => {
let o = e === "performer" && a >= 8 && !i, s = e === "performer" ? /* @__PURE__ */ (0, z.jsxs)(z.Fragment, { children: [/* @__PURE__ */ (0, z.jsx)("span", { children: r.name.slice(0, 1) }), /* @__PURE__ */ (0, z.jsx)(K7, { html: t.faceHtml(r) })] }) : e === "studio" ? /* @__PURE__ */ (0, z.jsxs)(z.Fragment, { children: [/* @__PURE__ */ (0, z.jsx)("span", { children: r.name.slice(0, 2) }), r.has_logo ? /* @__PURE__ */ (0, z.jsx)("img", {
src: `/logo?studio=${encodeURIComponent(r.name)}&variant=icon`,
alt: "",
@@ -74385,8 +74825,8 @@ function TLe({ item: e, helpers: t, actions: n }) {
]
});
}
-function ELe({ item: e, write: t, helpers: n, actions: r }) {
- let i = XIe(e, n);
+function HLe({ item: e, write: t, helpers: n, actions: r }) {
+ let i = fLe(e, n);
return /* @__PURE__ */ (0, z.jsxs)("div", {
"data-stage-tags": "",
id: "detailTags",
@@ -74407,14 +74847,14 @@ function ELe({ item: e, write: t, helpers: n, actions: r }) {
onClick: () => t.removeTag(e),
children: /* @__PURE__ */ (0, z.jsx)(G7, { name: "x" })
})]
- }, e.k)), /* @__PURE__ */ (0, z.jsx)(DLe, {
+ }, e.k)), /* @__PURE__ */ (0, z.jsx)(ULe, {
item: e,
write: t,
helpers: n
})]
});
}
-function DLe({ item: e, write: t, helpers: n }) {
+function ULe({ item: e, write: t, helpers: n }) {
let r = (0, R.useRef)(null), i = (0, R.useRef)(null), a = (0, R.useRef)(null), o = (0, R.useRef)(!1), [s, c] = (0, R.useState)(!1), [l, u] = (0, R.useState)(""), [d, f] = (0, R.useState)(""), [p, m] = (0, R.useState)(-1), h = (0, R.useCallback)(() => {
i.current && b(i.current), c(!1);
}, []);
@@ -74428,7 +74868,7 @@ function DLe({ item: e, write: t, helpers: n }) {
clearTimeout(t), document.removeEventListener("pointerdown", e, !0);
};
}, [s, h]);
- let g = s ? QIe(d, n.tagCandidates(), V7()) : {
+ let g = s ? mLe(d, n.tagCandidates(), V7()) : {
recent: [],
results: [],
create: ""
@@ -74558,8 +74998,8 @@ function DLe({ item: e, write: t, helpers: n }) {
})]
})] });
}
-function OLe({ item: e }) {
- let t = oLe(e);
+function WLe({ item: e }) {
+ let t = SLe(e);
return /* @__PURE__ */ (0, z.jsxs)("div", {
"data-item-trace": "",
children: [/* @__PURE__ */ (0, z.jsxs)("div", {
@@ -74593,7 +75033,7 @@ function OLe({ item: e }) {
})]
});
}
-function kLe({ item: e, open: t, write: n }) {
+function GLe({ item: e, open: t, write: n }) {
let [r, i] = (0, R.useState)(e.like_reason || ""), a = (0, R.useRef)(null);
(0, R.useEffect)(() => {
t && a.current?.focus();
@@ -74632,11 +75072,11 @@ function kLe({ item: e, open: t, write: n }) {
})]
});
}
-function ALe(e) {
+function KLe(e) {
let { item: t, relatedLimit: n, helpers: r, grid: i } = e, a = Nn({
- queryKey: VIe(t.id, n),
+ queryKey: rLe(t.id, n),
queryFn: async ({ signal: e }) => {
- let r = await wi(UIe(t.id, n), e);
+ let r = await wi(aLe(t.id, n), e);
return i.cache(r.items || []), r.items || [];
}
}), [o] = (0, R.useState)(() => r.relatedSkeletonHtml()), s = (0, R.useCallback)((e) => {
@@ -74669,7 +75109,7 @@ function ALe(e) {
})]
});
}
-function jLe(e, t, n, r) {
+function qLe(e, t, n, r) {
let i = e.id, a = C7(i), [o, s] = (0, R.useState)(() => /* @__PURE__ */ new Set()), [c, l] = (0, R.useState)(""), [u, d] = (0, R.useState)(""), f = (e, t) => s((n) => {
let r = new Set(n);
return t ? r.add(e) : r.delete(e), r;
@@ -74701,7 +75141,7 @@ function jLe(e, t, n, r) {
run: n
}));
}, v = async (e, t) => {
- let n = await h(WIe, t === void 0 ? { kind: e } : {
+ let n = await h(oLe, t === void 0 ? { kind: e } : {
kind: e,
value: t
});
@@ -74721,14 +75161,14 @@ function jLe(e, t, n, r) {
"aria-disabled": !0
} : {},
rate: (e) => _(`rate:${e}`, "评分", async () => {
- let n = p().rating || 0, r = YIe(n, e);
+ let n = p().rating || 0, r = dLe(n, e);
await v("rate", r), t.toast(r ? `已评 ${I7(r)} 星` : "已取消评分", { undo: async () => {
await v("rate", n);
} });
}),
feedback: (e) => _(e, "操作", async () => {
let n = { feedback: p().feedback || null }, r = await v(e);
- t.toast(sLe(e, r), { undo: async () => {
+ t.toast(CLe(e, r), { undo: async () => {
e === "o" ? await v("o-undo") : e === "dispose" ? await v("dispose") : (r.feedback && await v(r.feedback), n.feedback && await v(n.feedback)), await t.trashChanged(p().disposal || null, !0);
} }), e === "dispose" && await t.trashChanged(r.disposal || null, !1);
}),
@@ -74796,7 +75236,7 @@ function jLe(e, t, n, r) {
})).ok && (m((e) => z7(e, {
k: n,
cat: "general"
- })), ZIe(n), t.toast(`已添加标签「${r(n)}」`, { undo: async () => {
+ })), pLe(n), t.toast(`已添加标签「${r(n)}」`, { undo: async () => {
await h(E7, {
operation: "remove",
tag: n
@@ -74809,11 +75249,11 @@ function jLe(e, t, n, r) {
//#endregion
//#region src/react/stage/stage-player.ts
var J7 = null, Y7 = null, X7 = null, Z7 = null, Q7 = null, $7 = !1, e9 = 0, t9 = null, n9 = () => !1, r9 = (e, t, n) => `${e}:${t}:${n ?? ""}`;
-function MLe(e, t) {
- J7 = e, n9 = () => t.isOpen(), t9 = () => t.requestClose(), LFe({
+function JLe(e, t) {
+ J7 = e, n9 = () => t.isOpen(), t9 = () => t.requestClose(), $Fe({
...e.player,
stage: () => document.getElementById("stage")
- }), RFe({
+ }), eIe({
inMiniplayer: (e) => Y7?.player === e,
kind: (e) => Y7?.player === e ? Y7.kind : X7?.kind ?? Z7?.kind ?? "item",
expand: () => x9(),
@@ -74828,10 +75268,10 @@ function a9() {
function o9(e) {
Z7 = e;
}
-var NLe = () => Z7;
+var YLe = () => Z7;
function s9(e, t) {
let { kind: n, item: r, media: i = null } = t, a = r9(n, r.id, i?.index ?? null);
- if (Y7 && Y7.key === a) return PLe(e, Y7);
+ if (Y7 && Y7.key === a) return XLe(e, Y7);
Y7 && b9();
let o = {
player: null,
@@ -74859,7 +75299,7 @@ function s9(e, t) {
X7 === o && (X7 = null), c(), !e && (o.player || (s.pause(), s.removeAttribute("src"), s.load()), J5());
};
}
-function PLe(e, t) {
+function XLe(e, t) {
let { player: n } = t;
v9(t), Y7 = null, y9(), n.el().classList.remove("vjs-peach-mini"), i7(e), e.append(n.el()), O5(n);
let r = {
@@ -74879,13 +75319,13 @@ var c9 = () => {
let e = X7?.player;
return e && !e.isDisposed() ? e : null;
};
-function FLe(e) {
+function ZLe(e) {
let t = $7;
$7 = !1, Y7?.pending && b9();
let n = X7, r = n?.player, i = Z7;
if (!n || !r || r.isDisposed() || !i || !Q7) return;
let a = a9().player.settings();
- (t || e && a.miniplayer && !r.paused() && !r.ended() && !r.error()) && BLe({
+ (t || e && a.miniplayer && !r.paused() && !r.ended() && !r.error()) && nRe({
player: r,
kind: n.kind,
item: n.item,
@@ -74893,7 +75333,7 @@ function FLe(e) {
key: n.key
}, i);
}
-function ILe(e, t) {
+function QLe(e, t) {
if ($7 = !1, Y7) {
if (Y7.kind === e && Y7.item.id === t) {
Y7.pending = !0, y9();
@@ -74906,11 +75346,11 @@ function l9(e) {
Q7 = e, Q7 && g9();
}
var u9 = () => !!Y7 && !Y7.pending && !Y7.player.isDisposed();
-function LLe() {
+function $Le() {
return u9() ? Q7?.frame.querySelector("video") ?? null : null;
}
-function RLe() {
- return n9() ? document.getElementById("stage")?.querySelector("video") ?? null : LLe();
+function eRe() {
+ return n9() ? document.getElementById("stage")?.querySelector("video") ?? null : $Le();
}
function d9(e) {
Q7 && (Q7.title.textContent = e.title || "", Q7.sub.textContent = e.sub || "", Q7.info.setAttribute("aria-label", e.title ? `展开到详情:${e.title}` : "展开到详情"));
@@ -74959,7 +75399,7 @@ function _9(e) {
function v9(e) {
e.off.forEach((e) => e()), e.off = [];
}
-function zLe() {
+function tRe() {
let e = Q7?.root;
if (!e) return;
let t = e.hidden;
@@ -74980,7 +75420,7 @@ function y9() {
e.style.transform = "";
}
}
-function BLe(e, t) {
+function nRe(e, t) {
if (!Q7) return;
let n = {
...e,
@@ -74988,7 +75428,7 @@ function BLe(e, t) {
off: [],
pending: !1
};
- Y7 = n, e9++, e.player.el().classList.add("vjs-peach-mini"), Q7.frame.prepend(e.player.el()), d9(t), _9(n), zLe(), k5(e.player);
+ Y7 = n, e9++, e.player.el().classList.add("vjs-peach-mini"), Q7.frame.prepend(e.player.el()), d9(t), _9(n), tRe(), k5(e.player);
}
function b9() {
let e = Y7;
@@ -75008,7 +75448,7 @@ function S9() {
}
n9() && c9() && t9 && ($7 = !0, t9());
}
-function VLe() {
+function rRe() {
let e = Y7?.player;
!e || e.isDisposed() || (e.paused() ? e.play()?.catch(() => {}) : e.pause());
}
@@ -75021,7 +75461,7 @@ function C9(e) {
function w9(e) {
return !(!u9() || !e || e.part_group || e.edition_group || e.medium && e.medium !== "video" || e.cost === "metered" && e.location !== "online" || e.location === "online" && !e.follow_item_id || a9().sourceOffline(String(e.location ?? "")));
}
-async function HLe(e) {
+async function iRe(e) {
if (!u9() || !Y7 || !Q7) return;
let n = ++e9, r = await t(`/api/item?id=${e}`).catch(() => null);
if (n !== e9 || !u9() || !Y7 || !Q7 || !r || r.error) return;
@@ -75075,9 +75515,9 @@ var T9 = ({ name: e }) => /* @__PURE__ */ (0, z.jsx)("svg", {
viewBox: "0 0 24 24",
"aria-hidden": "true",
children: /* @__PURE__ */ (0, z.jsx)("use", { href: `#i-${e}` })
-}), ULe = { __html: "<svg viewBox=\"0 0 24 24\" aria-hidden=\"true\"><use href=\"#i-player-pause\"/></svg>" }, E9 = (e) => (t) => {
+}), aRe = { __html: "<svg viewBox=\"0 0 24 24\" aria-hidden=\"true\"><use href=\"#i-player-pause\"/></svg>" }, E9 = (e) => (t) => {
t.stopPropagation(), e();
-}, WLe = (0, R.memo)(function() {
+}, oRe = (0, R.memo)(function() {
let e = (0, R.useRef)(null), t = (0, R.useRef)(null), n = (0, R.useRef)(null), r = (0, R.useRef)(null), i = (0, R.useRef)(null), a = (0, R.useRef)(null), o = (0, R.useRef)(null), s = (0, R.useRef)(null), c = (0, R.useRef)(null), l = (0, R.useRef)(null);
return (0, R.useLayoutEffect)(() => (l9({
root: e.current,
@@ -75089,7 +75529,7 @@ var T9 = ({ name: e }) => /* @__PURE__ */ (0, z.jsx)("svg", {
title: s.current,
sub: c.current,
info: l.current
- }), () => l9(null)), []), (0, R.useEffect)(() => KLe(e.current, t.current), []), /* @__PURE__ */ (0, z.jsx)("aside", {
+ }), () => l9(null)), []), (0, R.useEffect)(() => cRe(e.current, t.current), []), /* @__PURE__ */ (0, z.jsx)("aside", {
ref: e,
"data-miniplayer": "",
id: "miniplayer",
@@ -75139,8 +75579,8 @@ var T9 = ({ name: e }) => /* @__PURE__ */ (0, z.jsx)("svg", {
id: "miniplayerPlay",
"aria-label": "暂停",
"aria-keyshortcuts": "k",
- onClick: E9(VLe),
- dangerouslySetInnerHTML: ULe
+ onClick: E9(rRe),
+ dangerouslySetInnerHTML: aRe
}),
/* @__PURE__ */ (0, z.jsx)("button", {
ref: o,
@@ -75179,7 +75619,7 @@ var T9 = ({ name: e }) => /* @__PURE__ */ (0, z.jsx)("svg", {
})
});
});
-function GLe(e, t, n) {
+function sRe(e, t, n) {
let r = e.getBoundingClientRect(), i = (r.top + r.height / 2 < innerHeight / 2 ? "t" : "b") + (r.left + r.width / 2 < innerWidth / 2 ? "l" : "r"), a = parseFloat(getComputedStyle(document.documentElement).getPropertyValue("--topH")) || 56, o = {
left: r.left - t,
top: r.top - n
@@ -75201,7 +75641,7 @@ function GLe(e, t, n) {
};
e.addEventListener("transitionend", u), setTimeout(u, 600);
}
-function KLe(e, t) {
+function cRe(e, t) {
let n = null, r = (e) => {
if (!(e.button !== 0 || e.target.closest("[data-miniplayer-button],[data-miniplayer-play],[data-miniplayer-seek],.vjs-control-bar"))) {
n = {
@@ -75227,7 +75667,7 @@ function KLe(e, t) {
} catch {}
i.moved && (e.dataset.dragged = "1", setTimeout(() => {
delete e.dataset.dragged;
- }, 0), GLe(e, i.dx, i.dy));
+ }, 0), sRe(e, i.dx, i.dy));
}, o = (t) => {
e.dataset.dragged && (t.stopPropagation(), t.preventDefault());
}, s = (e) => {
@@ -75247,21 +75687,21 @@ function I9() {
if (!D9) throw Error("舞台还没有接上宿主(configureStage)");
return D9;
}
-function qLe() {
+function lRe() {
return (!O9 || !k9?.isConnected) && (O9?.unmount(), k9 = document.createElement("div"), k9.dataset.stageHost = "", document.body.append(k9), O9 = (0, xe.createRoot)(k9)), O9;
}
function L9() {
- let e = qLe();
- (0, be.flushSync)(() => e.render(/* @__PURE__ */ (0, z.jsx)(gI, { children: /* @__PURE__ */ (0, z.jsx)(JLe, { view: A9 }) })));
+ let e = lRe();
+ (0, be.flushSync)(() => e.render(/* @__PURE__ */ (0, z.jsx)(CI, { children: /* @__PURE__ */ (0, z.jsx)(uRe, { view: A9 }) })));
}
-function JLe({ view: e }) {
- return /* @__PURE__ */ (0, z.jsxs)(z.Fragment, { children: [e ? /* @__PURE__ */ (0, z.jsx)(YLe, { view: e }, e.generation) : null, /* @__PURE__ */ (0, z.jsx)(WLe, {})] });
+function uRe({ view: e }) {
+ return /* @__PURE__ */ (0, z.jsxs)(z.Fragment, { children: [e ? /* @__PURE__ */ (0, z.jsx)(B9, { view: e }, e.generation) : null, /* @__PURE__ */ (0, z.jsx)(oRe, {})] });
}
var R9 = () => /* @__PURE__ */ (0, z.jsx)("div", {
"data-skeleton": "detail",
role: "status",
"aria-label": "正在读取作品详情",
- dangerouslySetInnerHTML: { __html: IFe() }
+ dangerouslySetInnerHTML: { __html: QFe() }
});
function z9(e) {
let t = e.currentTarget;
@@ -75269,28 +75709,28 @@ function z9(e) {
let n = t.getBoundingClientRect();
return e.clientX < n.left || e.clientX > n.right || e.clientY < n.top || e.clientY > n.bottom;
}
-function YLe({ view: e }) {
+function B9({ view: e }) {
let t = (0, R.useRef)(null);
(0, R.useLayoutEffect)(() => {
let e = t.current, n = (e) => {
- e.preventDefault(), B9();
+ e.preventDefault(), V9();
};
return e.addEventListener("cancel", n), () => e.removeEventListener("cancel", n);
}, []);
- let { phase: n, content: r } = e, i = r.kind === "item" ? /* @__PURE__ */ (0, z.jsx)(mLe, { ...r.props }) : /* @__PURE__ */ (0, z.jsx)(FIe, { ...r.props });
+ let { phase: n, content: r } = e, i = r.kind === "item" ? /* @__PURE__ */ (0, z.jsx)(ALe, { ...r.props }) : /* @__PURE__ */ (0, z.jsx)(ZIe, { ...r.props });
return /* @__PURE__ */ (0, z.jsxs)("dialog", {
ref: t,
id: "stage",
"data-stage": "",
"aria-label": "作品详情",
onKeyDown: (e) => {
- e.key !== "Escape" || e.defaultPrevented || (e.preventDefault(), B9());
+ e.key !== "Escape" || e.defaultPrevented || (e.preventDefault(), V9());
},
onPointerDown: (e) => {
P9 = z9(e);
},
onClick: (e) => {
- P9 && z9(e) && B9();
+ P9 && z9(e) && V9();
},
children: [
n === "skeleton" ? /* @__PURE__ */ (0, z.jsx)(R9, {}, "skeleton") : null,
@@ -75309,14 +75749,14 @@ function YLe({ view: e }) {
]
});
}
-function B9() {
+function V9() {
!A9 || N9 || (N9 = !0, A9.request.actions.close());
}
-function V9(e, t) {
+function H9(e, t) {
let n = F9();
n?.toggleAttribute("data-ambient", e), n?.toggleAttribute("data-theater", t);
}
-function XLe(e) {
+function dRe(e) {
let t = e.resume ?? null, n = (n) => {
let r = t && (e.id == null || e.id === n) ? t : null;
return t = null, r;
@@ -75324,7 +75764,7 @@ function XLe(e) {
if (e.kind === "item") {
let { kind: t, resume: i, actions: a, ...o } = e, s = {
...a,
- close: B9,
+ close: V9,
present: (e, t) => {
let n = e.performers;
o9({
@@ -75332,7 +75772,7 @@ function XLe(e) {
item: e,
title: String(e.title || e.name || ""),
sub: String(n?.[0] || e.creator || "未归属")
- }), V9(r().ambientMode, r().theaterMode), a.present(e, t);
+ }), H9(r().ambientMode, r().theaterMode), a.present(e, t);
},
mountPlayer: (e, t, r, i) => s9(e, {
kind: "item",
@@ -75352,14 +75792,14 @@ function XLe(e) {
}
let { kind: i, resume: a, actions: o, ...s } = e, c = {
...o,
- close: B9,
+ close: V9,
present: (e, t) => {
o9({
kind: "follow",
item: e,
title: e.title || "",
sub: e.author || e.source_label || ""
- }), V9(t === "video" && r().ambientMode, t === "video" && r().theaterMode), o.present(e, t);
+ }), H9(t === "video" && r().ambientMode, t === "video" && r().theaterMode), o.present(e, t);
},
mountPlayer: (e, t, r, i) => s9(e, {
kind: "follow",
@@ -75378,7 +75818,7 @@ function XLe(e) {
}
};
}
-function ZLe(e, t) {
+function fRe(e, t) {
let n = e.querySelector(":scope > [data-stage-fade]");
e.setAttribute("data-stage-reveal", ""), e.getBoundingClientRect(), e.setAttribute("data-stage-revealing", "");
let r = 0, i = () => {
@@ -75391,13 +75831,13 @@ function ZLe(e, t) {
};
n?.addEventListener("transitionend", a), r = window.setTimeout(i, 1e3);
}
-async function QLe(e) {
- A9 && H9({ miniplayer: !1 });
+async function pRe(e) {
+ A9 && U9({ miniplayer: !1 });
let t = ++j9, n = new AbortController();
- M9 = n, N9 = !1, P9 = !1, ILe(e.kind, e.id ?? NaN), A9 = {
+ M9 = n, N9 = !1, P9 = !1, QLe(e.kind, e.id ?? NaN), A9 = {
generation: t,
request: e,
- content: XLe(e),
+ content: dRe(e),
phase: "skeleton"
}, L9();
let r = F9();
@@ -75405,7 +75845,7 @@ async function QLe(e) {
S(r), document.body.setAttribute("data-detail-open", ""), r.open || r.showModal();
let i = A9.content;
try {
- i.kind === "item" ? await KIe(i.props, n.signal) : await vIe(i.props, n.signal);
+ i.kind === "item" ? await cLe(i.props, n.signal) : await PIe(i.props, n.signal);
} catch {
if (n.signal.aborted) return;
}
@@ -75414,11 +75854,11 @@ async function QLe(e) {
A9 = {
...A9,
phase: a ? "content" : "reveal"
- }, L9(), a || ZLe(r, t), j(r, ":scope>:not([data-stage-fade]) [data-reveal-line]");
+ }, L9(), a || fRe(r, t), j(r, ":scope>:not([data-stage-fade]) [data-reveal-line]");
let o = document.activeElement;
(o === r || !r.contains(o)) && r.querySelector("#closeStage")?.focus();
}
-function $Le() {
+function mRe() {
let e = F9();
return !e?.open || e.hasAttribute("data-closing") || matchMedia("(prefers-reduced-motion: reduce)").matches ? Promise.resolve() : (e.setAttribute("data-closing", ""), new Promise((t) => {
let n = 0, r = () => {
@@ -75429,12 +75869,12 @@ function $Le() {
e.addEventListener("animationend", i), n = window.setTimeout(r, 380);
}));
}
-function H9({ miniplayer: e = !0 } = {}) {
- if (j9++, M9?.abort(), M9 = null, FLe(e), !A9) return;
+function U9({ miniplayer: e = !0 } = {}) {
+ if (j9++, M9?.abort(), M9 = null, ZLe(e), !A9) return;
let t = F9();
t && I9().release(t), T5(), t?.open && t.close(), A9 = null, N9 = !1, P9 = !1, L9(), o9(null), document.body.removeAttribute("data-detail-open");
}
-function eRe(e) {
+function hRe(e) {
!A9 || A9.content.kind !== "item" || (A9 = {
...A9,
content: {
@@ -75446,21 +75886,21 @@ function eRe(e) {
}
}, L9());
}
-function tRe() {
- let e = NLe(), t = e?.kind === "item" ? e.item : null, n = t ? I9().player.posterUrl(t) : "";
+function gRe() {
+ let e = YLe(), t = e?.kind === "item" ? e.item : null, n = t ? I9().player.posterUrl(t) : "";
if (!n) return;
let r = c9();
r ? r.poster(n) : document.getElementById("vid")?.setAttribute("poster", n);
}
-var nRe = {
- open: QLe,
- update: eRe,
- exit: $Le,
- dispose: H9,
- requestClose: B9,
- repaintPoster: tRe,
+var _Re = {
+ open: pRe,
+ update: hRe,
+ exit: mRe,
+ dispose: U9,
+ requestClose: V9,
+ repaintPoster: gRe,
isOpen: () => !!A9,
- activeVideo: () => RLe(),
+ activeVideo: () => eRe(),
toggleTheater: () => {
A9 && U5(!I9().player.settings().theaterMode);
},
@@ -75469,37 +75909,37 @@ var nRe = {
miniplayerActive: () => u9(),
miniplayerTakesCard: (e) => w9(e),
miniplayerPlay: (e) => {
- HLe(e);
+ iRe(e);
}
};
-function U9(e) {
- return D9 = e, MLe(e, {
+function vRe(e) {
+ return D9 = e, JLe(e, {
isOpen: () => !!A9,
- requestClose: B9
- }), L9(), nRe;
+ requestClose: V9
+ }), L9(), _Re;
}
//#endregion
//#region node_modules/sonner/dist/index.mjs
-function rRe(e) {
+function yRe(e) {
if (!e || typeof document > "u") return;
let t = document.head || document.getElementsByTagName("head")[0], n = document.createElement("style");
n.type = "text/css", t.appendChild(n), n.styleSheet ? n.styleSheet.cssText = e : n.appendChild(document.createTextNode(e));
}
-var iRe = (e) => {
+var bRe = (e) => {
switch (e) {
- case "success": return sRe;
- case "info": return lRe;
- case "warning": return cRe;
- case "error": return uRe;
+ case "success": return CRe;
+ case "info": return TRe;
+ case "warning": return wRe;
+ case "error": return ERe;
default: return null;
}
-}, aRe = Array(12).fill(0), oRe = ({ visible: e, className: t }) => /*#__PURE__*/ R.createElement("div", {
+}, xRe = Array(12).fill(0), SRe = ({ visible: e, className: t }) => /*#__PURE__*/ R.createElement("div", {
className: ["sonner-loading-wrapper", t].filter(Boolean).join(" "),
"data-visible": e
-}, /*#__PURE__*/ R.createElement("div", { className: "sonner-spinner" }, aRe.map((e, t) => /*#__PURE__*/ R.createElement("div", {
+}, /*#__PURE__*/ R.createElement("div", { className: "sonner-spinner" }, xRe.map((e, t) => /*#__PURE__*/ R.createElement("div", {
className: "sonner-loading-bar",
key: `spinner-bar-${t}`
-})))), sRe = /*#__PURE__*/ R.createElement("svg", {
+})))), CRe = /*#__PURE__*/ R.createElement("svg", {
xmlns: "http://www.w3.org/2000/svg",
viewBox: "0 0 20 20",
fill: "currentColor",
@@ -75510,7 +75950,7 @@ var iRe = (e) => {
fillRule: "evenodd",
d: "M10 18a8 8 0 100-16 8 8 0 000 16zm3.857-9.809a.75.75 0 00-1.214-.882l-3.483 4.79-1.88-1.88a.75.75 0 10-1.06 1.061l2.5 2.5a.75.75 0 001.137-.089l4-5.5z",
clipRule: "evenodd"
-})), cRe = /*#__PURE__*/ R.createElement("svg", {
+})), wRe = /*#__PURE__*/ R.createElement("svg", {
xmlns: "http://www.w3.org/2000/svg",
viewBox: "0 0 24 24",
fill: "currentColor",
@@ -75521,7 +75961,7 @@ var iRe = (e) => {
fillRule: "evenodd",
d: "M9.401 3.003c1.155-2 4.043-2 5.197 0l7.355 12.748c1.154 2-.29 4.5-2.599 4.5H4.645c-2.309 0-3.752-2.5-2.598-4.5L9.4 3.003zM12 8.25a.75.75 0 01.75.75v3.75a.75.75 0 01-1.5 0V9a.75.75 0 01.75-.75zm0 8.25a.75.75 0 100-1.5.75.75 0 000 1.5z",
clipRule: "evenodd"
-})), lRe = /*#__PURE__*/ R.createElement("svg", {
+})), TRe = /*#__PURE__*/ R.createElement("svg", {
xmlns: "http://www.w3.org/2000/svg",
viewBox: "0 0 20 20",
fill: "currentColor",
@@ -75532,7 +75972,7 @@ var iRe = (e) => {
fillRule: "evenodd",
d: "M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7-4a1 1 0 11-2 0 1 1 0 012 0zM9 9a.75.75 0 000 1.5h.253a.25.25 0 01.244.304l-.459 2.066A1.75 1.75 0 0010.747 15H11a.75.75 0 000-1.5h-.253a.25.25 0 01-.244-.304l.459-2.066A1.75 1.75 0 009.253 9H9z",
clipRule: "evenodd"
-})), uRe = /*#__PURE__*/ R.createElement("svg", {
+})), ERe = /*#__PURE__*/ R.createElement("svg", {
xmlns: "http://www.w3.org/2000/svg",
viewBox: "0 0 20 20",
fill: "currentColor",
@@ -75543,7 +75983,7 @@ var iRe = (e) => {
fillRule: "evenodd",
d: "M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-8-5a.75.75 0 01.75.75v4.5a.75.75 0 01-1.5 0v-4.5A.75.75 0 0110 5zm0 10a1 1 0 100-2 1 1 0 000 2z",
clipRule: "evenodd"
-})), dRe = /*#__PURE__*/ R.createElement("svg", {
+})), DRe = /*#__PURE__*/ R.createElement("svg", {
xmlns: "http://www.w3.org/2000/svg",
width: "12",
height: "12",
@@ -75564,7 +76004,7 @@ var iRe = (e) => {
y1: "6",
x2: "18",
y2: "18"
-})), fRe = () => {
+})), ORe = () => {
let [e, t] = R.useState(document.hidden);
return R.useEffect(() => {
let e = () => {
@@ -75572,7 +76012,7 @@ var iRe = (e) => {
};
return document.addEventListener("visibilitychange", e), () => document.removeEventListener("visibilitychange", e);
}, []), e;
-}, pRe = 1, mRe = 100, W9 = (e) => typeof e?.id == "number" || e?.id?.length > 0 ? e.id : pRe++, G9 = new class {
+}, kRe = 1, ARe = 100, W9 = (e) => typeof e?.id == "number" || e?.id?.length > 0 ? e.id : kRe++, G9 = new class {
constructor() {
this.subscribe = (e) => (this.subscribers.push(e), this.getActiveToasts().forEach((t) => e(t)), () => {
let t = this.subscribers.indexOf(e);
@@ -75582,7 +76022,7 @@ var iRe = (e) => {
}, this.addToast = (e) => {
this.publish(e), this.toasts = [...this.toasts, e], this.trimHistory();
}, this.trimHistory = () => {
- let e = this.toasts.length - mRe;
+ let e = this.toasts.length - ARe;
e <= 0 || (this.toasts = this.toasts.filter((t) => e > 0 && this.dismissedToasts.has(t.id) ? (this.dismissedToasts.delete(t.id), e--, !1) : !0));
}, this.create = (e) => {
let { message: t, ...n } = e, r = W9(e), i = this.pendingDismissals.get(r);
@@ -75660,7 +76100,7 @@ var iRe = (e) => {
type: "default",
message: e
});
- else if (gRe(e) && !e.ok) {
+ else if (MRe(e) && !e.ok) {
i = !1;
let r = typeof t.error == "function" ? await t.error(`HTTP error! status: ${e.status}`) : t.error, a = typeof t.description == "function" ? await t.description(`HTTP error! status: ${e.status}`) : t.description, o = typeof r == "object" && !R.isValidElement(r) ? r : { message: r };
this.create({
@@ -75713,7 +76153,7 @@ var iRe = (e) => {
}), n;
}, this.getActiveToasts = () => this.toasts.filter((e) => !this.dismissedToasts.has(e.id)), this.subscribers = [], this.toasts = [], this.dismissedToasts = /* @__PURE__ */ new Set(), this.pendingDismissals = /* @__PURE__ */ new Map();
}
-}(), hRe = (e, t) => G9.message(e, t), gRe = (e) => e && typeof e == "object" && "ok" in e && typeof e.ok == "boolean" && "status" in e && typeof e.status == "number", K9 = Object.assign(hRe, {
+}(), jRe = (e, t) => G9.message(e, t), MRe = (e) => e && typeof e == "object" && "ok" in e && typeof e.ok == "boolean" && "status" in e && typeof e.status == "number", K9 = Object.assign(jRe, {
success: G9.success,
info: G9.info,
warning: G9.warning,
@@ -75727,20 +76167,20 @@ var iRe = (e) => {
getHistory: () => G9.toasts,
getToasts: () => G9.getActiveToasts()
});
-rRe("[data-sonner-toaster][dir=ltr],html[dir=ltr]{--toast-icon-margin-start:-3px;--toast-icon-margin-end:4px;--toast-svg-margin-start:-1px;--toast-svg-margin-end:0px;--toast-button-margin-start:auto;--toast-button-margin-end:0;--toast-close-button-start:0;--toast-close-button-end:unset;--toast-close-button-transform:translate(-35%, -35%)}[data-sonner-toaster][dir=rtl],html[dir=rtl]{--toast-icon-margin-start:4px;--toast-icon-margin-end:-3px;--toast-svg-margin-start:0px;--toast-svg-margin-end:-1px;--toast-button-margin-start:0;--toast-button-margin-end:auto;--toast-close-button-start:unset;--toast-close-button-end:0;--toast-close-button-transform:translate(35%, -35%)}[data-sonner-toaster]{position:fixed;width:var(--width);font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;--gray1:hsl(0, 0%, 99%);--gray2:hsl(0, 0%, 97.3%);--gray3:hsl(0, 0%, 95.1%);--gray4:hsl(0, 0%, 93%);--gray5:hsl(0, 0%, 90.9%);--gray6:hsl(0, 0%, 88.7%);--gray7:hsl(0, 0%, 85.8%);--gray8:hsl(0, 0%, 78%);--gray9:hsl(0, 0%, 56.1%);--gray10:hsl(0, 0%, 52.3%);--gray11:hsl(0, 0%, 43.5%);--gray12:hsl(0, 0%, 9%);--border-radius:8px;box-sizing:border-box;padding:0;margin:0;list-style:none;outline:0;z-index:999999999;transition:transform .4s ease}@media (hover:none) and (pointer:coarse){[data-sonner-toaster][data-lifted=true]{transform:none}}[data-sonner-toaster][data-x-position=right]{right:var(--offset-right)}[data-sonner-toaster][data-x-position=left]{left:var(--offset-left)}[data-sonner-toaster][data-x-position=center]{left:50%;transform:translateX(-50%)}[data-sonner-toaster][data-y-position=top]{top:var(--offset-top)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--offset-bottom)}[data-sonner-toast]{--y:translateY(100%);--lift-amount:calc(var(--lift) * var(--gap));z-index:var(--z-index);position:absolute;opacity:0;transform:var(--y);touch-action:none;transition:transform .4s,opacity .4s,height .4s,box-shadow .2s;box-sizing:border-box;outline:0;overflow-wrap:anywhere}[data-sonner-toast][data-styled=true]{padding:16px;background:var(--normal-bg);border:1px solid var(--normal-border);color:var(--normal-text);border-radius:var(--border-radius);box-shadow:0 4px 12px rgba(0,0,0,.1);width:var(--width);font-size:13px;display:flex;align-items:center;gap:6px}[data-sonner-toast]:focus-visible{box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}[data-sonner-toast][data-y-position=top]{top:0;--y:translateY(-100%);--lift:1;--lift-amount:calc(1 * var(--gap))}[data-sonner-toast][data-y-position=bottom]{bottom:0;--y:translateY(100%);--lift:-1;--lift-amount:calc(var(--lift) * var(--gap))}[data-sonner-toast][data-styled=true] [data-description]{font-weight:400;line-height:1.4;color:#3f3f3f}[data-rich-colors=true][data-sonner-toast][data-styled=true] [data-description]{color:inherit}[data-sonner-toaster][data-sonner-theme=dark] [data-description]{color:#e8e8e8}[data-sonner-toast][data-styled=true] [data-title]{font-weight:500;line-height:1.5;color:inherit}[data-sonner-toast][data-styled=true] [data-icon]{display:flex;height:16px;width:16px;position:relative;justify-content:flex-start;align-items:center;flex-shrink:0;margin-left:var(--toast-icon-margin-start);margin-right:var(--toast-icon-margin-end)}[data-sonner-toast][data-promise=true] [data-icon]>svg{opacity:0;transform:scale(.8);transform-origin:center;animation:sonner-fade-in .3s ease forwards}[data-sonner-toast][data-styled=true] [data-icon]>*{flex-shrink:0}[data-sonner-toast][data-styled=true] [data-icon] svg{margin-left:var(--toast-svg-margin-start);margin-right:var(--toast-svg-margin-end)}[data-sonner-toast][data-styled=true] [data-content]{display:flex;flex-direction:column;gap:2px;flex:1;min-width:0}[data-sonner-toast][data-styled=true] [data-button]{border-radius:4px;padding-left:8px;padding-right:8px;height:24px;font-size:12px;color:var(--normal-bg);background:var(--normal-text);margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end);border:none;font-weight:500;cursor:pointer;outline:0;display:flex;align-items:center;flex-shrink:0;transition:opacity .4s,box-shadow .2s}[data-sonner-toast][data-styled=true] [data-button]:focus-visible{box-shadow:0 0 0 2px rgba(0,0,0,.4)}[data-sonner-toast][data-styled=true] [data-button]:first-of-type{margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end)}[data-sonner-toast][data-styled=true] [data-cancel]{color:var(--normal-text);background:rgba(0,0,0,.08)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast][data-styled=true] [data-cancel]{background:rgba(255,255,255,.3)}[data-sonner-toast][data-styled=true] [data-close-button]{position:absolute;left:var(--toast-close-button-start);right:var(--toast-close-button-end);top:0;height:20px;width:20px;display:flex;justify-content:center;align-items:center;padding:0;color:var(--normal-text);background:var(--normal-bg);border:1px solid var(--normal-border);transform:var(--toast-close-button-transform);border-radius:50%;cursor:pointer;z-index:1;transition:opacity .1s,background .2s,border-color .2s}[data-sonner-toast][data-styled=true] [data-close-button]:focus-visible{box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}[data-sonner-toast][data-styled=true] [data-disabled=true]{cursor:not-allowed}[data-sonner-toast][data-styled=true]:hover [data-close-button]:hover{background:var(--gray2);border-color:var(--gray5)}[data-sonner-toast][data-swiping=true]::before{content:'';position:absolute;left:-100%;right:-100%;height:100%;z-index:-1}[data-sonner-toast][data-y-position=top][data-swiping=true]::before{bottom:50%;transform:scaleY(3) translateY(50%)}[data-sonner-toast][data-y-position=bottom][data-swiping=true]::before{top:50%;transform:scaleY(3) translateY(-50%)}[data-sonner-toast][data-swiping=false][data-removed=true]::before{content:'';position:absolute;inset:0;transform:scaleY(2)}[data-sonner-toast][data-expanded=true]::after{content:'';position:absolute;left:0;height:calc(var(--gap) + 1px);bottom:100%;width:100%}[data-sonner-toast][data-mounted=true]{--y:translateY(0);opacity:1}[data-sonner-toast][data-expanded=false][data-front=false]{--scale:var(--toasts-before) * 0.05 + 1;--y:translateY(calc(var(--lift-amount) * var(--toasts-before))) scale(calc(-1 * var(--scale)));height:var(--front-toast-height)}[data-sonner-toast]>*{transition:opacity .4s}[data-sonner-toast][data-x-position=right]{right:0}[data-sonner-toast][data-x-position=left]{left:0}[data-sonner-toast][data-expanded=false][data-front=false][data-styled=true]>*{opacity:0}[data-sonner-toast][data-visible=false]{opacity:0;pointer-events:none}[data-sonner-toast][data-mounted=true][data-expanded=true]{--y:translateY(calc(var(--lift) * var(--offset)));height:var(--initial-height)}[data-sonner-toast][data-removed=true][data-front=true][data-swipe-out=false]{--y:translateY(calc(var(--lift) * -100%));opacity:0}[data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=true]{--y:translateY(calc(var(--lift) * var(--offset) + var(--lift) * -100%));opacity:0}[data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=false]{--y:translateY(40%);opacity:0;transition:transform .5s,opacity .2s}[data-sonner-toast][data-removed=true][data-front=false]::before{height:calc(var(--initial-height) + 20%)}[data-sonner-toast][data-swiping=true]{transform:var(--y) translateY(var(--swipe-amount-y,0)) translateX(var(--swipe-amount-x,0));transition:none}[data-sonner-toast][data-swiped=true]{-webkit-user-select:none;user-select:none}[data-sonner-toast][data-swipe-out=true][data-y-position=bottom],[data-sonner-toast][data-swipe-out=true][data-y-position=top]{animation-duration:.2s;animation-timing-function:ease-out;animation-fill-mode:forwards}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=left]{animation-name:swipe-out-left}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=right]{animation-name:swipe-out-right}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=up]{animation-name:swipe-out-up}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=down]{animation-name:swipe-out-down}@keyframes swipe-out-left{from{transform:var(--y) translateX(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translateX(calc(var(--swipe-amount-x) - 100%));opacity:0}}@keyframes swipe-out-right{from{transform:var(--y) translateX(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translateX(calc(var(--swipe-amount-x) + 100%));opacity:0}}@keyframes swipe-out-up{from{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) - 100%));opacity:0}}@keyframes swipe-out-down{from{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) + 100%));opacity:0}}@media (max-width:600px){[data-sonner-toaster]{position:fixed;right:var(--mobile-offset-right);left:var(--mobile-offset-left);width:100%}[data-sonner-toaster][dir=rtl]{left:calc(var(--mobile-offset-left) * -1)}[data-sonner-toaster] [data-sonner-toast]{left:0;right:0;width:calc(100% - var(--mobile-offset-left) * 2)}[data-sonner-toaster][data-x-position=left]{left:var(--mobile-offset-left)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--mobile-offset-bottom)}[data-sonner-toaster][data-y-position=top]{top:var(--mobile-offset-top)}[data-sonner-toaster][data-x-position=center]{left:var(--mobile-offset-left);right:var(--mobile-offset-right);transform:none}}[data-sonner-toaster][data-sonner-theme=light]{--normal-bg:#fff;--normal-border:var(--gray4);--normal-text:var(--gray12);--success-bg:hsl(143, 85%, 96%);--success-border:hsl(145, 92%, 87%);--success-text:hsl(140, 100%, 27%);--info-bg:hsl(208, 100%, 97%);--info-border:hsl(221, 91%, 93%);--info-text:hsl(210, 92%, 45%);--warning-bg:hsl(49, 100%, 97%);--warning-border:hsl(49, 91%, 84%);--warning-text:hsl(31, 92%, 45%);--error-bg:hsl(359, 100%, 97%);--error-border:hsl(359, 100%, 94%);--error-text:hsl(360, 100%, 45%)}[data-sonner-toaster][data-sonner-theme=light] [data-sonner-toast][data-invert=true]{--normal-bg:#000;--normal-border:hsl(0, 0%, 20%);--normal-text:var(--gray1)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast][data-invert=true]{--normal-bg:#fff;--normal-border:var(--gray3);--normal-text:var(--gray12)}[data-sonner-toaster][data-sonner-theme=dark]{--normal-bg:#000;--normal-bg-hover:hsl(0, 0%, 12%);--normal-border:hsl(0, 0%, 20%);--normal-border-hover:hsl(0, 0%, 25%);--normal-text:var(--gray1);--success-bg:hsl(150, 100%, 6%);--success-border:hsl(147, 100%, 12%);--success-text:hsl(150, 86%, 65%);--info-bg:hsl(215, 100%, 6%);--info-border:hsl(223, 43%, 17%);--info-text:hsl(216, 87%, 65%);--warning-bg:hsl(64, 100%, 6%);--warning-border:hsl(60, 100%, 9%);--warning-text:hsl(46, 87%, 65%);--error-bg:hsl(358, 76%, 10%);--error-border:hsl(357, 89%, 16%);--error-text:hsl(358, 100%, 81%)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast] [data-close-button]{background:var(--normal-bg);border-color:var(--normal-border);color:var(--normal-text)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast] [data-close-button]:hover{background:var(--normal-bg-hover);border-color:var(--normal-border-hover)}[data-rich-colors=true][data-sonner-toast][data-type=success]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=success] [data-close-button]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=info]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=info] [data-close-button]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning] [data-close-button]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=error]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}[data-rich-colors=true][data-sonner-toast][data-type=error] [data-close-button]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}.sonner-loading-wrapper{--size:16px;height:var(--size);width:var(--size);position:absolute;inset:0;z-index:10}.sonner-loading-wrapper[data-visible=false]{transform-origin:center;animation:sonner-fade-out .2s ease forwards}.sonner-spinner{position:relative;top:50%;left:50%;height:var(--size);width:var(--size)}.sonner-loading-bar{animation:sonner-spin 1.2s linear infinite;background:var(--gray11);border-radius:6px;height:8%;left:-10%;position:absolute;top:-3.9%;width:24%}.sonner-loading-bar:first-child{animation-delay:-1.2s;transform:rotate(.0001deg) translate(146%)}.sonner-loading-bar:nth-child(2){animation-delay:-1.1s;transform:rotate(30deg) translate(146%)}.sonner-loading-bar:nth-child(3){animation-delay:-1s;transform:rotate(60deg) translate(146%)}.sonner-loading-bar:nth-child(4){animation-delay:-.9s;transform:rotate(90deg) translate(146%)}.sonner-loading-bar:nth-child(5){animation-delay:-.8s;transform:rotate(120deg) translate(146%)}.sonner-loading-bar:nth-child(6){animation-delay:-.7s;transform:rotate(150deg) translate(146%)}.sonner-loading-bar:nth-child(7){animation-delay:-.6s;transform:rotate(180deg) translate(146%)}.sonner-loading-bar:nth-child(8){animation-delay:-.5s;transform:rotate(210deg) translate(146%)}.sonner-loading-bar:nth-child(9){animation-delay:-.4s;transform:rotate(240deg) translate(146%)}.sonner-loading-bar:nth-child(10){animation-delay:-.3s;transform:rotate(270deg) translate(146%)}.sonner-loading-bar:nth-child(11){animation-delay:-.2s;transform:rotate(300deg) translate(146%)}.sonner-loading-bar:nth-child(12){animation-delay:-.1s;transform:rotate(330deg) translate(146%)}@keyframes sonner-fade-in{0%{opacity:0;transform:scale(.8)}100%{opacity:1;transform:scale(1)}}@keyframes sonner-fade-out{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(.8)}}@keyframes sonner-spin{0%{opacity:1}100%{opacity:.15}}@media (prefers-reduced-motion){.sonner-loading-bar,[data-sonner-toast],[data-sonner-toast]>*{transition:none!important;animation:none!important}}.sonner-loader{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);transform-origin:center;transition:opacity .2s,transform .2s}.sonner-loader[data-visible=false]{opacity:0;transform:scale(.8) translate(-50%,-50%)}");
+yRe("[data-sonner-toaster][dir=ltr],html[dir=ltr]{--toast-icon-margin-start:-3px;--toast-icon-margin-end:4px;--toast-svg-margin-start:-1px;--toast-svg-margin-end:0px;--toast-button-margin-start:auto;--toast-button-margin-end:0;--toast-close-button-start:0;--toast-close-button-end:unset;--toast-close-button-transform:translate(-35%, -35%)}[data-sonner-toaster][dir=rtl],html[dir=rtl]{--toast-icon-margin-start:4px;--toast-icon-margin-end:-3px;--toast-svg-margin-start:0px;--toast-svg-margin-end:-1px;--toast-button-margin-start:0;--toast-button-margin-end:auto;--toast-close-button-start:unset;--toast-close-button-end:0;--toast-close-button-transform:translate(35%, -35%)}[data-sonner-toaster]{position:fixed;width:var(--width);font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;--gray1:hsl(0, 0%, 99%);--gray2:hsl(0, 0%, 97.3%);--gray3:hsl(0, 0%, 95.1%);--gray4:hsl(0, 0%, 93%);--gray5:hsl(0, 0%, 90.9%);--gray6:hsl(0, 0%, 88.7%);--gray7:hsl(0, 0%, 85.8%);--gray8:hsl(0, 0%, 78%);--gray9:hsl(0, 0%, 56.1%);--gray10:hsl(0, 0%, 52.3%);--gray11:hsl(0, 0%, 43.5%);--gray12:hsl(0, 0%, 9%);--border-radius:8px;box-sizing:border-box;padding:0;margin:0;list-style:none;outline:0;z-index:999999999;transition:transform .4s ease}@media (hover:none) and (pointer:coarse){[data-sonner-toaster][data-lifted=true]{transform:none}}[data-sonner-toaster][data-x-position=right]{right:var(--offset-right)}[data-sonner-toaster][data-x-position=left]{left:var(--offset-left)}[data-sonner-toaster][data-x-position=center]{left:50%;transform:translateX(-50%)}[data-sonner-toaster][data-y-position=top]{top:var(--offset-top)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--offset-bottom)}[data-sonner-toast]{--y:translateY(100%);--lift-amount:calc(var(--lift) * var(--gap));z-index:var(--z-index);position:absolute;opacity:0;transform:var(--y);touch-action:none;transition:transform .4s,opacity .4s,height .4s,box-shadow .2s;box-sizing:border-box;outline:0;overflow-wrap:anywhere}[data-sonner-toast][data-styled=true]{padding:16px;background:var(--normal-bg);border:1px solid var(--normal-border);color:var(--normal-text);border-radius:var(--border-radius);box-shadow:0 4px 12px rgba(0,0,0,.1);width:var(--width);font-size:13px;display:flex;align-items:center;gap:6px}[data-sonner-toast]:focus-visible{box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}[data-sonner-toast][data-y-position=top]{top:0;--y:translateY(-100%);--lift:1;--lift-amount:calc(1 * var(--gap))}[data-sonner-toast][data-y-position=bottom]{bottom:0;--y:translateY(100%);--lift:-1;--lift-amount:calc(var(--lift) * var(--gap))}[data-sonner-toast][data-styled=true] [data-description]{font-weight:400;line-height:1.4;color:#3f3f3f}[data-rich-colors=true][data-sonner-toast][data-styled=true] [data-description]{color:inherit}[data-sonner-toaster][data-sonner-theme=dark] [data-description]{color:#e8e8e8}[data-sonner-toast][data-styled=true] [data-title]{font-weight:500;line-height:1.5;color:inherit}[data-sonner-toast][data-styled=true] [data-icon]{display:flex;height:16px;width:16px;position:relative;justify-content:flex-start;align-items:center;flex-shrink:0;margin-left:var(--toast-icon-margin-start);margin-right:var(--toast-icon-margin-end)}[data-sonner-toast][data-promise=true] [data-icon]>svg{opacity:0;transform:scale(.8);transform-origin:center;animation:sonner-fade-in .3s ease forwards}[data-sonner-toast][data-styled=true] [data-icon]>*{flex-shrink:0}[data-sonner-toast][data-styled=true] [data-icon] svg{margin-left:var(--toast-svg-margin-start);margin-right:var(--toast-svg-margin-end)}[data-sonner-toast][data-styled=true] [data-content]{display:flex;flex-direction:column;gap:2px;flex:1;min-width:0}[data-sonner-toast][data-styled=true] [data-button]{border-radius:4px;padding-left:8px;padding-right:8px;height:24px;font-size:12px;color:var(--normal-bg);background:var(--normal-text);margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end);border:none;font-weight:500;cursor:pointer;outline:0;display:flex;align-items:center;flex-shrink:0;transition:opacity .4s,box-shadow .2s}[data-sonner-toast][data-styled=true] [data-button]:focus-visible{box-shadow:0 0 0 2px rgba(0,0,0,.4)}[data-sonner-toast][data-styled=true] [data-button]:first-of-type{margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end)}[data-sonner-toast][data-styled=true] [data-cancel]{color:var(--normal-text);background:rgba(0,0,0,.08)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast][data-styled=true] [data-cancel]{background:rgba(255,255,255,.3)}[data-sonner-toast][data-styled=true] [data-close-button]{position:absolute;left:var(--toast-close-button-start);right:var(--toast-close-button-end);top:0;height:20px;width:20px;display:flex;justify-content:center;align-items:center;padding:0;color:var(--normal-text);background:var(--normal-bg);border:1px solid var(--normal-border);transform:var(--toast-close-button-transform);border-radius:50%;cursor:pointer;z-index:1;transition:opacity .1s,background .2s,border-color .2s}[data-sonner-toast][data-styled=true] [data-close-button]:focus-visible{box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}[data-sonner-toast][data-styled=true] [data-disabled=true]{cursor:not-allowed}[data-sonner-toast][data-styled=true]:hover [data-close-button]:hover{background:var(--gray2);border-color:var(--gray5)}[data-sonner-toast][data-swiping=true]::before{content:'';position:absolute;left:-100%;right:-100%;height:100%;z-index:-1}[data-sonner-toast][data-y-position=top][data-swiping=true]::before{bottom:50%;transform:scaleY(3) translateY(50%)}[data-sonner-toast][data-y-position=bottom][data-swiping=true]::before{top:50%;transform:scaleY(3) translateY(-50%)}[data-sonner-toast][data-swiping=false][data-removed=true]::before{content:'';position:absolute;inset:0;transform:scaleY(2)}[data-sonner-toast][data-expanded=true]::after{content:'';position:absolute;left:0;height:calc(var(--gap) + 1px);bottom:100%;width:100%}[data-sonner-toast][data-mounted=true]{--y:translateY(0);opacity:1}[data-sonner-toast][data-expanded=false][data-front=false]{--scale:var(--toasts-before) * 0.05 + 1;--y:translateY(calc(var(--lift-amount) * var(--toasts-before))) scale(calc(-1 * var(--scale)));height:var(--front-toast-height)}[data-sonner-toast]>*{transition:opacity .4s}[data-sonner-toast][data-x-position=right]{right:0}[data-sonner-toast][data-x-position=left]{left:0}[data-sonner-toast][data-expanded=false][data-front=false][data-styled=true]>*{opacity:0}[data-sonner-toast][data-visible=false]{opacity:0;pointer-events:none}[data-sonner-toast][data-mounted=true][data-expanded=true]{--y:translateY(calc(var(--lift) * var(--offset)));height:var(--initial-height)}[data-sonner-toast][data-removed=true][data-front=true][data-swipe-out=false]{--y:translateY(calc(var(--lift) * -100%));opacity:0}[data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=true]{--y:translateY(calc(var(--lift) * var(--offset) + var(--lift) * -100%));opacity:0}[data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=false]{--y:translateY(40%);opacity:0;transition:transform .5s,opacity .2s}[data-sonner-toast][data-removed=true][data-front=false]::before{height:calc(var(--initial-height) + 20%)}[data-sonner-toast][data-swiping=true]{transform:var(--y) translateY(var(--swipe-amount-y,0)) translateX(var(--swipe-amount-x,0));transition:none}[data-sonner-toast][data-swiped=true]{-webkit-user-select:none;user-select:none}[data-sonner-toast][data-swipe-out=true][data-y-position=bottom],[data-sonner-toast][data-swipe-out=true][data-y-position=top]{animation-duration:.2s;animation-timing-function:ease-out;animation-fill-mode:forwards}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=left]{animation-name:swipe-out-left}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=right]{animation-name:swipe-out-right}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=up]{animation-name:swipe-out-up}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=down]{animation-name:swipe-out-down}@keyframes swipe-out-left{from{transform:var(--y) translateX(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translateX(calc(var(--swipe-amount-x) - 100%));opacity:0}}@keyframes swipe-out-right{from{transform:var(--y) translateX(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translateX(calc(var(--swipe-amount-x) + 100%));opacity:0}}@keyframes swipe-out-up{from{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) - 100%));opacity:0}}@keyframes swipe-out-down{from{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) + 100%));opacity:0}}@media (max-width:600px){[data-sonner-toaster]{position:fixed;right:var(--mobile-offset-right);left:var(--mobile-offset-left);width:100%}[data-sonner-toaster][dir=rtl]{left:calc(var(--mobile-offset-left) * -1)}[data-sonner-toaster] [data-sonner-toast]{left:0;right:0;width:calc(100% - var(--mobile-offset-left) * 2)}[data-sonner-toaster][data-x-position=left]{left:var(--mobile-offset-left)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--mobile-offset-bottom)}[data-sonner-toaster][data-y-position=top]{top:var(--mobile-offset-top)}[data-sonner-toaster][data-x-position=center]{left:var(--mobile-offset-left);right:var(--mobile-offset-right);transform:none}}[data-sonner-toaster][data-sonner-theme=light]{--normal-bg:#fff;--normal-border:var(--gray4);--normal-text:var(--gray12);--success-bg:hsl(143, 85%, 96%);--success-border:hsl(145, 92%, 87%);--success-text:hsl(140, 100%, 27%);--info-bg:hsl(208, 100%, 97%);--info-border:hsl(221, 91%, 93%);--info-text:hsl(210, 92%, 45%);--warning-bg:hsl(49, 100%, 97%);--warning-border:hsl(49, 91%, 84%);--warning-text:hsl(31, 92%, 45%);--error-bg:hsl(359, 100%, 97%);--error-border:hsl(359, 100%, 94%);--error-text:hsl(360, 100%, 45%)}[data-sonner-toaster][data-sonner-theme=light] [data-sonner-toast][data-invert=true]{--normal-bg:#000;--normal-border:hsl(0, 0%, 20%);--normal-text:var(--gray1)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast][data-invert=true]{--normal-bg:#fff;--normal-border:var(--gray3);--normal-text:var(--gray12)}[data-sonner-toaster][data-sonner-theme=dark]{--normal-bg:#000;--normal-bg-hover:hsl(0, 0%, 12%);--normal-border:hsl(0, 0%, 20%);--normal-border-hover:hsl(0, 0%, 25%);--normal-text:var(--gray1);--success-bg:hsl(150, 100%, 6%);--success-border:hsl(147, 100%, 12%);--success-text:hsl(150, 86%, 65%);--info-bg:hsl(215, 100%, 6%);--info-border:hsl(223, 43%, 17%);--info-text:hsl(216, 87%, 65%);--warning-bg:hsl(64, 100%, 6%);--warning-border:hsl(60, 100%, 9%);--warning-text:hsl(46, 87%, 65%);--error-bg:hsl(358, 76%, 10%);--error-border:hsl(357, 89%, 16%);--error-text:hsl(358, 100%, 81%)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast] [data-close-button]{background:var(--normal-bg);border-color:var(--normal-border);color:var(--normal-text)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast] [data-close-button]:hover{background:var(--normal-bg-hover);border-color:var(--normal-border-hover)}[data-rich-colors=true][data-sonner-toast][data-type=success]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=success] [data-close-button]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=info]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=info] [data-close-button]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning] [data-close-button]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=error]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}[data-rich-colors=true][data-sonner-toast][data-type=error] [data-close-button]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}.sonner-loading-wrapper{--size:16px;height:var(--size);width:var(--size);position:absolute;inset:0;z-index:10}.sonner-loading-wrapper[data-visible=false]{transform-origin:center;animation:sonner-fade-out .2s ease forwards}.sonner-spinner{position:relative;top:50%;left:50%;height:var(--size);width:var(--size)}.sonner-loading-bar{animation:sonner-spin 1.2s linear infinite;background:var(--gray11);border-radius:6px;height:8%;left:-10%;position:absolute;top:-3.9%;width:24%}.sonner-loading-bar:first-child{animation-delay:-1.2s;transform:rotate(.0001deg) translate(146%)}.sonner-loading-bar:nth-child(2){animation-delay:-1.1s;transform:rotate(30deg) translate(146%)}.sonner-loading-bar:nth-child(3){animation-delay:-1s;transform:rotate(60deg) translate(146%)}.sonner-loading-bar:nth-child(4){animation-delay:-.9s;transform:rotate(90deg) translate(146%)}.sonner-loading-bar:nth-child(5){animation-delay:-.8s;transform:rotate(120deg) translate(146%)}.sonner-loading-bar:nth-child(6){animation-delay:-.7s;transform:rotate(150deg) translate(146%)}.sonner-loading-bar:nth-child(7){animation-delay:-.6s;transform:rotate(180deg) translate(146%)}.sonner-loading-bar:nth-child(8){animation-delay:-.5s;transform:rotate(210deg) translate(146%)}.sonner-loading-bar:nth-child(9){animation-delay:-.4s;transform:rotate(240deg) translate(146%)}.sonner-loading-bar:nth-child(10){animation-delay:-.3s;transform:rotate(270deg) translate(146%)}.sonner-loading-bar:nth-child(11){animation-delay:-.2s;transform:rotate(300deg) translate(146%)}.sonner-loading-bar:nth-child(12){animation-delay:-.1s;transform:rotate(330deg) translate(146%)}@keyframes sonner-fade-in{0%{opacity:0;transform:scale(.8)}100%{opacity:1;transform:scale(1)}}@keyframes sonner-fade-out{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(.8)}}@keyframes sonner-spin{0%{opacity:1}100%{opacity:.15}}@media (prefers-reduced-motion){.sonner-loading-bar,[data-sonner-toast],[data-sonner-toast]>*{transition:none!important;animation:none!important}}.sonner-loader{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);transform-origin:center;transition:opacity .2s,transform .2s}.sonner-loader[data-visible=false]{opacity:0;transform:scale(.8) translate(-50%,-50%)}");
function q9(e) {
return e.label !== void 0;
}
-var _Re = 3, vRe = "24px", yRe = "16px", J9 = 4e3, bRe = 356, xRe = 14, SRe = 45, CRe = 200;
+var NRe = 3, PRe = "24px", FRe = "16px", J9 = 4e3, IRe = 356, LRe = 14, RRe = 45, zRe = 200;
function Y9(...e) {
return e.filter(Boolean).join(" ");
}
-function wRe(e) {
+function BRe(e) {
let [t, n] = e.split("-"), r = [];
return t && r.push(t), n && r.push(n), r;
}
-var TRe = (e) => {
- let { invert: t, toast: n, unstyled: r, interacting: i, setHeights: a, visibleToasts: o, heights: s, index: c, toasts: l, expanded: u, removeToast: d, defaultRichColors: f, closeButton: p, style: m, cancelButtonStyle: h, actionButtonStyle: g, className: _ = "", descriptionClassName: v = "", duration: y, position: b, gap: x, expandByDefault: S, classNames: C, icons: w, closeButtonAriaLabel: T = "Close toast" } = e, [E, D] = R.useState(null), [O, k] = R.useState(null), [A, j] = R.useState(!1), [M, N] = R.useState(!1), [P, ee] = R.useState(!1), [F, I] = R.useState(!1), [te, ne] = R.useState(!1), [re, ie] = R.useState(0), [ae, oe] = R.useState(0), se = R.useRef(n.duration || y || J9), ce = R.useRef(null), le = R.useRef(null), ue = c === 0, L = c + 1 <= o, de = n.type, fe = de ?? "default", pe = n.dismissible !== !1, me = n.className || "", he = n.descriptionClassName || "", ge = R.useMemo(() => s.findIndex((e) => e.toastId === n.id) || 0, [s, n.id]), _e = R.useMemo(() => n.closeButton ?? p, [n.closeButton, p]), ve = R.useMemo(() => n.duration || y || J9, [n.duration, y]), ye = R.useRef(0), be = R.useRef(0), xe = R.useRef(0), Se = R.useRef(null), [Ce, we] = b.split("-"), Te = R.useMemo(() => s.reduce((e, t, n) => n >= ge ? e : e + t.height, 0), [s, ge]), Ee = fRe(), De = R.useMemo(() => e.swipeDirections ?? wRe(b), [e.swipeDirections, b]), Oe = n.invert || t, ke = de === "loading";
+var VRe = (e) => {
+ let { invert: t, toast: n, unstyled: r, interacting: i, setHeights: a, visibleToasts: o, heights: s, index: c, toasts: l, expanded: u, removeToast: d, defaultRichColors: f, closeButton: p, style: m, cancelButtonStyle: h, actionButtonStyle: g, className: _ = "", descriptionClassName: v = "", duration: y, position: b, gap: x, expandByDefault: S, classNames: C, icons: w, closeButtonAriaLabel: T = "Close toast" } = e, [E, D] = R.useState(null), [O, k] = R.useState(null), [A, j] = R.useState(!1), [M, N] = R.useState(!1), [P, ee] = R.useState(!1), [F, I] = R.useState(!1), [te, ne] = R.useState(!1), [re, ie] = R.useState(0), [ae, oe] = R.useState(0), se = R.useRef(n.duration || y || J9), ce = R.useRef(null), le = R.useRef(null), ue = c === 0, L = c + 1 <= o, de = n.type, fe = de ?? "default", pe = n.dismissible !== !1, me = n.className || "", he = n.descriptionClassName || "", ge = R.useMemo(() => s.findIndex((e) => e.toastId === n.id) || 0, [s, n.id]), _e = R.useMemo(() => n.closeButton ?? p, [n.closeButton, p]), ve = R.useMemo(() => n.duration || y || J9, [n.duration, y]), ye = R.useRef(0), be = R.useRef(0), xe = R.useRef(0), Se = R.useRef(null), [Ce, we] = b.split("-"), Te = R.useMemo(() => s.reduce((e, t, n) => n >= ge ? e : e + t.height, 0), [s, ge]), Ee = ORe(), De = R.useMemo(() => e.swipeDirections ?? BRe(b), [e.swipeDirections, b]), Oe = n.invert || t, ke = de === "loading";
be.current = R.useMemo(() => ge * x + Te, [ge, Te]), R.useEffect(() => {
se.current = ve;
}, [ve]), R.useEffect(() => {
@@ -75781,7 +76221,7 @@ var TRe = (e) => {
let Ae = R.useCallback(() => {
N(!0), ie(be.current), a((e) => e.filter((e) => e.toastId !== n.id)), setTimeout(() => {
d(n);
- }, CRe);
+ }, zRe);
}, [
n,
d,
@@ -75814,12 +76254,12 @@ var TRe = (e) => {
return w?.loading ? /*#__PURE__*/ R.createElement("div", {
className: Y9(C?.loader, n?.classNames?.loader, "sonner-loader"),
"data-visible": de === "loading"
- }, w.loading) : /*#__PURE__*/ R.createElement(oRe, {
+ }, w.loading) : /*#__PURE__*/ R.createElement(SRe, {
className: Y9(C?.loader, n?.classNames?.loader),
visible: de === "loading"
});
}
- let Me = n.icon || w?.[de] || iRe(de);
+ let Me = n.icon || w?.[de] || bRe(de);
return /*#__PURE__*/ R.createElement("li", {
tabIndex: 0,
ref: le,
@@ -75866,7 +76306,7 @@ var TRe = (e) => {
if (F || !pe) return;
Se.current = null;
let e = Number(le.current?.style.getPropertyValue("--swipe-amount-x").replace("px", "") || 0), t = Number(le.current?.style.getPropertyValue("--swipe-amount-y").replace("px", "") || 0), r = (/* @__PURE__ */ new Date()).getTime() - ce.current?.getTime(), i = E === "x" ? e : t, a = Math.abs(i) / r;
- if ((E === "x" ? De.includes(e > 0 ? "right" : "left") : De.includes(t > 0 ? "bottom" : "top")) && (Math.abs(i) >= SRe || a > .11)) {
+ if ((E === "x" ? De.includes(e > 0 ? "right" : "left") : De.includes(t > 0 ? "bottom" : "top")) && (Math.abs(i) >= RRe || a > .11)) {
ie(be.current), n.onDismiss == null || n.onDismiss.call(n, n), k(E === "x" ? e > 0 ? "right" : "left" : t > 0 ? "down" : "up"), Ae(), I(!0);
return;
}
@@ -75907,7 +76347,7 @@ var TRe = (e) => {
Ae(), n.onDismiss == null || n.onDismiss.call(n, n);
},
className: Y9(C?.closeButton, n?.classNames?.closeButton)
- }, w?.close ?? dRe) : null, (de || n.icon || n.promise) && n.icon !== null && (w?.[de] !== null || n.icon) ? /*#__PURE__*/ R.createElement("div", {
+ }, w?.close ?? DRe) : null, (de || n.icon || n.promise) && n.icon !== null && (w?.[de] !== null || n.icon) ? /*#__PURE__*/ R.createElement("div", {
"data-icon": "",
className: Y9(C?.icon, n?.classNames?.icon)
}, de === "loading" ? n.icon || je() : n.promise ? je() : null, de === "loading" ? null : Me) : null, /*#__PURE__*/ R.createElement("div", {
@@ -75942,10 +76382,10 @@ function X9() {
let e = document.documentElement.getAttribute("dir");
return e === "auto" || !e ? window.getComputedStyle(document.documentElement).direction : e;
}
-function ERe(e, t) {
+function HRe(e, t) {
let n = {};
return [e, t].forEach((e, t) => {
- let r = t === 1, i = r ? "--mobile-offset" : "--offset", a = r ? yRe : vRe;
+ let r = t === 1, i = r ? "--mobile-offset" : "--offset", a = r ? FRe : PRe;
function o(e) {
[
"top",
@@ -75966,8 +76406,8 @@ function ERe(e, t) {
}) : o(a);
}), n;
}
-var DRe = /*#__PURE__*/ R.forwardRef(function(e, t) {
- let { id: n, invert: r, position: i = "bottom-right", hotkey: a = ["altKey", "KeyT"], expand: o, closeButton: s, className: c, offset: l, mobileOffset: u, theme: d = "light", richColors: f, duration: p, style: m, visibleToasts: h = _Re, toastOptions: g, dir: _ = X9(), gap: v = xRe, icons: y, customAriaLabel: b, containerAriaLabel: x = "Notifications" } = e, [S, C] = R.useState([]), w = R.useMemo(() => n ? S.filter((e) => e.toasterId === n) : S.filter((e) => !e.toasterId), [S, n]), T = R.useMemo(() => Array.from(new Set([i].concat(w.filter((e) => e.position).map((e) => e.position)))), [w, i]), [E, D] = R.useState([]), [O, k] = R.useState(!1), [A, j] = R.useState(!1), [M, N] = R.useState(d === "system" ? typeof window < "u" && window.matchMedia && window.matchMedia("(prefers-color-scheme: dark)").matches ? "dark" : "light" : d), P = R.useRef(null), ee = a.join("+").replace(/Key/g, "").replace(/Digit/g, ""), F = R.useRef(null), I = R.useRef(!1), te = R.useCallback((e) => {
+var URe = /*#__PURE__*/ R.forwardRef(function(e, t) {
+ let { id: n, invert: r, position: i = "bottom-right", hotkey: a = ["altKey", "KeyT"], expand: o, closeButton: s, className: c, offset: l, mobileOffset: u, theme: d = "light", richColors: f, duration: p, style: m, visibleToasts: h = NRe, toastOptions: g, dir: _ = X9(), gap: v = LRe, icons: y, customAriaLabel: b, containerAriaLabel: x = "Notifications" } = e, [S, C] = R.useState([]), w = R.useMemo(() => n ? S.filter((e) => e.toasterId === n) : S.filter((e) => !e.toasterId), [S, n]), T = R.useMemo(() => Array.from(new Set([i].concat(w.filter((e) => e.position).map((e) => e.position)))), [w, i]), [E, D] = R.useState([]), [O, k] = R.useState(!1), [A, j] = R.useState(!1), [M, N] = R.useState(d === "system" ? typeof window < "u" && window.matchMedia && window.matchMedia("(prefers-color-scheme: dark)").matches ? "dark" : "light" : d), P = R.useRef(null), ee = a.join("+").replace(/Key/g, "").replace(/Digit/g, ""), F = R.useRef(null), I = R.useRef(!1), te = R.useCallback((e) => {
C((t) => (t.find((t) => t.id === e.id)?.delete || G9.dismiss(e.id), t.filter(({ id: t }) => t !== e.id)));
}, []);
return R.useEffect(() => G9.subscribe((e) => {
@@ -76053,10 +76493,10 @@ var DRe = /*#__PURE__*/ R.forwardRef(function(e, t) {
"data-x-position": a,
style: {
"--front-toast-height": `${E[0]?.height || 0}px`,
- "--width": `${bRe}px`,
+ "--width": `${IRe}px`,
"--gap": `${v}px`,
...m,
- ...ERe(l, u)
+ ...HRe(l, u)
},
onBlur: (e) => {
I.current && !e.currentTarget.contains(e.relatedTarget) && (I.current = !1, F.current &&= (F.current.focus({ preventScroll: !0 }), null));
@@ -76074,7 +76514,7 @@ var DRe = /*#__PURE__*/ R.forwardRef(function(e, t) {
e.target instanceof HTMLElement && e.target.dataset.dismissible === "false" || j(!0);
},
onPointerUp: () => j(!1)
- }, w.filter((e) => !e.position && n === 0 || e.position === t).map((n, i) => /*#__PURE__*/ R.createElement(TRe, {
+ }, w.filter((e) => !e.position && n === 0 || e.position === t).map((n, i) => /*#__PURE__*/ R.createElement(VRe, {
key: n.id,
icons: y,
index: i,
@@ -76108,8 +76548,8 @@ var DRe = /*#__PURE__*/ R.forwardRef(function(e, t) {
"data-toast-glyph": t ? "draw" : "still",
"aria-hidden": "true",
dangerouslySetInnerHTML: { __html: e }
-}), Q9 = !1, ORe = (e, t) => {
- Q9 || (Q9 = !0, (0, xe.createRoot)(e).render(/* @__PURE__ */ (0, z.jsx)(DRe, {
+}), Q9 = !1, WRe = (e, t) => {
+ Q9 || (Q9 = !0, (0, xe.createRoot)(e).render(/* @__PURE__ */ (0, z.jsx)(URe, {
position: "bottom-right",
closeButton: !0,
gap: 8,
@@ -76130,7 +76570,7 @@ var DRe = /*#__PURE__*/ R.forwardRef(function(e, t) {
error: Z9(t.error, !1)
}
})));
-}, kRe = (e, t) => {
+}, GRe = (e, t) => {
let n = t.alert ? K9.error : K9.success, r = t.action;
n(/* @__PURE__ */ (0, z.jsx)("span", { dangerouslySetInnerHTML: { __html: t.html } }), {
id: e,
@@ -76147,14 +76587,14 @@ var DRe = /*#__PURE__*/ R.forwardRef(function(e, t) {
//#region src/react/entry.tsx
function $9(e) {
return (t, n) => {
- let r = (0, xe.createRoot)(t), i = (t) => r.render(/* @__PURE__ */ (0, z.jsx)(gI, { children: /* @__PURE__ */ (0, z.jsx)(e, { ...t }) }));
+ let r = (0, xe.createRoot)(t), i = (t) => r.render(/* @__PURE__ */ (0, z.jsx)(CI, { children: /* @__PURE__ */ (0, z.jsx)(e, { ...t }) }));
return (0, be.flushSync)(() => i(n)), {
update: i,
unmount: () => r.unmount()
};
};
}
-var ARe = {
+var KRe = {
activity: {
prefetch: (e, t) => Yi(t),
mount: $9(_a)
@@ -76164,81 +76604,85 @@ var ARe = {
mount: $9(vo)
},
configuration: {
- prefetch: (e, t) => FI(t),
- mount: $9(Kpe)
+ prefetch: (e, t) => HI(t),
+ mount: $9(tme)
},
"configuration-summary": {
- prefetch: (e, t) => FI(t),
- mount: $9(Jpe)
+ prefetch: (e, t) => HI(t),
+ mount: $9(rme)
},
"data-cleanup": {
prefetch: (e, t) => _l(t),
- mount: $9(ise)
+ mount: $9(Uoe)
},
duplicates: {
prefetch: (e, t) => Lo(t),
- mount: $9(pse)
+ mount: $9(Qoe)
},
"entity-hero": {
prefetch: async () => {},
- mount: $9(gj)
+ mount: $9(Jj)
},
"entity-filter": {
prefetch: async () => {},
- mount: $9(Kse)
+ mount: $9(Fse)
},
"catalog-filter": {
prefetch: async () => {},
- mount: $9(Qse)
+ mount: $9(Vse)
},
"entity-body": {
prefetch: async () => {},
- mount: $9(Ise)
+ mount: $9(Tse)
},
"follow-feed": {
- prefetch: ole,
- mount: $9(Dle)
+ prefetch: gce,
+ mount: $9(Lce)
},
"follow-manage": {
- prefetch: (e, t) => Zce(t, e.tab),
- mount: $9(Ode)
+ prefetch: (e, t) => sce(t, e.tab),
+ mount: $9(zde)
},
index: {
- prefetch: (e, t) => Lk(e, t),
- mount: $9(Ude)
+ prefetch: (e, t) => lse(e, t),
+ mount: $9(Qde)
},
"junk-queue": {
prefetch: async () => {},
- mount: $9(ofe)
+ mount: $9(hfe)
},
"library-processing": {
prefetch: (e, t) => Jo(t),
- mount: $9((e) => e.mode === "notice" ? /* @__PURE__ */ (0, z.jsx)(ffe, { ...e }) : /* @__PURE__ */ (0, z.jsx)(RO, { ...e }))
+ mount: $9((e) => e.mode === "notice" ? /* @__PURE__ */ (0, z.jsx)(xfe, { ...e }) : /* @__PURE__ */ (0, z.jsx)(ak, { ...e }))
},
playlists: {
- prefetch: (e, t) => mfe(t),
- mount: $9(Efe)
+ prefetch: (e, t) => Cfe(t),
+ mount: $9(Ffe)
},
"quality-goals": {
prefetch: (e, t) => bs(t),
- mount: $9(Ofe)
+ mount: $9(Lfe)
},
review: {
prefetch: (e, t) => tc(t),
- mount: $9(Gfe)
+ mount: $9(epe)
+ },
+ search: {
+ prefetch: async () => {},
+ mount: $9(ece)
},
scraping: {
- prefetch: (e, t) => Qfe(t),
- mount: $9(ape)
+ prefetch: (e, t) => spe(t),
+ mount: $9(mpe)
},
stats: {
- prefetch: (e, t) => Xpe(t),
- mount: $9(lPe)
+ prefetch: (e, t) => ame(t),
+ mount: $9(TPe)
},
taste: {
- prefetch: (e, t) => NPe("all", t),
- mount: $9(NFe)
+ prefetch: (e, t) => YPe("all", t),
+ mount: $9(YFe)
}
};
//#endregion
-export { U9 as configureStage, ORe as mountToaster, ARe as pages, kRe as showToast };
+export { vRe as configureStage, WRe as mountToaster, KRe as pages, GRe as showToast };
diff --git a/web/dist/peach-ui.js b/web/dist/peach-ui.js
index 47bebe5c2..025ffeb91 100644
--- a/web/dist/peach-ui.js
+++ b/web/dist/peach-ui.js
@@ -1129,6 +1129,7 @@ var Kt = {
scraping: { react: "scraping" },
"quality-goals": { react: "quality-goals" },
review: { react: "review" },
+ search: { react: "search" },
configuration: { react: "configuration" },
"configuration-summary": { react: "configuration-summary" },
activity: { react: "activity" },
diff --git a/web/index.html b/web/index.html
index a0b779427..cecdaea49 100644
--- a/web/index.html
+++ b/web/index.html
@@ -221,8 +221,8 @@
<a class="brand" href="#" id="brandHome"><img class="mark" src="/peach-logo.png" alt=""><h1 class="disp">Peach</h1><span class="sub mono">蜜桃</span></a>
<button class="ib searchback" id="searchBack" title="退出搜索" aria-label="退出搜索"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="#i-chevron-left"/></svg></button>
<div class="search"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="#i-search"/></svg>
- <input id="q" name="q" type="search" placeholder="FC2" autocomplete="off" aria-label="搜索作品、女优、厂牌或标签">
- <div class="searchmenu" id="searchMenu" hidden></div></div>
+ <input id="q" name="q" type="search" placeholder="搜索馆藏" data-suggestion="" autocomplete="off" aria-label="搜索作品、女优、厂牌或标签">
+ <div class="searchmenu" id="searchMenu" data-search-menu hidden></div></div>
<button class="ib" id="searchBtn" title="搜索" aria-label="搜索"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="#i-search"/></svg></button>
<button class="ib" id="immerseBtn" title="沉浸模式 · 随机连播" aria-label="进入沉浸模式"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="#i-play"/></svg></button>
<button class="ib" id="selectMode" title="多选(Ctrl 单项,Shift 连续)" aria-label="多选模式" aria-pressed="false"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="#i-square-check-big"/></svg></button>