Skip to content

armgit / peach

Public Imported from GitHub
0

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

fix(web): 关注管理页起任务时不再拿上一趟的终态顶替这一趟

longmeidaof75325207ee0
diff --git a/frontend/e2e/design.test.ts b/frontend/e2e/design.test.ts
index 036275309..8ceb4a606 100644
--- a/frontend/e2e/design.test.ts
+++ b/frontend/e2e/design.test.ts
@@ -242,6 +242,60 @@ const FAILED_JOB = {
})),
};
+/** 一条关注来源。字段以 `_source_payload`(`src/peach/web_follow.py`)为准。 */
+const followSource = (id: number, author: string, provider: string, label: string, status = 'ok') => ({
+ id, provider: provider.toLowerCase(), provider_label: provider, ref: `ref/${id}`, label,
+ url: `https://example.com/${id}`, enabled: true, last_status: status,
+ last_checked_at: '2026-09-01T00:00:00Z', created_at: '2026-08-01T00:00:00Z',
+ author_key: `name:${author}`, author_name: author,
+});
+
+/** 一个站的凭据状态。字段以 `/api/follow/credentials` 为准。 */
+const followCredential = (provider: string, requirement: string, present: boolean, missing: string[]) => ({
+ provider: provider.toLowerCase(), provider_label: provider, followable: true, requirement,
+ needs: missing, fields: present ? ['cookie'] : [], missing, present,
+});
+
+/** 关注管理页按一份造好的来源与凭据打开:演示库没有关注来源,也凑不齐四种凭据处境。
+ * 站标同 `openScraping`:造出来的来源取不到图标,给一张能加载完的图。 */
+async function openFollowManage(browser: Browser): Promise<Visit> {
+ const opened = await visit(browser, '/follow-manage', DESKTOP);
+ const json = (body: unknown) => ({ status: 200, contentType: 'application/json', body: JSON.stringify(body) });
+ await opened.page.route('**/api/follow?limit=1', (route) => route.fulfill(json({
+ sources: [
+ followSource(1, 'kou', 'Kemono', 'kou · Kemono'),
+ followSource(2, 'kou', 'Pawchive', 'kou · Pawchive'),
+ followSource(3, 'mira', 'Kemono', 'mira · Kemono', 'error'),
+ ],
+ counts: { new: 0, seen: 0, saved: 0, ignored: 0 },
+ author_aliases: [{ canonical_key: 'kou', canonical_name: 'kou', aliases: [{ key: 'kou_art', name: 'kou_art' }] }],
+ alias_suggestions: [],
+ suggestions: [],
+ })));
+ await opened.page.route('**/api/follow/credentials', (route) => route.fulfill(json({
+ root: 'C:\\peach\\creds',
+ providers: [
+ followCredential('Fanbox', 'required', false, ['FANBOXSESSID']),
+ followCredential('Patreon', 'optional', true, []),
+ followCredential('OnlyFans', 'blocked', false, []),
+ followCredential('Kemono', 'none', false, []),
+ ],
+ })));
+ await opened.page.route('**/source-icon**', (route) => route.fulfill({
+ status: 200, contentType: 'image/png', body: Buffer.from(PIXEL, 'base64'),
+ }));
+ await opened.page.reload({ waitUntil: 'load' });
+ await opened.page.locator('section[aria-label="kou 的关注来源"]').waitFor({ timeout: 15_000 });
+ await settle(opened.page);
+ return opened;
+}
+
+/** 切到关注管理页的另一栏。栏名后面可能挂着待配置的数目,按开头认。 */
+async function followTab(opened: Visit, name: string): Promise<void> {
+ await opened.page.locator('#stats').getByRole('tab', { name: new RegExp(`^${name}`) }).click({ timeout: 5_000 });
+ await settle(opened.page);
+}
+
describe('设计决定', () => {
let browser: Browser;
@@ -1089,4 +1143,80 @@ describe('设计决定', () => {
await opened.close();
}
});
+
+ it('关注列表工具行里的主动作、版式开关、排序框和方向键同高', { timeout: 60_000 }, async () => {
+ const opened = await openFollowManage(browser);
+ try {
+ const page = opened.page;
+ const controls = {
+ 检查全部: page.locator('button[aria-label="检查全部"]'),
+ // 两枚图标键拼成一组,对齐的是整组的外框,不是组里单个键。
+ 版式开关: page.locator('[aria-label="关注列表版式"]'),
+ 排序框: page.locator('button[aria-label="关注列表排序"]'),
+ 方向键: page.locator('button[aria-label^="按检查时间"]'),
+ };
+ const heights: Record<string, number> = {};
+ for (const [name, control] of Object.entries(controls)) {
+ heights[name] = (await control.boundingBox())!.height;
+ }
+ assert.equal(new Set(Object.values(heights)).size, 1, `同一排控件高度不一:${JSON.stringify(heights)}`);
+ assert.deepEqual(opened.problems, []);
+ } finally {
+ await opened.close();
+ }
+ });
+
+ it('勾中的来源在卡片和表格里都铺 BoardUI 数据表那一档选中底色', { timeout: 60_000 }, async () => {
+ const opened = await openFollowManage(browser);
+ try {
+ const page = opened.page;
+ const selected = await tokenColor(page, '.peach-react', '--color-background-secondary-default');
+ await page.getByRole('checkbox', { name: '选择 kou · Kemono' }).check({ force: true, timeout: 5_000 });
+ const cardRow = page.locator('[data-source-divider] > [data-selected]');
+ assert.equal(await cardRow.count(), 1);
+ assert.equal(await cardRow.evaluate((row) => getComputedStyle(row).backgroundColor), selected,
+ '卡片里的选中行没有铺选中底色');
+
+ await page.locator('button[aria-label="表格视图"]').click({ timeout: 5_000 });
+ const tableRow = page.locator('[data-follow-selected]');
+ await tableRow.waitFor({ timeout: 5_000 });
+ assert.equal(await tableRow.evaluate((row) => getComputedStyle(row).backgroundColor), selected,
+ '表格里的选中行和卡片里的不是同一档');
+ assert.deepEqual(opened.problems, []);
+ } finally {
+ await opened.close();
+ }
+ });
+
+ it('别名的组数是次要字色的读数,不借提醒或主按钮的颜色', { timeout: 60_000 }, async () => {
+ const opened = await openFollowManage(browser);
+ try {
+ await followTab(opened, '添加关注');
+ const count = opened.page.getByText('1 组', { exact: true });
+ const look = await count.evaluate((node) => ({
+ ink: getComputedStyle(node).color, face: getComputedStyle(node).backgroundColor,
+ }));
+ assert.equal(look.ink, await tokenColor(opened.page, '.peach-react', '--color-text-secondary'));
+ assert.equal(look.face, 'rgba(0, 0, 0, 0)', '组数画成了带底色的徽章');
+ assert.deepEqual(opened.problems, []);
+ } finally {
+ await opened.close();
+ }
+ });
+
+ it('凭据的四种处境四副底色:待办和完成一眼分得开', { timeout: 60_000 }, async () => {
+ const opened = await openFollowManage(browser);
+ try {
+ await followTab(opened, '来源和凭证');
+ const faces: Record<string, string> = {};
+ for (const state of ['需要', '已配置', '接不进来', '不需要']) {
+ faces[state] = await opened.page.getByText(state, { exact: true }).first()
+ .evaluate((chip) => getComputedStyle(chip).backgroundColor);
+ }
+ assert.equal(new Set(Object.values(faces)).size, 4, `有两种处境同色:${JSON.stringify(faces)}`);
+ assert.deepEqual(opened.problems, []);
+ } finally {
+ await opened.close();
+ }
+ });
});
diff --git a/frontend/src/react/follow-manage/add-source.tsx b/frontend/src/react/follow-manage/add-source.tsx
index 466d3b09c..d393eafe9 100644
--- a/frontend/src/react/follow-manage/add-source.tsx
+++ b/frontend/src/react/follow-manage/add-source.tsx
@@ -193,6 +193,8 @@ function PickRow(
export function AddSource({ data, credentials, readOnly, toast, openCredentials }: AddSourceProps) {
const [line, setLine] = useState('');
+ /** 这一趟查的是什么。输入框在发出查找时就清空了,等待态的那句提示按它判断。 */
+ const [asked, setAsked] = useState('');
const [term, setTerm] = useState('');
const [focused, setFocused] = useState(false);
const [active, setActive] = useState(-1);
@@ -231,10 +233,13 @@ export function AddSource({ data, credentials, readOnly, toast, openCredentials
const resolve = useMutation({
mutationFn: (text: string) => startResolve([text]),
- onSuccess: () => {
+ onSuccess: (started) => {
setTracking(true);
setOutcome(null);
setUnpicked(new Set());
+ /* 同检查那一趟:先把这一趟的快照换进缓存,上一趟的终态才不会在重读回来之前冒充结果,
+ 这一趟在重读之前就跑完时也不会被那份旧快照顶掉。 */
+ queryClient.setQueryData(FOLLOW_RESOLVE_KEY, started);
void queryClient.invalidateQueries({ queryKey: FOLLOW_RESOLVE_KEY, exact: true });
},
onError: (cause) => setProblem(errorMessage(cause)),
@@ -255,6 +260,7 @@ export function AddSource({ data, credentials, readOnly, toast, openCredentials
if (!query || running || resolve.isPending) return;
setProblem('');
setActive(-1);
+ setAsked(query);
setLine('');
setTerm('');
resolve.mutate(query);
@@ -319,7 +325,7 @@ export function AddSource({ data, credentials, readOnly, toast, openCredentials
});
const guesses = data.suggestions || [];
- const byName = !line.includes('/');
+ const byName = !asked.includes('/');
const suggesting = suggest.isFetching;
const menuOpen = focused && (options.length > 0 || suggesting);
diff --git a/frontend/src/react/follow-manage/source-list.tsx b/frontend/src/react/follow-manage/source-list.tsx
index de1b528b2..fea222632 100644
--- a/frontend/src/react/follow-manage/source-list.tsx
+++ b/frontend/src/react/follow-manage/source-list.tsx
@@ -260,10 +260,12 @@ export function SourceList(props: SourceListProps) {
const check = useMutation({
mutationFn: (ids: number[]) => startCheck(ids),
- onSuccess: () => {
+ onSuccess: (started) => {
setTracking(true);
setOutcome(null);
- // 起的那一次回的就是任务快照,但节律由这个键说了算:让它立刻重读一次接上。
+ /* 起的那一次回的就是这一趟的快照,先换进缓存再重读:缓存里还躺着上一趟的终态,重读
+ 回来之前它会先被当成这一趟的回执报出去。 */
+ queryClient.setQueryData(FOLLOW_CHECK_KEY, started);
void queryClient.invalidateQueries({ queryKey: FOLLOW_CHECK_KEY, exact: true });
},
onError: (cause) => setProblem(errorMessage(cause)),
diff --git a/frontend/test/react/follow-manage.test.tsx b/frontend/test/react/follow-manage.test.tsx
index 3d3b3f8ce..9e2d88750 100644
--- a/frontend/test/react/follow-manage.test.tsx
+++ b/frontend/test/react/follow-manage.test.tsx
@@ -9,13 +9,16 @@ import { afterEach, expect, it, vi } from 'vitest';
import { queryClient } from '../../src/react/query';
import {
- authorGroups, checkSummary, FOLLOW_CHECK_URL, FOLLOW_CREDENTIALS_URL, FOLLOW_SOURCE_URL,
- FOLLOW_URL, JOB_POLL_MS, pageWindow, prefetchFollowManage, tableRows,
- type CheckJob, type CredentialData, type FollowData, type FollowSource,
+ authorAvatar, authorGroups, authorInitial, authorName, checkSummary, FOLLOW_CHECK_URL,
+ FOLLOW_CREDENTIAL_URL, FOLLOW_CREDENTIALS_URL, FOLLOW_RESOLVE_URL, FOLLOW_SOURCE_URL,
+ FOLLOW_SUGGEST_URL, FOLLOW_URL, JOB_POLL_MS, pageWindow, prefetchFollowManage,
+ sortLabel, SUGGEST_DEBOUNCE_MS, tableRows,
+ type CheckJob, type CredentialData, type CredentialRow, type FollowData, type FollowSource,
+ type ResolveJob, type SuggestData,
} from '../../src/react/follow-manage/follow-manage';
import { FollowManagePage } from '../../src/react/follow-manage/follow-manage-page';
-import { choose, click, mountRoot, settle } from './render';
+import { buttonNamed, choose, click, mountRoot, settle, type } from './render';
// 客户端是模块级的单例(所有 React 根共用一个),用例之间不清就互相喂数据。
afterEach(() => queryClient.clear());
@@ -67,11 +70,20 @@ const IDLE: CheckJob = { status: 'idle' } as CheckJob;
const ok = (body: unknown) => ({ ok: true, status: 200, json: async () => body });
+const refuse = (error: string) => ({ ok: false, status: 400, json: async () => ({ error }) });
+
interface Plan {
data?: FollowData;
- /** 检查任务的快照:给一串就按顺序一份一份回(最后一份之后一直回它),给函数就每次现问。 */
- check?: CheckJob[] | (() => CheckJob);
- resolve?: unknown;
+ creds?: CredentialData;
+ /** 检查任务的快照:给一串就按顺序一份一份回(最后一份之后一直回它),给函数就每次现问。
+ * 函数回一个还没兑现的 Promise,就是这一问还在路上。 */
+ check?: CheckJob[] | (() => CheckJob | Promise<CheckJob>);
+ /** 查找任务此刻的快照,每次现问:用例在点「查找」之前把它推到想要的那一步。 */
+ resolve?: () => ResolveJob | Promise<ResolveJob>;
+ /** 敲字建议。回一个不落地的 Promise 就能停在「正在查找建议」那一刻。 */
+ suggest?: (q: string) => SuggestData | Promise<SuggestData>;
+ /** 登记一条来源。回 `refuse(...)` 就是这一条被服务端挡回来。 */
+ add?: (body: { url: string; label: string }) => unknown;
}
/** 按端点分流的假 fetch。写操作各回一个最小成功体。 */
@@ -79,14 +91,26 @@ function serve(plan: Plan = {}) {
const checks = typeof plan.check === 'function' ? plan.check : [...(plan.check ?? [IDLE])];
const fetcher = vi.fn(async (input: string, init?: RequestInit) => {
const url = String(input);
- if (url === FOLLOW_CREDENTIALS_URL) return ok(credentials());
+ const body = init?.body ? JSON.parse(String(init.body)) : null;
+ if (url === FOLLOW_CREDENTIALS_URL) return ok(plan.creds ?? credentials());
+ if (url === FOLLOW_CREDENTIAL_URL) return ok({});
if (url === FOLLOW_CHECK_URL) {
if (init?.method) return ok({ status: 'running', checked: 0, total: 1 });
- if (typeof checks === 'function') return ok(checks());
+ if (typeof checks === 'function') return ok(await checks());
return ok(checks.length > 1 ? checks.shift()! : checks[0]!);
}
- if (url === FOLLOW_SOURCE_URL) return ok({ ok: true, source: 9 });
- if (url.startsWith('/api/follow/resolve')) return ok(plan.resolve ?? IDLE);
+ if (url === FOLLOW_SOURCE_URL) {
+ if (body?.action === 'add' && plan.add) return plan.add(body);
+ return ok({ ok: true, source: 9 });
+ }
+ if (url === FOLLOW_RESOLVE_URL) {
+ if (init?.method) return ok({ status: 'running' });
+ return ok(plan.resolve ? await plan.resolve() : IDLE);
+ }
+ if (url.startsWith(`${FOLLOW_SUGGEST_URL}?`)) {
+ const q = new URL(url, 'http://peach.test').searchParams.get('q') || '';
+ return ok(await (plan.suggest ? plan.suggest(q) : { q, groups: [] }));
+ }
if (url.startsWith(FOLLOW_URL)) return ok(plan.data ?? follow());
throw new Error(`没有安排这个端点:${url}`);
});
@@ -154,6 +178,23 @@ it('排序换的是全集的次序,不是某一页里面的', () => {
expect(win).toMatchObject({ page: 3, pages: 3, total: 25, start: 20, end: 25 });
});
+it('添加时间看创作者最近登记的那条,名字默认正序不被方向翻过去', () => {
+ const rows = [
+ source({ id: 1, author_key: 'name:b', author_name: 'b', created_at: '2026-08-01T00:00:00Z' }),
+ source({ id: 2, author_key: 'name:a', author_name: 'a', created_at: '2026-08-03T00:00:00Z' }),
+ source({ id: 3, author_key: 'name:b', author_name: 'b', created_at: '2026-08-05T00:00:00Z' }),
+ ];
+ const authors = (groups: FollowSource[][]) => groups.map((group) => group[0]!.author_name);
+ expect(authors(authorGroups(rows, 'added', 'desc'))).toEqual(['b', 'a']);
+ expect(authors(authorGroups(rows, 'added', 'asc'))).toEqual(['a', 'b']);
+ expect(authors(authorGroups(rows, 'name', 'asc'))).toEqual(['a', 'b']);
+});
+
+it('方向键读出的是点下去会得到的那一头', () => {
+ expect(sortLabel('checked', 'desc')).toBe('按检查时间从远到近排序');
+ expect(sortLabel('name', 'asc')).toBe('按创作者名称倒序排序');
+});
+
it('越界的页码落到末页,不画一页空的', () => {
expect(pageWindow(4, 10, 7)).toMatchObject({ page: 1, start: 0, end: 4 });
expect(pageWindow(25, 10, 99)).toMatchObject({ page: 3, start: 20, end: 25 });
@@ -334,3 +375,585 @@ it('首屏读到的旧终态不冒充这一次的结果', async () => {
expect(props.toast).not.toHaveBeenCalled();
expect(host.textContent).not.toContain('上一趟的失败');
});
+
+/** 一问还在路上的服务端回话:用例手动放行,模拟真网络里「点下去」和「重读回来」之间那段空档。 */
+function pending<T>() {
+ let release!: (value: T) => void;
+ const answer = new Promise<T>((done) => { release = done });
+ return { answer, release: (value: T) => act(async () => { release(value) }) };
+}
+
+it('点下检查到重读回来之间,缓存里上一趟的终态不冒充这一趟的回执', async () => {
+ const stale = { status: 'done', results: [{ ok: false, error: '上一趟的失败' }] } as CheckJob;
+ let state: CheckJob | Promise<CheckJob> = stale;
+ const { host, props } = await open({ check: () => state });
+ const reread = pending<CheckJob>();
+ state = reread.answer;
+ await click(buttonLabelled(host, '检查全部'));
+ await settle();
+ // 重读还没回来,但这一趟已经起了:既不该报回执,也不该把上一趟的失败铺成这一趟的。
+ expect(props.toast).not.toHaveBeenCalled();
+ expect(host.textContent).not.toContain('上一趟的失败');
+ expect(host.querySelector('[role="progressbar"]')).not.toBeNull();
+
+ await reread.release({ status: 'done', results: [{ ok: true, added: 2 }] } as CheckJob);
+ await settle();
+ expect(props.toast).toHaveBeenCalledTimes(1);
+ expect(props.toast).toHaveBeenCalledWith(expect.stringContaining('新增 2 条'));
+});
+
+it('检查失败逐条说出是哪个站上的谁,缺哪样就往下一样取', async () => {
+ let state: CheckJob = IDLE;
+ const { host, fetcher } = await open({ check: () => state });
+ state = { status: 'running', checked: 0, total: 3 } as CheckJob;
+ await click(buttonLabelled(host, '检查全部'));
+ await settle();
+ // 「检查全部」不点名来源,由服务端取全部启用的那几条。
+ expect(sentBody(fetcher, FOLLOW_CHECK_URL)).toEqual([{ background: true }]);
+ state = {
+ status: 'done',
+ results: [
+ { ok: false, provider_label: 'Kemono', author: '乙', label: '乙 · Kemono', error: '连不上' },
+ { ok: false, provider: 'pawchive', label: '甲 · Pawchive' },
+ { ok: false, provider_label: 'F95zone', ref: 'threads/42', error: '要登录' },
+ { ok: true, added: 1, evidence_error: '磁盘已满' },
+ ],
+ } as CheckJob;
+ await act(async () => { await queryClient.refetchQueries({ queryKey: ['follow-manage', 'check'] }) });
+ await settle();
+ expect(host.textContent).toContain('3 个来源检查失败');
+ expect([...host.querySelectorAll('[aria-live] li')].map((row) => row.textContent)).toEqual([
+ 'Kemono 乙:连不上', 'pawchive 甲 · Pawchive:未说明原因', 'F95zone threads/42:要登录',
+ ]);
+ // 成功的那条也可能没留下原始响应:候选照样入库,但这件事得说出来。
+ expect(host.textContent).toContain('候选已入库,但这一次的原始响应没有留档:磁盘已满');
+});
+
+it('创作者卡上那一枚只检查这位创作者还开着的来源', async () => {
+ const sources = CAST.map((row) => (row.id === 2 ? { ...row, enabled: false } : row));
+ const { host, fetcher } = await open({ data: follow({ sources }) });
+ await click(buttonLabelled(host, '检查 甲 的全部来源'));
+ await settle();
+ expect(sentBody(fetcher, FOLLOW_CHECK_URL)).toEqual([{ sources: [1], background: true }]);
+});
+
+// ── 创作者身份:名字、首字母与头像 ──────────────────────────────────────────
+
+it('组名取官方来源上的写法,归档标题的 Collection 后缀不算名字', () => {
+ const mirror = source({ id: 1, author_name: '', label: 'Lazy Procrastinator Collection' });
+ const official = source({ id: 2, author_name: 'lazyprocrastinator', official_avatar_url: '/a.png' });
+ expect(authorName([mirror, official])).toBe('lazyprocrastinator');
+ expect(authorName([mirror])).toBe('Lazy Procrastinator');
+});
+
+it('首字母取创作者名里的第一个拉丁字母或数字,没有才取第一个字', () => {
+ expect(authorInitial('lazy')).toBe('L');
+ expect(authorInitial('初音 miku')).toBe('M');
+ expect(authorInitial('初音')).toBe('初');
+});
+
+it('头像先用官方的,取不下来退到镜像的,再取不下来画首字母', async () => {
+ const official = source({ id: 1, official_avatar_url: '/official.png' });
+ const mirror = source({ id: 2, avatar_url: '/mirror.png' });
+ expect(authorAvatar([mirror, official])).toEqual({ src: '/official.png', fallback: '/mirror.png' });
+ expect(authorAvatar([mirror])).toEqual({ src: '/mirror.png', fallback: '' });
+
+ const kou = { author_key: 'name:kou', author_name: 'kou' };
+ const { host } = await open({ data: follow({ sources: [
+ source({ ...official, ...kou }), source({ ...mirror, ...kou }),
+ ] }) });
+ const avatar = () => cards(host)[0]!.querySelector('[data-follow-author-header]')!.firstElementChild!;
+ expect(avatar().getAttribute('src')).toBe('/official.png');
+ await act(async () => { avatar().dispatchEvent(new Event('error')) });
+ expect(avatar().getAttribute('src')).toBe('/mirror.png');
+ await act(async () => { avatar().dispatchEvent(new Event('error')) });
+ expect(avatar().tagName).toBe('SPAN');
+ expect(avatar().textContent).toBe('K');
+});
+
+it('按状态正序先列要处理的:失败、暂停、未检查、正常', () => {
+ const rows = [
+ source({ id: 1, label: '正常', last_status: 'ok' }),
+ source({ id: 2, label: '未检查', last_status: '' }),
+ source({ id: 3, label: '暂停', enabled: false, last_status: 'ok' }),
+ source({ id: 4, label: '失败', last_status: 'unauthorized' }),
+ ];
+ expect(authorGroups(rows, 'status', 'asc').map((group) => group[0]!.label))
+ .toEqual(['失败', '暂停', '未检查', '正常']);
+});
+
+// ── 关注列表:写回、计数与空态 ───────────────────────────────────────────────
+
+const listReads = (fetcher: ReturnType<typeof serve>) => fetcher.mock.calls.filter(([input, init]) =>
+ String(input).startsWith(`${FOLLOW_URL}?`) && !(init as RequestInit | undefined)?.method).length;
+
+it('暂停只改那一条的状态,不把整张清单重取一遍', async () => {
+ const { host, fetcher } = await open();
+ const before = listReads(fetcher);
+ await click(checkboxNamed(host, '选择 甲 · Kemono'));
+ await click(buttonNamed('暂停', host));
+ await settle();
+ expect(listReads(fetcher)).toBe(before);
+ const card = cards(host)[0]!;
+ expect([...card.querySelectorAll('[data-source-divider] > *')].map((row) => row.textContent))
+ .toEqual([expect.stringContaining('已暂停'), expect.stringContaining('正常')]);
+});
+
+it('卡片标题行只摆站标,站名留给读屏', async () => {
+ const { host } = await open();
+ const head = cards(host)[0]!.querySelector('[data-follow-author-header]')!;
+ expect(head.textContent).toContain('来源:Kemono、Pawchive');
+ expect(head.querySelector('[title="Kemono、Pawchive"]')).not.toBeNull();
+});
+
+it('还有未看时卡底给出计数和三颗动作键,没有未看就整条不出现', async () => {
+ const counts = { new: 3, seen: 1, saved: 0, ignored: 2 };
+ const busy = await open({ data: follow({ counts }) });
+ expect(busy.host.textContent).toContain('4 个来源 · 3 条未看');
+ expect(busy.host.textContent).toContain('未看 3 · 已看 1 · 已保存 0 · 已忽略 2');
+ expect(buttonNamed('全部标记已看', busy.host)).not.toBeNull();
+ expect(buttonNamed('全部忽略', busy.host)).not.toBeNull();
+ await click(buttonNamed('去看更新', busy.host));
+ expect(busy.props.openFollow).toHaveBeenCalledTimes(1);
+ await busy.unmount();
+ queryClient.clear();
+
+ const quiet = await open();
+ expect(quiet.host.textContent).not.toContain('未看 0');
+ expect(buttonNamed('全部忽略', quiet.host)).toBeNull();
+});
+
+it('一条来源都没有时说清这里会显示什么', async () => {
+ const { host } = await open({ data: follow({ sources: [] }) });
+ expect(host.textContent).toContain('还没有关注来源');
+ expect(host.textContent).toContain('关注来源及其检查状态会显示在这里。');
+});
+
+// ── 页签与只读 ──────────────────────────────────────────────────────────────
+
+it('三栏按做事的先后排,缺凭据的数挂在最后一栏上', async () => {
+ const { host } = await open({ creds: { root: 'C:\\creds', providers: [credential({ provider: 'fanbox' })] } });
+ expect([...host.querySelectorAll('[role="tab"]')].map((tab) => tab.textContent))
+ .toEqual(['关注列表', '添加关注', '来源和凭证(1)']);
+});
+
+it('只读的这台说清楚、指向写入端,写操作一律停用', async () => {
+ const writer = 'https://writer.example/follow-manage';
+ const list = await open({}, { readOnly: true, readOnlyMessage: '本机是只读副本', writerUrl: writer });
+ expect(list.host.textContent).toContain('本机只能浏览');
+ expect(list.host.textContent).toContain('本机是只读副本');
+ expect([...list.host.querySelectorAll('a')].find((a) => a.textContent?.includes('前往写入端管理关注'))
+ ?.getAttribute('href')).toBe(writer);
+ expect(buttonLabelled(list.host, '检查全部')?.disabled).toBe(true);
+ expect(buttonLabelled(list.host, '移除 甲 · Kemono')?.disabled).toBe(true);
+ await list.unmount();
+ queryClient.clear();
+
+ const add = await open({}, { tab: 'add', readOnly: true });
+ expect(lookupField(add.host).disabled).toBe(true);
+});
+
+// ── 添加关注:查找、候选与登记 ───────────────────────────────────────────────
+
+/** 查找框。BoardUI 的 `Input` 把无障碍名称落在外层字段上,输入框在它里面。 */
+function lookupField(root: ParentNode): HTMLInputElement {
+ const named = root.querySelector('[aria-label="来源链接、名字或 id"]');
+ const field = named instanceof HTMLInputElement ? named : named?.querySelector('input');
+ if (!field) throw new Error('查找框没有画出来');
+ return field;
+}
+
+const press = (el: Element, key: string) => act(async () => {
+ el.dispatchEvent(new KeyboardEvent('keydown', { key, bubbles: true, cancelable: true }));
+});
+
+const focus = (el: HTMLElement) => act(async () => { el.focus() });
+
+/** 一条候选的勾选框,按它那一行的文字找。 */
+const candidateBox = (root: ParentNode, text: string) =>
+ [...root.querySelectorAll('label')].find((label) => label.textContent?.includes(text))
+ ?.querySelector<HTMLInputElement>('input[type="checkbox"]') ?? null;
+
+const lookups = (fetcher: ReturnType<typeof serve>) => sentBody(fetcher, FOLLOW_RESOLVE_URL);
+
+const CANDIDATES = {
+ line: 'kou',
+ candidates: [
+ { provider: 'kemono', provider_label: 'Kemono', url: 'https://kemono.test/kou', label: 'kou · Kemono',
+ author: 'kou', aliases: ['kou_art'], evidence: '站内同名' },
+ { provider: 'pawchive', provider_label: 'Pawchive', url: 'https://pawchive.test/kou', label: 'kou · Pawchive',
+ author: 'kou', evidence: '站内同名' },
+ { provider: 'fanbox', provider_label: 'Fanbox', url: 'https://fanbox.test/kou', label: 'kou · Fanbox',
+ author: 'kou', known: true, evidence: '站内同名' },
+ ],
+};
+
+/** 服务端那一趟查找。首屏读到的是空闲,用例在点「查找」之前把它推到想要的那一步。 */
+function lookupJob() {
+ let state: ResolveJob | Promise<ResolveJob> = IDLE as ResolveJob;
+ return {
+ resolve: () => state,
+ set: (next: ResolveJob | Promise<ResolveJob>) => { state = next },
+ finish: (results: ResolveJob['results']) => { state = { status: 'complete', results } as ResolveJob },
+ };
+}
+
+const RUNNING = { status: 'running' } as ResolveJob;
+
+async function lookUp(host: HTMLElement, text: string) {
+ await type(lookupField(host), text);
+ await press(lookupField(host), 'Enter');
+ await settle();
+}
+
+it('回车和「查找」键走同一趟查找,查找框是一行字不是一叠地址', async () => {
+ const { host, fetcher } = await open({}, { tab: 'add' });
+ expect(host.querySelector('textarea')).toBeNull();
+
+ await lookUp(host, ' kou ');
+ await type(lookupField(host), 'https://kemono.test/kou');
+ await click(buttonNamed('查找', host));
+ await settle();
+ expect(lookups(fetcher)).toEqual([
+ { lines: ['kou'], background: true },
+ { lines: ['https://kemono.test/kou'], background: true },
+ ]);
+});
+
+it('一趟查找没跑完时不起第二趟,按钮进忙态', async () => {
+ const job = lookupJob();
+ const { host, fetcher } = await open({ resolve: job.resolve }, { tab: 'add' });
+ job.set(RUNNING);
+ await lookUp(host, 'kou');
+ expect(buttonNamed('查找', host)?.getAttribute('aria-busy')).toBe('true');
+ await lookUp(host, 'kou again');
+ expect(lookups(fetcher)).toHaveLength(1);
+});
+
+it('等待时说的话跟着这一趟查的是名字还是链接走', async () => {
+ const hint = async (text: string) => {
+ const job = lookupJob();
+ const { host, unmount } = await open({ resolve: job.resolve }, { tab: 'add' });
+ job.set(RUNNING);
+ await lookUp(host, text);
+ const said = host.querySelector('[aria-live] [role="status"]')?.textContent;
+ await unmount();
+ queryClient.clear();
+ return said;
+ };
+ // 按名字查的第一趟要下载创作者索引,几十秒没有动静得先说一声;贴链接不走索引。
+ expect(await hint('kou')).toContain('首次按名字查要下载创作者索引');
+ expect(await hint('https://kemono.test/kou')).toBe('识别中…');
+});
+
+it('说得出进度的查找画进度条', async () => {
+ const job = lookupJob();
+ const { host } = await open({ resolve: job.resolve }, { tab: 'add' });
+ job.set({ status: 'running', checked: 2, total: 5 } as ResolveJob);
+ await lookUp(host, 'kou');
+ expect(host.querySelector('[role="progressbar"]')?.getAttribute('aria-label')).toBe('查找中:2/5');
+});
+
+it('点下查找到重读回来之间,上一次的结果不冒充这一次的', async () => {
+ const job = lookupJob();
+ job.finish([CANDIDATES]);
+ const { host } = await open({ resolve: job.resolve }, { tab: 'add' });
+ const reread = pending<ResolveJob>();
+ job.set(reread.answer);
+ await lookUp(host, 'someone else');
+ expect(host.textContent).not.toContain('kou · Kemono');
+ expect(host.querySelector('[aria-live] [role="status"]')).not.toBeNull();
+
+ await reread.release({ status: 'complete', results: [{ line: 'someone else', candidates: [] }] } as ResolveJob);
+ await settle();
+ expect(host.textContent).toContain('站内没有查到来源');
+ expect(host.textContent).not.toContain('kou · Kemono');
+});
+
+it('查完先列候选、默认勾上,已经关注的列出来但勾不动,点了「添加选中」才登记', async () => {
+ const job = lookupJob();
+ const { host, fetcher } = await open({ resolve: job.resolve }, { tab: 'add' });
+ job.finish([CANDIDATES]);
+ await lookUp(host, 'kou');
+
+ // 结果留在「添加关注」这一张卡里,不另起标题。
+ const panel = [...host.querySelectorAll('h3')].find((h) => h.textContent === '添加关注')!.parentElement!;
+ expect(panel.textContent).toContain('查找结果');
+ expect(panel.querySelectorAll('h3')).toHaveLength(1);
+
+ expect(candidateBox(panel, 'kou · Kemono')?.checked).toBe(true);
+ expect(candidateBox(panel, 'kou · Fanbox')?.disabled).toBe(true);
+ expect(candidateBox(panel, 'kou · Fanbox')?.checked).toBe(false);
+ expect(candidateBox(panel, 'kou · Fanbox')?.closest('label')?.textContent).toContain('已经关注');
+ expect(sentBody(fetcher, FOLLOW_SOURCE_URL)).toEqual([]);
+
+ await click(candidateBox(panel, 'kou · Pawchive'));
+ await click(buttonNamed('添加选中(1)', host));
+ await settle();
+ // 当初是按谁查的一起写回去:同一个人在几个站上的来源靠它归成一组。
+ expect(sentBody(fetcher, FOLLOW_SOURCE_URL)).toEqual([{
+ action: 'add', url: 'https://kemono.test/kou', label: 'kou · Kemono',
+ author: 'kou', aliases: ['kou_art'], defer_check: true,
+ }]);
+ // 登记时跳过了检查,登记完一次性起一趟。
+ expect(sentBody(fetcher, FOLLOW_CHECK_URL)).toEqual([{ sources: [9], background: true }]);
+});
+
+it('登记失败的那几条原因留在页面上,清单重取也冲不掉', async () => {
+ const job = lookupJob();
+ const { host, fetcher, props } = await open({
+ resolve: job.resolve,
+ add: (body) => (body.label === 'kou · Pawchive' ? refuse('站点拒绝') : ok({ source: 9 })),
+ }, { tab: 'add' });
+ job.finish([CANDIDATES]);
+ await lookUp(host, 'kou');
+ const before = listReads(fetcher);
+
+ await click(buttonNamed('添加选中(2)', host));
+ await settle();
+ expect(listReads(fetcher)).toBeGreaterThan(before);
+ expect(host.textContent).toContain('这一次没有完成');
+ expect(host.textContent).toContain('kou · Pawchive:站点拒绝');
+ expect(sentBody(fetcher, FOLLOW_CHECK_URL)).toEqual([{ sources: [9], background: true }]);
+ expect(props.toast).not.toHaveBeenCalled();
+});
+
+it('站内查不到时先说为什么,再给一条能点的外部搜索', async () => {
+ const job = lookupJob();
+ const { host } = await open({ resolve: job.resolve }, { tab: 'add' });
+ job.finish([{
+ line: 'kou',
+ candidates: [],
+ external_searches: [{
+ label: 'Google', query: 'site:f95zone.to kou', url: 'https://www.google.com/search?q=kou',
+ evidence: 'F95 站内搜索要登录',
+ }],
+ }]);
+ await lookUp(host, 'kou');
+ expect(host.textContent).toContain('站内没有查到来源');
+ const link = [...host.querySelectorAll('a')].find((a) => a.textContent?.includes('Google:site:f95zone.to kou'))!;
+ expect(link.getAttribute('href')).toBe('https://www.google.com/search?q=kou');
+ const why = [...host.querySelectorAll('small')].find((node) => node.textContent === 'F95 站内搜索要登录')!;
+ expect(why.compareDocumentPosition(link) & Node.DOCUMENT_POSITION_FOLLOWING).toBeTruthy();
+});
+
+it('来源筛选按钮写着筛到哪几个站,筛掉的站既不显示也不登记', async () => {
+ const creds = {
+ root: 'C:\\creds',
+ providers: [
+ credential({ provider: 'kemono', provider_label: 'Kemono', requirement: 'none', missing: [] }),
+ credential({ provider: 'pawchive', provider_label: 'Pawchive', requirement: 'none', missing: [] }),
+ ],
+ };
+ const job = lookupJob();
+ const { host } = await open({ creds, resolve: job.resolve }, { tab: 'add' });
+ job.finish([CANDIDATES]);
+ await lookUp(host, 'kou');
+
+ await click(buttonLabelled(host, '全部来源'));
+ await click(buttonNamed('全不选'));
+ expect(buttonLabelled(host, '0/2 个来源')).not.toBeNull();
+ expect(candidateBox(host, 'kou · Kemono')).toBeNull();
+ expect(buttonNamed('添加选中(0)', host)?.disabled).toBe(true);
+
+ await click(buttonNamed('全选'));
+ expect(buttonLabelled(host, '全部来源')).not.toBeNull();
+ expect(buttonNamed('添加选中(2)', host)).not.toBeNull();
+});
+
+it('筛选里撞见缺凭据的站,一步跳到凭据那一栏', async () => {
+ const creds = { root: 'C:\\creds', providers: [credential({ provider: 'fanbox', provider_label: 'Fanbox' })] };
+ const { host, props } = await open({ creds }, { tab: 'add' });
+ await click(buttonLabelled(host, '全部来源'));
+ await click(buttonNamed('需要配置凭据'));
+ expect(props.route).toHaveBeenLastCalledWith(expect.objectContaining({ tab: 'source' }));
+ expect([...host.querySelectorAll('h3')].map((h) => h.textContent)).toContain('来源和凭证');
+});
+
+it('「猜你喜欢」点一下就拿那个名字去查', async () => {
+ const data = follow({ suggestions: [{ name: 'lewdgazer', visits: 12, origin: 'Chrome' }] });
+ const { host, fetcher } = await open({ data }, { tab: 'add' });
+ const guess = buttonNamed('lewdgazer', host)!;
+ expect(guess.getAttribute('title')).toBe('浏览历史里出现 12 次 · Chrome');
+ await click(guess);
+ await settle();
+ expect(lookups(fetcher)).toEqual([{ lines: ['lewdgazer'], background: true }]);
+});
+
+// ── 添加关注:敲字建议 ───────────────────────────────────────────────────────
+
+const SUGGESTED: SuggestData = {
+ q: 'strau',
+ groups: [
+ { kind: 'library', label: '馆藏', items: [{ value: 'strauzek' }] },
+ { kind: 'site', label: 'Kemono', items: [{ value: 'Mr_Strauz', matched: 'Mr_Strauz (Kemono)' }] },
+ ],
+};
+
+const suggestCalls = (fetcher: ReturnType<typeof serve>) => fetcher.mock.calls
+ .map(([input]) => String(input)).filter((url) => url.startsWith(`${FOLLOW_SUGGEST_URL}?`));
+
+async function typeAndWait(host: HTMLElement, text: string) {
+ await focus(lookupField(host));
+ await type(lookupField(host), text);
+ await tick(SUGGEST_DEBOUNCE_MS);
+ await settle();
+}
+
+it('连着敲只在停手之后问一次,地址不进建议这一路', async () => {
+ vi.useFakeTimers();
+ const { host, fetcher } = await open({ suggest: () => SUGGESTED }, { tab: 'add' });
+ await focus(lookupField(host));
+ await type(lookupField(host), 'st');
+ await tick(SUGGEST_DEBOUNCE_MS / 2);
+ await typeAndWait(host, 'strau');
+ expect(suggestCalls(fetcher)).toEqual([`${FOLLOW_SUGGEST_URL}?q=strau`]);
+
+ await typeAndWait(host, 'https://kemono.test/strau');
+ await tick(SUGGEST_DEBOUNCE_MS);
+ expect(suggestCalls(fetcher)).toHaveLength(1);
+});
+
+it('建议按服务端给的分组和次序列出,上下键选中再回车就查那个名字', async () => {
+ vi.useFakeTimers();
+ const { host, fetcher } = await open({ suggest: () => SUGGESTED }, { tab: 'add' });
+ await typeAndWait(host, 'strau');
+ expect([...host.querySelectorAll('[aria-label="来源建议"] button')].map((row) => row.textContent))
+ .toEqual(['strauzek馆藏', 'Mr_Strauz (Kemono)Kemono']);
+
+ await press(lookupField(host), 'ArrowDown');
+ await press(lookupField(host), 'ArrowDown');
+ await press(lookupField(host), 'Enter');
+ await settle();
+ expect(lookups(fetcher)).toEqual([{ lines: ['Mr_Strauz'], background: true }]);
+});
+
+it('鼠标点建议时查找框不失焦,点中的那个名字直接去查', async () => {
+ vi.useFakeTimers();
+ const { host, fetcher } = await open({ suggest: () => SUGGESTED }, { tab: 'add' });
+ await typeAndWait(host, 'strau');
+ const row = host.querySelector('[aria-label="来源建议"] button')!;
+ const down = new MouseEvent('mousedown', { bubbles: true, cancelable: true });
+ await act(async () => { row.dispatchEvent(down) });
+ expect(down.defaultPrevented).toBe(true);
+ await click(row);
+ await settle();
+ expect(lookups(fetcher)).toEqual([{ lines: ['strauzek'], background: true }]);
+});
+
+it('输入法选字时的回车归输入法,不拿半截拼音去查', async () => {
+ const { host, fetcher } = await open({}, { tab: 'add' });
+ await type(lookupField(host), 'chu');
+ await act(async () => {
+ lookupField(host).dispatchEvent(new KeyboardEvent('keydown', {
+ key: 'Enter', isComposing: true, bubbles: true, cancelable: true,
+ }));
+ });
+ await settle();
+ expect(lookups(fetcher)).toEqual([]);
+});
+
+it('站点还没回话时下拉里是一行等待,回车查的是框里敲的字', async () => {
+ vi.useFakeTimers();
+ const { host, fetcher } = await open({ suggest: () => new Promise<SuggestData>(() => {}) }, { tab: 'add' });
+ await typeAndWait(host, 'strau');
+ expect(host.querySelector('[aria-label="来源建议"]')?.textContent).toContain('正在查找建议');
+ await press(lookupField(host), 'ArrowDown');
+ await press(lookupField(host), 'Enter');
+ await settle();
+ expect(lookups(fetcher)).toEqual([{ lines: ['strau'], background: true }]);
+});
+
+// ── 来源和凭证 ──────────────────────────────────────────────────────────────
+
+function credential(over: Partial<CredentialRow> & { provider: string }): CredentialRow {
+ return {
+ provider_label: over.provider, followable: true, requirement: 'required',
+ needs: ['cookie'], fields: [], missing: ['cookie'], present: false, ...over,
+ } as CredentialRow;
+}
+
+const CREDENTIAL_CAST: CredentialData = {
+ root: 'C:\\peach\\creds',
+ providers: [
+ credential({
+ provider: 'fanbox', provider_label: 'Fanbox', needs: ['FANBOXSESSID', 'cf_clearance'],
+ missing: ['FANBOXSESSID', 'cf_clearance'], why: '会员内容要登录后才看得到。',
+ where: 'https://www.fanbox.cc/', howto: '从浏览器开发者工具里复制。', path: 'C:\\peach\\creds\\fanbox.json',
+ }),
+ credential({
+ provider: 'patreon', provider_label: 'Patreon', requirement: 'optional', present: true,
+ fields: ['cookie'], missing: [], world_readable: true,
+ }),
+ credential({
+ provider: 'onlyfans', provider_label: 'OnlyFans', requirement: 'blocked', needs: [], missing: [],
+ why: '站点要求设备指纹,接不进来。',
+ }),
+ credential({ provider: 'kemono', provider_label: 'Kemono', requirement: 'none', needs: [], missing: [] }),
+ ],
+};
+
+/** 一个站那一行,从站名找到它自己的外框。 */
+const credentialRow = (root: ParentNode, label: string) =>
+ [...root.querySelectorAll('b')].find((b) => b.textContent === label)!.closest('div')!;
+
+const chipText = (row: Element) => [...row.querySelectorAll('span')]
+ .map((span) => span.textContent).filter((text) => ['需要', '已配置', '接不进来', '不需要', '可选'].includes(text!));
+
+it('每个站说清自己的处境:需要、已配置、接不进来、不需要', async () => {
+ const { host } = await open({ creds: CREDENTIAL_CAST }, { tab: 'source' });
+ expect(['Fanbox', 'Patreon', 'OnlyFans', 'Kemono'].map((label) => chipText(credentialRow(host, label))))
+ .toEqual([['需要'], ['已配置'], ['接不进来'], ['不需要']]);
+ expect(host.textContent).toContain('1 个待配置');
+});
+
+it('缺什么、为什么要、去哪儿取都写在那一行上,非配不可的一进来就展开', async () => {
+ const { host } = await open({ creds: CREDENTIAL_CAST }, { tab: 'source' });
+ const fanbox = credentialRow(host, 'Fanbox');
+ expect(fanbox.textContent).toContain('缺 FANBOXSESSID、cf_clearance');
+ expect(fanbox.textContent).toContain('会员内容要登录后才看得到。');
+ expect(fanbox.textContent).toContain('从浏览器开发者工具里复制。');
+ expect([...fanbox.querySelectorAll('a')].find((a) => a.textContent?.includes('去取'))?.getAttribute('href'))
+ .toBe('https://www.fanbox.cc/');
+ expect(fanbox.querySelector('details')?.open).toBe(true);
+ expect(fanbox.querySelector('summary')?.textContent).toContain('填写凭据');
+
+ const patreon = credentialRow(host, 'Patreon');
+ expect(patreon.querySelector('details')?.open).toBe(false);
+ expect(patreon.querySelector('summary')?.textContent).toContain('修改凭据');
+ // 接不进来的站没有表单可填,只说为什么。
+ const blocked = credentialRow(host, 'OnlyFans');
+ expect(blocked.querySelector('details')).toBeNull();
+ expect(blocked.textContent).toContain('站点要求设备指纹,接不进来。');
+});
+
+it('凭据填在页面上,保存后输入框清空,空着点保存会被拦下', async () => {
+ const { host, fetcher, props } = await open({ creds: CREDENTIAL_CAST }, { tab: 'source' });
+ const fanbox = credentialRow(host, 'Fanbox');
+ const fields = [...fanbox.querySelectorAll<HTMLInputElement>('input[type="password"]')];
+ expect(fields).toHaveLength(2);
+
+ await click(buttonNamed('保存配置', fanbox));
+ expect(fanbox.textContent).toContain('没有填写内容');
+ expect(sentBody(fetcher, FOLLOW_CREDENTIAL_URL)).toEqual([]);
+
+ await type(fields[0], ' secret ');
+ await click(buttonNamed('保存配置', fanbox));
+ await settle();
+ expect(sentBody(fetcher, FOLLOW_CREDENTIAL_URL))
+ .toEqual([{ provider: 'fanbox', values: { FANBOXSESSID: 'secret' } }]);
+ expect(fields[0]!.value).toBe('');
+ expect(props.toast).toHaveBeenCalledWith('已保存来源凭据');
+ // 已经配好的那一行才给「清除」。
+ expect(buttonNamed('清除', fanbox)).toBeNull();
+ expect(buttonNamed('清除', credentialRow(host, 'Patreon'))).not.toBeNull();
+});
+
+it('凭据存在哪、权限过宽的警告跟在列表后面常驻', async () => {
+ const { host } = await open({ creds: CREDENTIAL_CAST }, { tab: 'source' });
+ expect(host.textContent).toContain('能登录那台电脑的人都能打开');
+ expect(credentialRow(host, 'Patreon').textContent).toContain('凭据文件权限过宽');
+ const storage = [...host.querySelectorAll('b')].find((b) => b.textContent === '这些账号信息存在哪里')!;
+ const lastRow = credentialRow(host, 'Kemono');
+ expect(lastRow.compareDocumentPosition(storage) & Node.DOCUMENT_POSITION_FOLLOWING).toBeTruthy();
+});
diff --git a/tests/test_follow_web.py b/tests/test_follow_web.py
index 2b029e6b1..5a8b4773a 100644
--- a/tests/test_follow_web.py
+++ b/tests/test_follow_web.py
@@ -1727,6 +1727,8 @@ class FollowContractTests(unittest.TestCase):
self.assertEqual(source["provider_label"], "Rule34Video")
self.assertEqual(source["last_status"], "ok")
self.assertTrue(source["enabled"])
+ # 管理页按「添加时间」排序读的就是这一格,缺了它那一档排序就退化成按名字排。
+ self.assertEqual(datetime.fromisoformat(source["created_at"].replace("Z", "+00:00")), MOMENT)
def test_status_write_rejects_a_non_integer_item(self):
with self.assertRaises(ValueError):
@@ -2754,21 +2756,6 @@ class FollowWebSourceTests(unittest.TestCase):
if needle not in source:
self.fail(f"{relative} 缺少:{needle!r}" + (f"({message})" if message else ""))
- def test_a_failed_check_names_the_author_not_just_the_source_id(self):
- """检查失败要说清是谁的哪一条,光给一个来源 id 等于让人自己回去翻。
-
- 创作者名不一定在哪个字段上:官方来源给 `author`,归档来源只有 `label`,
- 再不济还有 `ref`。三个依次取,取到哪个说哪个。
- """
- source_list = self.read_react("follow-manage/source-list.tsx")
- self.assertIn("{`${row.provider_label || row.provider || ''} "
- "${row.author || row.label || row.ref || ''}:${row.error || '未说明原因'}`}",
- source_list)
- # 创作者卡上那一枚检查的是这位创作者还开着的那几条,暂停的不去打扰。
- self.assertIn("const enabled = group.filter((source) => source.enabled).map((source) => source.id);",
- source_list)
- self.assertIn("aria-label={`检查 ${name} 的全部来源`}", source_list)
-
def assertPageLacks(self, needle, message=""):
if needle in self.page:
self.fail(f"Web 表面不应出现:{needle!r}" + (f"({message})" if message else ""))
@@ -2814,186 +2801,13 @@ class FollowWebSourceTests(unittest.TestCase):
self.assertPageContains("api(`/api/follow?item=${encodeURIComponent(id)}`)")
self.assertPageContains(".then(async()=>{buildEdge();wireAllDrag();await restoreRoute();scheduleStickySurfaces()})")
- def test_sources_are_added_by_pasting_not_by_a_command(self):
- """加一条关注就是把地址粘进去,不用记命令;移除也在同一张清单上。"""
- data = self.read_react("follow-manage/follow-manage.ts")
- self.assertIn("export const FOLLOW_SOURCE_URL = '/api/follow/source';", data)
- self.assertIn("export const addSource = (candidate: ResolveCandidate) =>", data)
- self.assertIn("export const removeSource = (id: number) =>", data)
- self.assertReactContains("follow-manage/add-source.tsx",
- '<Input aria-label="来源链接、名字或 id" placeholder={PLACEHOLDER} value={line}')
- self.assertReactContains("follow-manage/source-list.tsx", "aria-label={`移除 ${source.label}`}")
-
- def test_the_lookup_takes_one_line_and_never_grows_into_a_batch_box(self):
- """查找字段是一行,不是可以粘一叠地址的多行框。
-
- 多行批量本身不成立:一个作者就要几十秒,一次粘五行等于把这个等待乘五,
- 中途还看不出走到哪一行。所以字段是单行 `Input`,回车和旁边那颗「查找」
- 走同一个入口。
- """
- add = self.read_react("follow-manage/add-source.tsx")
- self.assertIn('<Input aria-label="来源链接、名字或 id"', add)
- self.assertNotIn("textarea", add)
- self.assertIn("if (event.key !== 'Enter') return;", add)
- self.assertIn("onClick={() => search(line)}>查找</Button>", add)
- # 一趟查找在跑的时候不再起第二趟,按钮和输入框都进忙态。
- self.assertIn("if (!query || running || resolve.isPending) return;", add)
- self.assertIn("{...busyProps(running || resolve.isPending)}", add)
-
def test_reader_management_is_locked_and_points_to_the_writer(self):
- """本机只能浏览时,管理页说清楚并给出写入端的去处。"""
- page = self.read_react("follow-manage/follow-manage-page.tsx")
- self.assertIn('<Note tone="warning" title="本机只能浏览"', page)
- self.assertIn("前往写入端管理关注", page)
- self.assertIn("{readOnlyMessage}", page)
- # 只读这一位由壳从 runtime 读出来交进 island,React 不自己再判一次。
+ """只读这一位由壳从 runtime 读出来交进 island,React 不自己再判一次。
+
+ 管理页拿到它之后说什么、停用哪些键,由 `frontend/test/react/follow-manage.test.tsx`
+ 在渲染结果上判。"""
self.assertPageContains("readOnly:!!runtime?.ledger_read_only,")
self.assertPageContains("surfaceApi(surface,'/healthz')")
- # 写操作一律停用,不是点下去才报错。
- source_list = self.read_react("follow-manage/source-list.tsx")
- self.assertIn("disabled={readOnly}", source_list)
-
- def test_failed_source_adds_stay_visible_instead_of_being_erased_by_reload(self):
- """一批候选里有几条登记失败时,失败原因留在页面上。
-
- 逐条登记,失败的收进清单接着登记下一条;成功那几条会让清单重取,可重取
- 不该把刚才那几行失败一起冲掉——那正是人还没来得及读的东西。
- """
- add = self.read_react("follow-manage/add-source.tsx")
- self.assertIn("failures.push(`${item.candidate.label}:${errorMessage(cause)}`);", add)
- self.assertIn("if (result.failures.length) { setProblem(result.failures.join(';')); return }",
- add)
- # 重取排在报错之前,且报错这一支直接 return,不会再往下清空。
- register = add[add.index("const register = useMutation({"):]
- register = register[:register.index("\n });")]
- self.assertLess(register.index("void reloadFollowManage();"),
- register.index("if (result.failures.length)"))
- self.assertIn('<Note tone="error" title="这一次没有完成">{problem}</Note>', add)
-
- def test_a_bare_name_or_id_is_looked_up_across_sources(self):
- """光给一个名字或 id 也能查,查完列候选、勾选之后才真的登记。"""
- data = self.read_react("follow-manage/follow-manage.ts")
- self.assertIn("export const FOLLOW_RESOLVE_URL = '/api/follow/resolve';", data)
- self.assertIn("export const startResolve = (lines: string[]) =>", data)
- add = self.read_react("follow-manage/add-source.tsx")
- # 候选默认勾上,但登记是单独一颗键;查完不自动写。
- self.assertIn("onClick={() => register.mutate(picked)}", add)
- self.assertIn("isSelected={!candidate.known && !unpicked.has(key)}", add)
-
- def test_lookup_results_stay_inside_the_add_section(self):
- """查找结果留在「添加关注」这一栏里,不另开一屏。
-
- 三栏是三件事,结果跑到别的栏去就得来回切;标题层级也只有一档,结果块不
- 自己再起一套字号。
- """
- page = self.read_react("follow-manage/follow-manage-page.tsx")
- panel = page[page.index('<TabPanel id="add"'):page.index('<TabPanel id="source"')]
- self.assertIn("<AddSource data={data}", panel)
- add = self.read_react("follow-manage/add-source.tsx")
- heading = re.search(r'<h3 className="([^"]*)">添加关注</h3>', add)
- self.assertIsNotNone(heading, "「添加关注」是这一栏的抬头")
- # 标题层级只有一档:抬头那一档字阶在这一栏里只出现这一次。
- self.assertEqual(add.count(heading.group(1)), 1, "查找结果不另起一套标题字号")
- self.assertEqual(add.count("<h3"), 1, "查找结果不另起一个标题")
-
- def test_f95_misses_offer_a_clickable_google_query(self):
- add = self.read_react("follow-manage/add-source.tsx")
- block = add[add.index("{(row.external_searches || []).map((search) => ("):]
- block = block[:block.index("{failures.length ? (")]
- self.assertIn('<small className="text-caption-1-regular text-text-secondary">{search.evidence}</small>',
- block)
- self.assertIn("<ExternalLink href={search.url}>{`${search.label}:${search.query}`}</ExternalLink>", block)
- # 说明先行、不在链接里;链接在其后,带外链标。
- self.assertLess(block.index("{search.evidence}"), block.index("<ExternalLink"))
- self.assertReactContains("settings/section.tsx", "trailingIcon={RiExternalLinkLine}")
-
- def test_follow_author_groups_are_one_card_per_author_and_link_to_the_original_page(self):
- """一位创作者一张卡,卡里是他在各个站上的来源,来源名连回原页面。"""
- source_list = self.read_react("follow-manage/source-list.tsx")
- self.assertIn('<section aria-label={`${name} 的关注来源`}', source_list)
- self.assertIn("<AuthorCard key={key} group={group} name={authorName(group, aliases)}", source_list)
- # 卡片里那一叠来源行是同一位创作者的,展开与否由卡自己记。
- self.assertIn("<div id={panel} hidden={!open} data-source-divider>", source_list)
- self.assertIn("const panel = `follow-author-${group[0]!.id}`;", source_list)
- self.assertReactContains(
- "follow-manage/source-view.tsx",
- '<a href={source.url} target="_blank" rel="noreferrer noopener" title="打开原来源"')
-
- def test_source_actions_are_icon_only_and_stay_on_one_row(self):
- """行尾那两颗动作只有字形,名字交给无障碍名称,一行摆得下。
-
- 写上「检查」「移除」两个词的话,窄一点的卡片里这一行就断成两行,而断开的
- 正是每条来源都要看的状态和上次检查时间。
- """
- source_list = self.read_react("follow-manage/source-list.tsx")
- row = source_list[source_list.index("function SourceRow("):
- source_list.index("function AuthorCard(")]
- self.assertIn("iconOnly leadingIcon={RiRefreshLine}", row)
- self.assertIn("aria-label={`检查 ${source.label} 的更新`}", row)
- self.assertIn("iconOnly leadingIcon={RiDeleteBinLine}", row)
- self.assertIn("aria-label={`移除 ${source.label}`}", row)
- self.assertNotIn(">检查<", row)
- self.assertNotIn(">移除<", row)
- # 这两颗自己不换行,行里要挤也是挤前面那几段文字。
- self.assertIn('<span className="flex shrink-0 items-center gap-1">', row)
-
- def test_a_row_is_picked_by_its_own_checkbox_and_written_one_row_at_a_time(self):
- """每行第一格是勾选框,改这一条的状态只换这一条的那一份数据。
-
- 启用与暂停是对选中的那一批说的,写回按单行交换:整张清单重取一遍的话,
- 正在看的那一屏会整个跳一下,而变的只有一个字。
- """
- source_list = self.read_react("follow-manage/source-list.tsx")
- self.assertIn("<Checkbox isSelected={selected} onChange={onToggle} "
- "aria-label={`选择 ${source.label}`} />", source_list)
- self.assertIn("else for (const id of result.done) patchSource(id, "
- "{ enabled: result.action === 'enabled' });", source_list)
- data = self.read_react("follow-manage/follow-manage.ts")
- self.assertIn("export function patchSource(id: number, patch: Partial<FollowSource>): void {", data)
- self.assertIn("queryClient.setQueryData<FollowData>(FOLLOW_MANAGE_KEY, (data) => (data ? {", data)
-
- def test_official_channel_icons_and_alias_manager_are_visible(self):
- """官方站有自己的圆标;作者别名有一块自己的管理区。"""
- data = self.read_react("follow-manage/follow-manage.ts")
- icons = data.split("export const SOURCE_ICON_PROVIDERS = new Set([", 1)[1].split("]);", 1)[0]
- for provider in ("fanbox", "patreon", "subscribestar"):
- self.assertIn(f"'{provider}'", icons)
- self.assertIn("export const FOLLOW_ALIAS_URL = '/api/follow/author-alias';", data)
- self.assertReactContains("follow-manage/follow-manage-page.tsx",
- "<AliasManager groups={data.author_aliases || []}")
- self.assertReactContains("follow-manage/follow-manage-page.tsx",
- "suggestions={data.alias_suggestions || []} sources={data.sources}")
- aliases = self.read_react("follow-manage/alias-manager.tsx")
- self.assertIn("<DataTableFrame>", aliases)
- self.assertEqual(aliases.count("<DataTableFrame>"), 2)
- self.assertIn("<AuthorAvatar group={authorSources(sources, name, canonicalKey)}", aliases)
-
- def test_the_author_head_shows_its_sites_as_favicons(self):
- """作者卡这一行只出图标:站名在下面每条来源自己那一行上都写着。
-
- 写进标题栏就是同一个词并排两次,窄卡片里它先把图标挤到贴脸,再把作者名压没。
- 站名落在 title 和读屏读的那一段里,真要确认的人读得到。
- """
- source_list = self.read_react("follow-manage/source-list.tsx")
- head = source_list[source_list.index("function AuthorCard("):
- source_list.index("export function SourceList(")]
- self.assertIn("{group.map((source) => <SourceIcon key={source.id} provider={source.provider} />)}",
- head)
- self.assertIn('<span className="flex shrink-0 items-center gap-1" title={providers}>', head)
- # 只读屏的那一段走 `VisuallyHidden`:它把样式写在元素上,不生成一个和旧样式表
- # 同名的工具类(`frontend/test/legacy-class-names.test.ts` 盯着这条)。
- self.assertIn("<VisuallyHidden>{`来源:${providers}`}</VisuallyHidden>", head)
-
- def test_already_followed_candidates_are_shown_but_not_selectable(self):
- """已经关注的候选照样列出来,但勾不动——不然人以为没查到。"""
- add = self.read_react("follow-manage/add-source.tsx")
- self.assertIn("isDisabled={candidate.known}", add)
- self.assertIn("{candidate.known ? '已经关注' : candidate.evidence}", add)
-
- def test_the_first_name_lookup_warns_about_the_index_download(self):
- """按名字查第一次要先下载创作者索引,这一等得说清楚。"""
- self.assertReactContains("follow-manage/add-source.tsx",
- "首次按名字查要下载创作者索引,可能几十秒")
def test_the_input_and_its_button_are_the_same_height(self):
# 输入框和旁边的来源筛选按钮齐平;单行以后没有 min-height 与 resize。
@@ -3014,33 +2828,6 @@ class FollowWebSourceTests(unittest.TestCase):
# 添加表单没有自己的按钮高度规则:输入框几何由 .geist-search 统一给。
self.assertNotIn(".faddform .fbtn{", page)
- def test_the_source_filter_is_a_labelled_popover_beside_the_lookup_field(self):
- """来源筛选是查找行右边一颗带名字的按钮,点开是一块弹层。
-
- 按钮上写着当前筛到哪几个站,不必点开才知道;弹层自己是一块 `Dialog`,
- 有名字、能用键盘关掉,弹层位置由 BoardUI 的 `Popover` 定。
- """
- add = self.read_react("follow-manage/add-source.tsx")
- self.assertIn('aria-haspopup="dialog" aria-expanded={open} aria-label={label}', add)
- self.assertIn("leadingIcon={RiFilter3Line}", add)
- self.assertIn('<Dialog aria-label="来源筛选"', add)
- self.assertIn('placement="bottom end" offset={4} className={MENU_POPOVER_SURFACE}', add)
- # 按钮上那句话说的是筛完剩几个站,全留着就直说「全部来源」。
- self.assertIn("'全部来源'", add)
-
- def test_source_filter_menu_offers_select_all_and_select_none(self):
- """弹层顶上给「全选」和「全不选」,它们是对整张清单说的,所以排在逐站那几行上面。
-
- 真相只有 `hidden` 一份:两颗键改的也是它,不去逐个翻勾选框的 DOM 状态。
- """
- add = self.read_react("follow-manage/add-source.tsx")
- filter_block = add[add.index("function SourceFilter("):add.index("function PickRow(")]
- self.assertIn("onClick={() => onHidden(new Set())}>全选</Button>", filter_block)
- self.assertIn("onClick={() => onHidden(new Set(rows.map((row) => row.provider_label)))}"
- ">全不选</Button>", filter_block)
- self.assertLess(filter_block.index(">全选</Button>"),
- filter_block.index("<Checkbox isSelected={!hidden.has(row.provider_label)}"))
-
def test_follow_filter_rows_are_multi_select_without_bulk_keys(self):
"""关注页的作者、来源、标签三行都是多选,行首不配「全选/全不选」:这一页是浏览用的。
@@ -3065,27 +2852,11 @@ class FollowWebSourceTests(unittest.TestCase):
"""三栏按做事的先后排:关注列表在最前,其次添加关注,最后才是来源和凭证。
凭据是出问题时才去配的东西,摆在第一栏就等于每次进来都先看一眼跟这次无关的
- 表单。栏的顺序同时也是地址栏里 `tab` 的取值顺序,壳那边照着同一份。
+ 表单。栏的顺序同时也是地址栏里 `tab` 的取值顺序,壳那边照着同一份;页面画出来的
+ 次序由 `frontend/test/react/follow-manage.test.tsx` 判。
"""
- page = self.read_react("follow-manage/follow-manage-page.tsx")
- self.assertIn("const TABS = [['list', '关注列表'], ['add', '添加关注'], "
- "['source', '来源和凭证']] as const;", page)
self.assertPageContains("const FOLLOW_MANAGE_TABS=['list','add','source'];")
- def test_counts_are_a_footnote_not_their_own_section(self):
- """四段计数跟在列表末尾,不自己占一整块。
-
- 单独占一张通栏卡片的话,宽屏上就是一条空长条;而这四个数只在还有未看的时候
- 才有人读,没有未看时它整块不出现。
- """
- source_list = self.read_react("follow-manage/source-list.tsx")
- self.assertIn("{counts.new ? (", source_list)
- self.assertIn("{`未看 ${counts.new} · 已看 ${counts.seen || 0} · 已保存 "
- "${counts.saved || 0} · 已忽略 ${counts.ignored || 0}`}", source_list)
- # 页顶那四格读数是另一件事:它说的是整个关注面的规模,不是某一次筛选的结果。
- self.assertReactContains("follow-manage/follow-manage-page.tsx",
- '<Reading term="关注创作者" figure={groups.length} unit="位" />')
-
def test_the_page_is_one_narrow_column_with_credentials_inline(self):
"""侧栏在哪个宽度上都不对:宽屏把凭据推出视线,窄屏又整个塌到最底下。
@@ -3145,57 +2916,6 @@ class FollowWebSourceTests(unittest.TestCase):
self.assertIn("min-width:0", rule[:rule.index("}")])
self.assertPageContains(".frows>*{min-width:0}")
- def test_credential_states_are_not_all_the_same_colour(self):
- """缺凭据是待办,配好了是完成态,接不进来是坏掉了。同色就等于没说。"""
- creds = self.read_react("follow-manage/credentials.tsx")
- chip = creds[creds.index("function StateChip("):creds.index("function CredentialForm(")]
- self.assertIn('if (done) return <Chip variant="caption" color="lime">已配置</Chip>;', chip)
- self.assertIn("const color = row.requirement === 'required' ? 'yellow'", chip)
- self.assertIn(": row.requirement === 'blocked' ? 'rose' : 'neutral';", chip)
- colours = set(re.findall(r"['\"](lime|yellow|rose|neutral)['\"]", chip))
- self.assertEqual(len(colours), 4, "四种处境要有四副长相")
-
- def test_suggestions_come_from_the_real_library_and_are_clickable(self):
- """「猜你喜欢」取账本里真实存在的创作者,点一下直接拿去查。
-
- 推荐不能退化成 placeholder:占位文字点不了。占位文字只负责说清该输入什么
- 格式(Vercel Forms:以省略号收尾、给出示例样式),不许塞进具体创作者名。
- """
- add = self.read_react("follow-manage/add-source.tsx")
- self.assertIn("const guesses = data.suggestions || [];", add)
- # 点一下就是拿这个名字去查,不是往输入框里填半句话让人再点一次。
- self.assertIn("onClick={() => search(guess.name)}>{guess.name}</Button>", add)
- self.assertIn("title={`浏览历史里出现 ${guess.visits} 次", add)
- # 不能退回本地文件的创作者:那是「他有谁的文件」,不是「他喜欢谁」。
- self.assertNotIn("facets", add)
- # 占位文字只说该输入什么格式,不塞具体创作者名。
- self.assertIn("const PLACEHOLDER = '粘贴来源链接,或输入创作者名、id…';", add)
- self.assertEqual(add.count("placeholder={"), 1)
- self.assertEqual(add.count("placeholder='"), 0, "占位文字只有具名常量那一处")
-
- def test_every_credential_state_sits_in_the_same_column(self):
- """能填的那几行有折叠体、不能填的没有,但抬头是同一段。
-
- 抬头一旦写成两份,两个分支就会各自漂:一边状态贴着名字,一边靠右,同一列两种
- 对齐。所以 `head` 只算一次,两个分支都摆同一个它。"""
- creds = self.read_react("follow-manage/credentials.tsx")
- section = creds[creds.index("function CredentialSection("):creds.index("export function Credentials(")]
- self.assertIn("const head = (", section)
- self.assertEqual(section.count("{head}"), 2, "两个分支要摆同一段抬头")
- self.assertEqual(section.count("<StateChip row={row} />"), 1, "状态徽章只该有一处")
- # 抬头自己是 flex 行:名字可缩、图标和徽章不缩,名字再长也不把状态挤出这一列。
- self.assertIn('<span className="flex min-w-0 items-center gap-2">', section)
-
- def test_the_add_box_carries_no_standing_how_to_prose(self):
- # 空态保留状态和结果去向;操作说明常驻就是噪音。
- add = self.read_react("follow-manage/add-source.tsx")
- sources = self.read_react("follow-manage/source-list.tsx")
- self.assertNotIn("要一次加多个就每行一条", add)
- self.assertNotIn("把链接或名字粘进上面的输入框", add)
- # 钉的是这段空态说了什么,不是它写成什么样:外壳与图标属于控件层,改那里不该红。
- self.assertIn('title="还没有关注来源"', sources)
- self.assertIn("关注来源及其检查状态会显示在这里。</EmptyState>", sources)
-
def test_the_panel_cites_the_registered_report_design_source(self):
page = self.read_react("follow-manage/follow-manage-page.tsx")
self.assertIn("docs/reference-sources.json", page)
@@ -3218,42 +2938,6 @@ class FollowWebSourceTests(unittest.TestCase):
steps = sorted({m for m in re.findall(r"font-size:var\(--fs-([a-z0-9]+)\)", block)})
self.assertEqual(steps, ["md", "sm", "xs"], f"字号档位应只有三档,实际 {steps}")
- def test_credential_rows_say_whether_they_are_needed_at_all(self):
- # 「未配置」本身不是信息:要说清需不需要、需要什么、去哪儿拿。
- data = self.read_react("follow-manage/follow-manage.ts")
- self.assertIn("required: '需要', optional: '可选', none: '不需要', blocked: '接不进来',", data)
- creds = self.read_react("follow-manage/credentials.tsx")
- # 需要什么:缺的字段名直接列出来,不让人点开才知道。
- self.assertIn('<Chip variant="caption" color="rose">{`缺 ${row.missing.join(\'、\')}`}</Chip>', creds)
- # 去哪儿拿:说明加一条跳到那个站自己的页面的链接。
- self.assertIn("{row.where ? <> <ExternalLink href={row.where}>去取</ExternalLink></> : null}", creds)
- self.assertIn("{row.howto ? <Help>{row.howto}</Help> : null}", creds)
-
- def test_the_page_says_where_the_credential_actually_lands(self):
- creds = self.read_react("follow-manage/credentials.tsx")
- # 从 Mac 浏览 Windows 实例时,凭据落在 Windows 上——不能写成「本机」。
- self.assertIn("存成运行 Peach 那台电脑上的一个文件。", creds)
- # Windows 那句要把后果说出来,不能只报一个「不收紧权限」的动作。
- self.assertIn("在 Windows 上它不额外加锁,能登录那台电脑的人都能打开。", creds)
- # 路径旁边给一颗打开它的键:凭据文件要人自己去编辑,照着路径再翻一遍是白翻。
- self.assertIn('<PathLine path={row.path} className="font-mono text-caption-1-regular text-text-tertiary"',
- creds)
- self.assertIn('{row.world_readable ? <Note tone="error" title="凭据文件权限过宽">', creds)
-
- def test_credential_information_card_stays_inside_the_viewport(self):
- """存放位置是一段常驻说明,排在凭据列表末尾,不是一枚要点开的浮层。
-
- 浮层要自己算位置才不越界,而这段字每次都该被读到——它讲的是凭据会落在哪台机器、
- 权限有多宽。排进正文流就没有越界这回事了。"""
- creds = self.read_react("follow-manage/credentials.tsx")
- tail = creds[creds.index("export function Credentials("):]
- self.assertIn("<b className=\"text-body-medium text-text-primary\">{STORAGE_TITLE}</b>", tail)
- self.assertIn('<PathLine path={data.root} prefix="凭据文件在 "', tail)
- # 排在凭据列表末尾:先是逐站那一叠,这段说明跟在它后面,同在正文流里。
- self.assertLess(tail.index("<CredentialSection"), tail.index("{STORAGE_TITLE}"))
- for machinery in ("popover", "role=\"dialog\"", "innerWidth"):
- self.assertNotIn(machinery, creds, "这段说明不该有浮层定位逻辑")
-
def test_expanding_prose_animates_a_measured_height(self):
"""展开是量出来的高度过渡,不是一帧之间蹦出来。
@@ -3270,79 +2954,6 @@ class FollowWebSourceTests(unittest.TestCase):
# 箭头跟着一起转:正文在动、指示方向的那一枚却一帧跳过去,两处说的就不是同一件事。
self.assertIn("rotate-90 transition-transform", self.read_front("react/settings/section.tsx"))
- def test_credential_rows_expand_through_the_shared_collapse(self):
- """展开一段正文这件事不该有第二套开合逻辑。
-
- React 这边的 `Disclosure` 把开合交回遗留的 `setCollapseOpen`:同一份量高度、同一段
- 过渡、同一套 `aria-expanded`/`inert`。内边距放在里层,高度才收得到 0——留在外层的话
- border-box 会让它卡在一截空白上,收尾跳一下。"""
- section = self.read_front("react/settings/section.tsx")
- self.assertIn("import { setCollapseOpen } from '@peach/legacy/ui';", section)
- self.assertIn("setCollapseOpen(details.current, body.current, !open);", section)
- self.assertIn('<div ref={body} id={id} inert={!open}>', section)
- self.assertIn('<div className="flex flex-col gap-2 pt-3">{children}</div>', section)
- creds = self.read_react("follow-manage/credentials.tsx")
- self.assertIn("import { Disclosure, ErrorText, ExternalLink, Help } from '../settings/section';", creds)
- self.assertIn("<Disclosure summary={credentialDone(row) ? '修改凭据' : '填写凭据'}", creds)
- self.assertIn("defaultOpen={row.requirement === 'required' && !credentialDone(row)}>", creds)
-
- def test_credential_rows_carry_the_same_favicon_as_their_source(self):
- """凭据配的就是那个站,用来源行同一枚 favicon 指认它。"""
- creds = self.read_react("follow-manage/credentials.tsx")
- self.assertIn("import { SourceIcon } from './source-view';", creds)
- self.assertIn("<SourceIcon provider={row.provider} />", creds)
- # 槽位占住 14px,不看里面有没有图:没登记 favicon 的站本来就没有,取不下来的
- # 那些还会被整个丢掉,两种情况都会让名字的左边缘参差。
- self.assertIn('<span className="inline-flex size-3.5 shrink-0 items-center justify-center">', creds)
- # 取不下来的那一枚自己撤掉,槽位留着:遗留层靠 `data-drop="self"` 做这件事,React 这边
- # 是组件自己记下失败。两条路都不能把一个碎图标留在名字左边。
- self.assertIn("onError={() => setBroken(true)}", self.read_react("follow-manage/source-view.tsx"))
-
- def test_the_follow_list_has_a_default_view_and_a_table_view(self):
- """同一批来源两种看法:默认按作者分卡,表格一行一条。
-
- 两种视图共用一个勾选集合和一份排序状态——换视图不该让「我选中的那批」或者
- 「现在按什么排」变一次。版式是这台浏览器的个人偏好,存进 `appSettings`,不进地址栏。
- """
- self.assertReactContains(
- "follow-manage/follow-manage.ts",
- "export const LAYOUTS = [['default', '默认视图'], ['table', '表格视图']] as const;")
- sources = self.read_react("follow-manage/source-list.tsx")
- self.assertIn("const asTable = layout === 'table';", sources)
- self.assertIn("aria-label={LAYOUTS[0][1]} aria-pressed={!asTable}", sources)
- self.assertIn("aria-label={LAYOUTS[1][1]} aria-pressed={asTable}", sources)
- # 勾选集合只有一份,两种视图都读它;表格那份 rowSelection 是由它派生的投影。
- self.assertIn("const rowSelection: RowSelectionState = useMemo(\n"
- " () => Object.fromEntries([...selected].map((id) => [String(id), true])), [selected]);",
- sources)
- self.assertIn("const pageIds = asTable", sources)
- # 排序也只有一份:两种视图读同一个 sort/dir,表格自己不再排一遍。
- self.assertIn("manualSorting: true,", sources)
- # 版式存进设置,不写地址栏。
- page = self.read_react("follow-manage/follow-manage-page.tsx")
- self.assertIn("savePreference({ layout: next });", page)
- self.assertNotIn("go({ layout", page)
- self.assertIn("const [layout, setLayout] = useState<Layout>", page)
-
- def test_selected_rows_follow_boardui_data_table_feedback(self):
- """两种视图的选中行都拿 BoardUI Data Table 那一档 secondary 背景,外观归共享 CSS。"""
- sources = self.read_react("follow-manage/source-list.tsx")
- self.assertIn("<div data-selected={selected || undefined}", sources)
- row_open = sources[sources.index("<div data-selected={selected || undefined}"):]
- row_open = row_open[:row_open.index('">') + 2]
- self.assertNotIn("data-selected:bg-", row_open)
- self.assertIn("data-source-divider", sources)
- # 卡片那一行的反馈和表格同一档,写在同一份样式表里。
- self.assertIn("[data-source-divider] > [data-selected]",
- self.read_front("react/styles.css"))
- # 表格把 TanStack 的选择状态交给 Table 的 data attribute,外观仍由共享 CSS 管。
- table_block = sources[sources.index("{asTable ? ("):]
- self.assertNotIn("data-selected:bg", table_block)
- self.assertIn("data-follow-selected={row.getIsSelected() || undefined}", table_block)
- styles = self.read_front("react/styles.css")
- self.assertIn("[data-board-data-table] .bui-table tbody tr[data-follow-selected]", styles)
- self.assertIn("background-color: var(--color-background-secondary-default);", styles)
-
def test_follow_views_use_primary_surfaces_secondary_actions_and_visible_dividers(self):
"""列表外框、作者与紧凑表格分三层;行内操作不借主动作的蓝色。"""
sources = self.read_react("follow-manage/source-list.tsx")
@@ -3362,28 +2973,6 @@ class FollowWebSourceTests(unittest.TestCase):
with self.subTest(selector=selector):
self.assertIn(selector, styles)
- def test_both_views_render_the_same_source_cells(self):
- """一条来源的格子只有一份写法:默认视图排成一行,表格视图各放一个单元格。
-
- 站标、外链、状态徽章、上次检查这四样两边都从同一组组件和同一个纯函数来——各写一份
- 的话,同一条来源在两个视图里迟早读出两个样子。
- """
- sources = self.read_react("follow-manage/source-list.tsx")
- self.assertIn("import { AuthorAvatar, SourceIcon, SourceLink, StatusBadge } from './source-view';",
- sources)
- for shared, times in (("<SourceLink source=", 2), ("<StatusBadge source=", 2),
- ("checkedText(", 2), ("<AuthorAvatar ", 2)):
- self.assertGreaterEqual(sources.count(shared), times,
- f"两种视图都要用同一份 {shared!r}")
- # 行上那两个动作也是同一对,无障碍名称的写法也一样。
- self.assertEqual(sources.count("aria-label={`移除 ${source.label}`}"), 1)
- self.assertEqual(sources.count("aria-label={`移除 ${context.row.original.source.label}`}"), 1)
- view = self.read_react("follow-manage/source-view.tsx")
- self.assertIn("export function SourceLink(", view)
- self.assertIn("export function StatusBadge(", view)
- self.assertIn("export function SourceIcon(", view)
- self.assertIn("export function AuthorAvatar(", view)
-
def test_the_table_view_follows_the_boardui_data_table(self):
"""表格视图用的就是 boardui 注册表里 `table` 那一份源码,不是照着它再写一张表。
@@ -3413,52 +3002,6 @@ class FollowWebSourceTests(unittest.TestCase):
self.assertIn('<Table aria-label="关注来源"', sources)
self.assertIn('<TableBody renderEmptyState={() => \'这一页没有来源\'}>', sources)
- def test_the_table_header_sorts_by_the_toolbar_sort_keys(self):
- """表头五列与工具栏下拉是同一份维度,点列头就是换工具栏里那一档。
-
- 排序算在**全集**上,分页只切最后一步:TanStack Table 拿到的 `data` 已经是排好的全部
- 结果,`manualSorting` 让它别再排一遍——否则「排序」就退化成「只排当前页」,翻页看到
- 的不是真的下一批。
- """
- data = self.read_react("follow-manage/follow-manage.ts")
- self.assertIn("export const COLUMN_SORT = {\n"
- " author: 'name', source: 'source', provider: 'provider', status: 'status',"
- " checked: 'checked',\n} as const satisfies Record<string, SortKey>;", data)
- # 状态正序是「先看要处理的」:失败、暂停、未检查、正常。
- self.assertIn("if (state === 'error' || state === 'unauthorized') return 0;", data)
- self.assertIn("if (!source.enabled) return 1;", data)
- self.assertIn("return state === 'ok' ? 3 : 2;", data)
- sources = self.read_react("follow-manage/source-list.tsx")
- # 两边共用一张对照表,方向也共用一个值。
- self.assertIn("const SORT_COLUMN = Object.fromEntries(\n"
- " Object.entries(COLUMN_SORT).map(([column, sort]) => [sort, column]),\n"
- ") as Partial<Record<SortKey, string>>;", sources)
- self.assertIn("const sortable = header.column.id in COLUMN_SORT;", sources)
- self.assertIn("allowsSorting={sortable}", sources)
- self.assertIn("<ChevronSortDown", sources)
- self.assertIn("data-direction={sortDirection || undefined}", sources)
- self.assertIn("manualSorting: true,", sources)
- # 排好的是全集,分页模型只负责切窗口。
- self.assertIn("const rows = useMemo(() => tableRows(groups, sort, dir, aliases),", sources)
- self.assertIn("data: rows,", sources)
- self.assertIn("getPaginationRowModel: getPaginationRowModel(),", sources)
- # 点列头改的是页面那份 sort/dir,卡片视图跟着一起变。
- self.assertIn("const key = COLUMN_SORT[first.id as keyof typeof COLUMN_SORT];\n"
- " if (key) onSort(key, first.desc ? 'desc' : 'asc');", sources)
-
- def test_the_layout_switch_lines_up_with_the_sort_box(self):
- """版式开关、排序框和方向键同处一行,高度必须是同一档。"""
- sources = self.read_react("follow-manage/source-list.tsx")
- toolbar = sources[sources.index("关注列表</h3>"):sources.index("{/* 这一趟在后台跑")]
- # 工具条都走默认 medium(36px 高)。
- self.assertNotIn('size="small"', toolbar)
- self.assertNotIn('size="sm"', toolbar)
- self.assertNotIn('size="xs"', toolbar)
- self.assertIn("data-button-group", toolbar)
- self.assertIn('<Select aria-label="关注列表排序"', toolbar)
- # 下拉差的那 2px 由 styles.css 里整层的规则补,不靠这一排自己挂钩子。
- self.assertIn('button[aria-haspopup="listbox"]', self.read_react("styles.css"))
-
def test_the_sort_direction_key_is_a_square_icon_button(self):
"""纯图标键是正方形,边长与同排控件同高,图标不被内边距压扁。
@@ -3469,39 +3012,6 @@ class FollowWebSourceTests(unittest.TestCase):
self.assertPageContains(".fsechead .fmanagedir{width:var(--control-h);padding:0}")
self.assertPageContains(".fsechead .fmanagedir svg{width:16px;height:16px}")
- def test_the_list_toolbar_collapses_to_icons_before_it_breaks_into_two_rows(self):
- """放不下时带文字的按钮与下拉只留图标,名字交给 title 与 aria-label。
-
- 判据是这一行自己的宽度:同一个视口下侧栏收起与展开留给它的宽度差两百像素,
- 视口断点会在一边早折、在另一边照样超框。
- """
- sources = self.read_react("follow-manage/source-list.tsx")
- self.assertIn("const TOOLBAR_COMPACT_PX = 740;", sources)
- self.assertIn("const watch = new ResizeObserver(() => "
- "setCompact(node.clientWidth < TOOLBAR_COMPACT_PX));", sources)
- self.assertIn("const [toolbar, compact] = useCompactToolbar();", sources)
- self.assertIn('<div ref={toolbar} className="flex flex-wrap items-center gap-2">', sources)
- # 塌下去走 `Button` 自己的 `iconOnly`:从外面改它的内外边距会被 `no-restyle` 挡下。
- self.assertEqual(sources.count("iconOnly={compact}"), 2)
- self.assertNotIn("className={COLLAPSING", sources)
- # 收起后名字还有人说,也还有字形可看,不能剩一个空框。
- self.assertIn('aria-label="检查全部" iconOnly={compact}', sources)
- self.assertIn("aria-label={allCollapsed ? '全部展开' : '全部收起'}", sources)
- self.assertIn("leadingIcon={allCollapsed ? RiArrowDownSLine : RiArrowUpSLine}", sources)
-
- def test_alias_count_is_neutral_metadata(self):
- """「3 组」只是计数,不是待处理提醒:它是次要字色的一行小字,不是徽章。
-
- 此前是蓝底蓝字的 pill,和主按钮同色,读起来像有事要处理。要处理的事由旁边那两个
- 合并按钮说。"""
- alias = self.read_react("follow-manage/alias-manager.tsx")
- self.assertEqual(
- alias.count('<span className="text-body-2-regular text-text-secondary">{`${groups.length} 组`}</span>'), 1)
- self.assertIn('<span className="mr-auto text-body-2-regular text-text-secondary">\n'
- " {`${suggestions.length} 组`}\n </span>", alias)
- for loud in ("<Chip", "text-text-error", "bg-button-primary"):
- self.assertNotIn(loud, alias, "计数不该借用提醒或主按钮的颜色")
-
def test_follow_source_icons_fail_back_to_plain_text(self):
"""图标由服务端取回落盘(follow_assets.SOURCE_ICON_URLS),页面只认名单、只请求本机。"""
icons = self.page.split("const SOURCE_ICON_PROVIDERS=new Set([", 1)[1].split("]);", 1)[0]
@@ -3666,26 +3176,6 @@ class FollowWebSourceTests(unittest.TestCase):
self.assertPageContains(".tagscroll::-webkit-scrollbar{display:none}")
self.assertPageLacks(".followfilters{position:relative")
- def test_credentials_are_typed_into_the_page_not_into_a_file_by_hand(self):
- self.assertReactContains("follow-manage/follow-manage.ts",
- "export const FOLLOW_CREDENTIAL_URL = '/api/follow/credential';")
- creds = self.read_react("follow-manage/credentials.tsx")
- self.assertIn("<Input key={name} type=\"password\" label={name} placeholder={fieldHint(row, name)}", creds)
- self.assertIn("{(row.needs || []).map((name) => (", creds)
- # 值只往磁盘走:保存成功就清空输入框,页面上再也看不到。
- self.assertIn("setValues({});", creds)
- self.assertIn(">保存配置</Button>", creds)
- self.assertIn(">清除</Button>", creds)
-
- def test_required_credentials_expand_and_the_source_menu_offers_configuration(self):
- """非配不可的那几行一进来就是敞开的;在别处撞见缺凭据,也能一步跳过去配。"""
- creds = self.read_react("follow-manage/credentials.tsx")
- self.assertIn("defaultOpen={row.requirement === 'required' && !credentialDone(row)}>", creds)
- add = self.read_react("follow-manage/add-source.tsx")
- self.assertIn("onClick={() => { setOpen(false); openCredentials() }}>需要配置凭据</Button>", add)
- page = self.read_react("follow-manage/follow-manage-page.tsx")
- self.assertIn("openCredentials={() => { setTab('source'); go({ tab: 'source' }) }}", page)
-
def test_the_watch_page_does_not_carry_source_management(self):
# 输入框、移除、凭据都只属于管理页;看的那页保持干净。
page = self.page
@@ -3742,9 +3232,7 @@ class FollowWebSourceTests(unittest.TestCase):
self.assertPageContains('<span class="fbadge wip">WIP</span>')
def test_network_check_is_an_explicit_button_not_an_auto_refresh(self):
- # 联网只发生在按下这个键的那一刻。
- self.assertReactContains("follow-manage/source-list.tsx",
- "onClick={() => startChecking([])}>")
+ # 联网只发生在按下「检查全部」的那一刻(`frontend/test/react/follow-manage.test.tsx`)。
# 「换一批」自动刷新绝不能顺手触发一次联网检查。这件事现在由路由表上的
# `refresh:'skip'` 表达:refreshAll 只认这个标记,两个关注页各自带一个。
self.assertPageContains("if(hit?.route.refresh==='skip')return;")
@@ -3902,89 +3390,6 @@ class FollowWebSourceTests(unittest.TestCase):
}]
self.assertEqual(web_follow._profile_link_suggestions(rows, {}), [])
- def test_the_add_box_suggests_names_while_you_type(self):
- """敲半个名字就要有下拉,而且分组和排序由服务端说了算。
-
- 记得住 `strauzek` 的人不一定记得住 `Mr_Strauz`,从没关注过的 `lewdgazer`
- 更是只有站点那边知道——所以这里问的是接口,不是页面自己手里那份列表。
- """
- data = self.read_react("follow-manage/follow-manage.ts")
- self.assertIn("export const FOLLOW_SUGGEST_URL = '/api/follow/suggest';", data)
- add = self.read_react("follow-manage/add-source.tsx")
- # 分组的名字和次序照服务端回的来,页面不自己排。
- self.assertIn("const options = useMemo(() => (suggest.data?.groups || []).flatMap((group) => (\n"
- " group.items.map((item) => "
- "({ value: item.value, label: item.matched || item.value, group: group.label }))\n"
- " )), [suggest.data]);", add)
- self.assertIn('<span className="shrink-0 text-caption-1-regular text-text-tertiary">{option.group}</span>',
- add)
- # 地址不进这条路:服务端认得出里面的 `/`,那时该做的是解析链接。
- self.assertIn("if (!text || text.includes('/')) { setTerm(''); return }", add)
-
- def test_the_dropdown_says_it_is_working_while_the_site_answers(self):
- """站上那一路要问补全再问分类,实测一秒上下,这段时间必须看得出在做事。
-
- 空着像是敲了没反应;挂着上一个字的结果更糟——那看着就是新结果,而它属于另一个词。
- 所以忙的时候下拉照样掀开,里面是一行独立的等待态,旧结果不留。
- """
- add = self.read_react("follow-manage/add-source.tsx")
- self.assertIn("const suggesting = suggest.isFetching;", add)
- self.assertIn("const menuOpen = focused && (options.length > 0 || suggesting);", add)
- self.assertIn('? <div className="px-2 py-1.5"><LoadingDots label="正在查找建议" /></div>', add)
- # 忙态那一行不是候选:上下键和回车这时不该选中一个「正在查找建议」。
- self.assertIn("if (!options.length) return;", add)
- self.assertIn("search(options[active]?.value || line);", add)
- # 每个词各有各的缓存键,上一个词的答案不会盖到这一个词上。
- self.assertReactContains(
- "follow-manage/follow-manage.ts",
- "export const followSuggestKey = (term: string) => ['follow-manage', 'suggest', term] as const;")
-
- def test_typing_fast_sends_one_request_and_ignores_the_stale_answer(self):
- """联网那一路每敲一下打一枪就是拿站点当键盘缓冲;先回的旧答案还会盖掉新的。"""
- data = self.read_react("follow-manage/follow-manage.ts")
- self.assertIn("export const SUGGEST_DEBOUNCE_MS = 250;", data)
- add = self.read_react("follow-manage/add-source.tsx")
- self.assertIn("const timer = setTimeout(() => setTerm(text), SUGGEST_DEBOUNCE_MS);\n"
- " return () => clearTimeout(timer);", add)
- # 只在输入框有焦点时问:焦点已经走了就不再掀开。
- self.assertIn("enabled: term.length > 0 && focused,", add)
- # 取消也交给缓存层:换词时上一次请求带着 signal 一起撤掉。
- self.assertIn("queryFn: ({ signal }) => fetchSuggestions(term, signal),", add)
-
- def test_a_suggestion_can_be_taken_by_keyboard_or_by_mouse(self):
- """下拉两种拿法都要通,而且拿到的名字直接进查找框。
-
- 鼠标那一路先 `preventDefault` 才行:让下拉抢走焦点就会触发失焦,菜单被收掉,
- click 落到空处。
- """
- add = self.read_react("follow-manage/add-source.tsx")
- self.assertIn("onMouseDown={(event) => event.preventDefault()}", add)
- self.assertIn("onClick={() => onPick(option.value)}>", add)
- self.assertIn("if (event.key === 'ArrowDown' || event.key === 'ArrowUp') {", add)
- self.assertIn("search(options[active]?.value || line);", add)
- # 选字中的回车和方向键归输入法,不归这里。
- self.assertIn("if (event.nativeEvent.isComposing) return;", add)
- # 下拉贴着输入框定位,不能贴到整个表单上——那样会落在筛选按钮下面。
- self.assertIn('<div className="relative min-w-64 grow" onFocus={() => setFocused(true)}', add)
- self.assertIn("'absolute top-full z-10 mt-1 flex w-full flex-col gap-1'", add)
-
- def test_the_source_row_shows_the_site_as_an_icon_only(self):
- """作者卡里站名紧挨着作者名和状态徽章,写出来就是同一个词并排两次。
-
- 表格视图的「站点」是独立一列,列头就叫这个名字,那里出文字。站名两种形态都在:
- 图标画得出来时它交给读屏,没登记图标或者那一枚取不下来时它自己显出来。
- """
- view = self.read_react("follow-manage/source-view.tsx")
- self.assertIn("export function SourceIcon({ provider, label }: "
- "{ provider: string; label?: string }) {", view)
- self.assertIn("if (!src || broken) return label ? <>{label}</> : null;", view)
- self.assertIn("{label ? <VisuallyHidden>{label}</VisuallyHidden> : null}", view)
- sources = self.read_react("follow-manage/source-list.tsx")
- # 卡片行只给图标看;表格那一列照常出文字。
- self.assertIn("<SourceIcon provider={source.provider} label={source.provider_label} />", sources)
- self.assertIn("<SourceIcon provider={context.row.original.source.provider} />\n"
- " {context.row.original.source.provider_label}", sources)
-
def test_avatars_are_local_urls_and_only_for_providers_that_serve_one(self):
"""头像是元数据,经 Peach 落盘再给页面:两个字段都是本机地址,浏览器不碰对方站点。
@@ -4038,49 +3443,6 @@ class FollowWebSourceTests(unittest.TestCase):
self.assertIsNone(web_follow._avatar_url(provider, ref),
f"{provider} 没有实测过的头像来源,不该猜一个")
- def test_a_missing_evidence_archive_is_shown_not_swallowed(self):
- # 证据未存档并进那块检查报告,不单独弹一层——但话不能少说。
- self.assertReactContains(
- "follow-manage/source-list.tsx",
- "{evidence ? <Note tone=\"warning\">{`候选已入库,但这一次的原始响应没有留档:${evidence}`}</Note> : null}")
- self.assertReactContains(
- "follow-manage/follow-manage.ts",
- "(job?.results || []).find((row) => row.evidence_error)?.evidence_error || '';")
-
- def test_a_check_says_what_it_actually_found(self):
- """检查完必须报结果。
-
- 用户的原话是「完全没返回任何结果」:接口每条来源都回了
- added/updated/not_modified/error,而界面拿到之后只是整页重画,
- 那些数字一个都没露面,看起来就是点了一下什么都没发生。
-
- 「没有更新」和「检查失败」在界面上都像「什么都没发生」,但一个不用管,
- 另一个再不管就会一直漏更新——所以失败必须单独列出来并带上原因。
- 回执走 toast(非阻塞、自动消失),失败明细留在页内持久行上。
- """
- data = self.read_react("follow-manage/follow-manage.ts")
- self.assertIn("export function checkSummary(job: CheckJob): string {", data)
- for needle in ("`新增 ${added} 条`", "`更新 ${updated} 条`", "`${quiet} 个来源没有更新`",
- "'没有任何更新'",
- # 「没有更多内容」只跟着回执走,页内不铺它的明细条。
- "`${exhausted} 个没有更多内容`", "`${failed} 个失败`"):
- self.assertIn(needle, data)
- self.assertNotIn("没有更多历史内容", data)
- sources = self.read_react("follow-manage/source-list.tsx")
- # 跟完这一趟才报,而且报的是这一趟的结果:重画不会把它冲掉,它自己存着。
- self.assertIn("setOutcome(state);", sources)
- self.assertIn("toast(state.status === 'failed' ? (state.error || '检查失败') : checkSummary(state));",
- sources)
- # 失败明细留在页内,且要说清是哪个站,不能让用户去猜 `rule34xxx` 是什么。
- self.assertIn("export const checkFailures = (job: CheckJob | null): CheckResult[] =>", data)
- self.assertIn("`${failures.length} 个来源检查失败`", sources)
- self.assertIn("{`${row.provider_label || row.provider || ''} "
- "${row.author || row.label || row.ref || ''}:${row.error || '未说明原因'}`}", sources)
- # 光摆数字会让人去找「详情」,所以给一个具名的后续动作。
- self.assertIn("<Button variant=\"secondary\" size=\"small\" onClick={openFollow}>去看更新</Button>",
- sources)
- self.assertNotIn("条详情", sources)
-
def test_detail_tags_follow_rule34s_own_category_order(self):
"""详情标签按 rule34.xxx 帖子页 `#tag-sidebar` 的类型顺序分组,不按字母。
@@ -4125,70 +3487,6 @@ class FollowWebSourceTests(unittest.TestCase):
"else if(group.has_wip)badges.push('<span class=\"fbadge wip partial\">含 WIP</span>');")
self.assertPageContains(".fbadge.wip.partial{border-color:var(--border-15);color:var(--muted)}")
- def test_follow_bulk_actions_are_buttons_not_inline_links(self):
- """批量标记已看/全部忽略是 2292 条级别的操作,不能长得像行内文字链接。
-
- 裸蓝字链接和旁边的计数文本混在一行里,看起来像一句说明文字;
- 分不清哪半句是统计、哪半句可以点。改成 .fbtn 次级按钮——与本页
- 「检查全部」同一套控件语言——按钮的边界让「这会改状态」
- 在点击之前就看得见。
- """
- sources = self.read_react("follow-manage/source-list.tsx")
- self.assertIn(">全部标记已看</Button>", sources)
- self.assertIn(">全部忽略</Button>", sources)
- # 与本页「检查全部」同一套控件语言、同一档尺寸。
- self.assertEqual(sources.count('<Button variant="secondary" size="small" disabled={readOnly} '
- '{...busyProps(markAll.isPending)}'), 2)
- # 不另起一行:按钮就在计数行里,只有计数那半句参与收缩(用户回执)。
- foot = sources[sources.index("{counts.new ? ("):]
- foot = foot[:foot.index(") : null}")]
- self.assertEqual(foot.count("<div"), 1, "计数与两颗按钮同处一行")
- for inside in (">全部标记已看</Button>", ">全部忽略</Button>", 'className="mr-auto'):
- self.assertIn(inside, foot)
- self.assertIn('<span className="mr-auto text-body-2-regular text-text-secondary">\n'
- " {`未看 ${counts.new} · 已看 ${counts.seen || 0} ·"
- " 已保存 ${counts.saved || 0} · 已忽略 ${counts.ignored || 0}`}", sources)
-
- def test_sources_by_the_same_author_are_one_block(self):
- """同一个作者在几个站上是几条来源、一个人。
-
- 用户截图里 `LazyProcrastinator · fanbox` 出现两次(Kemono / Pawchive)、
- `lazyprocrastinator` 出现两次(Rule34Video / Rule34.xxx),四行读起来像四个人。
- 归组用后端算好的 `author_key`,前端不二次猜。
- """
- data = self.read_react("follow-manage/follow-manage.ts")
- self.assertIn("export function groupByAuthor(sources: FollowSource[]): FollowSource[][] {", data)
- self.assertIn("const key = source.author_key || `source:${source.id}`;", data)
- self.assertReactContains("follow-manage/source-list.tsx",
- "{groups.slice(win.start, win.end).map((group) => {")
- # 组标题用作者本人的名字:四条来源合成一组之后还挂着其中一条的平台后缀,
- # 等于说这一组只属于 fanbox,正是这次要消掉的误读。
- self.assertIn("export function authorName(group: FollowSource[], aliases: AliasGroup[] = []): string {",
- data)
- self.assertIn("const official = group.find((source) => source.official_avatar_url);", data)
- self.assertIn("if (official && authored(official)) return authored(official);", data)
- self.assertIn("/\\s+collections?\\s*$/i", data)
- # 取不到图片时回退作者首字母;不能从来源标签切出中文“初”“一”。
- self.assertIn("export function authorInitial(name: string): string {", data)
- # 镜像头像是官方头像的下一个候选;两条都取不到才换成首字母垫底。
- self.assertIn("export function authorAvatar(group: FollowSource[]): "
- "{ src: string; fallback: string } {", data)
- view = self.read_react("follow-manage/source-view.tsx")
- self.assertIn("const chain = [src, fallback].filter(Boolean);", view)
- self.assertIn("onError={() => setAt(at + 1)}", view)
- self.assertIn('<span title="没有可用头像"', view)
- self.assertIn("{authorInitial(name)}", view)
-
- def test_discovered_sources_keep_the_search_term_as_the_author_identity(self):
- """查出来的候选带着「当初是按谁查的」一起写回去。
-
- 同一个人在几个站上的几条来源,就是靠这个身份归成一组;候选上的 `author` 掉了,
- 新加进来的来源就各成一组。"""
- data = self.read_react("follow-manage/follow-manage.ts")
- self.assertIn("export const addSource = (candidate: ResolveCandidate) =>", data)
- self.assertIn("author: candidate.author || '', aliases: candidate.aliases || [], defer_check: true,",
- data)
-
def test_only_actionable_media_failures_enter_the_information_stream(self):
self.assertPageContains("媒体未取得:需要 F95 登录会话解析")
self.assertPageContains("部分媒体未取得:需要 F95 登录会话解析")
@@ -4209,22 +3507,6 @@ class FollowWebSourceTests(unittest.TestCase):
self.assertPageContains(".followresources a:hover")
self.assertPageContains("text-decoration:none")
- def test_loading_semantics_and_known_copy_says_followed(self):
- """等待态分两档:说得出进度的画进度条,说不出的画三个点。
-
- 「已经关注」是这一条候选此刻的处境,不是一句口语。"""
- dots = self.read_front("react/components/loading-dots.tsx")
- self.assertIn('<i className="dot-wave-0 size-1 rounded-full bg-current" />', dots)
- add = self.read_react("follow-manage/add-source.tsx")
- self.assertIn("? <Progress label={job.data.message || `查找中:${job.data.checked || 0}/${job.data.total}`}",
- add)
- self.assertIn("<LoadingDots label={byName ? BY_NAME_HINT : BY_LINK_HINT} />", add)
- self.assertIn("{candidate.known ? '已经关注' : candidate.evidence}", add)
- self.assertNotIn("已经在追", add)
- sources = self.read_react("follow-manage/source-list.tsx")
- self.assertIn("<LoadingDots label={job.data?.message || '正在准备检查任务'} />", sources)
- self.assertIn("{...busyProps(rowHandlers.busy)}", sources)
-
def test_follow_styles_exist_for_the_card_surface(self):
for selector in (".followlist{", ".followitem{", ".fbadge{", ".followqueue"):
self.assertPageContains(selector)
@@ -4311,41 +3593,6 @@ class FollowWebSourceTests(unittest.TestCase):
self.assertPageContains("isCurrent:()=>surfaceCurrent(surface)&&followData===page")
self.assertPageContains("spinnerHtml('抓取中')")
- def test_follow_management_list_has_routed_sorting(self):
- """排序和页码一起挂在地址栏上:排序决定了哪些来源落在第二页,两者是同一件事的两半。
-
- 换排序只是把手里这份数据重排一次,不重取接口、不换骨架。"""
- data = self.read_react("follow-manage/follow-manage.ts")
- self.assertIn("export const SORT_OPTIONS = [\n"
- " ['checked', '检查时间'], ['added', '添加时间'], ['name', '创作者名称'],"
- " ['sources', '来源数量'],\n"
- " ['source', '来源名称'], ['provider', '站点'], ['status', '状态'],\n"
- "] as const;", data)
- self.assertIn("export const isSortKey = (value: unknown): value is SortKey =>\n"
- " SORT_OPTIONS.some(([key]) => key === value);", data)
- self.assertIn("const added = (group: FollowSource[]) => "
- "Math.max(...group.map((s) => timeOf(s.created_at)));", data)
- self.assertIn("if (sort === 'added') return flip * (added(b) - added(a)) || byName(a, b);", data)
- # 每条比较器写的都是该列的默认方向,`flip` 只在方向偏离默认时取反:写成
- # 「asc 就取反」的话,创作者名称默认本来就是正序,一进页面就被翻成倒序。
- self.assertIn("const flip = dir === SORT_DEFAULT_DIR[sort] ? 1 : -1;", data)
- self.assertIn("export const SORT_DEFAULT_DIR: Record<SortKey, SortDir> = {\n"
- " checked: 'desc', added: 'desc', name: 'asc', sources: 'desc',\n"
- " source: 'asc', provider: 'asc', status: 'asc',\n};", data)
- # 方向键与排序下拉并排,名称播报点下去会得到什么。
- sources = self.read_react("follow-manage/source-list.tsx")
- self.assertIn("leadingIcon={dir === 'asc' ? RiArrowUpLine : RiArrowDownLine}", sources)
- self.assertIn("aria-label={sortLabel(sort, dir)}", sources)
- # 是默认值就不写进地址,免得挂一个和默认完全一样的参数。判据只有数据层知道。
- page = self.read_react("follow-manage/follow-manage-page.tsx")
- self.assertIn("sort: nextSort === DEFAULT_SORT ? '' : nextSort,\n"
- " dir: nextDir === SORT_DEFAULT_DIR[nextSort] ? '' : nextDir,", page)
- self.assertIn("setSort(nextSort);\n setDir(nextDir);\n"
- " setPage(1);\n"
- " go({ sort: nextSort, dir: nextDir, page: 1 });", page)
- backend = (ROOT / "src" / "peach" / "web_follow.py").read_text(encoding="utf-8")
- self.assertIn('"created_at": row["created_at"]', backend)
-
def test_mix_and_follow_queues_stay_below_media_with_details_on_the_right(self):
self.assertPageContains('grid-template-areas:"media side" "queue queue"')
self.assertPageContains('.sgrid.mixgrid>.vwrap{grid-area:media}')
diff --git a/web/dist/peach-react.js b/web/dist/peach-react.js
index 76ec93fa4..bd109ca8a 100644
--- a/web/dist/peach-react.js
+++ b/web/dist/peach-react.js
@@ -123,14 +123,14 @@ var u = Object.create, d = Object.defineProperty, f = Object.getOwnPropertyDescr
}
return c;
}
- function P(e, t, n) {
+ function te(e, t, n) {
if (e == null) return e;
var r = [], i = 0;
return ee(e, r, "", "", function(e) {
return t.call(n, e, i++);
}), r;
}
- function F(e) {
+ function P(e) {
if (e._status === -1) {
var t = e._result, n = t();
n.then(function(t) {
@@ -142,7 +142,7 @@ var u = Object.create, d = Object.defineProperty, f = Object.getOwnPropertyDescr
if (e._status === 1) return e._result.default;
throw e._result;
}
- var te = typeof reportError == "function" ? reportError : function(e) {
+ var ne = typeof reportError == "function" ? reportError : function(e) {
if (typeof window == "object" && typeof window.ErrorEvent == "function") {
var t = new window.ErrorEvent("error", {
bubbles: !0,
@@ -157,40 +157,40 @@ var u = Object.create, d = Object.defineProperty, f = Object.getOwnPropertyDescr
}
console.error(e);
};
- function ne(e) {
+ function re(e) {
var t = T.T, n = {};
n.types = t === null ? null : t.types, T.T = n;
try {
var r = e(), i = T.S;
- i !== null && i(n, r), typeof r == "object" && r && typeof r.then == "function" && r.then(w, te);
+ i !== null && i(n, r), typeof r == "object" && r && typeof r.then == "function" && r.then(w, ne);
} catch (e) {
- te(e);
+ ne(e);
} finally {
t !== null && n.types !== null && (t.types = n.types), T.T = t;
}
}
- function re(e) {
+ function ie(e) {
var t = T.T;
if (t !== null) {
var n = t.types;
n === null ? t.types = [e] : n.indexOf(e) === -1 && n.push(e);
- } else ne(re.bind(null, e));
+ } else re(ie.bind(null, e));
}
- var ie = {
- map: P,
+ var ae = {
+ map: te,
forEach: function(e, t, n) {
- P(e, function() {
+ te(e, function() {
t.apply(this, arguments);
}, n);
},
count: function(e) {
var t = 0;
- return P(e, function() {
+ return te(e, function() {
t++;
}), t;
},
toArray: function(e) {
- return P(e, function(e) {
+ return te(e, function(e) {
return e;
}) || [];
},
@@ -199,12 +199,12 @@ var u = Object.create, d = Object.defineProperty, f = Object.getOwnPropertyDescr
return e;
}
};
- e.Activity = f, e.Children = ie, e.Component = y, e.Fragment = r, e.Profiler = a, e.PureComponent = x, e.StrictMode = i, e.Suspense = l, e.ViewTransition = p, e.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE = T, e.__COMPILER_RUNTIME = {
+ e.Activity = f, e.Children = ae, e.Component = y, e.Fragment = r, e.Profiler = a, e.PureComponent = x, e.StrictMode = i, e.Suspense = l, e.ViewTransition = p, e.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE = T, e.__COMPILER_RUNTIME = {
__proto__: null,
c: function(e) {
return T.H.useMemoCache(e);
}
- }, e.addTransitionType = re, e.cache = function(e) {
+ }, e.addTransitionType = ie, e.cache = function(e) {
return function() {
return e.apply(null, arguments);
};
@@ -258,7 +258,7 @@ var u = Object.create, d = Object.defineProperty, f = Object.getOwnPropertyDescr
_status: -1,
_result: e
},
- _init: F
+ _init: P
};
}, e.memo = function(e, t) {
return {
@@ -266,7 +266,7 @@ var u = Object.create, d = Object.defineProperty, f = Object.getOwnPropertyDescr
type: e,
compare: t === void 0 ? null : t
};
- }, e.startTransition = ne, e.unstable_useCacheRefresh = function() {
+ }, e.startTransition = re, e.unstable_useCacheRefresh = function() {
return T.H.useCacheRefresh();
}, e.use = function(e) {
return T.H.use(e);
@@ -370,18 +370,18 @@ function N(e, t) {
function ee(e) {
return typeof e == "number" && e >= 0 && e !== Infinity;
}
-function P(e, t) {
+function te(e, t) {
return Math.max(e + (t || 0) - Date.now(), 0);
}
-function F(e, t) {
+function P(e, t) {
return typeof e == "function" ? e(t) : e;
}
-function te(e, t) {
+function ne(e, t) {
let { type: n = "all", exact: r, fetchStatus: i, predicate: a, queryKey: o, stale: s } = e;
if (o) {
if (r) {
- if (t.queryHash !== re(o, t.options)) return !1;
- } else if (!ae(t.queryKey, o)) return !1;
+ if (t.queryHash !== ie(o, t.options)) return !1;
+ } else if (!oe(t.queryKey, o)) return !1;
}
if (n !== "all") {
let e = t.isActive();
@@ -389,105 +389,105 @@ function te(e, t) {
}
return !(typeof s == "boolean" && t.isStale() !== s || i && i !== t.state.fetchStatus || a && !a(t));
}
-function ne(e, t) {
+function re(e, t) {
let { exact: n, status: r, predicate: i, mutationKey: a } = e;
if (a) {
if (!t.options.mutationKey) return !1;
if (n) {
- if (ie(t.options.mutationKey) !== ie(a)) return !1;
- } else if (!ae(t.options.mutationKey, a)) return !1;
+ if (ae(t.options.mutationKey) !== ae(a)) return !1;
+ } else if (!oe(t.options.mutationKey, a)) return !1;
}
return !(r && t.state.status !== r || i && !i(t));
}
-function re(e, t) {
- return (t?.queryKeyHashFn || ie)(e);
+function ie(e, t) {
+ return (t?.queryKeyHashFn || ae)(e);
}
-function ie(e) {
- return JSON.stringify(e, (e, t) => ue(t) ? Object.keys(t).sort().reduce((e, n) => (e[n] = t[n], e), {}) : t);
+function ae(e) {
+ return JSON.stringify(e, (e, t) => de(t) ? Object.keys(t).sort().reduce((e, n) => (e[n] = t[n], e), {}) : t);
}
-function ae(e, t) {
+function oe(e, t) {
if (e === t) return !0;
if (typeof e != typeof t) return !1;
if (e && t && typeof e == "object" && typeof t == "object") {
if (Array.isArray(e) && Array.isArray(t)) {
if (t.length > e.length) return !1;
- for (let n = 0; n < t.length; n++) if (!ae(e[n], t[n])) return !1;
+ for (let n = 0; n < t.length; n++) if (!oe(e[n], t[n])) return !1;
return !0;
}
let n = Object.keys(t);
- for (let r of n) if (!ae(e[r], t[r])) return !1;
+ for (let r of n) if (!oe(e[r], t[r])) return !1;
return !0;
}
return !1;
}
-var oe = Object.prototype.hasOwnProperty;
-function se(e, t, n = 0) {
+var se = Object.prototype.hasOwnProperty;
+function ce(e, t, n = 0) {
if (e === t) return e;
if (n > 500) return t;
- let r = le(e) && le(t);
- if (!r && !(ue(e) && ue(t))) return t;
+ let r = ue(e) && ue(t);
+ if (!r && !(de(e) && de(t))) return t;
let i = (r ? e : Object.keys(e)).length, a = r ? t : Object.keys(t), o = a.length, s = r ? Array(o) : {}, c = 0;
for (let l = 0; l < o; l++) {
let o = r ? l : a[l], u = e[o], d = t[o];
if (u === d) {
- s[o] = u, (r ? l < i : oe.call(e, o)) && c++;
+ s[o] = u, (r ? l < i : se.call(e, o)) && c++;
continue;
}
if (u === null || d === null || typeof u != "object" || typeof d != "object") {
s[o] = d;
continue;
}
- let f = se(u, d, n + 1);
+ let f = ce(u, d, n + 1);
s[o] = f, f === u && c++;
}
return i === o && c === i ? e : s;
}
-function ce(e, t) {
+function le(e, t) {
if (!t || Object.keys(e).length !== Object.keys(t).length) return !1;
for (let n in e) if (e[n] !== t[n]) return !1;
return !0;
}
-function le(e) {
+function ue(e) {
return Array.isArray(e) && e.length === Object.keys(e).length;
}
-function ue(e) {
- if (!de(e)) return !1;
+function de(e) {
+ if (!fe(e)) return !1;
let t = Object.getPrototypeOf(e), n = t?.constructor;
if (n === void 0) return !0;
if (typeof n != "function") return !1;
let r = n.prototype;
- return !(!de(r) || !r.hasOwnProperty("isPrototypeOf") || t !== Object.prototype);
+ return !(!fe(r) || !r.hasOwnProperty("isPrototypeOf") || t !== Object.prototype);
}
-function de(e) {
+function fe(e) {
return Object.prototype.toString.call(e) === "[object Object]";
}
-function fe(e) {
+function pe(e) {
return new Promise((t) => {
k.setTimeout(t, e);
});
}
-function I(e, t, n) {
- return typeof n.structuralSharing == "function" ? n.structuralSharing(e, t) : n.structuralSharing === !1 ? t : se(e, t);
+function F(e, t, n) {
+ return typeof n.structuralSharing == "function" ? n.structuralSharing(e, t) : n.structuralSharing === !1 ? t : ce(e, t);
}
-function L(e) {
+function I(e) {
return e;
}
-function pe(e, t, n = 0) {
+function me(e, t, n = 0) {
let r = [...e, t];
return n && r.length > n ? r.slice(1) : r;
}
-function me(e, t, n = 0) {
+function he(e, t, n = 0) {
let r = [t, ...e];
return n && r.length > n ? r.slice(0, -1) : r;
}
-var he = Symbol();
-function ge(e, t) {
- return !e.queryFn && t?.initialPromise ? () => t.initialPromise : !e.queryFn || e.queryFn === he ? () => Promise.reject(/* @__PURE__ */ Error(`Missing queryFn: '${e.queryHash}'`)) : e.queryFn;
-}
+var ge = Symbol();
function _e(e, t) {
+ return !e.queryFn && t?.initialPromise ? () => t.initialPromise : !e.queryFn || e.queryFn === ge ? () => Promise.reject(/* @__PURE__ */ Error(`Missing queryFn: '${e.queryHash}'`)) : e.queryFn;
+}
+function ve(e, t) {
return typeof e == "function" ? e(...t) : !!e;
}
-function ve(e, t, n) {
+function ye(e, t, n) {
let r = !1, i;
return Object.defineProperty(e, "signal", {
enumerable: !0,
@@ -496,7 +496,7 @@ function ve(e, t, n) {
}
//#endregion
//#region node_modules/@tanstack/query-core/build/modern/environmentManager.js
-var ye = () => j, be = () => ye(), xe = class {
+var be = () => j, xe = () => be(), Se = class {
constructor() {
this.listeners = /* @__PURE__ */ new Set(), this.subscribe = this.subscribe.bind(this);
}
@@ -510,7 +510,7 @@ var ye = () => j, be = () => ye(), xe = class {
}
onSubscribe() {}
onUnsubscribe() {}
-}, Se = new class extends xe {
+}, Ce = new class extends Se {
#e;
#t;
#n;
@@ -547,13 +547,13 @@ var ye = () => j, be = () => ye(), xe = class {
isFocused() {
return typeof this.#e == "boolean" ? this.#e : globalThis.document?.visibilityState !== "hidden";
}
-}(), Ce = A;
-function we() {
+}(), we = A;
+function Te() {
let e = [], t = 0, n = (e) => {
e();
}, r = (e) => {
e();
- }, i = Ce, a = (r) => {
+ }, i = we, a = (r) => {
t ? e.push(r) : i(() => {
n(r);
});
@@ -595,7 +595,7 @@ function we() {
}
};
}
-var Te = we(), Ee = new class extends xe {
+var Ee = Te(), De = new class extends Se {
#e = !0;
#t;
#n;
@@ -629,32 +629,32 @@ var Te = we(), Ee = new class extends xe {
}();
//#endregion
//#region node_modules/@tanstack/query-core/build/modern/retryer.js
-function De(e) {
+function Oe(e) {
return Math.min(1e3 * 2 ** e, 3e4);
}
-function Oe(e) {
- return (e ?? "online") !== "online" || Ee.isOnline();
+function ke(e) {
+ return (e ?? "online") !== "online" || De.isOnline();
}
-var ke = class extends Error {
+var Ae = class extends Error {
constructor(e) {
super("CancelledError"), this.revert = e?.revert, this.silent = e?.silent;
}
};
-function Ae(e) {
+function je(e) {
let t = !1, n = 0, r, i = "pending", a, o, s = new Promise((e, t) => {
a = e, o = t;
});
s.catch(M);
let c = () => i !== "pending", l = (t) => {
if (!c()) {
- let n = new ke(t);
+ let n = new Ae(t);
h(n), e.onCancel?.(n);
}
}, u = () => {
t = !0;
}, d = () => {
t = !1;
- }, f = () => Se.isFocused() && (e.networkMode === "always" || Ee.isOnline()) && e.canRun(), p = () => Oe(e.networkMode) && e.canRun(), m = (e) => {
+ }, f = () => Ce.isFocused() && (e.networkMode === "always" || De.isOnline()) && e.canRun(), p = () => ke(e.networkMode) && e.canRun(), m = (e) => {
c() || (r?.(), i = "resolved", a(e));
}, h = (e) => {
c() || (r?.(), i = "rejected", o(e));
@@ -674,12 +674,12 @@ function Ae(e) {
}
Promise.resolve(r).then(m).catch((r) => {
if (c()) return;
- let i = e.retry ?? (be() ? 0 : 3), a = e.retryDelay ?? De, o = typeof a == "function" ? a(n, r) : a, s = i === !0 || typeof i == "number" && n < i || typeof i == "function" && i(n, r);
+ let i = e.retry ?? (xe() ? 0 : 3), a = e.retryDelay ?? Oe, o = typeof a == "function" ? a(n, r) : a, s = i === !0 || typeof i == "number" && n < i || typeof i == "function" && i(n, r);
if (t || !s) {
h(r);
return;
}
- n++, e.onFail?.(n, r), fe(o).then(() => f() ? void 0 : g()).then(() => {
+ n++, e.onFail?.(n, r), pe(o).then(() => f() ? void 0 : g()).then(() => {
t ? h(r) : _();
});
});
@@ -697,7 +697,7 @@ function Ae(e) {
}
//#endregion
//#region node_modules/@tanstack/query-core/build/modern/removable.js
-var je = class {
+var Me = class {
#e;
destroy() {
this.clearGcTimeout();
@@ -708,7 +708,7 @@ var je = class {
}, this.gcTime));
}
updateGcTime(e) {
- this.gcTime = Math.max(this.gcTime || 0, e ?? (be() ? Infinity : 3e5));
+ this.gcTime = Math.max(this.gcTime || 0, e ?? (xe() ? Infinity : 3e5));
}
clearGcTimeout() {
this.#e !== void 0 && (k.clearTimeout(this.#e), this.#e = void 0);
@@ -716,15 +716,15 @@ var je = class {
};
//#endregion
//#region node_modules/@tanstack/query-core/build/modern/infiniteQueryBehavior.js
-function Me(e) {
+function Ne(e) {
return { onFetch: (t, n) => {
let r = t.options, i = t.fetchOptions?.meta?.fetchMore?.direction, a = t.state.data?.pages || [], o = t.state.data?.pageParams || [], s = {
pages: [],
pageParams: []
}, c = 0, l = async () => {
let n = !1, l = (e) => {
- ve(e, () => t.signal, () => n = !0);
- }, u = ge(t.options, t.fetchOptions), d = async (e, r, i) => {
+ ye(e, () => t.signal, () => n = !0);
+ }, u = _e(t.options, t.fetchOptions), d = async (e, r, i) => {
if (n) return Promise.reject(t.signal.reason);
if (r == null && e.pages.length) return Promise.resolve(e);
let a = (() => {
@@ -736,14 +736,14 @@ function Me(e) {
meta: t.options.meta
};
return l(e), e;
- })(), o = await u(a), { maxPages: s } = t.options, c = i ? me : pe;
+ })(), o = await u(a), { maxPages: s } = t.options, c = i ? he : me;
return {
pages: c(e.pages, o, s),
pageParams: c(e.pageParams, r, s)
};
};
if (i && a.length) {
- let e = i === "backward", t = e ? Pe : Ne, n = {
+ let e = i === "backward", t = e ? Fe : Pe, n = {
pages: a,
pageParams: o
};
@@ -751,7 +751,7 @@ function Me(e) {
} else {
let t = e ?? a.length;
do {
- let e = c === 0 ? o[0] ?? r.initialPageParam : Ne(r, s);
+ let e = c === 0 ? o[0] ?? r.initialPageParam : Pe(r, s);
if (c > 0 && e == null) break;
s = await d(s, e), c++;
} while (c < t);
@@ -766,16 +766,16 @@ function Me(e) {
}, n) : l;
} };
}
-function Ne(e, { pages: t, pageParams: n }) {
+function Pe(e, { pages: t, pageParams: n }) {
let r = t.length - 1;
return t.length > 0 ? e.getNextPageParam(t[r], t, n[r], n) : void 0;
}
-function Pe(e, { pages: t, pageParams: n }) {
+function Fe(e, { pages: t, pageParams: n }) {
return t.length > 0 ? e.getPreviousPageParam?.(t[0], t, n[0], n) : void 0;
}
//#endregion
//#region node_modules/@tanstack/query-core/build/modern/query.js
-var Fe = class extends je {
+var Ie = class extends Me {
#e;
#t;
#n;
@@ -785,7 +785,7 @@ var Fe = class extends je {
#o;
#s;
constructor(e) {
- super(), this.#s = !1, this.#o = e.defaultOptions, this.setOptions(e.options), this.observers = [], this.#i = e.client, this.#r = this.#i.getQueryCache(), this.queryKey = e.queryKey, this.queryHash = e.queryHash, this.#t = Re(this.options), this.state = e.state ?? this.#t, this.scheduleGc();
+ super(), this.#s = !1, this.#o = e.defaultOptions, this.setOptions(e.options), this.observers = [], this.#i = e.client, this.#r = this.#i.getQueryCache(), this.queryKey = e.queryKey, this.queryHash = e.queryHash, this.#t = ze(this.options), this.state = e.state ?? this.#t, this.scheduleGc();
}
get meta() {
return this.options.meta;
@@ -801,15 +801,15 @@ var Fe = class extends je {
...this.#o,
...e
}, e?._type && (this.#e = e._type), this.updateGcTime(this.options.gcTime), this.state && this.state.data === void 0) {
- let e = Re(this.options);
- e.data !== void 0 && (this.setState(Le(e.data, e.dataUpdatedAt)), this.#t = e);
+ let e = ze(this.options);
+ e.data !== void 0 && (this.setState(Re(e.data, e.dataUpdatedAt)), this.#t = e);
}
}
optionalRemove() {
!this.observers.length && this.state.fetchStatus === "idle" && this.#r.remove(this);
}
setData(e, t) {
- let n = I(this.state.data, e, this.options);
+ let n = F(this.state.data, e, this.options);
return this.#c({
data: n,
type: "success",
@@ -837,22 +837,22 @@ var Fe = class extends je {
this.destroy(), this.setState(this.resetState);
}
isActive() {
- return this.observers.some((e) => F(e.options.enabled, this) !== !1);
+ return this.observers.some((e) => P(e.options.enabled, this) !== !1);
}
isDisabled() {
- return this.getObserversCount() > 0 ? !this.isActive() : this.options.queryFn === he || !this.isFetched();
+ return this.getObserversCount() > 0 ? !this.isActive() : this.options.queryFn === ge || !this.isFetched();
}
isFetched() {
return this.state.dataUpdateCount + this.state.errorUpdateCount > 0;
}
isStatic() {
- return this.getObserversCount() > 0 && this.observers.some((e) => F(e.options.staleTime, this) === "static");
+ return this.getObserversCount() > 0 && this.observers.some((e) => P(e.options.staleTime, this) === "static");
}
isStale() {
return this.getObserversCount() > 0 ? this.observers.some((e) => e.getCurrentResult().isStale) : this.state.data === void 0 || this.state.isInvalidated;
}
isStaleByTime(e = 0) {
- return this.state.data === void 0 ? !0 : e === "static" ? !1 : this.state.isInvalidated ? !0 : !P(this.state.dataUpdatedAt, e);
+ return this.state.data === void 0 ? !0 : e === "static" ? !1 : this.state.isInvalidated ? !0 : !te(this.state.dataUpdatedAt, e);
}
onFocus() {
this.observers.find((e) => e.shouldFetchOnWindowFocus())?.refetch({ cancelRefetch: !1 }), this.#a?.continue();
@@ -896,7 +896,7 @@ var Fe = class extends je {
get: () => (this.#s = !0, n.signal)
});
}, i = () => {
- let e = ge(this.options, t), n = (() => {
+ let e = _e(this.options, t), n = (() => {
let e = {
client: this.#i,
queryKey: this.queryKey,
@@ -916,15 +916,15 @@ var Fe = class extends je {
};
return r(e), e;
})();
- (this.#e === "infinite" ? Me(this.options.pages) : this.options.behavior)?.onFetch(a, this), this.#n = this.state, (this.state.fetchStatus === "idle" || this.state.fetchMeta !== a.fetchOptions?.meta) && this.#c({
+ (this.#e === "infinite" ? Ne(this.options.pages) : this.options.behavior)?.onFetch(a, this), this.#n = this.state, (this.state.fetchStatus === "idle" || this.state.fetchMeta !== a.fetchOptions?.meta) && this.#c({
type: "fetch",
meta: a.fetchOptions?.meta
});
- let o = this.#a = Ae({
+ let o = this.#a = je({
initialPromise: t?.initialPromise,
fn: a.fetchFn,
onCancel: (e) => {
- e instanceof ke && e.revert && this.setState({
+ e instanceof Ae && e.revert && this.setState({
...this.#n,
fetchStatus: "idle"
}), n.abort();
@@ -952,7 +952,7 @@ var Fe = class extends je {
if (e === void 0) throw Error(`${this.queryHash} data is undefined`);
return this.setData(e), this.#r.config.onSuccess?.(e, this), this.#r.config.onSettled?.(e, this.state.error, this), e;
} catch (e) {
- if (e instanceof ke) {
+ if (e instanceof Ae) {
if (e.silent) return this.#a.promise;
if (e.revert) {
if (this.state.data === void 0) throw e;
@@ -985,13 +985,13 @@ var Fe = class extends je {
};
case "fetch": return {
...t,
- ...Ie(t.data, this.options),
+ ...Le(t.data, this.options),
fetchMeta: e.meta ?? null
};
case "success":
let n = {
...t,
- ...Le(e.data, e.dataUpdatedAt),
+ ...Re(e.data, e.dataUpdatedAt),
dataUpdateCount: t.dataUpdateCount + 1,
...!e.manual && {
fetchStatus: "idle",
@@ -1023,7 +1023,7 @@ var Fe = class extends je {
};
}
};
- this.state = t(this.state), Te.batch(() => {
+ this.state = t(this.state), Ee.batch(() => {
this.observers.slice().forEach((e) => {
e.onQueryUpdate();
}), this.#r.notify({
@@ -1034,18 +1034,18 @@ var Fe = class extends je {
});
}
};
-function Ie(e, t) {
+function Le(e, t) {
return {
fetchFailureCount: 0,
fetchFailureReason: null,
- fetchStatus: Oe(t.networkMode) ? "fetching" : "paused",
+ fetchStatus: ke(t.networkMode) ? "fetching" : "paused",
...e === void 0 && {
error: null,
status: "pending"
}
};
}
-function Le(e, t) {
+function Re(e, t) {
return {
data: e,
dataUpdatedAt: t ?? Date.now(),
@@ -1054,7 +1054,7 @@ function Le(e, t) {
status: "success"
};
}
-function Re(e) {
+function ze(e) {
let t = typeof e.initialData == "function" ? e.initialData() : e.initialData, n = t !== void 0, r = n ? typeof e.initialDataUpdatedAt == "function" ? e.initialDataUpdatedAt() : e.initialDataUpdatedAt : 0;
return {
data: t,
@@ -1073,7 +1073,7 @@ function Re(e) {
}
//#endregion
//#region node_modules/@tanstack/query-core/build/modern/queryObserver.js
-var ze = class extends xe {
+var Be = class extends Se {
#e;
#t = void 0;
#n = void 0;
@@ -1095,36 +1095,36 @@ var ze = class extends xe {
this.refetch = this.refetch.bind(this);
}
onSubscribe() {
- this.listeners.size === 1 && (this.#t.addObserver(this), Ve(this.#t, this.options) ? this.#m() : this.updateResult(), this.#y());
+ this.listeners.size === 1 && (this.#t.addObserver(this), He(this.#t, this.options) ? this.#m() : this.updateResult(), this.#y());
}
onUnsubscribe() {
this.hasListeners() || this.destroy();
}
shouldFetchOnReconnect() {
- return He(this.#t, this.options, this.options.refetchOnReconnect);
+ return Ue(this.#t, this.options, this.options.refetchOnReconnect);
}
shouldFetchOnWindowFocus() {
- return He(this.#t, this.options, this.options.refetchOnWindowFocus);
+ return Ue(this.#t, this.options, this.options.refetchOnWindowFocus);
}
destroy() {
this.listeners = /* @__PURE__ */ new Set(), this.#b(), this.#x(), this.#t.removeObserver(this);
}
setOptions(e) {
let t = this.options, n = this.#t;
- if (this.options = this.#e.defaultQueryOptions(e), this.options.enabled !== void 0 && typeof this.options.enabled != "boolean" && typeof this.options.enabled != "function" && typeof F(this.options.enabled, this.#t) != "boolean") throw Error("Expected enabled to be a boolean or a callback that returns a boolean");
- this.#S(), this.#t.setOptions(this.options), t._defaulted && !ce(this.options, t) && this.#e.getQueryCache().notify({
+ if (this.options = this.#e.defaultQueryOptions(e), this.options.enabled !== void 0 && typeof this.options.enabled != "boolean" && typeof this.options.enabled != "function" && typeof P(this.options.enabled, this.#t) != "boolean") throw Error("Expected enabled to be a boolean or a callback that returns a boolean");
+ this.#S(), this.#t.setOptions(this.options), t._defaulted && !le(this.options, t) && this.#e.getQueryCache().notify({
type: "observerOptionsUpdated",
query: this.#t,
observer: this
});
let r = this.hasListeners();
- r && Ue(this.#t, n, this.options, t) && this.#m(), this.updateResult(), r && (this.#t !== n || F(this.options.enabled, this.#t) !== F(t.enabled, this.#t) || F(this.options.staleTime, this.#t) !== F(t.staleTime, this.#t)) && this.#g();
+ r && We(this.#t, n, this.options, t) && this.#m(), this.updateResult(), r && (this.#t !== n || P(this.options.enabled, this.#t) !== P(t.enabled, this.#t) || P(this.options.staleTime, this.#t) !== P(t.staleTime, this.#t)) && this.#g();
let i = this.#_();
- r && (this.#t !== n || F(this.options.enabled, this.#t) !== F(t.enabled, this.#t) || i !== this.#f) && this.#v(i);
+ r && (this.#t !== n || P(this.options.enabled, this.#t) !== P(t.enabled, this.#t) || i !== this.#f) && this.#v(i);
}
getOptimisticResult(e) {
let t = this.#e.getQueryCache().build(this.#e, e), n = this.createResult(t, e);
- return ce(this.getCurrentResult(), n) || (this.#r = n, this.#a = this.options, this.#i = this.#t.state), n;
+ return le(this.getCurrentResult(), n) || (this.#r = n, this.#a = this.options, this.#i = this.#t.state), n;
}
getCurrentResult() {
return this.#r;
@@ -1166,23 +1166,23 @@ var ze = class extends xe {
return e?.throwOnError || (t = t.catch(M)), t;
}
#h(e) {
- return !be() && F(this.options.enabled, this.#t) !== !1 && ee(e);
+ return !xe() && P(this.options.enabled, this.#t) !== !1 && ee(e);
}
#g() {
this.#b();
- let e = F(this.options.staleTime, this.#t);
+ let e = P(this.options.staleTime, this.#t);
if (this.#r.isStale || !this.#h(e)) return;
- let t = P(this.#r.dataUpdatedAt, e) + 1;
+ let t = te(this.#r.dataUpdatedAt, e) + 1;
this.#u = k.setTimeout(() => {
this.#r.isStale || this.updateResult();
}, t);
}
#_() {
- return F(this.options.refetchInterval, this.#t) ?? !1;
+ return P(this.options.refetchInterval, this.#t) ?? !1;
}
#v(e) {
this.#x(), this.#f = e, !(this.#f === 0 || !this.#h(this.#f)) && (this.#d = k.setInterval(() => {
- (this.options.refetchIntervalInBackground || Se.isFocused()) && this.#m();
+ (this.options.refetchIntervalInBackground || Ce.isFocused()) && this.#m();
}, this.#f));
}
#y() {
@@ -1197,10 +1197,10 @@ var ze = class extends xe {
createResult(e, t) {
let n = this.#t, r = this.options, i = this.#r, a = this.#i, o = this.#a, s = e === n ? this.#n : e.state, { state: c } = e, l = { ...c }, u = !1, d;
if (t._optimisticResults) {
- let i = this.hasListeners(), a = !i && Ve(e, t), o = i && Ue(e, n, t, r);
+ let i = this.hasListeners(), a = !i && He(e, t), o = i && We(e, n, t, r);
(a || o) && (l = {
...l,
- ...Ie(c.data, e.options)
+ ...Le(c.data, e.options)
}), t._optimisticResults === "isRestoring" && (l.fetchStatus = "idle");
}
let { error: f, errorUpdatedAt: p, status: m } = l;
@@ -1208,12 +1208,12 @@ var ze = class extends xe {
let h = !1;
if (t.placeholderData !== void 0 && d === void 0 && m === "pending") {
let e;
- i?.isPlaceholderData && t.placeholderData === o?.placeholderData ? (e = i.data, h = !0) : e = typeof t.placeholderData == "function" ? t.placeholderData(this.#l?.state.data, this.#l) : t.placeholderData, e !== void 0 && (m = "success", d = I(i?.data, e, t), u = !0);
+ i?.isPlaceholderData && t.placeholderData === o?.placeholderData ? (e = i.data, h = !0) : e = typeof t.placeholderData == "function" ? t.placeholderData(this.#l?.state.data, this.#l) : t.placeholderData, e !== void 0 && (m = "success", d = F(i?.data, e, t), u = !0);
}
if (t.select && d !== void 0 && !h) {
if (i && d === a?.data && t.select === this.#s) d = this.#c;
else try {
- this.#s = t.select, d = t.select(d), d = I(i?.data, d, t), this.#c = d, this.#o = null;
+ this.#s = t.select, d = t.select(d), d = F(i?.data, d, t), this.#c = d, this.#o = null;
} catch (e) {
this.#o = e;
}
@@ -1243,14 +1243,14 @@ var ze = class extends xe {
isPaused: l.fetchStatus === "paused",
isPlaceholderData: u,
isRefetchError: v && b,
- isStale: We(e, t),
+ isStale: Ge(e, t),
refetch: this.refetch,
- isEnabled: F(t.enabled, e) !== !1
+ isEnabled: P(t.enabled, e) !== !1
};
}
updateResult() {
let e = this.#r, t = this.createResult(this.#t, this.options);
- if (this.#i = this.#t.state, this.#a = this.options, this.#i.data !== void 0 && (this.#l = this.#t), ce(t, e)) return;
+ if (this.#i = this.#t.state, this.#a = this.options, this.#i.data !== void 0 && (this.#l = this.#t), le(t, e)) return;
this.#r = t;
let n = (() => {
if (!e) return !0;
@@ -1262,7 +1262,7 @@ var ze = class extends xe {
return this.#r[n] !== e[n] && r.has(n);
});
})();
- Te.batch(() => {
+ Ee.batch(() => {
n && this.listeners.forEach((e) => {
e(this.#r);
}), this.#e.getQueryCache().notify({
@@ -1281,34 +1281,34 @@ var ze = class extends xe {
this.updateResult(), this.hasListeners() && this.#y();
}
};
-function Be(e, t) {
- return F(t.enabled, e) !== !1 && e.state.data === void 0 && (e.state.status !== "error" || F(t.retryOnMount, e) !== !1);
-}
function Ve(e, t) {
- return Be(e, t) || e.state.data !== void 0 && He(e, t, t.refetchOnMount);
+ return P(t.enabled, e) !== !1 && e.state.data === void 0 && (e.state.status !== "error" || P(t.retryOnMount, e) !== !1);
+}
+function He(e, t) {
+ return Ve(e, t) || e.state.data !== void 0 && Ue(e, t, t.refetchOnMount);
}
-function He(e, t, n) {
- if (F(t.enabled, e) !== !1 && F(t.staleTime, e) !== "static") {
- let r = F(n, e);
- return r === "always" || r !== !1 && We(e, t);
+function Ue(e, t, n) {
+ if (P(t.enabled, e) !== !1 && P(t.staleTime, e) !== "static") {
+ let r = P(n, e);
+ return r === "always" || r !== !1 && Ge(e, t);
}
return !1;
}
-function Ue(e, t, n, r) {
- return (e !== t || F(r.enabled, e) === !1) && (!n.suspense || e.state.status !== "error") && We(e, n);
+function We(e, t, n, r) {
+ return (e !== t || P(r.enabled, e) === !1) && (!n.suspense || e.state.status !== "error") && Ge(e, n);
}
-function We(e, t) {
- return F(t.enabled, e) !== !1 && e.isStaleByTime(F(t.staleTime, e));
+function Ge(e, t) {
+ return P(t.enabled, e) !== !1 && e.isStaleByTime(P(t.staleTime, e));
}
//#endregion
//#region node_modules/@tanstack/query-core/build/modern/mutation.js
-var Ge = class extends je {
+var Ke = class extends Me {
#e;
#t;
#n;
#r;
constructor(e) {
- super(), this.#e = e.client, this.mutationId = e.mutationId, this.#n = e.mutationCache, this.#t = [], this.state = e.state || Ke(), this.setOptions(e.options), this.scheduleGc();
+ super(), this.#e = e.client, this.mutationId = e.mutationId, this.#n = e.mutationCache, this.#t = [], this.state = e.state || qe(), this.setOptions(e.options), this.scheduleGc();
}
setOptions(e) {
this.options = e, this.updateGcTime(this.options.gcTime);
@@ -1343,7 +1343,7 @@ var Ge = class extends je {
client: this.#e,
meta: this.options.meta,
mutationKey: this.options.mutationKey
- }, r = this.#r = Ae({
+ }, r = this.#r = je({
fn: () => this.options.mutationFn ? this.options.mutationFn(e, n) : Promise.reject(/* @__PURE__ */ Error("No mutationFn found")),
onFail: (e, t) => {
this.#i({
@@ -1459,7 +1459,7 @@ var Ge = class extends je {
};
}
};
- this.state = t(this.state), Te.batch(() => {
+ this.state = t(this.state), Ee.batch(() => {
this.#t.forEach((t) => {
t.onMutationUpdate(e);
}), this.#n.notify({
@@ -1470,7 +1470,7 @@ var Ge = class extends je {
});
}
};
-function Ke() {
+function qe() {
return {
context: void 0,
data: void 0,
@@ -1485,7 +1485,7 @@ function Ke() {
}
//#endregion
//#region node_modules/@tanstack/query-core/build/modern/mutationCache.js
-var qe = class extends xe {
+var Je = class extends Se {
#e;
#t;
#n;
@@ -1493,7 +1493,7 @@ var qe = class extends xe {
super(), this.config = e, this.#e = /* @__PURE__ */ new Set(), this.#t = /* @__PURE__ */ new Map(), this.#n = 0;
}
build(e, t, n) {
- let r = new Ge({
+ let r = new Ke({
client: e,
mutationCache: this,
mutationId: ++this.#n,
@@ -1504,7 +1504,7 @@ var qe = class extends xe {
}
add(e) {
this.#e.add(e);
- let t = Je(e);
+ let t = Ye(e);
if (typeof t == "string") {
let n = this.#t.get(t);
n ? n.push(e) : this.#t.set(t, [e]);
@@ -1516,7 +1516,7 @@ var qe = class extends xe {
}
remove(e) {
if (this.#e.delete(e)) {
- let t = Je(e);
+ let t = Ye(e);
if (typeof t == "string") {
let n = this.#t.get(t);
if (n) {
@@ -1533,7 +1533,7 @@ var qe = class extends xe {
});
}
canRun(e) {
- let t = Je(e);
+ let t = Ye(e);
if (typeof t == "string") {
let n = this.#t.get(t)?.find((e) => e.state.status === "pending");
return !n || n === e;
@@ -1541,11 +1541,11 @@ var qe = class extends xe {
return !0;
}
runNext(e) {
- let t = Je(e);
+ let t = Ye(e);
return typeof t == "string" ? (this.#t.get(t)?.find((t) => t !== e && t.state.isPaused))?.continue() ?? Promise.resolve() : Promise.resolve();
}
clear() {
- Te.batch(() => {
+ Ee.batch(() => {
this.#e.forEach((e) => {
this.notify({
type: "removed",
@@ -1562,13 +1562,13 @@ var qe = class extends xe {
exact: !0,
...e
};
- return this.getAll().find((e) => ne(t, e));
+ return this.getAll().find((e) => re(t, e));
}
findAll(e = {}) {
- return this.getAll().filter((t) => ne(e, t));
+ return this.getAll().filter((t) => re(e, t));
}
notify(e) {
- Te.batch(() => {
+ Ee.batch(() => {
this.listeners.forEach((t) => {
t(e);
});
@@ -1576,15 +1576,15 @@ var qe = class extends xe {
}
resumePausedMutations() {
let e = this.getAll().filter((e) => e.state.isPaused);
- return Te.batch(() => Promise.all(e.map((e) => e.continue().catch(M))));
+ return Ee.batch(() => Promise.all(e.map((e) => e.continue().catch(M))));
}
};
-function Je(e) {
+function Ye(e) {
return e.options.scope?.id;
}
//#endregion
//#region node_modules/@tanstack/query-core/build/modern/mutationObserver.js
-var Ye = class extends xe {
+var Xe = class extends Se {
#e;
#t = void 0;
#n;
@@ -1597,11 +1597,11 @@ var Ye = class extends xe {
}
setOptions(e) {
let t = this.options;
- this.options = this.#e.defaultMutationOptions(e), ce(this.options, t) || this.#e.getMutationCache().notify({
+ this.options = this.#e.defaultMutationOptions(e), le(this.options, t) || this.#e.getMutationCache().notify({
type: "observerOptionsUpdated",
mutation: this.#n,
observer: this
- }), t?.mutationKey && this.options.mutationKey && ie(t.mutationKey) !== ie(this.options.mutationKey) ? this.reset() : this.#n?.state.status === "pending" && this.#n.setOptions(this.options);
+ }), t?.mutationKey && this.options.mutationKey && ae(t.mutationKey) !== ae(this.options.mutationKey) ? this.reset() : this.#n?.state.status === "pending" && this.#n.setOptions(this.options);
}
onSubscribe() {
this.listeners.size === 1 && this.#n && (this.#n.addObserver(this), this.#i());
@@ -1622,7 +1622,7 @@ var Ye = class extends xe {
return this.#r = t, this.#n?.removeObserver(this), this.#n = this.#e.getMutationCache().build(this.#e, this.options), this.#n.addObserver(this), this.#n.execute(e);
}
#i() {
- let e = this.#n?.state ?? Ke();
+ let e = this.#n?.state ?? qe();
this.#t = {
...e,
isPending: e.status === "pending",
@@ -1634,7 +1634,7 @@ var Ye = class extends xe {
};
}
#a(e) {
- Te.batch(() => {
+ Ee.batch(() => {
if (this.#r && this.hasListeners()) {
let t = this.#t.variables, n = this.#t.context, r = {
client: this.#e,
@@ -1670,14 +1670,14 @@ var Ye = class extends xe {
});
});
}
-}, Xe = class extends xe {
+}, Ze = class extends Se {
#e;
constructor(e = {}) {
super(), this.config = e, this.#e = /* @__PURE__ */ new Map();
}
build(e, t, n) {
- let r = t.queryKey, i = t.queryHash ?? re(r, t), a = this.get(i);
- return a || (a = new Fe({
+ let r = t.queryKey, i = t.queryHash ?? ie(r, t), a = this.get(i);
+ return a || (a = new Ie({
client: e,
queryKey: r,
queryHash: i,
@@ -1700,7 +1700,7 @@ var Ye = class extends xe {
}));
}
clear() {
- Te.batch(() => {
+ Ee.batch(() => {
this.getAll().forEach((e) => {
this.remove(e);
});
@@ -1717,34 +1717,34 @@ var Ye = class extends xe {
exact: !0,
...e
};
- return this.getAll().find((e) => te(t, e));
+ return this.getAll().find((e) => ne(t, e));
}
findAll(e = {}) {
let t = this.getAll();
- return Object.keys(e).length > 0 ? t.filter((t) => te(e, t)) : t;
+ return Object.keys(e).length > 0 ? t.filter((t) => ne(e, t)) : t;
}
notify(e) {
- Te.batch(() => {
+ Ee.batch(() => {
this.listeners.forEach((t) => {
t(e);
});
});
}
onFocus() {
- Te.batch(() => {
+ Ee.batch(() => {
this.getAll().forEach((e) => {
e.onFocus();
});
});
}
onOnline() {
- Te.batch(() => {
+ Ee.batch(() => {
this.getAll().forEach((e) => {
e.onOnline();
});
});
}
-}, Ze = class {
+}, Qe = class {
#e;
#t;
#n;
@@ -1754,12 +1754,12 @@ var Ye = class extends xe {
#o;
#s;
constructor(e = {}) {
- this.#e = e.queryCache || new Xe(), this.#t = e.mutationCache || new qe(), this.#n = e.defaultOptions || {}, this.#r = /* @__PURE__ */ new Map(), this.#i = /* @__PURE__ */ new Map(), this.#a = 0;
+ this.#e = e.queryCache || new Ze(), this.#t = e.mutationCache || new Je(), this.#n = e.defaultOptions || {}, this.#r = /* @__PURE__ */ new Map(), this.#i = /* @__PURE__ */ new Map(), this.#a = 0;
}
mount() {
- this.#a++, this.#a === 1 && (this.#o = Se.subscribe(async (e) => {
+ this.#a++, this.#a === 1 && (this.#o = Ce.subscribe(async (e) => {
e && (await this.resumePausedMutations(), this.#e.onFocus());
- }), this.#s = Ee.subscribe(async (e) => {
+ }), this.#s = De.subscribe(async (e) => {
e && (await this.resumePausedMutations(), this.#e.onOnline());
}));
}
@@ -1784,7 +1784,7 @@ var Ye = class extends xe {
}
ensureQueryData(e) {
let t = this.defaultQueryOptions(e), n = this.#e.build(this, t), r = n.state.data;
- return r === void 0 ? this.fetchQuery(e) : (e.revalidateIfStale && n.isStaleByTime(F(t.staleTime, n)) && this.prefetchQuery(t), Promise.resolve(r));
+ return r === void 0 ? this.fetchQuery(e) : (e.revalidateIfStale && n.isStaleByTime(P(t.staleTime, n)) && this.prefetchQuery(t), Promise.resolve(r));
}
getQueriesData(e) {
return this.#e.findAll(e).map(({ queryKey: e, state: t }) => [e, t.data]);
@@ -1797,7 +1797,7 @@ var Ye = class extends xe {
});
}
setQueriesData(e, t, n) {
- return Te.batch(() => this.#e.findAll(e).map(({ queryKey: e }) => [e, this.setQueryData(e, t, n)]));
+ return Ee.batch(() => this.#e.findAll(e).map(({ queryKey: e }) => [e, this.setQueryData(e, t, n)]));
}
getQueryState(e) {
let t = this.defaultQueryOptions({ queryKey: e });
@@ -1805,7 +1805,7 @@ var Ye = class extends xe {
}
removeQueries(e) {
let t = this.#e;
- Te.batch(() => {
+ Ee.batch(() => {
t.findAll(e).forEach((e) => {
t.remove(e);
});
@@ -1813,7 +1813,7 @@ var Ye = class extends xe {
}
resetQueries(e, t) {
let n = this.#e;
- return Te.batch(() => {
+ return Ee.batch(() => {
let r = n.findAll(e), i = new Set(r);
return r.forEach((e) => {
e.reset();
@@ -1827,11 +1827,11 @@ var Ye = class extends xe {
let n = {
revert: !0,
...t
- }, r = Te.batch(() => this.#e.findAll(e).map((e) => e.cancel(n)));
+ }, r = Ee.batch(() => this.#e.findAll(e).map((e) => e.cancel(n)));
return Promise.all(r).then(M).catch(M);
}
invalidateQueries(e, t = {}) {
- return Te.batch(() => (this.#e.findAll(e).forEach((e) => {
+ return Ee.batch(() => (this.#e.findAll(e).forEach((e) => {
e.invalidate();
}), e?.refetchType === "none" ? Promise.resolve() : this.refetchQueries({
...e,
@@ -1842,7 +1842,7 @@ var Ye = class extends xe {
let n = {
...t,
cancelRefetch: t.cancelRefetch ?? !0
- }, r = Te.batch(() => this.#e.findAll(e).filter((e) => !e.isDisabled() && !e.isStatic()).map((e) => {
+ }, r = Ee.batch(() => this.#e.findAll(e).filter((e) => !e.isDisabled() && !e.isStatic()).map((e) => {
let t = e.fetch(void 0, n);
return n.throwOnError || (t = t.catch(M)), e.state.fetchStatus === "paused" ? Promise.resolve() : t;
}));
@@ -1851,14 +1851,14 @@ var Ye = class extends xe {
async query(e) {
let t = this.defaultQueryOptions(e);
t.retry === void 0 && (t.retry = !1);
- let n = this.#e.build(this, t), r = n.isStaleByTime(F(t.staleTime, n)) ? await n.fetch(t) : n.state.data, i = t.select;
+ let n = this.#e.build(this, t), r = n.isStaleByTime(P(t.staleTime, n)) ? await n.fetch(t) : n.state.data, i = t.select;
return i ? i(r) : r;
}
fetchQuery(e) {
let t = this.defaultQueryOptions(e);
t.retry === void 0 && (t.retry = !1);
let n = this.#e.build(this, t);
- return n.isStaleByTime(F(t.staleTime, n)) ? n.fetch(t) : Promise.resolve(n.state.data);
+ return n.isStaleByTime(P(t.staleTime, n)) ? n.fetch(t) : Promise.resolve(n.state.data);
}
prefetchQuery(e) {
return this.fetchQuery(e).then(M).catch(M);
@@ -1876,7 +1876,7 @@ var Ye = class extends xe {
return e._type = "infinite", this.ensureQueryData(e);
}
resumePausedMutations() {
- return Ee.isOnline() ? this.#t.resumePausedMutations() : Promise.resolve();
+ return De.isOnline() ? this.#t.resumePausedMutations() : Promise.resolve();
}
getQueryCache() {
return this.#e;
@@ -1891,7 +1891,7 @@ var Ye = class extends xe {
this.#n = e;
}
setQueryDefaults(e, t) {
- this.#r.set(ie(e), {
+ this.#r.set(ae(e), {
queryKey: e,
defaultOptions: t
});
@@ -1899,11 +1899,11 @@ var Ye = class extends xe {
getQueryDefaults(e) {
let t = [...this.#r.values()], n = {};
return t.forEach((t) => {
- ae(e, t.queryKey) && Object.assign(n, t.defaultOptions);
+ oe(e, t.queryKey) && Object.assign(n, t.defaultOptions);
}), n;
}
setMutationDefaults(e, t) {
- this.#i.set(ie(e), {
+ this.#i.set(ae(e), {
mutationKey: e,
defaultOptions: t
});
@@ -1911,7 +1911,7 @@ var Ye = class extends xe {
getMutationDefaults(e) {
let t = [...this.#i.values()], n = {};
return t.forEach((t) => {
- ae(e, t.mutationKey) && Object.assign(n, t.defaultOptions);
+ oe(e, t.mutationKey) && Object.assign(n, t.defaultOptions);
}), n;
}
defaultQueryOptions(e) {
@@ -1922,7 +1922,7 @@ var Ye = class extends xe {
...e,
_defaulted: !0
};
- return t.queryHash ||= re(t.queryKey, t), t.refetchOnReconnect === void 0 && (t.refetchOnReconnect = t.networkMode !== "always"), t.throwOnError === void 0 && (t.throwOnError = !!t.suspense), !t.networkMode && t.persister && (t.networkMode = "offlineFirst"), t.queryFn === he && (t.enabled = !1), t;
+ return t.queryHash ||= ie(t.queryKey, t), t.refetchOnReconnect === void 0 && (t.refetchOnReconnect = t.networkMode !== "always"), t.throwOnError === void 0 && (t.throwOnError = !!t.suspense), !t.networkMode && t.persister && (t.networkMode = "offlineFirst"), t.queryFn === ge && (t.enabled = !1), t;
}
defaultMutationOptions(e) {
return e?._defaulted ? e : {
@@ -1935,11 +1935,11 @@ var Ye = class extends xe {
clear() {
this.#e.clear(), this.#t.clear();
}
-}, Qe = C.createContext(!1), $e = () => C.useContext(Qe);
-Qe.Provider;
+}, $e = C.createContext(!1), et = () => C.useContext($e);
+$e.Provider;
//#endregion
//#region node_modules/@tanstack/react-query/build/modern/QueryErrorResetBoundary.js
-function et() {
+function tt() {
let e = !1;
return {
clearReset: () => {
@@ -1951,34 +1951,34 @@ function et() {
isReset: () => e
};
}
-var tt = C.createContext(et()), nt = () => C.useContext(tt), rt = (e, t, n) => {
- let r = n?.state.error && typeof e.throwOnError == "function" ? _e(e.throwOnError, [n.state.error, n]) : e.throwOnError;
+var nt = C.createContext(tt()), rt = () => C.useContext(nt), it = (e, t, n) => {
+ let r = n?.state.error && typeof e.throwOnError == "function" ? ve(e.throwOnError, [n.state.error, n]) : e.throwOnError;
(e.suspense || r) && (t.isReset() || (e.retryOnMount = !1));
-}, it = (e) => {
+}, at = (e) => {
C.useEffect(() => {
e.clearReset();
}, [e]);
-}, at = ({ result: e, errorResetBoundary: t, throwOnError: n, query: r, suspense: i }) => e.isError && !t.isReset() && !e.isFetching && r && (i && e.data === void 0 || _e(n, [e.error, r])), ot = (e) => {
+}, ot = ({ result: e, errorResetBoundary: t, throwOnError: n, query: r, suspense: i }) => e.isError && !t.isReset() && !e.isFetching && r && (i && e.data === void 0 || ve(n, [e.error, r])), st = (e) => {
if (e.suspense) {
let t = 1e3, n = (e) => e === "static" ? e : Math.max(e ?? t, t), r = e.staleTime;
e.staleTime = typeof r == "function" ? (...e) => n(r(...e)) : n(r), typeof e.gcTime == "number" && (e.gcTime = Math.max(e.gcTime, t));
}
-}, st = (e, t) => e?.suspense && t.isPending, ct = (e, t, n) => t.fetchOptimistic(e).catch(() => {
+}, ct = (e, t) => e?.suspense && t.isPending, lt = (e, t, n) => t.fetchOptimistic(e).catch(() => {
n.clearReset();
});
//#endregion
//#region node_modules/@tanstack/react-query/build/modern/useBaseQuery.js
-function lt(e, t, n) {
- let r = $e(), i = nt(), a = E(n), o = a.defaultQueryOptions(e), s = a.getQueryCache().get(o.queryHash), c = e.subscribed !== !1;
- o._optimisticResults = r ? "isRestoring" : c ? "optimistic" : void 0, ot(o), rt(o, i, s), it(i);
+function ut(e, t, n) {
+ let r = et(), i = rt(), a = E(n), o = a.defaultQueryOptions(e), s = a.getQueryCache().get(o.queryHash), c = e.subscribed !== !1;
+ o._optimisticResults = r ? "isRestoring" : c ? "optimistic" : void 0, st(o), it(o, i, s), at(i);
let [l] = C.useState(() => new t(a, o)), u = l.getOptimisticResult(o), d = !r && c;
if (C.useSyncExternalStore(C.useCallback((e) => {
- let t = d ? l.subscribe(Te.batchCalls(e)) : M;
+ let t = d ? l.subscribe(Ee.batchCalls(e)) : M;
return l.updateResult(), t;
}, [l, d]), () => l.getCurrentResult(), () => l.getCurrentResult()), C.useEffect(() => {
l.setOptions(o);
- }, [o, l]), st(o, u)) throw ct(o, l, i);
- if (at({
+ }, [o, l]), ct(o, u)) throw lt(o, l, i);
+ if (ot({
result: u,
errorResetBoundary: i,
throwOnError: o.throwOnError,
@@ -1989,20 +1989,20 @@ function lt(e, t, n) {
}
//#endregion
//#region node_modules/@tanstack/react-query/build/modern/useQuery.js
-function ut(e, t) {
- return lt(e, ze, t);
+function dt(e, t) {
+ return ut(e, Be, t);
}
//#endregion
//#region node_modules/@tanstack/react-query/build/modern/useMutation.js
-function dt(e, t) {
- let n = E(t), [r] = C.useState(() => new Ye(n, e));
+function ft(e, t) {
+ let n = E(t), [r] = C.useState(() => new Xe(n, e));
C.useEffect(() => {
r.setOptions(e);
}, [r, e]);
- let i = C.useSyncExternalStore(C.useCallback((e) => r.subscribe(Te.batchCalls(e)), [r]), () => r.getCurrentResult(), () => r.getCurrentResult()), a = C.useCallback((...e) => {
+ let i = C.useSyncExternalStore(C.useCallback((e) => r.subscribe(Ee.batchCalls(e)), [r]), () => r.getCurrentResult(), () => r.getCurrentResult()), a = C.useCallback((...e) => {
r.mutate(e[0], e[1]).catch(M);
}, [r]);
- if (i.error && _e(r.options.throwOnError, [i.error])) throw i.error;
+ if (i.error && ve(r.options.throwOnError, [i.error])) throw i.error;
return {
...i,
mutate: a,
@@ -2011,7 +2011,7 @@ function dt(e, t) {
}
//#endregion
//#region node_modules/react-aria/dist/private/collections/BaseCollection.mjs
-var ft = class {
+var pt = class {
constructor(e) {
this.value = null, this.level = 0, this.hasChildNodes = !1, this.rendered = null, this.textValue = "", this["aria-label"] = void 0, this.index = 0, this.parentKey = null, this.prevKey = null, this.nextKey = null, this.firstChildKey = null, this.lastChildKey = null, this.props = {}, this.colSpan = null, this.colIndex = null, this.type = this.constructor.type, this.key = e;
}
@@ -2026,22 +2026,22 @@ var ft = class {
let r = this.clone();
return t.addDescendants(r, e), r;
}
-}, pt = class extends ft {
+}, mt = class extends pt {
filter(e, t, n) {
- let [r, i] = _t(e, t, this.firstChildKey, n), a = this.clone();
+ let [r, i] = vt(e, t, this.firstChildKey, n), a = this.clone();
return a.firstChildKey = r, a.lastChildKey = i, a;
}
};
-(class extends ft {
+(class extends pt {
static {
this.type = "header";
}
});
-var mt = class extends ft {
+var ht = class extends pt {
static {
this.type = "loader";
}
-}, ht = class extends pt {
+}, gt = class extends mt {
static {
this.type = "item";
}
@@ -2053,7 +2053,7 @@ var mt = class extends ft {
return null;
}
};
-(class extends pt {
+(class extends mt {
static {
this.type = "section";
}
@@ -2066,7 +2066,7 @@ var mt = class extends ft {
return null;
}
});
-var gt = class {
+var _t = class {
get size() {
return this.itemCount;
}
@@ -2141,14 +2141,14 @@ var gt = class {
this.firstKey = e, this.lastKey = t, this.frozen = !n;
}
filter(e) {
- let t = new this.constructor(), [n, r] = _t(this, t, this.firstKey, e);
+ let t = new this.constructor(), [n, r] = vt(this, t, this.firstKey, e);
return t?.commit(n, r), t;
}
constructor() {
this.keyMap = /* @__PURE__ */ new Map(), this.firstKey = null, this.lastKey = null, this.frozen = !1, this.itemCount = 0;
}
};
-function _t(e, t, n, r) {
+function vt(e, t, n, r) {
if (n == null) return [null, null];
let i = null, a = null, o = e.getItem(n);
for (; o != null;) {
@@ -2163,7 +2163,7 @@ function _t(e, t, n, r) {
}
//#endregion
//#region node_modules/react-aria/dist/private/collections/Document.mjs
-var vt = class {
+var yt = class {
constructor(e) {
this._firstChild = null, this._lastChild = null, this._previousSibling = null, this._nextSibling = null, this._parentNode = null, this._minInvalidChildIndex = null, this.ownerDocument = e;
}
@@ -2244,7 +2244,7 @@ var vt = class {
for (; e && e.isHidden;) e = e.previousSibling;
return e;
}
-}, yt = class e extends vt {
+}, bt = class e extends yt {
constructor(e, t) {
super(t), this.nodeType = 8, this.isMutated = !0, this._index = 0, this.isHidden = !1, this.node = null;
}
@@ -2295,7 +2295,7 @@ var vt = class {
setAttribute() {}
setAttributeNS() {}
removeAttribute() {}
-}, bt = class extends vt {
+}, xt = class extends yt {
constructor(e) {
super(null), this.nodeType = 11, this.ownerDocument = this, this.dirtyNodes = /* @__PURE__ */ new Set(), this.isSSR = !1, this.nodeId = 0, this.nodesByProps = /* @__PURE__ */ new WeakMap(), this.nextCollection = null, this.subscriptions = /* @__PURE__ */ new Set(), this.queuedRender = !1, this.inSubscription = !1, this.collection = e, this.nextCollection = e;
}
@@ -2303,7 +2303,7 @@ var vt = class {
return !0;
}
createElement(e) {
- return new yt(e, this);
+ return new bt(e, this);
}
getMutableCollection() {
return this.nextCollection ||= this.collection.clone(), this.nextCollection;
@@ -2325,8 +2325,8 @@ var vt = class {
return this.inSubscription ? this.collection : (this.queuedRender = !1, this.updateCollection(), this.collection);
}
updateCollection() {
- for (let e of this.dirtyNodes) e instanceof yt && (!e.isConnected || e.isHidden) ? this.removeNode(e) : e.updateChildIndices();
- for (let e of this.dirtyNodes) e instanceof yt ? (e.isConnected && !e.isHidden && (e.updateNode(), this.addNode(e)), e.node && this.dirtyNodes.delete(e), e.isMutated = !1) : this.dirtyNodes.delete(e);
+ for (let e of this.dirtyNodes) e instanceof bt && (!e.isConnected || e.isHidden) ? this.removeNode(e) : e.updateChildIndices();
+ for (let e of this.dirtyNodes) e instanceof bt ? (e.isConnected && !e.isHidden && (e.updateNode(), this.addNode(e)), e.node && this.dirtyNodes.delete(e), e.isMutated = !1) : this.dirtyNodes.delete(e);
this.nextCollection && (this.nextCollection.commit(this.firstVisibleChild?.node?.key ?? null, this.lastVisibleChild?.node?.key ?? null, this.isSSR), this.isSSR || (this.collection = this.nextCollection, this.nextCollection = null));
}
queueUpdate() {
@@ -2345,13 +2345,13 @@ var vt = class {
};
//#endregion
//#region node_modules/react-aria/dist/private/collections/useCachedChildren.mjs
-function xt(e) {
+function St(e) {
let { children: t, items: n, idScope: r, addIdAndValue: i, dependencies: a = [] } = e, o = (0, C.useMemo)(() => void 0, [t]), s = (0, C.useMemo)(() => /* @__PURE__ */ new WeakMap(), [...a, o]);
return (0, C.useMemo)(() => {
if (n && typeof t == "function") {
let e = [];
for (let a of n) {
- let n = St(a) ? a : null, o = n ? s.get(n) : null;
+ let n = Ct(a) ? a : null, o = n ? s.get(n) : null;
if (!o) {
o = t(a);
let c = o.props.id ?? a?.key ?? a?.id;
@@ -2376,7 +2376,7 @@ function xt(e) {
i
]);
}
-function St(e) {
+function Ct(e) {
switch (typeof e) {
case "object": return e != null;
case "function":
@@ -2386,26 +2386,26 @@ function St(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/focusWithoutScrolling.mjs
-function Ct(e) {
- if (Tt()) e.focus({ preventScroll: !0 });
+function wt(e) {
+ if (Et()) e.focus({ preventScroll: !0 });
else {
- let t = Et(e);
- e.focus(), Dt(t);
+ let t = Dt(e);
+ e.focus(), Ot(t);
}
}
-var wt = null;
-function Tt() {
- if (wt == null) {
- wt = !1;
+var Tt = null;
+function Et() {
+ if (Tt == null) {
+ Tt = !1;
try {
document.createElement("div").focus({ get preventScroll() {
- return wt = !0, !0;
+ return Tt = !0, !0;
} });
} catch {}
}
- return wt;
+ return Tt;
}
-function Et(e) {
+function Dt(e) {
let t = e.parentNode, n = [], r = document.scrollingElement || document.documentElement;
for (; t instanceof HTMLElement && t !== r;) (t.offsetHeight < t.scrollHeight || t.offsetWidth < t.scrollWidth) && n.push({
element: t,
@@ -2418,25 +2418,25 @@ function Et(e) {
scrollLeft: r.scrollLeft
}), n;
}
-function Dt(e) {
+function Ot(e) {
for (let { element: t, scrollTop: n, scrollLeft: r } of e) t.scrollTop = n, t.scrollLeft = r;
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/domHelpers.mjs
-var R = (e) => At(e) ? e.document : jt(e) ? e : e?.ownerDocument ?? (typeof document < "u" ? document : void 0), Ot = (e) => R(e)?.defaultView ?? (typeof window < "u" ? window : void 0);
-function kt(e) {
- return typeof e == "object" && !!e && "nodeType" in e && typeof e.nodeType == "number";
-}
+var L = (e) => jt(e) ? e.document : Mt(e) ? e : e?.ownerDocument ?? (typeof document < "u" ? document : void 0), kt = (e) => L(e)?.defaultView ?? (typeof window < "u" ? window : void 0);
function At(e) {
- return typeof e == "object" && !!e && "window" in e && e.window === e;
+ return typeof e == "object" && !!e && "nodeType" in e && typeof e.nodeType == "number";
}
function jt(e) {
- return kt(e) && e.nodeType === 9;
+ return typeof e == "object" && !!e && "window" in e && e.window === e;
}
function Mt(e) {
- return kt(e) && e.nodeType === 11 && "host" in e;
+ return At(e) && e.nodeType === 9;
+}
+function Nt(e) {
+ return At(e) && e.nodeType === 11 && "host" in e;
}
-function Nt(e, t, n, r) {
+function Pt(e, t, n, r) {
if (n == null || e == null) return () => {};
let i = Array.isArray(e) ? e : [e];
for (let e of i) e.addEventListener(t, n, r);
@@ -2444,7 +2444,7 @@ function Nt(e, t, n, r) {
for (let e of i) e.removeEventListener(t, n, r);
};
}
-function Pt(e, t, n, r) {
+function Ft(e, t, n, r) {
if (e == null) return () => {};
let i = [], a = Array.isArray(e) ? e : [e];
for (let e of a) {
@@ -2459,73 +2459,73 @@ function Pt(e, t, n, r) {
}
//#endregion
//#region node_modules/react-stately/dist/private/flags/flags.mjs
-var Ft = !1;
-function It() {
- return Ft;
+var It = !1;
+function Lt() {
+ return It;
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/shadowdom/DOMFunctions.mjs
-function z(e, t) {
- if (!It()) return t && e ? e.contains(t) : !1;
+function R(e, t) {
+ if (!Lt()) return t && e ? e.contains(t) : !1;
if (!e || !t) return !1;
let n = t;
for (; n !== null;) {
if (n === e) return !0;
- n = typeof n.assignedElements != "function" && n.assignedSlot?.parentNode ? n.assignedSlot.parentNode : Mt(n) ? n.host : n.parentNode;
+ n = typeof n.assignedElements != "function" && n.assignedSlot?.parentNode ? n.assignedSlot.parentNode : Nt(n) ? n.host : n.parentNode;
}
return !1;
}
-var Lt = (e = document) => {
- if (!It()) return e.activeElement;
+var Rt = (e = document) => {
+ if (!Lt()) return e.activeElement;
let t = e.activeElement;
for (; t && "shadowRoot" in t && t.shadowRoot?.activeElement;) t = t.shadowRoot.activeElement;
return t;
};
-function B(e) {
- if (It() && e.target instanceof Element && e.target.shadowRoot) {
+function z(e) {
+ if (Lt() && e.target instanceof Element && e.target.shadowRoot) {
if ("composedPath" in e) return e.composedPath()[0] ?? null;
if ("composedPath" in e.nativeEvent) return e.nativeEvent.composedPath()[0] ?? null;
}
return e.target;
}
-function Rt(e, t) {
+function zt(e, t) {
if (t === null) return [];
- t ??= Ot(e);
+ t ??= kt(e);
let n = [t];
- if (!It() || !e || e === t) return n;
+ if (!Lt() || !e || e === t) return n;
let r = "getRootNode" in t ? t.getRootNode() : null, i = e.getRootNode() ?? null;
- for (; Mt(i) && i !== r;) n.push(i), i = i.host.getRootNode();
+ for (; Nt(i) && i !== r;) n.push(i), i = i.host.getRootNode();
return n;
}
-function zt(e) {
+function Bt(e) {
if (!e) return !1;
- let t = e.getRootNode(), n = Ot(e);
+ let t = e.getRootNode(), n = kt(e);
if (!(t instanceof n.Document || t instanceof n.ShadowRoot)) return !1;
let r = t.activeElement;
return r != null && e.contains(r);
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/isElementVisible.mjs
-var Bt = typeof Element < "u" && "checkVisibility" in Element.prototype;
-function Vt(e) {
- let t = Ot(e);
+var Vt = typeof Element < "u" && "checkVisibility" in Element.prototype;
+function Ht(e) {
+ let t = kt(e);
if (!(e instanceof t.HTMLElement) && !(e instanceof t.SVGElement)) return !1;
let { display: n, visibility: r } = e.style, i = n !== "none" && r !== "hidden" && r !== "collapse";
if (i) {
- let { getComputedStyle: t } = Ot(e), { display: n, visibility: r } = t(e);
+ let { getComputedStyle: t } = kt(e), { display: n, visibility: r } = t(e);
i = n !== "none" && r !== "hidden" && r !== "collapse";
}
return i;
}
-function Ht(e, t) {
+function Ut(e, t) {
return !e.hasAttribute("hidden") && !e.hasAttribute("data-react-aria-prevent-focus") && (e.nodeName === "DETAILS" && t && t.nodeName !== "SUMMARY" ? e.hasAttribute("open") : !0);
}
-function Ut(e, t) {
- return Bt ? e.checkVisibility({ visibilityProperty: !0 }) && !e.closest("[data-react-aria-prevent-focus]") : e.nodeName !== "#comment" && Vt(e) && Ht(e, t) && (!e.parentElement || Ut(e.parentElement, e));
+function Wt(e, t) {
+ return Vt ? e.checkVisibility({ visibilityProperty: !0 }) && !e.closest("[data-react-aria-prevent-focus]") : e.nodeName !== "#comment" && Ht(e) && Ut(e, t) && (!e.parentElement || Wt(e.parentElement, e));
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/isFocusable.mjs
-var Wt = [
+var Gt = [
"input:not([disabled]):not([type=hidden])",
"select:not([disabled])",
"textarea:not([disabled])",
@@ -2540,60 +2540,60 @@ var Wt = [
"video[controls]",
"[contenteditable]:not([contenteditable^=\"false\"])",
"permission"
-], Gt = Wt.join(":not([hidden]),") + ",[tabindex]:not([disabled]):not([hidden])";
-Wt.push("[tabindex]:not([tabindex=\"-1\"]):not([disabled])");
-var Kt = Wt.join(":not([hidden]):not([tabindex=\"-1\"]),");
-function qt(e, t) {
- return e.matches(Gt) && !Yt(e) && (t?.skipVisibilityCheck || Ut(e));
-}
-function Jt(e) {
- return e.matches(Kt) && Ut(e) && !Yt(e);
+], Kt = Gt.join(":not([hidden]),") + ",[tabindex]:not([disabled]):not([hidden])";
+Gt.push("[tabindex]:not([tabindex=\"-1\"]):not([disabled])");
+var qt = Gt.join(":not([hidden]):not([tabindex=\"-1\"]),");
+function Jt(e, t) {
+ return e.matches(Kt) && !Xt(e) && (t?.skipVisibilityCheck || Wt(e));
}
function Yt(e) {
+ return e.matches(qt) && Wt(e) && !Xt(e);
+}
+function Xt(e) {
let t = e;
for (; t != null;) {
- if (t instanceof Ot(t).HTMLElement && t.inert) return !0;
+ if (t instanceof kt(t).HTMLElement && t.inert) return !0;
t = t.parentElement;
}
return !1;
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/useLayoutEffect.mjs
-var Xt = typeof document < "u" ? C.useLayoutEffect : () => {};
+var Zt = typeof document < "u" ? C.useLayoutEffect : () => {};
//#endregion
//#region node_modules/react-aria/dist/private/interactions/utils.mjs
-function Zt(e) {
+function Qt(e) {
let t = e;
return t.nativeEvent = e, t.isDefaultPrevented = () => t.defaultPrevented, t.isPropagationStopped = () => t.cancelBubble, t.persist = () => {}, t;
}
-function Qt(e, t) {
+function $t(e, t) {
Object.defineProperty(e, "target", { value: t }), Object.defineProperty(e, "currentTarget", { value: t });
}
-function $t(e) {
+function en(e) {
let t = (0, C.useRef)({
isFocused: !1,
observer: null
});
- return Xt(() => {
+ return Zt(() => {
let e = t.current;
return () => {
e.observer &&= (e.observer.disconnect(), null);
};
}, []), (0, C.useCallback)((n) => {
- let r = B(n);
+ let r = z(n);
if (r instanceof HTMLButtonElement || r instanceof HTMLInputElement || r instanceof HTMLTextAreaElement || r instanceof HTMLSelectElement) {
t.current.isFocused = !0;
let n = r;
n.addEventListener("focusout", (r) => {
if (t.current.isFocused = !1, n.disabled) {
- let t = Zt(r);
+ let t = Qt(r);
e?.(t);
}
t.current.observer && (t.current.observer.disconnect(), t.current.observer = null);
}, { once: !0 }), t.current.observer = new MutationObserver(() => {
if (t.current.isFocused && n.disabled) {
t.current.observer?.disconnect();
- let e = n === Lt() ? null : Lt();
+ let e = n === Rt() ? null : Rt();
n.dispatchEvent(new FocusEvent("blur", { relatedTarget: e })), n.dispatchEvent(new FocusEvent("focusout", {
bubbles: !0,
relatedTarget: e
@@ -2606,83 +2606,83 @@ function $t(e) {
}
}, [e]);
}
-var en = !1;
-function tn(e) {
- for (; e && !qt(e, { skipVisibilityCheck: !0 });) e = e.parentElement;
- let t = Lt(Ot(e).document);
+var tn = !1;
+function nn(e) {
+ for (; e && !Jt(e, { skipVisibilityCheck: !0 });) e = e.parentElement;
+ let t = Rt(kt(e).document);
if (!t || t === e) return;
- let n = e?.getRootNode(), r = n != null && Mt(n) ? n : Ot(e), i = (t) => t === e || t != null && z(e, t), a = (e) => e === t || t != null && e != null && z(t, e);
- en = !0;
+ let n = e?.getRootNode(), r = n != null && Nt(n) ? n : kt(e), i = (t) => t === e || t != null && R(e, t), a = (e) => e === t || t != null && e != null && R(t, e);
+ tn = !0;
let o = !1, s = (e) => {
- (a(B(e)) || o) && e.stopImmediatePropagation();
+ (a(z(e)) || o) && e.stopImmediatePropagation();
}, c = (n) => {
- (a(B(n)) || o) && (n.stopImmediatePropagation(), !e && !o && (o = !0, Ct(t), d()));
+ (a(z(n)) || o) && (n.stopImmediatePropagation(), !e && !o && (o = !0, wt(t), d()));
}, l = (e) => {
- (i(B(e)) || o) && e.stopImmediatePropagation();
+ (i(z(e)) || o) && e.stopImmediatePropagation();
}, u = (e) => {
- (i(B(e)) || o) && (e.stopImmediatePropagation(), o || (o = !0, Ct(t), d()));
+ (i(z(e)) || o) && (e.stopImmediatePropagation(), o || (o = !0, wt(t), d()));
};
r.addEventListener("blur", s, !0), r.addEventListener("focusout", c, !0), r.addEventListener("focusin", u, !0), r.addEventListener("focus", l, !0);
let d = () => {
- cancelAnimationFrame(f), r.removeEventListener("blur", s, !0), r.removeEventListener("focusout", c, !0), r.removeEventListener("focusin", u, !0), r.removeEventListener("focus", l, !0), en = !1, o = !1;
+ cancelAnimationFrame(f), r.removeEventListener("blur", s, !0), r.removeEventListener("focusout", c, !0), r.removeEventListener("focusin", u, !0), r.removeEventListener("focus", l, !0), tn = !1, o = !1;
}, f = requestAnimationFrame(d);
return d;
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/platform.mjs
-function nn(e) {
+function rn(e) {
if (typeof window > "u" || window.navigator == null) return !1;
let t = window.navigator.userAgentData?.brands;
return Array.isArray(t) && t.some((t) => e.test(t.brand)) || e.test(window.navigator.userAgent);
}
-function rn(e) {
+function an(e) {
return typeof window < "u" && window.navigator != null && e.test(window.navigator.userAgentData?.platform || window.navigator.platform);
}
-function an(e) {
+function on(e) {
let t = null;
return () => (t ??= e(), t);
}
-var on = an(function() {
- return rn(/^Mac/i);
-}), sn = an(function() {
- return rn(/^iPhone/i);
-}), cn = an(function() {
- return rn(/^iPad/i) || on() && navigator.maxTouchPoints > 1;
-}), ln = an(function() {
- return sn() || cn();
-}), un = an(function() {
- return on() || ln();
-}), dn = an(function() {
- return nn(/AppleWebKit/i) && (ln() || !fn());
-}), fn = an(function() {
- return nn(/Chrome|CriOS|CrMo/i);
-}), pn = an(function() {
- return nn(/Android/i);
-}), mn = an(function() {
- return nn(/(Firefox|FxiOS)/i);
+var sn = on(function() {
+ return an(/^Mac/i);
+}), cn = on(function() {
+ return an(/^iPhone/i);
+}), ln = on(function() {
+ return an(/^iPad/i) || sn() && navigator.maxTouchPoints > 1;
+}), un = on(function() {
+ return cn() || ln();
+}), dn = on(function() {
+ return sn() || un();
+}), fn = on(function() {
+ return rn(/AppleWebKit/i) && (un() || !pn());
+}), pn = on(function() {
+ return rn(/Chrome|CriOS|CrMo/i);
+}), mn = on(function() {
+ return rn(/Android/i);
+}), hn = on(function() {
+ return rn(/(Firefox|FxiOS)/i);
});
//#endregion
//#region node_modules/react-aria/dist/private/utils/isVirtualEvent.mjs
-function hn(e) {
- return e.pointerType === "" && e.isTrusted ? !0 : pn() && e.pointerType ? e.type === "click" && e.buttons === 1 : e.detail === 0 && !e.pointerType;
-}
function gn(e) {
- return !pn() && e.width === 0 && e.height === 0 || pn() && e.width === 1 && e.height === 1 && e.pressure === 0 && e.detail === 0 && e.pointerType === "mouse";
+ return e.pointerType === "" && e.isTrusted ? !0 : mn() && e.pointerType ? e.type === "click" && e.buttons === 1 : e.detail === 0 && !e.pointerType;
+}
+function _n(e) {
+ return !mn() && e.width === 0 && e.height === 0 || mn() && e.width === 1 && e.height === 1 && e.pressure === 0 && e.detail === 0 && e.pointerType === "mouse";
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/openLink.mjs
-var _n = /*#__PURE__*/ (0, C.createContext)({
+var vn = /*#__PURE__*/ (0, C.createContext)({
isNative: !0,
- open: xn,
+ open: Sn,
useHref: (e) => e
});
-function vn() {
- return (0, C.useContext)(_n);
+function yn() {
+ return (0, C.useContext)(vn);
}
-function yn(e, t, n = !0) {
+function bn(e, t, n = !0) {
let { metaKey: r, ctrlKey: i, altKey: a, shiftKey: o } = t;
- !dn() && mn() && window.event?.type?.startsWith("key") && e.target === "_blank" && (on() ? r = !0 : i = !0);
- let s = dn() && on() && !cn() ? new KeyboardEvent("keydown", {
+ !fn() && hn() && window.event?.type?.startsWith("key") && e.target === "_blank" && (sn() ? r = !0 : i = !0);
+ let s = fn() && sn() && !ln() ? new KeyboardEvent("keydown", {
keyIdentifier: "Enter",
metaKey: r,
ctrlKey: i,
@@ -2697,21 +2697,21 @@ function yn(e, t, n = !0) {
bubbles: !0,
cancelable: !0
});
- yn.isOpening = n, Ct(e), e.dispatchEvent(s), yn.isOpening = !1;
+ bn.isOpening = n, wt(e), e.dispatchEvent(s), bn.isOpening = !1;
}
-yn.isOpening = !1;
-function bn(e, t) {
+bn.isOpening = !1;
+function xn(e, t) {
if (e instanceof HTMLAnchorElement) t(e);
else if (e.hasAttribute("data-href")) {
let n = document.createElement("a");
n.href = e.getAttribute("data-href"), e.hasAttribute("data-target") && (n.target = e.getAttribute("data-target")), e.hasAttribute("data-rel") && (n.rel = e.getAttribute("data-rel")), e.hasAttribute("data-download") && (n.download = e.getAttribute("data-download")), e.hasAttribute("data-ping") && (n.ping = e.getAttribute("data-ping")), e.hasAttribute("data-referrer-policy") && (n.referrerPolicy = e.getAttribute("data-referrer-policy")), e.appendChild(n), t(n), e.removeChild(n);
}
}
-function xn(e, t) {
- bn(e, (e) => yn(e, t));
+function Sn(e, t) {
+ xn(e, (e) => bn(e, t));
}
-function Sn(e) {
- let t = vn().useHref(e.href ?? "");
+function Cn(e) {
+ let t = yn().useHref(e.href ?? "");
return {
"data-href": e.href ? t : void 0,
"data-target": e.target,
@@ -2721,8 +2721,8 @@ function Sn(e) {
"data-referrer-policy": e.referrerPolicy
};
}
-function Cn(e) {
- let t = vn().useHref(e?.href ?? ""), n = {};
+function wn(e) {
+ let t = yn().useHref(e?.href ?? ""), n = {};
if (e) for (let r of [
"href",
"target",
@@ -2735,133 +2735,133 @@ function Cn(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/ssr/SSRProvider.mjs
-var wn = {
+var Tn = {
prefix: String(Math.round(Math.random() * 1e10)),
current: 0
-}, Tn = /*#__PURE__*/ C.createContext(wn), En = /*#__PURE__*/ C.createContext(!1);
+}, En = /*#__PURE__*/ C.createContext(Tn), Dn = /*#__PURE__*/ C.createContext(!1);
typeof window < "u" && window.document && window.document.createElement;
-var Dn = /* @__PURE__ */ new WeakMap();
-function On(e = !1) {
- let t = (0, C.useContext)(Tn), n = (0, C.useRef)(null);
+var On = /* @__PURE__ */ new WeakMap();
+function kn(e = !1) {
+ let t = (0, C.useContext)(En), n = (0, C.useRef)(null);
if (n.current === null && !e) {
let e = C.default.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED?.ReactCurrentOwner?.current;
if (e) {
- let n = Dn.get(e);
- n == null ? Dn.set(e, {
+ let n = On.get(e);
+ n == null ? On.set(e, {
id: t.current,
state: e.memoizedState
- }) : e.memoizedState !== n.state && (t.current = n.id, Dn.delete(e));
+ }) : e.memoizedState !== n.state && (t.current = n.id, On.delete(e));
}
n.current = ++t.current;
}
return n.current;
}
-function kn(e) {
- let t = (0, C.useContext)(Tn), n = On(!!e), r = `react-aria${t.prefix}`;
+function An(e) {
+ let t = (0, C.useContext)(En), n = kn(!!e), r = `react-aria${t.prefix}`;
return e || `${r}-${n}`;
}
-function An(e) {
- let t = C.useId(), [n] = (0, C.useState)(Fn()), r = n ? "react-aria" : `react-aria${wn.prefix}`;
+function jn(e) {
+ let t = C.useId(), [n] = (0, C.useState)(In()), r = n ? "react-aria" : `react-aria${Tn.prefix}`;
return e || `${r}-${t}`;
}
-var jn = typeof C.useId == "function" ? An : kn;
-function Mn() {
+var Mn = typeof C.useId == "function" ? jn : An;
+function Nn() {
return !1;
}
-function Nn() {
+function Pn() {
return !0;
}
-function Pn(e) {
+function Fn(e) {
return () => {};
}
-function Fn() {
- return typeof C.useSyncExternalStore == "function" ? C.useSyncExternalStore(Pn, Mn, Nn) : (0, C.useContext)(En);
+function In() {
+ return typeof C.useSyncExternalStore == "function" ? C.useSyncExternalStore(Fn, Nn, Pn) : (0, C.useContext)(Dn);
}
//#endregion
//#region node_modules/react-aria/dist/private/interactions/useFocusVisible.mjs
-var In = null, Ln = /* @__PURE__ */ new Set(), Rn = /* @__PURE__ */ new Map(), zn = !1, Bn = !1, Vn = {
+var Ln = null, Rn = /* @__PURE__ */ new Set(), zn = /* @__PURE__ */ new Map(), Bn = !1, Vn = !1, Hn = {
Tab: !0,
Escape: !0
};
-function Hn(e, t) {
- for (let n of Ln) n(e, t);
-}
-function Un(e) {
- return !(e.metaKey || !on() && e.altKey || e.ctrlKey || e.key === "Control" || e.key === "Shift" || e.key === "Meta");
+function Un(e, t) {
+ for (let n of Rn) n(e, t);
}
function Wn(e) {
- zn = !0, !yn.isOpening && Un(e) && (In = "keyboard", Hn("keyboard", e));
+ return !(e.metaKey || !sn() && e.altKey || e.ctrlKey || e.key === "Control" || e.key === "Shift" || e.key === "Meta");
}
function Gn(e) {
- In = "pointer", "pointerType" in e && e.pointerType, (e.type === "mousedown" || e.type === "pointerdown") && (zn = !0, Hn("pointer", e));
+ Bn = !0, !bn.isOpening && Wn(e) && (Ln = "keyboard", Un("keyboard", e));
}
function Kn(e) {
- !yn.isOpening && hn(e) && (zn = !0, In = "virtual");
+ Ln = "pointer", "pointerType" in e && e.pointerType, (e.type === "mousedown" || e.type === "pointerdown") && (Bn = !0, Un("pointer", e));
}
function qn(e) {
- if (en) return;
- let t = B(e), n = Ot(t), r = R(t);
+ !bn.isOpening && gn(e) && (Bn = !0, Ln = "virtual");
+}
+function Jn(e) {
+ if (tn) return;
+ let t = z(e), n = kt(t), r = L(t);
if (t === n) {
- Bn = !0;
+ Vn = !0;
return;
}
- t === r || !e.isTrusted || (!zn && !Bn && (In = "virtual", Hn("virtual", e)), zn = !1, Bn = !1);
+ t === r || !e.isTrusted || (!Bn && !Vn && (Ln = "virtual", Un("virtual", e)), Bn = !1, Vn = !1);
}
-function Jn() {
- en || (zn = !1, Bn = !0);
+function Yn() {
+ tn || (Bn = !1, Vn = !0);
}
-function Yn(e) {
+function Xn(e) {
if (typeof window > "u" || typeof document > "u") return;
- let t = Ot(e), n = R(e);
- if (Rn.get(t)) return;
+ let t = kt(e), n = L(e);
+ if (zn.get(t)) return;
let r = t.HTMLElement.prototype.focus;
Reflect.defineProperty(t.HTMLElement.prototype, "focus", {
configurable: !0,
writable: !0,
value: function() {
- zn = !0, r.apply(this, arguments);
+ Bn = !0, r.apply(this, arguments);
}
- }), n.addEventListener("keydown", Wn, !0), n.addEventListener("keyup", Wn, !0), n.addEventListener("click", Kn, !0), t.addEventListener("focus", qn, !0), t.addEventListener("blur", Jn, !1), typeof PointerEvent < "u" && (n.addEventListener("pointerdown", Gn, !0), n.addEventListener("pointermove", Gn, !0), n.addEventListener("pointerup", Gn, !0)), t.addEventListener("beforeunload", () => {
- Xn(e);
- }, { once: !0 }), Rn.set(t, { focus: r });
+ }), n.addEventListener("keydown", Gn, !0), n.addEventListener("keyup", Gn, !0), n.addEventListener("click", qn, !0), t.addEventListener("focus", Jn, !0), t.addEventListener("blur", Yn, !1), typeof PointerEvent < "u" && (n.addEventListener("pointerdown", Kn, !0), n.addEventListener("pointermove", Kn, !0), n.addEventListener("pointerup", Kn, !0)), t.addEventListener("beforeunload", () => {
+ Zn(e);
+ }, { once: !0 }), zn.set(t, { focus: r });
}
-var Xn = (e, t) => {
- let n = Ot(e), r = R(e);
- t && r.removeEventListener("DOMContentLoaded", t), Rn.has(n) && (Reflect.defineProperty(n.HTMLElement.prototype, "focus", {
+var Zn = (e, t) => {
+ let n = kt(e), r = L(e);
+ t && r.removeEventListener("DOMContentLoaded", t), zn.has(n) && (Reflect.defineProperty(n.HTMLElement.prototype, "focus", {
configurable: !0,
writable: !0,
- value: Rn.get(n).focus
- }), r.removeEventListener("keydown", Wn, !0), r.removeEventListener("keyup", Wn, !0), r.removeEventListener("click", Kn, !0), n.removeEventListener("focus", qn, !0), n.removeEventListener("blur", Jn, !1), typeof PointerEvent < "u" && (r.removeEventListener("pointerdown", Gn, !0), r.removeEventListener("pointermove", Gn, !0), r.removeEventListener("pointerup", Gn, !0)), Rn.delete(n));
+ value: zn.get(n).focus
+ }), r.removeEventListener("keydown", Gn, !0), r.removeEventListener("keyup", Gn, !0), r.removeEventListener("click", qn, !0), n.removeEventListener("focus", Jn, !0), n.removeEventListener("blur", Yn, !1), typeof PointerEvent < "u" && (r.removeEventListener("pointerdown", Kn, !0), r.removeEventListener("pointermove", Kn, !0), r.removeEventListener("pointerup", Kn, !0)), zn.delete(n));
};
-function Zn(e) {
- let t = R(e), n;
+function Qn(e) {
+ let t = L(e), n;
return t.readyState === "loading" ? (n = () => {
- Yn(e);
- }, t.addEventListener("DOMContentLoaded", n)) : Yn(e), () => Xn(e, n);
-}
-typeof document < "u" && Zn();
-function Qn() {
- return In !== "pointer";
+ Xn(e);
+ }, t.addEventListener("DOMContentLoaded", n)) : Xn(e), () => Zn(e, n);
}
+typeof document < "u" && Qn();
function $n() {
- return In;
+ return Ln !== "pointer";
+}
+function er() {
+ return Ln;
}
-function er(e) {
- In = e, Hn(e, null);
+function tr(e) {
+ Ln = e, Un(e, null);
}
-function tr() {
- Yn();
- let [e, t] = (0, C.useState)(In);
+function nr() {
+ Xn();
+ let [e, t] = (0, C.useState)(Ln);
return (0, C.useEffect)(() => {
let e = () => {
- t(In);
+ t(Ln);
};
- return Ln.add(e), () => {
- Ln.delete(e);
+ return Rn.add(e), () => {
+ Rn.delete(e);
};
- }, []), Fn() ? null : e;
+ }, []), In() ? null : e;
}
-var nr = /* @__PURE__ */ new Set([
+var rr = /* @__PURE__ */ new Set([
"checkbox",
"radio",
"range",
@@ -2872,77 +2872,77 @@ var nr = /* @__PURE__ */ new Set([
"submit",
"reset"
]);
-function rr(e, t, n) {
- let r = n ? B(n) : void 0, i = R(r), a = Ot(r), o = a === void 0 ? HTMLInputElement : a.HTMLInputElement, s = a === void 0 ? HTMLTextAreaElement : a.HTMLTextAreaElement, c = a === void 0 ? HTMLElement : a.HTMLElement, l = a === void 0 ? KeyboardEvent : a.KeyboardEvent, u = Lt(i);
- return e = e || u instanceof o && !nr.has(u.type) || u instanceof s || u instanceof c && u.isContentEditable, !(e && t === "keyboard" && n instanceof l && !Vn[n.key]);
-}
function ir(e, t, n) {
- Yn(), (0, C.useEffect)(() => {
+ let r = n ? z(n) : void 0, i = L(r), a = kt(r), o = a === void 0 ? HTMLInputElement : a.HTMLInputElement, s = a === void 0 ? HTMLTextAreaElement : a.HTMLTextAreaElement, c = a === void 0 ? HTMLElement : a.HTMLElement, l = a === void 0 ? KeyboardEvent : a.KeyboardEvent, u = Rt(i);
+ return e = e || u instanceof o && !rr.has(u.type) || u instanceof s || u instanceof c && u.isContentEditable, !(e && t === "keyboard" && n instanceof l && !Hn[n.key]);
+}
+function ar(e, t, n) {
+ Xn(), (0, C.useEffect)(() => {
if (n?.enabled === !1) return;
let t = (t, r) => {
- rr(!!n?.isTextInput, t, r) && e(Qn());
+ ir(!!n?.isTextInput, t, r) && e($n());
};
- return Ln.add(t), () => {
- Ln.delete(t);
+ return Rn.add(t), () => {
+ Rn.delete(t);
};
}, t);
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/runAfterTransition.mjs
-var ar = /* @__PURE__ */ new Map(), or = /* @__PURE__ */ new Set();
-function sr() {
+var or = /* @__PURE__ */ new Map(), sr = /* @__PURE__ */ new Set();
+function cr() {
if (typeof window > "u") return;
function e(e) {
return "propertyName" in e;
}
let t = (t) => {
- let r = B(t);
+ let r = z(t);
if (!e(t) || !r) return;
- let i = ar.get(r);
- i || (i = /* @__PURE__ */ new Set(), ar.set(r, i), r.addEventListener("transitioncancel", n, { once: !0 })), i.add(t.propertyName);
+ let i = or.get(r);
+ i || (i = /* @__PURE__ */ new Set(), or.set(r, i), r.addEventListener("transitioncancel", n, { once: !0 })), i.add(t.propertyName);
}, n = (t) => {
- let r = B(t);
+ let r = z(t);
if (!e(t) || !r) return;
- let i = ar.get(r);
- if (i && (i.delete(t.propertyName), i.size === 0 && (r.removeEventListener("transitioncancel", n), ar.delete(r)), ar.size === 0)) {
- for (let e of or) e();
- or.clear();
+ let i = or.get(r);
+ if (i && (i.delete(t.propertyName), i.size === 0 && (r.removeEventListener("transitioncancel", n), or.delete(r)), or.size === 0)) {
+ for (let e of sr) e();
+ sr.clear();
}
};
document.body.addEventListener("transitionrun", t), document.body.addEventListener("transitionend", n);
}
-typeof document < "u" && (document.readyState === "loading" ? document.addEventListener("DOMContentLoaded", sr) : sr());
-function cr() {
- for (let [e] of ar) "isConnected" in e && !e.isConnected && ar.delete(e);
+typeof document < "u" && (document.readyState === "loading" ? document.addEventListener("DOMContentLoaded", cr) : cr());
+function lr() {
+ for (let [e] of or) "isConnected" in e && !e.isConnected && or.delete(e);
}
-function lr(e) {
+function ur(e) {
requestAnimationFrame(() => {
- cr(), ar.size === 0 ? e() : or.add(e);
+ lr(), or.size === 0 ? e() : sr.add(e);
});
}
//#endregion
//#region node_modules/react-aria/dist/private/interactions/focusSafely.mjs
-function ur(e) {
+function dr(e) {
if (!e.isConnected) return;
- let t = R(e);
- if ($n() === "virtual") {
- let n = Lt(t);
- lr(() => {
- let r = Lt(t);
- (r === n || r === t.body) && e.isConnected && Ct(e);
+ let t = L(e);
+ if (er() === "virtual") {
+ let n = Rt(t);
+ ur(() => {
+ let r = Rt(t);
+ (r === n || r === t.body) && e.isConnected && wt(e);
});
- } else Ct(e);
+ } else wt(e);
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/chain.mjs
-function dr(...e) {
+function fr(...e) {
return (...t) => {
for (let n of e) typeof n == "function" && n(...t);
};
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/useValueEffect.mjs
-function fr(e) {
+function pr(e) {
let [t, n] = (0, C.useState)(e), r = (0, C.useRef)(t), i = (0, C.useRef)(null), a = (0, C.useRef)(() => {
if (!i.current) return;
let e = i.current.next();
@@ -2952,7 +2952,7 @@ function fr(e) {
}
r.current === e.value ? a.current() : n(e.value);
});
- return Xt(() => {
+ return Zt(() => {
r.current = t, i.current && a.current();
}), [t, (0, C.useCallback)((e) => {
i.current = e(r.current), a.current();
@@ -2960,21 +2960,21 @@ function fr(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/useId.mjs
-var pr = !!(typeof window < "u" && window.document && window.document.createElement), mr = /* @__PURE__ */ new Map(), hr;
-typeof FinalizationRegistry < "u" && (hr = new FinalizationRegistry((e) => {
- mr.delete(e);
+var mr = !!(typeof window < "u" && window.document && window.document.createElement), hr = /* @__PURE__ */ new Map(), gr;
+typeof FinalizationRegistry < "u" && (gr = new FinalizationRegistry((e) => {
+ hr.delete(e);
}));
-var gr = /* @__PURE__ */ new WeakMap();
-function _r(e) {
- let [t, n] = (0, C.useState)(e), r = (0, C.useRef)(null), i = jn(t), a = (0, C.useRef)(null), o = gr.get(a);
- if (hr && o !== i && (o != null && hr.unregister(a), hr.register(a, i, a), gr.set(a, i)), pr) {
- let e = mr.get(i);
- e && !e.includes(r) ? e.push(r) : mr.set(i, [r]);
- }
- return Xt(() => {
+var _r = /* @__PURE__ */ new WeakMap();
+function vr(e) {
+ let [t, n] = (0, C.useState)(e), r = (0, C.useRef)(null), i = Mn(t), a = (0, C.useRef)(null), o = _r.get(a);
+ if (gr && o !== i && (o != null && gr.unregister(a), gr.register(a, i, a), _r.set(a, i)), mr) {
+ let e = hr.get(i);
+ e && !e.includes(r) ? e.push(r) : hr.set(i, [r]);
+ }
+ return Zt(() => {
let e = i;
return () => {
- hr && (hr.unregister(a), gr.delete(a)), mr.delete(e);
+ gr && (gr.unregister(a), _r.delete(a)), hr.delete(e);
};
}, [i]), (0, C.useEffect)(() => {
let e = r.current;
@@ -2983,20 +2983,20 @@ function _r(e) {
};
}), i;
}
-function vr(e, t) {
+function yr(e, t) {
if (e === t) return e;
- let n = mr.get(e);
+ let n = hr.get(e);
if (n) return n.forEach((e) => e.current = t), t;
- let r = mr.get(t);
+ let r = hr.get(t);
return r ? (r.forEach((t) => t.current = e), e) : t;
}
-function yr(e = []) {
- let t = _r(), [n, r] = fr(t), i = (0, C.useCallback)(() => {
+function br(e = []) {
+ let t = vr(), [n, r] = pr(t), i = (0, C.useCallback)(() => {
r(function* () {
yield t, yield document.getElementById(t) ? t : void 0;
});
}, [t, r]);
- return Xt(i, [
+ return Zt(i, [
t,
i,
...e
@@ -3004,60 +3004,60 @@ function yr(e = []) {
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/mergeRefs.mjs
-function br(...e) {
+function xr(...e) {
return e.length === 1 && e[0] ? e[0] : (t) => {
let n = !1, r = e.map((e) => {
- let r = xr(e, t);
+ let r = Sr(e, t);
return n ||= typeof r == "function", r;
});
if (n) return () => {
r.forEach((t, n) => {
- typeof t == "function" ? t() : xr(e[n], null);
+ typeof t == "function" ? t() : Sr(e[n], null);
});
};
};
}
-function xr(e, t) {
+function Sr(e, t) {
if (typeof e == "function") return e(t);
e != null && (e.current = t);
}
//#endregion
//#region node_modules/clsx/dist/clsx.mjs
-function Sr(e) {
+function Cr(e) {
var t, n, r = "";
if (typeof e == "string" || typeof e == "number") r += e;
else if (typeof e == "object") {
if (Array.isArray(e)) {
var i = e.length;
- for (t = 0; t < i; t++) e[t] && (n = Sr(e[t])) && (r && (r += " "), r += n);
+ for (t = 0; t < i; t++) e[t] && (n = Cr(e[t])) && (r && (r += " "), r += n);
} else for (n in e) e[n] && (r && (r += " "), r += n);
}
return r;
}
-function Cr() {
- for (var e, t, n = 0, r = "", i = arguments.length; n < i; n++) (e = arguments[n]) && (t = Sr(e)) && (r && (r += " "), r += t);
+function wr() {
+ for (var e, t, n = 0, r = "", i = arguments.length; n < i; n++) (e = arguments[n]) && (t = Cr(e)) && (r && (r += " "), r += t);
return r;
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/mergeProps.mjs
-function V(...e) {
+function B(...e) {
let t = { ...e[0] };
for (let n = 1; n < e.length; n++) {
let r = e[n];
for (let e in r) {
let n = t[e], i = r[e];
- typeof n == "function" && typeof i == "function" && e[0] === "o" && e[1] === "n" && e.charCodeAt(2) >= 65 && e.charCodeAt(2) <= 90 ? t[e] = dr(n, i) : (e === "className" || e === "UNSAFE_className") && typeof n == "string" && typeof i == "string" ? t[e] = Cr(n, i) : e === "id" && n && i ? t.id = vr(n, i) : e === "ref" && n && i ? t.ref = br(n, i) : t[e] = i === void 0 ? n : i;
+ typeof n == "function" && typeof i == "function" && e[0] === "o" && e[1] === "n" && e.charCodeAt(2) >= 65 && e.charCodeAt(2) <= 90 ? t[e] = fr(n, i) : (e === "className" || e === "UNSAFE_className") && typeof n == "string" && typeof i == "string" ? t[e] = wr(n, i) : e === "id" && n && i ? t.id = yr(n, i) : e === "ref" && n && i ? t.ref = xr(n, i) : t[e] = i === void 0 ? n : i;
}
}
return t;
}
//#endregion
//#region node_modules/react-aria/dist/private/interactions/useFocus.mjs
-function wr(e) {
+function Tr(e) {
let { isDisabled: t, onFocus: n, onBlur: r, onFocusChange: i } = e, a = (0, C.useCallback)((e) => {
- if (B(e) === e.currentTarget) return r && r(e), i && i(!1), !0;
- }, [r, i]), o = $t(a), s = (0, C.useCallback)((e) => {
- let t = B(e), r = R(t), a = r ? Lt(r) : Lt();
+ if (z(e) === e.currentTarget) return r && r(e), i && i(!1), !0;
+ }, [r, i]), o = en(a), s = (0, C.useCallback)((e) => {
+ let t = z(e), r = L(t), a = r ? Rt(r) : Rt();
t === e.currentTarget && t === a && (n && n(e), i && i(!0), o(e));
}, [
i,
@@ -3071,7 +3071,7 @@ function wr(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/interactions/createEventHandler.mjs
-function Tr(e) {
+function Er(e) {
if (e) return (t) => {
let n = !0;
e({
@@ -3096,33 +3096,33 @@ function Tr(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/interactions/createKeyboardShortcutHandler.mjs
-var Er = /* @__PURE__ */ new Set([
+var Dr = /* @__PURE__ */ new Set([
"shift",
"alt",
"control",
"meta",
"mod"
-]), Dr = [
+]), Or = [
"Alt",
"Control",
"Meta",
"Shift"
];
-function Or(e) {
- let t = /* @__PURE__ */ new Set();
- return e.alt && t.add("Alt"), e.shift && t.add("Shift"), e.ctrl && t.add("Control"), e.meta && t.add("Meta"), e.mod && t.add(on() ? "Meta" : "Control"), t;
-}
function kr(e) {
let t = /* @__PURE__ */ new Set();
- return e.altKey && t.add("Alt"), e.ctrlKey && t.add("Control"), e.metaKey && t.add("Meta"), e.shiftKey && t.add("Shift"), t;
+ return e.alt && t.add("Alt"), e.shift && t.add("Shift"), e.ctrl && t.add("Control"), e.meta && t.add("Meta"), e.mod && t.add(sn() ? "Meta" : "Control"), t;
}
function Ar(e) {
- return Dr.filter((t) => e.has(t));
+ let t = /* @__PURE__ */ new Set();
+ return e.altKey && t.add("Alt"), e.ctrlKey && t.add("Control"), e.metaKey && t.add("Meta"), e.shiftKey && t.add("Shift"), t;
}
function jr(e) {
+ return Or.filter((t) => e.has(t));
+}
+function Mr(e) {
let t = e.split("+").reduce((e, t) => {
let n = t.toLowerCase();
- return Er.has(n) ? n === "shift" ? e.shift = !0 : n === "alt" ? e.alt = !0 : n === "control" ? e.ctrl = !0 : n === "meta" ? e.meta = !0 : n === "mod" && (e.mod = !0) : e.key = t, e;
+ return Dr.has(n) ? n === "shift" ? e.shift = !0 : n === "alt" ? e.alt = !0 : n === "control" ? e.ctrl = !0 : n === "meta" ? e.meta = !0 : n === "mod" && (e.mod = !0) : e.key = t, e;
}, {
shift: !1,
alt: !1,
@@ -3134,10 +3134,10 @@ function jr(e) {
if (t.key === "") throw Error(`Invalid keyboard shortcut: "${e}". Must include exactly one non-modifier key (e.g. "a", "Enter", "ArrowDown"). Combine any of Shift, Alt, Ctrl, Meta, and Mod.`);
return t;
}
-function Mr(e) {
+function Nr(e) {
return e.toLowerCase();
}
-var Nr = {
+var Pr = {
space: " ",
esc: "escape",
del: "delete",
@@ -3149,26 +3149,26 @@ var Nr = {
pageup: "pageup",
pagedown: "pagedown"
};
-function Pr(e) {
- let t = Mr(e);
- return Nr[t] ?? t;
-}
function Fr(e) {
- let t = Ar(Or(e)), n = Pr(e.key);
- return t.length > 0 ? `${t.join("+")}+${n}` : n;
+ let t = Nr(e);
+ return Pr[t] ?? t;
}
function Ir(e) {
- let t = Ar(kr(e)), n = Mr(e.key);
- return (t.length > 0 ? `${t.join("+")}+` : "") + n;
+ let t = jr(kr(e)), n = Fr(e.key);
+ return t.length > 0 ? `${t.join("+")}+${n}` : n;
}
function Lr(e) {
+ let t = jr(Ar(e)), n = Nr(e.key);
+ return (t.length > 0 ? `${t.join("+")}+` : "") + n;
+}
+function Rr(e) {
let t = /* @__PURE__ */ new Map();
for (let [n, r] of Object.entries(e)) {
- let e = jr(n);
- t.set(Fr(e), r);
+ let e = Mr(n);
+ t.set(Ir(e), r);
}
return (e) => {
- let n = Ir(e), r = t.get(n), i = r?.(e);
+ let n = Lr(e), r = t.get(n), i = r?.(e);
i === void 0 && r !== void 0 ? i = {
shouldContinuePropagation: !1,
shouldPreventDefault: !0
@@ -3180,11 +3180,11 @@ function Lr(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/interactions/useKeyboard.mjs
-function Rr(e) {
+function zr(e) {
let { shortcuts: t, allowRepeats: n = !1, allowComposing: r = !1 } = e, i, a;
if (t) {
- let o = Lr(t), s = Tr((e) => {
- if (!z(e.currentTarget, B(e))) {
+ let o = Rr(t), s = Er((e) => {
+ if (!R(e.currentTarget, z(e))) {
e.continuePropagation();
return;
}
@@ -3193,8 +3193,8 @@ function Rr(e) {
return;
}
o(e);
- }), c = Tr((e) => {
- if (!z(e.currentTarget, B(e))) {
+ }), c = Er((e) => {
+ if (!R(e.currentTarget, z(e))) {
e.continuePropagation();
return;
}
@@ -3204,8 +3204,8 @@ function Rr(e) {
}
e.continuePropagation();
});
- i = e.onKeyDown ? dr(e.onKeyDown, s) : s, a = e.onKeyUp ? dr(e.onKeyUp, c) : c;
- } else i = Tr(e.onKeyDown), a = Tr(e.onKeyUp);
+ i = e.onKeyDown ? fr(e.onKeyDown, s) : s, a = e.onKeyUp ? fr(e.onKeyUp, c) : c;
+ } else i = Er(e.onKeyDown), a = Er(e.onKeyUp);
return { keyboardProps: e.isDisabled ? {} : {
onKeyDown: i,
onKeyUp: a
@@ -3213,7 +3213,7 @@ function Rr(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/useObjectRef.mjs
-function zr(e) {
+function Br(e) {
let t = (0, C.useRef)(null), n = (0, C.useRef)(void 0), r = (0, C.useCallback)((t) => {
if (typeof e == "function") {
let n = e, r = n(t);
@@ -3236,8 +3236,8 @@ function zr(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/useSyncRef.mjs
-function Br(e, t) {
- Xt(() => {
+function Vr(e, t) {
+ Zt(() => {
if (e && e.ref && t) return e.ref.current = t.current, () => {
e.ref && (e.ref.current = null);
};
@@ -3245,20 +3245,20 @@ function Br(e, t) {
}
//#endregion
//#region node_modules/react-aria/dist/private/interactions/useFocusable.mjs
-var Vr = /*#__PURE__*/ C.createContext(null);
-function Hr(e) {
- let t = (0, C.useContext)(Vr) || {};
- Br(t, e);
+var Hr = /*#__PURE__*/ C.createContext(null);
+function Ur(e) {
+ let t = (0, C.useContext)(Hr) || {};
+ Vr(t, e);
let { ref: n, ...r } = t;
return r;
}
-function Ur(e, t) {
- let { focusProps: n } = wr(e), { keyboardProps: r } = Rr(e), i = V(n, r), a = Hr(t), o = e.isDisabled ? {} : a, s = (0, C.useRef)(e.autoFocus);
+function Wr(e, t) {
+ let { focusProps: n } = Tr(e), { keyboardProps: r } = zr(e), i = B(n, r), a = Ur(t), o = e.isDisabled ? {} : a, s = (0, C.useRef)(e.autoFocus);
(0, C.useEffect)(() => {
- s.current && t.current && ur(t.current), s.current = !1;
+ s.current && t.current && dr(t.current), s.current = !1;
}, [t]);
let c = e.excludeFromTabOrder ? -1 : 0;
- return e.isDisabled && (c = void 0), { focusableProps: V({
+ return e.isDisabled && (c = void 0), { focusableProps: B({
...i,
tabIndex: c
}, o) };
@@ -3290,22 +3290,22 @@ typeof HTMLTemplateElement < "u" && (Object.defineProperty(HTMLTemplateElement.p
return this.content.insertBefore(e, t);
}
}));
-var Wr = /*#__PURE__*/ (0, C.createContext)(!1);
-function Gr(e) {
- if ((0, C.useContext)(Wr)) return /*#__PURE__*/ C.createElement(C.Fragment, null, e.children);
- let t = /*#__PURE__*/ C.createElement(Wr.Provider, { value: !0 }, e.children);
+var Gr = /*#__PURE__*/ (0, C.createContext)(!1);
+function Kr(e) {
+ if ((0, C.useContext)(Gr)) return /*#__PURE__*/ C.createElement(C.Fragment, null, e.children);
+ let t = /*#__PURE__*/ C.createElement(Gr.Provider, { value: !0 }, e.children);
return /*#__PURE__*/ C.createElement("template", null, t);
}
-function Kr(e) {
- let t = (t, n) => (0, C.useContext)(Wr) ? null : e(t, n);
+function qr(e) {
+ let t = (t, n) => (0, C.useContext)(Gr) ? null : e(t, n);
return t.displayName = e.displayName || e.name, (0, C.forwardRef)(t);
}
-function qr() {
- return (0, C.useContext)(Wr);
+function Jr() {
+ return (0, C.useContext)(Gr);
}
//#endregion
//#region node_modules/react-dom/cjs/react-dom.production.js
-var Jr = /* @__PURE__ */ g(((e) => {
+var Yr = /* @__PURE__ */ g(((e) => {
var t = b();
function n(e) {
var t = "https://react.dev/errors/" + e;
@@ -3433,7 +3433,7 @@ var Jr = /* @__PURE__ */ g(((e) => {
}, e.useFormStatus = function() {
return l.H.useHostTransitionStatus();
}, e.version = "19.3.0";
-})), Yr = /* @__PURE__ */ g(((e, t) => {
+})), Xr = /* @__PURE__ */ g(((e, t) => {
function n() {
if (!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ > "u" || typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE != "function")) try {
__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(n);
@@ -3441,8 +3441,8 @@ var Jr = /* @__PURE__ */ g(((e) => {
console.error(e);
}
}
- n(), t.exports = Jr();
-})), Xr = /* @__PURE__ */ g(((e) => {
+ n(), t.exports = Yr();
+})), Zr = /* @__PURE__ */ g(((e) => {
var t = b();
function n(e, t) {
return e === t && (e !== 0 || 1 / e == 1 / t) || e !== e && t !== t;
@@ -3480,47 +3480,47 @@ var Jr = /* @__PURE__ */ g(((e) => {
}
var d = typeof window > "u" || window.document === void 0 || window.document.createElement === void 0 ? u : c;
e.useSyncExternalStore = t.useSyncExternalStore === void 0 ? d : t.useSyncExternalStore;
-})), Zr = /* @__PURE__ */ g(((e, t) => {
- t.exports = Xr();
-})), Qr = /* @__PURE__ */ v(Yr(), 1), $r = Zr(), ei = /*#__PURE__*/ (0, C.createContext)(!1), ti = /*#__PURE__*/ (0, C.createContext)(null);
-function ni(e) {
- if ((0, C.useContext)(ti)) return e.content;
- let { collection: t, document: n } = oi(e.createCollection);
- return /*#__PURE__*/ C.createElement(C.Fragment, null, /*#__PURE__*/ C.createElement(Gr, null, /*#__PURE__*/ C.createElement(ti.Provider, { value: n }, e.content)), /*#__PURE__*/ C.createElement(ri, {
+})), Qr = /* @__PURE__ */ g(((e, t) => {
+ t.exports = Zr();
+})), $r = /* @__PURE__ */ v(Xr(), 1), ei = Qr(), ti = /*#__PURE__*/ (0, C.createContext)(!1), ni = /*#__PURE__*/ (0, C.createContext)(null);
+function ri(e) {
+ if ((0, C.useContext)(ni)) return e.content;
+ let { collection: t, document: n } = si(e.createCollection);
+ return /*#__PURE__*/ C.createElement(C.Fragment, null, /*#__PURE__*/ C.createElement(Kr, null, /*#__PURE__*/ C.createElement(ni.Provider, { value: n }, e.content)), /*#__PURE__*/ C.createElement(ii, {
render: e.children,
collection: t
}));
}
-function ri({ collection: e, render: t }) {
+function ii({ collection: e, render: t }) {
return t(e);
}
-function ii(e, t, n) {
- let r = Fn(), i = (0, C.useRef)(r);
+function ai(e, t, n) {
+ let r = In(), i = (0, C.useRef)(r);
i.current = r;
let a = (0, C.useCallback)(() => i.current ? n() : t(), [t, n]);
- return (0, $r.useSyncExternalStore)(e, a);
+ return (0, ei.useSyncExternalStore)(e, a);
}
-var ai = typeof C.useSyncExternalStore == "function" ? C.useSyncExternalStore : ii;
-function oi(e) {
- let [t] = (0, C.useState)(() => new bt(e?.() || new gt()));
+var oi = typeof C.useSyncExternalStore == "function" ? C.useSyncExternalStore : ai;
+function si(e) {
+ let [t] = (0, C.useState)(() => new xt(e?.() || new _t()));
return {
- collection: ai((0, C.useCallback)((e) => t.subscribe(e), [t]), (0, C.useCallback)(() => {
+ collection: oi((0, C.useCallback)((e) => t.subscribe(e), [t]), (0, C.useCallback)(() => {
let e = t.getCollection();
return t.isSSR && t.resetAfterSSR(), e;
}, [t]), (0, C.useCallback)(() => (t.isSSR = !0, t.getCollection()), [t])),
document: t
};
}
-var si = /*#__PURE__*/ (0, C.createContext)(null);
-function ci(e) {
- return class extends ft {
+var ci = /*#__PURE__*/ (0, C.createContext)(null);
+function li(e) {
+ return class extends pt {
static {
this.type = e;
}
};
}
-function li(e, t, n, r, i, a) {
- typeof e == "string" && (e = ci(e));
+function ui(e, t, n, r, i, a) {
+ typeof e == "string" && (e = li(e));
let o = (0, C.useCallback)((i) => {
i?.setProps(t, n, e, r, a);
}, [
@@ -3529,81 +3529,81 @@ function li(e, t, n, r, i, a) {
r,
a,
e
- ]), s = (0, C.useContext)(si);
+ ]), s = (0, C.useContext)(ci);
if (s) {
let o = s.ownerDocument.nodesByProps.get(t);
- return o || (o = s.ownerDocument.createElement(e.type), o.setProps(t, n, e, r, a), s.appendChild(o), s.ownerDocument.updateCollection(), s.ownerDocument.nodesByProps.set(t, o)), i ? /*#__PURE__*/ C.createElement(si.Provider, { value: o }, i) : null;
+ return o || (o = s.ownerDocument.createElement(e.type), o.setProps(t, n, e, r, a), s.appendChild(o), s.ownerDocument.updateCollection(), s.ownerDocument.nodesByProps.set(t, o)), i ? /*#__PURE__*/ C.createElement(ci.Provider, { value: o }, i) : null;
}
return /*#__PURE__*/ C.createElement(e.type, { ref: o }, i);
}
-function ui(e, t) {
+function di(e, t) {
let n = ({ node: e }) => t(e.props, e.props.ref, e), r = (0, C.forwardRef)((r, i) => {
- let a = (0, C.useContext)(Vr);
- if (!(0, C.useContext)(ei)) {
+ let a = (0, C.useContext)(Hr);
+ if (!(0, C.useContext)(ti)) {
if (t.length >= 3) throw Error(t.name + " cannot be rendered outside a collection.");
return t(r, i);
}
- return li(e, r, i, "children" in r ? r.children : null, null, (e) => /*#__PURE__*/ C.createElement(Vr.Provider, { value: a }, /*#__PURE__*/ C.createElement(n, { node: e })));
+ return ui(e, r, i, "children" in r ? r.children : null, null, (e) => /*#__PURE__*/ C.createElement(Hr.Provider, { value: a }, /*#__PURE__*/ C.createElement(n, { node: e })));
});
return r.displayName = t.name, r;
}
-function di(e, t, n = fi) {
- let r = ({ node: e }) => t(e.props, e.props.ref, e), i = (0, C.forwardRef)((t, i) => li(e, t, i, null, n(t), (e) => /*#__PURE__*/ C.createElement(r, { node: e })) ?? /*#__PURE__*/ C.createElement(C.Fragment, null));
+function fi(e, t, n = pi) {
+ let r = ({ node: e }) => t(e.props, e.props.ref, e), i = (0, C.forwardRef)((t, i) => ui(e, t, i, null, n(t), (e) => /*#__PURE__*/ C.createElement(r, { node: e })) ?? /*#__PURE__*/ C.createElement(C.Fragment, null));
return i.displayName = t.name, i;
}
-function fi(e) {
- return xt({
+function pi(e) {
+ return St({
...e,
addIdAndValue: !0
});
}
-var pi = /*#__PURE__*/ (0, C.createContext)(null);
-function mi(e) {
- let t = (0, C.useContext)(pi), n = (t?.dependencies || []).concat(e.dependencies), r = e.idScope ?? t?.idScope, i = fi({
+var mi = /*#__PURE__*/ (0, C.createContext)(null);
+function hi(e) {
+ let t = (0, C.useContext)(mi), n = (t?.dependencies || []).concat(e.dependencies), r = e.idScope ?? t?.idScope, i = pi({
...e,
idScope: r,
dependencies: n
});
- return (0, C.useContext)(ti) && (i = /*#__PURE__*/ C.createElement(hi, null, i)), t = (0, C.useMemo)(() => ({
+ return (0, C.useContext)(ni) && (i = /*#__PURE__*/ C.createElement(gi, null, i)), t = (0, C.useMemo)(() => ({
dependencies: n,
idScope: r
- }), [r, ...n]), /*#__PURE__*/ C.createElement(pi.Provider, { value: t }, i);
+ }), [r, ...n]), /*#__PURE__*/ C.createElement(mi.Provider, { value: t }, i);
}
-function hi({ children: e }) {
- let t = (0, C.useContext)(ti), n = (0, C.useMemo)(() => /*#__PURE__*/ C.createElement(ti.Provider, { value: null }, /*#__PURE__*/ C.createElement(ei.Provider, { value: !0 }, e)), [e]);
- return Fn() ? /*#__PURE__*/ C.createElement(si.Provider, { value: t }, n) : /*#__PURE__*/ (0, Qr.createPortal)(n, t);
+function gi({ children: e }) {
+ let t = (0, C.useContext)(ni), n = (0, C.useMemo)(() => /*#__PURE__*/ C.createElement(ni.Provider, { value: null }, /*#__PURE__*/ C.createElement(ti.Provider, { value: !0 }, e)), [e]);
+ return In() ? /*#__PURE__*/ C.createElement(ci.Provider, { value: t }, n) : /*#__PURE__*/ (0, $r.createPortal)(n, t);
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/constants.mjs
-var gi = "react-aria-clear-focus", _i = "react-aria-focus";
+var _i = "react-aria-clear-focus", vi = "react-aria-focus";
//#endregion
//#region node_modules/react-aria/dist/private/focus/virtualFocus.mjs
-function vi(e) {
- let t = xi(R(e));
- t !== e && (t && yi(t, e), e && bi(e, t));
+function yi(e) {
+ let t = Si(L(e));
+ t !== e && (t && bi(t, e), e && xi(e, t));
}
-function yi(e, t) {
+function bi(e, t) {
e.dispatchEvent(new FocusEvent("blur", { relatedTarget: t })), e.dispatchEvent(new FocusEvent("focusout", {
bubbles: !0,
relatedTarget: t
}));
}
-function bi(e, t) {
+function xi(e, t) {
e.dispatchEvent(new FocusEvent("focus", { relatedTarget: t })), e.dispatchEvent(new FocusEvent("focusin", {
bubbles: !0,
relatedTarget: t
}));
}
-function xi(e) {
- let t = Lt(e), n = t?.getAttribute("aria-activedescendant");
+function Si(e) {
+ let t = Rt(e), n = t?.getAttribute("aria-activedescendant");
return n && e.getElementById(n) || t;
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/keyboard.mjs
-function Si(e) {
- return on() ? e.metaKey : e.ctrlKey;
+function Ci(e) {
+ return sn() ? e.metaKey : e.ctrlKey;
}
-var Ci = /* @__PURE__ */ new Set([
+var wi = /* @__PURE__ */ new Set([
"checkbox",
"radio",
"range",
@@ -3614,15 +3614,15 @@ var Ci = /* @__PURE__ */ new Set([
"submit",
"reset"
]);
-function wi(e) {
- return e instanceof HTMLInputElement && !Ci.has(e.type) || e instanceof HTMLTextAreaElement || e instanceof HTMLElement && e.isContentEditable;
+function Ti(e) {
+ return e instanceof HTMLInputElement && !wi.has(e.type) || e instanceof HTMLTextAreaElement || e instanceof HTMLElement && e.isContentEditable;
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/useEffectEvent.mjs
-var Ti = C.useInsertionEffect ?? Xt;
-function Ei(e) {
+var Ei = C.useInsertionEffect ?? Zt;
+function Di(e) {
let t = (0, C.useRef)(null);
- return Ti(() => {
+ return Ei(() => {
t.current = e;
}, [e]), (0, C.useCallback)((...e) => {
let n = t.current;
@@ -3631,10 +3631,10 @@ function Ei(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/useEvent.mjs
-function Di(e, t, n, r) {
- let i = Ei(n), a = n == null;
+function Oi(e, t, n, r) {
+ let i = Di(n), a = n == null;
(0, C.useEffect)(() => {
- if (!(a || e.current == null)) return Nt(e.current, t, i, r);
+ if (!(a || e.current == null)) return Pt(e.current, t, i, r);
}, [
e,
t,
@@ -3644,9 +3644,9 @@ function Di(e, t, n, r) {
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/useLabels.mjs
-function Oi(e, t) {
+function ki(e, t) {
let { id: n, "aria-label": r, "aria-labelledby": i } = e;
- return n = _r(n), i && r ? i = [.../* @__PURE__ */ new Set([n, ...i.trim().split(/\s+/)])].join(" ") : i &&= i.trim().split(/\s+/).join(" "), !r && !i && t && (r = t), {
+ return n = vr(n), i && r ? i = [.../* @__PURE__ */ new Set([n, ...i.trim().split(/\s+/)])].join(" ") : i &&= i.trim().split(/\s+/).join(" "), !r && !i && t && (r = t), {
id: n,
"aria-label": r,
"aria-labelledby": i
@@ -3654,7 +3654,7 @@ function Oi(e, t) {
}
//#endregion
//#region node_modules/react-aria/dist/private/i18n/utils.mjs
-var ki = /* @__PURE__ */ new Set([
+var Ai = /* @__PURE__ */ new Set([
"Arab",
"Syrc",
"Samr",
@@ -3665,7 +3665,7 @@ var ki = /* @__PURE__ */ new Set([
"Adlm",
"Rohg",
"Hebr"
-]), Ai = /* @__PURE__ */ new Set([
+]), ji = /* @__PURE__ */ new Set([
"ae",
"ar",
"arc",
@@ -3686,20 +3686,20 @@ var ki = /* @__PURE__ */ new Set([
"ur",
"yi"
]);
-function ji(e) {
+function Mi(e) {
if (Intl.Locale) {
let t = new Intl.Locale(e).maximize(), n = typeof t.getTextInfo == "function" ? t.getTextInfo() : t.textInfo;
if (n) return n.direction === "rtl";
- if (t.script) return ki.has(t.script);
+ if (t.script) return Ai.has(t.script);
}
let t = e.split("-")[0];
- return Ai.has(t);
+ return ji.has(t);
}
//#endregion
//#region node_modules/react-aria/dist/private/i18n/useDefaultLocale.mjs
-var Mi = Symbol.for("react-aria.i18n.locale");
-function Ni() {
- let e = typeof window < "u" && window[Mi] || typeof navigator < "u" && (navigator.language || navigator.userLanguage) || "en-US";
+var Ni = Symbol.for("react-aria.i18n.locale");
+function Pi() {
+ let e = typeof window < "u" && window[Ni] || typeof navigator < "u" && (navigator.language || navigator.userLanguage) || "en-US";
try {
Intl.DateTimeFormat.supportedLocalesOf([e]);
} catch {
@@ -3707,33 +3707,33 @@ function Ni() {
}
return {
locale: e,
- direction: ji(e) ? "rtl" : "ltr"
+ direction: Mi(e) ? "rtl" : "ltr"
};
}
-var Pi = Ni(), Fi = /* @__PURE__ */ new Set();
-function Ii() {
- Pi = Ni();
- for (let e of Fi) e(Pi);
-}
+var Fi = Pi(), Ii = /* @__PURE__ */ new Set();
function Li() {
- let e = Fn(), [t, n] = (0, C.useState)(Pi);
- return (0, C.useEffect)(() => (Fi.size === 0 && window.addEventListener("languagechange", Ii), Fi.add(n), () => {
- Fi.delete(n), Fi.size === 0 && window.removeEventListener("languagechange", Ii);
+ Fi = Pi();
+ for (let e of Ii) e(Fi);
+}
+function Ri() {
+ let e = In(), [t, n] = (0, C.useState)(Fi);
+ return (0, C.useEffect)(() => (Ii.size === 0 && window.addEventListener("languagechange", Li), Ii.add(n), () => {
+ Ii.delete(n), Ii.size === 0 && window.removeEventListener("languagechange", Li);
}), []), e ? {
- locale: typeof window < "u" && window[Mi] || "en-US",
+ locale: typeof window < "u" && window[Ni] || "en-US",
direction: "ltr"
} : t;
}
//#endregion
//#region node_modules/react-aria/dist/private/i18n/I18nProvider.mjs
-var Ri = /*#__PURE__*/ C.createContext(null);
-function zi() {
- let e = Li();
- return (0, C.useContext)(Ri) || e;
+var zi = /*#__PURE__*/ C.createContext(null);
+function Bi() {
+ let e = Ri();
+ return (0, C.useContext)(zi) || e;
}
//#endregion
//#region node_modules/@internationalized/string/dist/private/LocalizedStringDictionary.mjs
-var Bi = Symbol.for("react-aria.i18n.locale"), Vi = Symbol.for("react-aria.i18n.strings"), Hi = void 0, Ui = class e {
+var Vi = Symbol.for("react-aria.i18n.locale"), Hi = Symbol.for("react-aria.i18n.strings"), Ui = void 0, Wi = class e {
constructor(e, t = "en-US") {
this.strings = Object.fromEntries(Object.entries(e).filter(([, e]) => e)), this.defaultLocale = t;
}
@@ -3744,39 +3744,39 @@ var Bi = Symbol.for("react-aria.i18n.locale"), Vi = Symbol.for("react-aria.i18n.
}
getStringsForLocale(e) {
let t = this.strings[e];
- return t || (t = Wi(e, this.strings, this.defaultLocale), this.strings[e] = t), t;
+ return t || (t = Gi(e, this.strings, this.defaultLocale), this.strings[e] = t), t;
}
static getGlobalDictionaryForPackage(t) {
if (typeof window > "u") return null;
- let n = window[Bi];
- if (Hi === void 0) {
- let t = window[Vi];
+ let n = window[Vi];
+ if (Ui === void 0) {
+ let t = window[Hi];
if (!t) return null;
- Hi = {};
- for (let r in t) Hi[r] = new e({ [n]: t[r] }, n);
+ Ui = {};
+ for (let r in t) Ui[r] = new e({ [n]: t[r] }, n);
}
- let r = Hi?.[t];
+ let r = Ui?.[t];
if (!r) throw Error(`Strings for package "${t}" were not included by LocalizedStringProvider. Please add it to the list passed to createLocalizedStringDictionary.`);
return r;
}
};
-function Wi(e, t, n = "en-US") {
+function Gi(e, t, n = "en-US") {
if (t[e]) return t[e];
- let r = Gi(e), i = Ki(e);
+ let r = Ki(e), i = qi(e);
if (i && t[`${r}-${i}`]) return t[`${r}-${i}`];
if (t[r]) return t[r];
for (let e in t) if (e.startsWith(r + "-")) return t[e];
return t[n];
}
-function Gi(e) {
+function Ki(e) {
return Intl.Locale ? new Intl.Locale(e).language : e.split("-")[0];
}
-function Ki(e) {
+function qi(e) {
if (Intl.Locale) return new Intl.Locale(e).script;
}
//#endregion
//#region node_modules/@internationalized/string/dist/private/LocalizedStringFormatter.mjs
-var qi = /* @__PURE__ */ new Map(), Ji = /* @__PURE__ */ new Map(), Yi = class {
+var Ji = /* @__PURE__ */ new Map(), Yi = /* @__PURE__ */ new Map(), Xi = class {
constructor(e, t) {
this.locale = e, this.strings = t;
}
@@ -3787,37 +3787,37 @@ var qi = /* @__PURE__ */ new Map(), Ji = /* @__PURE__ */ new Map(), Yi = class {
plural(e, t, n = "cardinal") {
let r = t["=" + e];
if (r) return typeof r == "function" ? r() : r;
- let i = this.locale + ":" + n, a = qi.get(i);
- return a || (a = new Intl.PluralRules(this.locale, { type: n }), qi.set(i, a)), r = t[a.select(e)] || t.other, typeof r == "function" ? r() : r;
+ let i = this.locale + ":" + n, a = Ji.get(i);
+ return a || (a = new Intl.PluralRules(this.locale, { type: n }), Ji.set(i, a)), r = t[a.select(e)] || t.other, typeof r == "function" ? r() : r;
}
number(e) {
- let t = Ji.get(this.locale);
- return t || (t = new Intl.NumberFormat(this.locale), Ji.set(this.locale, t)), t.format(e);
+ let t = Yi.get(this.locale);
+ return t || (t = new Intl.NumberFormat(this.locale), Yi.set(this.locale, t)), t.format(e);
}
select(e, t) {
let n = e[t] || e.other;
return typeof n == "function" ? n() : n;
}
-}, Xi = /* @__PURE__ */ new WeakMap();
-function Zi(e) {
- let t = Xi.get(e);
- return t || (t = new Ui(e), Xi.set(e, t)), t;
-}
-function Qi(e, t) {
- return t && Ui.getGlobalDictionaryForPackage(t) || Zi(e);
+}, Zi = /* @__PURE__ */ new WeakMap();
+function Qi(e) {
+ let t = Zi.get(e);
+ return t || (t = new Wi(e), Zi.set(e, t)), t;
}
function $i(e, t) {
- let { locale: n } = zi(), r = Qi(e, t);
- return (0, C.useMemo)(() => new Yi(n, r), [n, r]);
+ return t && Wi.getGlobalDictionaryForPackage(t) || Qi(e);
+}
+function ea(e, t) {
+ let { locale: n } = Bi(), r = $i(e, t);
+ return (0, C.useMemo)(() => new Xi(n, r), [n, r]);
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/filterDOMProps.mjs
-var ea = /* @__PURE__ */ new Set(["id"]), ta = /* @__PURE__ */ new Set([
+var ta = /* @__PURE__ */ new Set(["id"]), na = /* @__PURE__ */ new Set([
"aria-label",
"aria-labelledby",
"aria-describedby",
"aria-details"
-]), na = /* @__PURE__ */ new Set([
+]), ra = /* @__PURE__ */ new Set([
"href",
"hrefLang",
"target",
@@ -3825,71 +3825,71 @@ var ea = /* @__PURE__ */ new Set(["id"]), ta = /* @__PURE__ */ new Set([
"download",
"ping",
"referrerPolicy"
-]), ra = /* @__PURE__ */ new Set([
+]), ia = /* @__PURE__ */ new Set([
"dir",
"lang",
"hidden",
"inert",
"translate"
-]), ia = /* @__PURE__ */ new Set(/* @__PURE__ */ "onClick.onAuxClick.onContextMenu.onDoubleClick.onMouseDown.onMouseEnter.onMouseLeave.onMouseMove.onMouseOut.onMouseOver.onMouseUp.onTouchCancel.onTouchEnd.onTouchMove.onTouchStart.onPointerDown.onPointerMove.onPointerUp.onPointerCancel.onPointerEnter.onPointerLeave.onPointerOver.onPointerOut.onGotPointerCapture.onLostPointerCapture.onScroll.onWheel.onAnimationStart.onAnimationEnd.onAnimationIteration.onTransitionCancel.onTransitionEnd.onTransitionRun.onTransitionStart".split(".")), aa = /^(data-.*)$/;
-function H(e, t = {}) {
+]), aa = /* @__PURE__ */ new Set(/* @__PURE__ */ "onClick.onAuxClick.onContextMenu.onDoubleClick.onMouseDown.onMouseEnter.onMouseLeave.onMouseMove.onMouseOut.onMouseOver.onMouseUp.onTouchCancel.onTouchEnd.onTouchMove.onTouchStart.onPointerDown.onPointerMove.onPointerUp.onPointerCancel.onPointerEnter.onPointerLeave.onPointerOver.onPointerOut.onGotPointerCapture.onLostPointerCapture.onScroll.onWheel.onAnimationStart.onAnimationEnd.onAnimationIteration.onTransitionCancel.onTransitionEnd.onTransitionRun.onTransitionStart".split(".")), oa = /^(data-.*)$/;
+function V(e, t = {}) {
let { labelable: n, isLink: r, global: i, events: a = i, propNames: o } = t, s = {};
- for (let t in e) Object.prototype.hasOwnProperty.call(e, t) && (ea.has(t) || n && ta.has(t) || r && na.has(t) || i && ra.has(t) || a && (ia.has(t) || t.endsWith("Capture") && ia.has(t.slice(0, -7))) || o?.has(t) || aa.test(t)) && (s[t] = e[t]);
+ for (let t in e) Object.prototype.hasOwnProperty.call(e, t) && (ta.has(t) || n && na.has(t) || r && ra.has(t) || i && ia.has(t) || a && (aa.has(t) || t.endsWith("Capture") && aa.has(t.slice(0, -7))) || o?.has(t) || oa.test(t)) && (s[t] = e[t]);
return s;
}
//#endregion
//#region node_modules/react-aria/dist/private/interactions/textSelection.mjs
-var oa = "default", sa = "", ca = /* @__PURE__ */ new WeakMap();
-function la(e) {
- if (ln() && dn()) {
- if (oa === "default") {
- let t = R(e);
- sa = t.documentElement.style.webkitUserSelect, t.documentElement.style.webkitUserSelect = "none";
- }
- oa = "disabled";
+var sa = "default", ca = "", la = /* @__PURE__ */ new WeakMap();
+function ua(e) {
+ if (un() && fn()) {
+ if (sa === "default") {
+ let t = L(e);
+ ca = t.documentElement.style.webkitUserSelect, t.documentElement.style.webkitUserSelect = "none";
+ }
+ sa = "disabled";
} else if (e instanceof HTMLElement || e instanceof SVGElement) {
let t = "userSelect" in e.style ? "userSelect" : "webkitUserSelect";
- ca.set(e, e.style[t]), e.style[t] = "none";
+ la.set(e, e.style[t]), e.style[t] = "none";
}
}
-function ua(e) {
- if (ln() && dn()) {
- if (oa !== "disabled") return;
- oa = "restoring", setTimeout(() => {
- lr(() => {
- if (oa === "restoring") {
- let t = R(e);
- t.documentElement.style.webkitUserSelect === "none" && (t.documentElement.style.webkitUserSelect = sa || ""), sa = "", oa = "default";
+function da(e) {
+ if (un() && fn()) {
+ if (sa !== "disabled") return;
+ sa = "restoring", setTimeout(() => {
+ ur(() => {
+ if (sa === "restoring") {
+ let t = L(e);
+ t.documentElement.style.webkitUserSelect === "none" && (t.documentElement.style.webkitUserSelect = ca || ""), ca = "", sa = "default";
}
});
}, 300);
- } else if ((e instanceof HTMLElement || e instanceof SVGElement) && e && ca.has(e)) {
- let t = ca.get(e), n = "userSelect" in e.style ? "userSelect" : "webkitUserSelect";
- e.style[n] === "none" && (e.style[n] = t), e.getAttribute("style") === "" && e.removeAttribute("style"), ca.delete(e);
+ } else if ((e instanceof HTMLElement || e instanceof SVGElement) && e && la.has(e)) {
+ let t = la.get(e), n = "userSelect" in e.style ? "userSelect" : "webkitUserSelect";
+ e.style[n] === "none" && (e.style[n] = t), e.getAttribute("style") === "" && e.removeAttribute("style"), la.delete(e);
}
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/getMetaValue.mjs
-function da(e, t) {
- let n = Ot(t), r = R(t);
+function fa(e, t) {
+ let n = kt(t), r = L(t);
if (r == null || n == null) return;
let i, a = `meta[name="${CSS.escape(e)}"], meta[property="${CSS.escape(e)}"]`, o = r.querySelector(a);
return o && o instanceof n.HTMLMetaElement && (e === "csp-nonce" && o.nonce && (i ??= o.nonce || void 0), o.content && (i ??= o.content || void 0)), e === "csp-nonce" && (i ??= n.__webpack_nonce__ || globalThis.__webpack_nonce__ || void 0), i;
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/getNonce.mjs
-var fa = /* @__PURE__ */ new WeakMap();
-function pa(e) {
- let t = R(e), n = fa.get(t);
- return n ??= da("csp-nonce", t), n !== void 0 && fa.set(t, n), n;
+var pa = /* @__PURE__ */ new WeakMap();
+function ma(e) {
+ let t = L(e), n = pa.get(t);
+ return n ??= fa("csp-nonce", t), n !== void 0 && pa.set(t, n), n;
}
//#endregion
//#region node_modules/react-aria/dist/private/interactions/context.mjs
-var ma = C.createContext({ register: () => {} });
-ma.displayName = "PressResponderContext";
+var ha = C.createContext({ register: () => {} });
+ha.displayName = "PressResponderContext";
//#endregion
//#region node_modules/react-aria/dist/private/utils/useGlobalListeners.mjs
-function ha() {
+function ga() {
let e = (0, C.useRef)(/* @__PURE__ */ new Map()), t = (0, C.useCallback)((t, n, r, i) => {
let a = i?.once ? (...t) => {
e.current.delete(r), r(...t);
@@ -3916,15 +3916,15 @@ function ha() {
}
//#endregion
//#region node_modules/react-aria/dist/private/interactions/usePress.mjs
-function ga(e) {
- let t = (0, C.useContext)(ma);
+function _a(e) {
+ let t = (0, C.useContext)(ha);
if (t) {
let { register: n, ref: r, ...i } = t;
- e = V(i, e), n();
+ e = B(i, e), n();
}
- return Br(t, e.ref), e;
+ return Vr(t, e.ref), e;
}
-var _a = class {
+var va = class {
#e;
constructor(e, t, n, r) {
this.#e = !0;
@@ -3937,9 +3937,9 @@ var _a = class {
get shouldStopPropagation() {
return this.#e;
}
-}, va = Symbol("linkClicked"), ya = "react-aria-pressable-style", ba = "data-react-aria-pressable";
-function xa(e) {
- let { onPress: t, onPressChange: n, onPressStart: r, onPressEnd: i, onPressUp: a, onClick: o, isDisabled: s, isPressed: c, preventFocusOnPress: l, shouldCancelOnPointerExit: u, allowTextSelectionOnPress: d, ref: f, ...p } = ga(e), [m, h] = (0, C.useState)(!1), g = (0, C.useRef)({
+}, ya = Symbol("linkClicked"), ba = "react-aria-pressable-style", xa = "data-react-aria-pressable";
+function Sa(e) {
+ let { onPress: t, onPressChange: n, onPressStart: r, onPressEnd: i, onPressUp: a, onClick: o, isDisabled: s, isPressed: c, preventFocusOnPress: l, shouldCancelOnPointerExit: u, allowTextSelectionOnPress: d, ref: f, ...p } = _a(e), [m, h] = (0, C.useState)(!1), g = (0, C.useRef)({
isPressed: !1,
ignoreEmulatedMouseEvents: !1,
didFirePressStart: !1,
@@ -3949,12 +3949,12 @@ function xa(e) {
isOverTarget: !1,
pointerType: null,
disposables: []
- }), { addGlobalListener: _, removeAllGlobalListeners: v } = ha(), y = (0, C.useCallback)((e, t) => {
+ }), { addGlobalListener: _, removeAllGlobalListeners: v } = ga(), y = (0, C.useCallback)((e, t) => {
let i = g.current;
if (s || i.didFirePressStart) return !1;
let a = !0;
if (i.isTriggeringEvent = !0, r) {
- let n = new _a("pressstart", t, e);
+ let n = new va("pressstart", t, e);
r(n), a = n.shouldStopPropagation;
}
return n && n(!0), i.isTriggeringEvent = !1, i.didFirePressStart = !0, h(!0), a;
@@ -3968,11 +3968,11 @@ function xa(e) {
o.didFirePressStart = !1, o.isTriggeringEvent = !0;
let c = !0;
if (i) {
- let t = new _a("pressend", r, e);
+ let t = new va("pressend", r, e);
i(t), c = t.shouldStopPropagation;
}
if (n && n(!1), h(!1), t && a && !s) {
- let n = new _a("press", r, e);
+ let n = new va("press", r, e);
t(n), c &&= n.shouldStopPropagation;
}
return o.isTriggeringEvent = !1, c;
@@ -3981,19 +3981,19 @@ function xa(e) {
i,
n,
t
- ]), x = Ei(b), S = Ei((0, C.useCallback)((e, t) => {
+ ]), x = Di(b), S = Di((0, C.useCallback)((e, t) => {
let n = g.current;
if (s) return !1;
if (a) {
n.isTriggeringEvent = !0;
- let r = new _a("pressup", t, e);
+ let r = new va("pressup", t, e);
return a(r), n.isTriggeringEvent = !1, r.shouldStopPropagation;
}
return !0;
}, [s, a])), w = (0, C.useCallback)((e) => {
let t = g.current;
if (t.isPressed && t.target) {
- t.didFirePressStart && t.pointerType != null && b(wa(t.target, e), t.pointerType, !1), t.isPressed = !1, t.isOverTarget = !1, t.activePointerId = null, t.pointerType = null, v(), d || ua(t.target);
+ t.didFirePressStart && t.pointerType != null && b(Ta(t.target, e), t.pointerType, !1), t.isPressed = !1, t.isOverTarget = !1, t.activePointerId = null, t.pointerType = null, v(), d || da(t.target);
for (let e of t.disposables) e();
t.disposables = [];
}
@@ -4001,7 +4001,7 @@ function xa(e) {
d,
v,
b
- ]), T = Ei(w);
+ ]), T = Di(w);
(0, C.useEffect)(() => {
s && g.current.isPressed && T({
currentTarget: g.current.target,
@@ -4018,39 +4018,39 @@ function xa(e) {
}, [s, o]), O = (0, C.useCallback)((e, t) => {
if (!s && o) {
let n = new MouseEvent("click", e);
- Qt(n, t), o(Zt(n));
+ $t(n, t), o(Qt(n));
}
}, [s, o]), k = (0, C.useMemo)(() => {
let e = g.current, t = {
onKeyDown(t) {
- if (Ca(t.nativeEvent, t.currentTarget) && z(t.currentTarget, B(t))) {
- Ea(B(t), t.key) && t.preventDefault();
+ if (wa(t.nativeEvent, t.currentTarget) && R(t.currentTarget, z(t))) {
+ Da(z(t), t.key) && t.preventDefault();
let r = !0;
!e.isPressed && !t.repeat && (e.target = t.currentTarget, e.isPressed = !0, e.pointerType = "keyboard", r = y(t, "keyboard"));
let i = t.currentTarget;
- _(R(t.currentTarget), "keyup", dr((t) => {
- Ca(t, i) && !t.repeat && z(i, B(t)) && e.target && S(wa(e.target, t), "keyboard");
- }, n), !0), r && t.stopPropagation(), t.metaKey && on() && e.metaKeyEvents?.set(t.key, t.nativeEvent);
+ _(L(t.currentTarget), "keyup", fr((t) => {
+ wa(t, i) && !t.repeat && R(i, z(t)) && e.target && S(Ta(e.target, t), "keyboard");
+ }, n), !0), r && t.stopPropagation(), t.metaKey && sn() && e.metaKeyEvents?.set(t.key, t.nativeEvent);
} else t.key === "Meta" && (e.metaKeyEvents = /* @__PURE__ */ new Map());
},
onClick(t) {
- if (!(t && !z(t.currentTarget, B(t))) && t && t.button === 0 && !e.isTriggeringEvent && !yn.isOpening) {
+ if (!(t && !R(t.currentTarget, z(t))) && t && t.button === 0 && !e.isTriggeringEvent && !bn.isOpening) {
let n = !0;
- if (s && t.preventDefault(), !e.ignoreEmulatedMouseEvents && !e.isPressed && (e.pointerType === "virtual" || hn(t.nativeEvent))) {
+ if (s && t.preventDefault(), !e.ignoreEmulatedMouseEvents && !e.isPressed && (e.pointerType === "virtual" || gn(t.nativeEvent))) {
let e = y(t, "virtual"), r = S(t, "virtual"), i = x(t, "virtual");
D(t), n = e && r && i;
} else if (e.isPressed && e.pointerType !== "keyboard") {
- let r = e.pointerType || t.nativeEvent.pointerType || "virtual", i = S(wa(t.currentTarget, t), r), a = x(wa(t.currentTarget, t), r, !0);
+ let r = e.pointerType || t.nativeEvent.pointerType || "virtual", i = S(Ta(t.currentTarget, t), r), a = x(Ta(t.currentTarget, t), r, !0);
n = i && a, e.isOverTarget = !1, D(t), T(t);
}
e.ignoreEmulatedMouseEvents = !1, n && t.stopPropagation();
}
}
}, n = (t) => {
- if (e.isPressed && e.target && Ca(t, e.target)) {
- Ea(B(t), t.key) && t.preventDefault();
- let n = B(t), r = z(e.target, n);
- x(wa(e.target, t), "keyboard", r), r && O(t, e.target), v(), t.key !== "Enter" && Sa(e.target) && z(e.target, n) && !t[va] && (t[va] = !0, yn(e.target, t, !1)), e.isPressed = !1, e.metaKeyEvents?.delete(t.key);
+ if (e.isPressed && e.target && wa(t, e.target)) {
+ Da(z(t), t.key) && t.preventDefault();
+ let n = z(t), r = R(e.target, n);
+ x(Ta(e.target, t), "keyboard", r), r && O(t, e.target), v(), t.key !== "Enter" && Ca(e.target) && R(e.target, n) && !t[ya] && (t[ya] = !0, bn(e.target, t, !1)), e.isPressed = !1, e.metaKeyEvents?.delete(t.key);
} else if (t.key === "Meta" && e.metaKeyEvents?.size) {
let t = e.metaKeyEvents;
e.metaKeyEvents = void 0;
@@ -4059,39 +4059,39 @@ function xa(e) {
};
if (typeof PointerEvent < "u") {
t.onPointerDown = (t) => {
- if (t.button !== 0 || !z(t.currentTarget, B(t))) return;
- if (gn(t.nativeEvent)) {
+ if (t.button !== 0 || !R(t.currentTarget, z(t))) return;
+ if (_n(t.nativeEvent)) {
e.pointerType = "virtual";
return;
}
e.pointerType = t.pointerType;
let i = !0;
if (!e.isPressed) {
- e.isPressed = !0, e.isOverTarget = !0, e.activePointerId = t.pointerId, e.target = t.currentTarget, d || la(e.target), i = y(t, e.pointerType);
- let a = B(t);
- "releasePointerCapture" in a && ("hasPointerCapture" in a ? a.hasPointerCapture(t.pointerId) && a.releasePointerCapture(t.pointerId) : a.releasePointerCapture(t.pointerId)), _(R(t.currentTarget), "pointerup", n, !1), _(R(t.currentTarget), "pointercancel", r, !1);
+ e.isPressed = !0, e.isOverTarget = !0, e.activePointerId = t.pointerId, e.target = t.currentTarget, d || ua(e.target), i = y(t, e.pointerType);
+ let a = z(t);
+ "releasePointerCapture" in a && ("hasPointerCapture" in a ? a.hasPointerCapture(t.pointerId) && a.releasePointerCapture(t.pointerId) : a.releasePointerCapture(t.pointerId)), _(L(t.currentTarget), "pointerup", n, !1), _(L(t.currentTarget), "pointercancel", r, !1);
}
i && t.stopPropagation();
}, t.onMouseDown = (t) => {
- if (z(t.currentTarget, B(t)) && t.button === 0) {
+ if (R(t.currentTarget, z(t)) && t.button === 0) {
if (l) {
- let n = tn(t.target);
+ let n = nn(t.target);
n && e.disposables.push(n);
}
t.stopPropagation();
}
}, t.onPointerUp = (t) => {
- !z(t.currentTarget, B(t)) || e.pointerType === "virtual" || t.button === 0 && !e.isPressed && S(t, e.pointerType || t.pointerType);
+ !R(t.currentTarget, z(t)) || e.pointerType === "virtual" || t.button === 0 && !e.isPressed && S(t, e.pointerType || t.pointerType);
}, t.onPointerEnter = (t) => {
- t.pointerId === e.activePointerId && e.target && !e.isOverTarget && e.pointerType != null && (e.isOverTarget = !0, y(wa(e.target, t), e.pointerType));
+ t.pointerId === e.activePointerId && e.target && !e.isOverTarget && e.pointerType != null && (e.isOverTarget = !0, y(Ta(e.target, t), e.pointerType));
}, t.onPointerLeave = (t) => {
- t.pointerId === e.activePointerId && e.target && e.isOverTarget && e.pointerType != null && (e.isOverTarget = !1, x(wa(e.target, t), e.pointerType, !1), E(t));
+ t.pointerId === e.activePointerId && e.target && e.isOverTarget && e.pointerType != null && (e.isOverTarget = !1, x(Ta(e.target, t), e.pointerType, !1), E(t));
};
let n = (t) => {
if (t.pointerId === e.activePointerId && e.isPressed && t.button === 0 && e.target) {
- if (z(e.target, B(t)) && e.pointerType != null) {
+ if (R(e.target, z(t)) && e.pointerType != null) {
let n = !1, r = setTimeout(() => {
- e.isPressed && e.target instanceof HTMLElement && (n ? T(t) : (Ct(e.target), e.target.click()));
+ e.isPressed && e.target instanceof HTMLElement && (n ? T(t) : (wt(e.target), e.target.click()));
}, 80);
_(t.currentTarget, "click", () => n = !0, !0), e.disposables.push(() => clearTimeout(r));
} else T(t);
@@ -4101,7 +4101,7 @@ function xa(e) {
T(e);
};
t.onDragStart = (e) => {
- z(e.currentTarget, B(e)) && T(e);
+ R(e.currentTarget, z(e)) && T(e);
};
}
return t;
@@ -4118,14 +4118,14 @@ function xa(e) {
]);
return (0, C.useEffect)(() => {
if (!f) return;
- let e = R(f.current);
- if (!e || !e.head || e.getElementById(ya)) return;
+ let e = L(f.current);
+ if (!e || !e.head || e.getElementById(ba)) return;
let t = e.createElement("style");
- t.id = ya;
- let n = pa(e);
+ t.id = ba;
+ let n = ma(e);
n && (t.nonce = n), t.textContent = `
@layer {
- [${ba}] {
+ [${xa}] {
touch-action: pan-x pan-y pinch-zoom;
}
}
@@ -4133,23 +4133,23 @@ function xa(e) {
}, [f]), (0, C.useEffect)(() => {
let e = g.current;
return () => {
- d || ua(e.target ?? void 0);
+ d || da(e.target ?? void 0);
for (let t of e.disposables) t();
e.disposables = [];
};
}, [d]), {
isPressed: c || m,
- pressProps: V(p, k, { [ba]: !0 })
+ pressProps: B(p, k, { [xa]: !0 })
};
}
-function Sa(e) {
+function Ca(e) {
return e.tagName === "A" && e.hasAttribute("href");
}
-function Ca(e, t) {
+function wa(e, t) {
let { key: n, code: r } = e, i = t, a = i.getAttribute("role");
- return (n === "Enter" || n === " " || n === "Spacebar" || r === "Space") && !(i instanceof Ot(i).HTMLInputElement && !Oa(i, n) || i instanceof Ot(i).HTMLTextAreaElement || i.isContentEditable) && !((a === "link" || !a && Sa(i)) && n !== "Enter");
+ return (n === "Enter" || n === " " || n === "Spacebar" || r === "Space") && !(i instanceof kt(i).HTMLInputElement && !ka(i, n) || i instanceof kt(i).HTMLTextAreaElement || i.isContentEditable) && !((a === "link" || !a && Ca(i)) && n !== "Enter");
}
-function wa(e, t) {
+function Ta(e, t) {
let n = t.clientX, r = t.clientY;
return {
currentTarget: e,
@@ -4162,13 +4162,13 @@ function wa(e, t) {
key: t.key
};
}
-function Ta(e) {
- return e instanceof HTMLInputElement ? !1 : e instanceof HTMLButtonElement ? e.type !== "submit" && e.type !== "reset" : !Sa(e);
+function Ea(e) {
+ return e instanceof HTMLInputElement ? !1 : e instanceof HTMLButtonElement ? e.type !== "submit" && e.type !== "reset" : !Ca(e);
}
-function Ea(e, t) {
- return on() && t === "Enter" ? !1 : e instanceof HTMLInputElement ? t === "Enter" && (e.type === "checkbox" || e.type === "radio") ? !1 : !Oa(e, t) : Ta(e);
+function Da(e, t) {
+ return sn() && t === "Enter" ? !1 : e instanceof HTMLInputElement ? t === "Enter" && (e.type === "checkbox" || e.type === "radio") ? !1 : !ka(e, t) : Ea(e);
}
-var Da = /* @__PURE__ */ new Set([
+var Oa = /* @__PURE__ */ new Set([
"checkbox",
"radio",
"range",
@@ -4179,12 +4179,12 @@ var Da = /* @__PURE__ */ new Set([
"submit",
"reset"
]);
-function Oa(e, t) {
- return e.type === "checkbox" || e.type === "radio" ? t === " " : Da.has(e.type);
+function ka(e, t) {
+ return e.type === "checkbox" || e.type === "radio" ? t === " " : Oa.has(e.type);
}
//#endregion
//#region node_modules/react-aria/dist/private/button/useButton.mjs
-function ka(e, t) {
+function Aa(e, t) {
let { elementType: n = "button", isDisabled: r, onPress: i, onPressStart: a, onPressEnd: o, onPressUp: s, onPressChange: c, preventFocusOnPress: l, allowFocusWhenDisabled: u, onClick: d, href: f, target: p, rel: m, type: h = "button" } = e, g;
g = n === "button" ? {
type: h,
@@ -4206,7 +4206,7 @@ function ka(e, t) {
"aria-disabled": !r || n === "input" ? void 0 : r,
rel: n === "a" ? m : void 0
};
- let { pressProps: _, isPressed: v } = xa({
+ let { pressProps: _, isPressed: v } = Sa({
onPressStart: a,
onPressEnd: o,
onPressChange: c,
@@ -4216,12 +4216,12 @@ function ka(e, t) {
isDisabled: r,
preventFocusOnPress: l,
ref: t
- }), { focusableProps: y } = Ur(e, t);
+ }), { focusableProps: y } = Wr(e, t);
u && (y.tabIndex = r ? -1 : y.tabIndex);
- let b = V(y, _, H(e, { labelable: !0 }));
+ let b = B(y, _, V(e, { labelable: !0 }));
return {
isPressed: v,
- buttonProps: V(g, b, {
+ buttonProps: B(g, b, {
"aria-haspopup": e["aria-haspopup"],
"aria-expanded": e["aria-expanded"],
"aria-controls": e["aria-controls"],
@@ -4233,7 +4233,7 @@ function ka(e, t) {
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/shadowdom/ShadowTreeWalker.mjs
-var Aa = class {
+var ja = class {
constructor(e, t, n, r) {
this._walkerStack = [], this._currentSetFor = /* @__PURE__ */ new Set(), this._acceptNode = (e) => {
if (e.nodeType === Node.ELEMENT_NODE) {
@@ -4258,7 +4258,7 @@ var Aa = class {
return this._currentNode;
}
set currentNode(e) {
- if (!z(this.root, e)) throw Error("Cannot set currentNode to a node that is not contained by the root node.");
+ if (!R(this.root, e)) throw Error("Cannot set currentNode to a node that is not contained by the root node.");
let t = [], n = e, r = e;
for (this._currentNode = e; n && n !== this.root;) if (n.nodeType === Node.DOCUMENT_FRAGMENT_NODE) {
let e = n, i = this._doc.createTreeWalker(e, this.whatToShow, { acceptNode: this._acceptNode });
@@ -4272,7 +4272,7 @@ var Aa = class {
}
firstChild() {
let e = this.currentNode, t = this.nextNode();
- return z(e, t) ? (t && (this.currentNode = t), t) : (this.currentNode = e, null);
+ return R(e, t) ? (t && (this.currentNode = t), t) : (this.currentNode = e, null);
}
lastChild() {
let e = this._walkerStack[0].lastChild();
@@ -4336,45 +4336,45 @@ var Aa = class {
return null;
}
};
-function ja(e, t, n, r) {
- return It() ? new Aa(e, t, n, r) : e.createTreeWalker(t, n, r);
+function Ma(e, t, n, r) {
+ return Lt() ? new ja(e, t, n, r) : e.createTreeWalker(t, n, r);
}
//#endregion
//#region node_modules/react-aria/dist/private/focus/FocusScope.mjs
-var Ma = /*#__PURE__*/ C.createContext(null), Na = "react-aria-focus-scope-restore", Pa = null;
-function Fa(e) {
- let { children: t, contain: n, restoreFocus: r, autoFocus: i } = e, a = (0, C.useRef)(null), o = (0, C.useRef)(null), s = (0, C.useRef)([]), { parentNode: c } = (0, C.useContext)(Ma) || {}, l = (0, C.useMemo)(() => new ro({ scopeRef: s }), [s]);
- Xt(() => {
- let e = c || io.root;
- if (io.getTreeNode(e.scopeRef) && Pa && !Ka(Pa, e.scopeRef)) {
- let t = io.getTreeNode(Pa);
+var Na = /*#__PURE__*/ C.createContext(null), Pa = "react-aria-focus-scope-restore", Fa = null;
+function Ia(e) {
+ let { children: t, contain: n, restoreFocus: r, autoFocus: i } = e, a = (0, C.useRef)(null), o = (0, C.useRef)(null), s = (0, C.useRef)([]), { parentNode: c } = (0, C.useContext)(Na) || {}, l = (0, C.useMemo)(() => new io({ scopeRef: s }), [s]);
+ Zt(() => {
+ let e = c || ao.root;
+ if (ao.getTreeNode(e.scopeRef) && Fa && !qa(Fa, e.scopeRef)) {
+ let t = ao.getTreeNode(Fa);
t && (e = t);
}
- e.addChild(l), io.addNode(l);
- }, [l, c]), Xt(() => {
- let e = io.getTreeNode(s);
+ e.addChild(l), ao.addNode(l);
+ }, [l, c]), Zt(() => {
+ let e = ao.getTreeNode(s);
e && (e.contain = !!n);
- }, [n]), Xt(() => {
+ }, [n]), Zt(() => {
let e = a.current?.nextSibling, t = [], n = (e) => e.stopPropagation();
- for (; e && e !== o.current;) t.push(e), e.addEventListener(Na, n), e = e.nextSibling;
+ for (; e && e !== o.current;) t.push(e), e.addEventListener(Pa, n), e = e.nextSibling;
return s.current = t, () => {
- for (let e of t) e.removeEventListener(Na, n);
+ for (let e of t) e.removeEventListener(Pa, n);
};
- }, [t]), Za(s, r, n), Va(s, n), $a(s, r, n), Xa(s, i), (0, C.useEffect)(() => {
- let e = Lt(R(s.current ? s.current[0] : void 0)), t = null;
- if (Ua(e, s.current)) {
- for (let n of io.traverse()) n.scopeRef && Ua(e, n.scopeRef.current) && (t = n);
- t === io.getTreeNode(s) && (Pa = t.scopeRef);
- }
- }, [s]), Xt(() => () => {
- let e = io.getTreeNode(s)?.parent?.scopeRef ?? null;
- (s === Pa || Ka(s, Pa)) && (!e || io.getTreeNode(e)) && (Pa = e), io.removeTreeNode(s);
+ }, [t]), Qa(s, r, n), Ha(s, n), eo(s, r, n), Za(s, i), (0, C.useEffect)(() => {
+ let e = Rt(L(s.current ? s.current[0] : void 0)), t = null;
+ if (Wa(e, s.current)) {
+ for (let n of ao.traverse()) n.scopeRef && Wa(e, n.scopeRef.current) && (t = n);
+ t === ao.getTreeNode(s) && (Fa = t.scopeRef);
+ }
+ }, [s]), Zt(() => () => {
+ let e = ao.getTreeNode(s)?.parent?.scopeRef ?? null;
+ (s === Fa || qa(s, Fa)) && (!e || ao.getTreeNode(e)) && (Fa = e), ao.removeTreeNode(s);
}, [s]);
- let u = (0, C.useMemo)(() => Ia(s), []), d = (0, C.useMemo)(() => ({
+ let u = (0, C.useMemo)(() => La(s), []), d = (0, C.useMemo)(() => ({
focusManager: u,
parentNode: l
}), [l, u]);
- return /*#__PURE__*/ C.createElement(Ma.Provider, { value: d }, /*#__PURE__*/ C.createElement("span", {
+ return /*#__PURE__*/ C.createElement(Na.Provider, { value: d }, /*#__PURE__*/ C.createElement("span", {
"data-focus-scope-start": !0,
hidden: !0,
ref: a
@@ -4384,154 +4384,154 @@ function Fa(e) {
ref: o
}));
}
-function Ia(e) {
+function La(e) {
return {
focusNext(t = {}) {
- let n = e.current, { from: r, tabbable: i, wrap: a, accept: o } = t, s = r || Lt(R(n[0] ?? void 0)), c = n[0].previousElementSibling, l = to(La(n), {
+ let n = e.current, { from: r, tabbable: i, wrap: a, accept: o } = t, s = r || Rt(L(n[0] ?? void 0)), c = n[0].previousElementSibling, l = no(Ra(n), {
tabbable: i,
accept: o
}, n);
- l.currentNode = Ua(s, n) ? s : c;
+ l.currentNode = Wa(s, n) ? s : c;
let u = l.nextNode();
- return !u && a && (l.currentNode = c, u = l.nextNode()), u && qa(u, !0), u;
+ return !u && a && (l.currentNode = c, u = l.nextNode()), u && Ja(u, !0), u;
},
focusPrevious(t = {}) {
- let n = e.current, { from: r, tabbable: i, wrap: a, accept: o } = t, s = r || Lt(R(n[0] ?? void 0)), c = n[n.length - 1].nextElementSibling, l = to(La(n), {
+ let n = e.current, { from: r, tabbable: i, wrap: a, accept: o } = t, s = r || Rt(L(n[0] ?? void 0)), c = n[n.length - 1].nextElementSibling, l = no(Ra(n), {
tabbable: i,
accept: o
}, n);
- l.currentNode = Ua(s, n) ? s : c;
+ l.currentNode = Wa(s, n) ? s : c;
let u = l.previousNode();
- return !u && a && (l.currentNode = c, u = l.previousNode()), u && qa(u, !0), u;
+ return !u && a && (l.currentNode = c, u = l.previousNode()), u && Ja(u, !0), u;
},
focusFirst(t = {}) {
- let n = e.current, { tabbable: r, accept: i } = t, a = to(La(n), {
+ let n = e.current, { tabbable: r, accept: i } = t, a = no(Ra(n), {
tabbable: r,
accept: i
}, n);
a.currentNode = n[0].previousElementSibling;
let o = a.nextNode();
- return o && qa(o, !0), o;
+ return o && Ja(o, !0), o;
},
focusLast(t = {}) {
- let n = e.current, { tabbable: r, accept: i } = t, a = to(La(n), {
+ let n = e.current, { tabbable: r, accept: i } = t, a = no(Ra(n), {
tabbable: r,
accept: i
}, n);
a.currentNode = n[n.length - 1].nextElementSibling;
let o = a.previousNode();
- return o && qa(o, !0), o;
+ return o && Ja(o, !0), o;
}
};
}
-function La(e) {
+function Ra(e) {
return e[0].parentElement;
}
-function Ra(e) {
- let t = io.getTreeNode(Pa);
+function za(e) {
+ let t = ao.getTreeNode(Fa);
for (; t && t.scopeRef !== e;) {
if (t.contain) return !1;
t = t.parent;
}
return !0;
}
-function za(e) {
- if (!e.form) return Array.from(R(e).querySelectorAll(`input[type="radio"][name="${CSS.escape(e.name)}"]`)).filter((e) => !e.form);
- let t = e.form.elements.namedItem(e.name), n = Ot(e);
+function Ba(e) {
+ if (!e.form) return Array.from(L(e).querySelectorAll(`input[type="radio"][name="${CSS.escape(e.name)}"]`)).filter((e) => !e.form);
+ let t = e.form.elements.namedItem(e.name), n = kt(e);
return t instanceof n.RadioNodeList ? Array.from(t).filter((e) => e instanceof n.HTMLInputElement) : t instanceof n.HTMLInputElement ? [t] : [];
}
-function Ba(e) {
+function Va(e) {
if (e.checked) return !0;
- let t = za(e);
+ let t = Ba(e);
return t.length > 0 && !t.some((e) => e.checked);
}
-function Va(e, t) {
+function Ha(e, t) {
let n = (0, C.useRef)(void 0), r = (0, C.useRef)(void 0);
- Xt(() => {
+ Zt(() => {
let i = e.current;
if (!t) {
r.current &&= (cancelAnimationFrame(r.current), void 0);
return;
}
- let a = R(i ? i[0] : void 0), o = (t) => {
- if (t.key !== "Tab" || t.altKey || t.ctrlKey || t.metaKey || !Ra(e) || t.isComposing) return;
- let n = Lt(a), r = e.current;
- if (!r || !Ua(n, r)) return;
- let i = to(La(r), { tabbable: !0 }, r);
+ let a = L(i ? i[0] : void 0), o = (t) => {
+ if (t.key !== "Tab" || t.altKey || t.ctrlKey || t.metaKey || !za(e) || t.isComposing) return;
+ let n = Rt(a), r = e.current;
+ if (!r || !Wa(n, r)) return;
+ let i = no(Ra(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 && (qa(o, !0), o instanceof Ot(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 && (Ja(o, !0), o instanceof kt(o).HTMLInputElement && o.select());
}, s = (t) => {
- (!Pa || Ka(Pa, e)) && Ua(B(t), e.current) ? (Pa = e, n.current = B(t)) : Ra(e) && !Wa(B(t), e) ? n.current ? qa(n.current) : Pa && Pa.current && Ya(Pa.current) : Ra(e) && (n.current = B(t));
+ (!Fa || qa(Fa, e)) && Wa(z(t), e.current) ? (Fa = e, n.current = z(t)) : za(e) && !Ga(z(t), e) ? n.current ? Ja(n.current) : Fa && Fa.current && Xa(Fa.current) : za(e) && (n.current = z(t));
}, c = (t) => {
r.current && cancelAnimationFrame(r.current), r.current = requestAnimationFrame(() => {
- let r = $n(), i = (r === "virtual" || r === null) && pn() && fn(), o = Lt(a);
- if (!i && o && Ra(e) && !Wa(o, e)) {
- Pa = e;
- let r = B(t);
- r && r.isConnected ? (n.current = r, qa(n.current)) : Pa.current && Ya(Pa.current);
+ let r = er(), i = (r === "virtual" || r === null) && mn() && pn(), o = Rt(a);
+ if (!i && o && za(e) && !Ga(o, e)) {
+ Fa = e;
+ let r = z(t);
+ r && r.isConnected ? (n.current = r, Ja(n.current)) : Fa.current && Xa(Fa.current);
}
});
};
return a.addEventListener("keydown", o, !1), a.addEventListener("focusin", s, !1), i?.forEach((e) => e.addEventListener("focusin", s, !1)), i?.forEach((e) => e.addEventListener("focusout", c, !1)), () => {
a.removeEventListener("keydown", o, !1), a.removeEventListener("focusin", s, !1), i?.forEach((e) => e.removeEventListener("focusin", s, !1)), i?.forEach((e) => e.removeEventListener("focusout", c, !1));
};
- }, [e, t]), Xt(() => () => {
+ }, [e, t]), Zt(() => () => {
r.current && cancelAnimationFrame(r.current);
}, [r]);
}
-function Ha(e) {
- return Wa(e);
+function Ua(e) {
+ return Ga(e);
}
-function Ua(e, t) {
- return !e || !t ? !1 : t.some((t) => z(t, e));
+function Wa(e, t) {
+ return !e || !t ? !1 : t.some((t) => R(t, e));
}
-function Wa(e, t = null) {
+function Ga(e, t = null) {
if (e instanceof Element && e.closest("[data-react-aria-top-layer]")) return !0;
- for (let { scopeRef: n } of io.traverse(io.getTreeNode(t))) if (n && Ua(e, n.current)) return !0;
+ for (let { scopeRef: n } of ao.traverse(ao.getTreeNode(t))) if (n && Wa(e, n.current)) return !0;
return !1;
}
-function Ga(e) {
- return Wa(e, Pa);
+function Ka(e) {
+ return Ga(e, Fa);
}
-function Ka(e, t) {
- let n = io.getTreeNode(t)?.parent;
+function qa(e, t) {
+ let n = ao.getTreeNode(t)?.parent;
for (; n;) {
if (n.scopeRef === e) return !0;
n = n.parent;
}
return !1;
}
-function qa(e, t = !1) {
+function Ja(e, t = !1) {
if (e != null && !t) try {
- ur(e);
+ dr(e);
} catch {}
else if (e != null) try {
e.focus();
} catch {}
}
-function Ja(e, t = !0) {
- let n = e[0].previousElementSibling, r = La(e), i = to(r, { tabbable: t }, e);
+function Ya(e, t = !0) {
+ let n = e[0].previousElementSibling, r = Ra(e), i = no(r, { tabbable: t }, e);
i.currentNode = n;
let a = i.nextNode();
- return t && !a && (r = La(e), i = to(r, { tabbable: !1 }, e), i.currentNode = n, a = i.nextNode()), a;
+ return t && !a && (r = Ra(e), i = no(r, { tabbable: !1 }, e), i.currentNode = n, a = i.nextNode()), a;
}
-function Ya(e, t = !0) {
- qa(Ja(e, t));
+function Xa(e, t = !0) {
+ Ja(Ya(e, t));
}
-function Xa(e, t) {
+function Za(e, t) {
let n = C.useRef(t);
(0, C.useEffect)(() => {
- n.current && (Pa = e, !Ua(Lt(R(e.current ? e.current[0] : void 0)), Pa.current) && e.current && Ya(e.current)), n.current = !1;
+ n.current && (Fa = e, !Wa(Rt(L(e.current ? e.current[0] : void 0)), Fa.current) && e.current && Xa(e.current)), n.current = !1;
}, [e]);
}
-function Za(e, t, n) {
- Xt(() => {
+function Qa(e, t, n) {
+ Zt(() => {
if (t || n) return;
- let r = e.current, i = R(r ? r[0] : void 0), a = (t) => {
- let n = B(t);
- Ua(n, e.current) ? Pa = e : Ha(n) || (Pa = null);
+ let r = e.current, i = L(r ? r[0] : void 0), a = (t) => {
+ let n = z(t);
+ Wa(n, e.current) ? Fa = e : Ua(n) || (Fa = 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));
@@ -4542,43 +4542,43 @@ function Za(e, t, n) {
n
]);
}
-function Qa(e) {
- let t = io.getTreeNode(Pa);
+function $a(e) {
+ let t = ao.getTreeNode(Fa);
for (; t && t.scopeRef !== e;) {
if (t.nodeToRestore) return !1;
t = t.parent;
}
return t?.scopeRef === e;
}
-function $a(e, t, n) {
- let r = (0, C.useRef)(typeof document < "u" ? Lt(R(e.current ? e.current[0] : void 0)) : null);
- Xt(() => {
- let r = e.current, i = R(r ? r[0] : void 0);
+function eo(e, t, n) {
+ let r = (0, C.useRef)(typeof document < "u" ? Rt(L(e.current ? e.current[0] : void 0)) : null);
+ Zt(() => {
+ let r = e.current, i = L(r ? r[0] : void 0);
if (!t || n) return;
let a = () => {
- (!Pa || Ka(Pa, e)) && Ua(Lt(i), e.current) && (Pa = e);
+ (!Fa || qa(Fa, e)) && Wa(Rt(i), e.current) && (Fa = e);
};
return i.addEventListener("focusin", a, !1), r?.forEach((e) => e.addEventListener("focusin", a, !1)), () => {
i.removeEventListener("focusin", a, !1), r?.forEach((e) => e.removeEventListener("focusin", a, !1));
};
- }, [e, n]), Xt(() => {
- let r = R(e.current ? e.current[0] : void 0);
+ }, [e, n]), Zt(() => {
+ let r = L(e.current ? e.current[0] : void 0);
if (!t) return;
let i = (t) => {
- if (t.key !== "Tab" || t.altKey || t.ctrlKey || t.metaKey || !Ra(e) || t.isComposing) return;
+ if (t.key !== "Tab" || t.altKey || t.ctrlKey || t.metaKey || !za(e) || t.isComposing) return;
let n = r.activeElement;
- if (!Wa(n, e) || !Qa(e)) return;
- let i = io.getTreeNode(e);
+ if (!Ga(n, e) || !$a(e)) return;
+ let i = ao.getTreeNode(e);
if (!i) return;
- let a = i.nodeToRestore, o = to(r.body, { tabbable: !0 });
+ let a = i.nodeToRestore, o = no(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 || !Wa(s, e)) && a) {
+ if ((!a || !a.isConnected || a === r.body) && (a = void 0, i.nodeToRestore = void 0), (!s || !Ga(s, e)) && a) {
o.currentNode = a;
do
s = t.shiftKey ? o.previousNode() : o.nextNode();
- while (Wa(s, e));
- t.preventDefault(), t.stopPropagation(), s ? qa(s, !0) : Ha(a) ? qa(a, !0) : n.blur();
+ while (Ga(s, e));
+ t.preventDefault(), t.stopPropagation(), s ? Ja(s, !0) : Ua(a) ? Ja(a, !0) : n.blur();
}
};
return n || r.addEventListener("keydown", i, !0), () => {
@@ -4588,31 +4588,31 @@ function $a(e, t, n) {
e,
t,
n
- ]), Xt(() => {
- let n = R(e.current ? e.current[0] : void 0);
+ ]), Zt(() => {
+ let n = L(e.current ? e.current[0] : void 0);
if (!t) return;
- let i = io.getTreeNode(e);
+ let i = ao.getTreeNode(e);
if (i) return i.nodeToRestore = r.current ?? void 0, () => {
- let r = io.getTreeNode(e);
+ let r = ao.getTreeNode(e);
if (!r) return;
- let i = r.nodeToRestore, a = Lt(n);
- if (t && i && (a && Wa(a, e) || a === n.body && Qa(e))) {
- let t = io.clone();
+ let i = r.nodeToRestore, a = Rt(n);
+ if (t && i && (a && Ga(a, e) || a === n.body && $a(e))) {
+ let t = ao.clone();
requestAnimationFrame(() => {
if (n.activeElement === n.body) {
let n = t.getTreeNode(e);
for (; n;) {
if (n.nodeToRestore && n.nodeToRestore.isConnected) {
- eo(n.nodeToRestore);
+ to(n.nodeToRestore);
return;
}
n = n.parent;
}
for (n = t.getTreeNode(e); n;) {
- if (n.scopeRef && n.scopeRef.current && io.getTreeNode(n.scopeRef)) {
- let e = Ja(n.scopeRef.current, !0);
+ if (n.scopeRef && n.scopeRef.current && ao.getTreeNode(n.scopeRef)) {
+ let e = Ya(n.scopeRef.current, !0);
if (e) {
- eo(e);
+ to(e);
return;
}
}
@@ -4624,21 +4624,21 @@ function $a(e, t, n) {
};
}, [e, t]);
}
-function eo(e) {
- e.dispatchEvent(new CustomEvent(Na, {
+function to(e) {
+ e.dispatchEvent(new CustomEvent(Pa, {
bubbles: !0,
cancelable: !0
- })) && qa(e);
+ })) && Ja(e);
}
-function to(e, t, n) {
- let r = t?.tabbable ? Jt : qt, i = R(e?.nodeType === Node.ELEMENT_NODE ? e : null), a = ja(i, e || i, NodeFilter.SHOW_ELEMENT, { acceptNode(e) {
- return z(t?.from, e) || t?.tabbable && e.tagName === "INPUT" && e.getAttribute("type") === "radio" && (!Ba(e) || a.currentNode.tagName === "INPUT" && a.currentNode.type === "radio" && a.currentNode.name === e.name) ? NodeFilter.FILTER_REJECT : r(e) && (!n || Ua(e, n)) && (!t?.accept || t.accept(e)) ? NodeFilter.FILTER_ACCEPT : NodeFilter.FILTER_SKIP;
+function no(e, t, n) {
+ let r = t?.tabbable ? Yt : Jt, i = L(e?.nodeType === Node.ELEMENT_NODE ? e : null), a = Ma(i, e || i, NodeFilter.SHOW_ELEMENT, { acceptNode(e) {
+ return R(t?.from, e) || t?.tabbable && e.tagName === "INPUT" && e.getAttribute("type") === "radio" && (!Va(e) || a.currentNode.tagName === "INPUT" && a.currentNode.type === "radio" && a.currentNode.name === e.name) ? NodeFilter.FILTER_REJECT : r(e) && (!n || Wa(e, n)) && (!t?.accept || t.accept(e)) ? NodeFilter.FILTER_ACCEPT : NodeFilter.FILTER_SKIP;
} });
return t?.from && (a.currentNode = t.from), a;
}
-var no = class e {
+var ro = class e {
constructor() {
- this.fastMap = /* @__PURE__ */ new Map(), this.root = new ro({ scopeRef: null }), this.fastMap.set(null, this.root);
+ this.fastMap = /* @__PURE__ */ new Map(), this.root = new io({ scopeRef: null }), this.fastMap.set(null, this.root);
}
get size() {
return this.fastMap.size;
@@ -4649,7 +4649,7 @@ var no = class e {
addTreeNode(e, t, n) {
let r = this.fastMap.get(t ?? null);
if (!r) return;
- let i = new ro({ scopeRef: e });
+ let i = new io({ scopeRef: e });
r.addChild(i), i.parent = r, this.fastMap.set(e, i), n && (i.nodeToRestore = n);
}
addNode(e) {
@@ -4660,7 +4660,7 @@ var no = 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 && Ua(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 && Wa(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);
}
@@ -4672,7 +4672,7 @@ var no = class e {
for (let e of this.traverse()) t.addTreeNode(e.scopeRef, e.parent?.scopeRef ?? null, e.nodeToRestore);
return t;
}
-}, ro = class {
+}, io = class {
constructor(e) {
this.children = /* @__PURE__ */ new Set(), this.contain = !1, this.scopeRef = e.scopeRef;
}
@@ -4682,13 +4682,13 @@ var no = class e {
removeChild(e) {
this.children.delete(e), e.parent = void 0;
}
-}, io = new no(), ao = 7e3, oo = null;
-function so(e, t = "assertive", n = ao) {
- oo ? oo.announce(e, t, n) : (oo = new co(), (typeof IS_REACT_ACT_ENVIRONMENT == "boolean" ? IS_REACT_ACT_ENVIRONMENT : typeof jest < "u") ? oo.announce(e, t, n) : setTimeout(() => {
- oo?.isAttached() && oo?.announce(e, t, n);
+}, ao = new ro(), oo = 7e3, so = null;
+function co(e, t = "assertive", n = oo) {
+ so ? so.announce(e, t, n) : (so = new lo(), (typeof IS_REACT_ACT_ENVIRONMENT == "boolean" ? IS_REACT_ACT_ENVIRONMENT : typeof jest < "u") ? so.announce(e, t, n) : setTimeout(() => {
+ so?.isAttached() && so?.announce(e, t, n);
}, 100));
}
-var co = class {
+var lo = class {
constructor() {
this.node = null, this.assertiveLog = null, this.politeLog = null, typeof document < "u" && (this.node = document.createElement("div"), this.node.dataset.liveAnnouncer = "true", Object.assign(this.node.style, {
border: 0,
@@ -4713,7 +4713,7 @@ var co = class {
destroy() {
this.node &&= (document.body.removeChild(this.node), null);
}
- announce(e, t = "assertive", n = ao) {
+ announce(e, t = "assertive", n = oo) {
if (!this.node) return;
let r = document.createElement("div");
typeof e == "object" ? (r.setAttribute("role", "img"), r.setAttribute("aria-labelledby", e["aria-labelledby"])) : r.textContent = e, t === "assertive" ? this.assertiveLog?.appendChild(r) : this.politeLog?.appendChild(r), e !== "" && setTimeout(() => {
@@ -4726,8 +4726,8 @@ var co = class {
};
//#endregion
//#region node_modules/react-aria/dist/private/utils/useUpdateEffect.mjs
-function lo(e, t) {
- let n = (0, C.useRef)(!0), r = (0, C.useRef)(null), i = Ei(e);
+function uo(e, t) {
+ let n = (0, C.useRef)(!0), r = (0, C.useRef)(null), i = Di(e);
(0, C.useEffect)(() => (n.current = !0, () => {
n.current = !1;
}), []), (0, C.useEffect)(() => {
@@ -4737,46 +4737,46 @@ function lo(e, t) {
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/isScrollable.mjs
-function uo(e, t) {
+function fo(e, t) {
if (!e) return !1;
let n = window.getComputedStyle(e), r = document.scrollingElement || document.documentElement, i = /(auto|scroll)/.test(n.overflow + n.overflowX + n.overflowY);
return e === r && n.overflow !== "hidden" && (i = !0), i && t && (i = e.scrollHeight !== e.clientHeight || e.scrollWidth !== e.clientWidth), i;
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/getScrollParent.mjs
-function fo(e, t) {
+function po(e, t) {
let n = e;
- for (uo(n, t) && (n = n.parentElement); n && !uo(n, t);) n = n.parentElement;
+ for (fo(n, t) && (n = n.parentElement); n && !fo(n, t);) n = n.parentElement;
return n || document.scrollingElement || document.documentElement;
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/getScrollParents.mjs
-function po(e, t) {
+function mo(e, t) {
let n = [], r = document.scrollingElement || document.documentElement;
- for (; e && (uo(e, t) && n.push(e), e !== r);) e = e.parentElement;
+ for (; e && (fo(e, t) && n.push(e), e !== r);) e = e.parentElement;
return n;
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/scrollIntoView.mjs
-function mo(e, t, n = {}) {
- e !== t && ho(e, t, t.getBoundingClientRect(), n);
-}
-function ho(e, t, n, r = {}) {
- let { block: i = "nearest", inline: a = "nearest" } = r, o = e.scrollTop, s = e.scrollLeft, c = e.getBoundingClientRect(), l = window.getComputedStyle(t), u = window.getComputedStyle(e), d = document.scrollingElement || document.documentElement, f = e === d, p = e === d ? 0 : c.top, m = e === d ? e.clientHeight : c.bottom, h = e === d ? 0 : c.left, g = e === d ? e.clientWidth : c.right, _ = parseFloat(l.scrollMarginTop) || 0, v = parseFloat(l.scrollMarginBottom) || 0, y = parseFloat(l.scrollMarginLeft) || 0, b = parseFloat(l.scrollMarginRight) || 0, x = parseFloat(u.scrollPaddingTop) || 0, S = parseFloat(u.scrollPaddingBottom) || 0, C = parseFloat(u.scrollPaddingLeft) || 0, w = parseFloat(u.scrollPaddingRight) || 0, T = parseFloat(u.borderTopWidth) || 0, E = parseFloat(u.borderBottomWidth) || 0, D = parseFloat(u.borderLeftWidth) || 0, O = parseFloat(u.borderRightWidth) || 0, k = n.top - _, A = n.bottom + v, j = n.left - y, M = n.right + b, N = e === d ? 0 : D + O, ee = e === d ? 0 : T + E, P = e === d ? 0 : e.offsetWidth - e.clientWidth - N, F = e === d ? 0 : e.offsetHeight - e.clientHeight - ee, te = p + (f ? 0 : T) + x, ne = m - (f ? 0 : E) - S - F, re = h + (f ? 0 : D) + C, ie = g - (f ? 0 : O) - w;
- ln() && dn() || u.direction === "ltr" ? ie -= P : u.direction === "rtl" && (re += P);
- let ae = k < te || A > ne, oe = j < re || M > ie;
- if (ae && i === "start") o += k - te;
- else if (ae && i === "center") o += (k + A) / 2 - (te + ne) / 2;
- else if (ae && i === "end") o += A - ne;
- else if (ae && i === "nearest") {
- let e = k - te, t = A - ne;
+function ho(e, t, n = {}) {
+ e !== t && go(e, t, t.getBoundingClientRect(), n);
+}
+function go(e, t, n, r = {}) {
+ let { block: i = "nearest", inline: a = "nearest" } = r, o = e.scrollTop, s = e.scrollLeft, c = e.getBoundingClientRect(), l = window.getComputedStyle(t), u = window.getComputedStyle(e), d = document.scrollingElement || document.documentElement, f = e === d, p = e === d ? 0 : c.top, m = e === d ? e.clientHeight : c.bottom, h = e === d ? 0 : c.left, g = e === d ? e.clientWidth : c.right, _ = parseFloat(l.scrollMarginTop) || 0, v = parseFloat(l.scrollMarginBottom) || 0, y = parseFloat(l.scrollMarginLeft) || 0, b = parseFloat(l.scrollMarginRight) || 0, x = parseFloat(u.scrollPaddingTop) || 0, S = parseFloat(u.scrollPaddingBottom) || 0, C = parseFloat(u.scrollPaddingLeft) || 0, w = parseFloat(u.scrollPaddingRight) || 0, T = parseFloat(u.borderTopWidth) || 0, E = parseFloat(u.borderBottomWidth) || 0, D = parseFloat(u.borderLeftWidth) || 0, O = parseFloat(u.borderRightWidth) || 0, k = n.top - _, A = n.bottom + v, j = n.left - y, M = n.right + b, N = e === d ? 0 : D + O, ee = e === d ? 0 : T + E, te = e === d ? 0 : e.offsetWidth - e.clientWidth - N, P = e === d ? 0 : e.offsetHeight - e.clientHeight - ee, ne = p + (f ? 0 : T) + x, re = m - (f ? 0 : E) - S - P, ie = h + (f ? 0 : D) + C, ae = g - (f ? 0 : O) - w;
+ un() && fn() || u.direction === "ltr" ? ae -= te : u.direction === "rtl" && (ie += te);
+ let oe = k < ne || A > re, se = j < ie || M > ae;
+ if (oe && i === "start") o += k - ne;
+ else if (oe && i === "center") o += (k + A) / 2 - (ne + re) / 2;
+ else if (oe && i === "end") o += A - re;
+ else if (oe && i === "nearest") {
+ let e = k - ne, t = A - re;
o += Math.abs(e) <= Math.abs(t) ? e : t;
}
- if (oe && a === "start") s += j - re;
- else if (oe && a === "center") s += (j + M) / 2 - (re + ie) / 2;
- else if (oe && a === "end") s += M - ie;
- else if (oe && a === "nearest") {
- let e = j - re, t = M - ie;
+ if (se && a === "start") s += j - ie;
+ else if (se && a === "center") s += (j + M) / 2 - (ie + ae) / 2;
+ else if (se && a === "end") s += M - ae;
+ else if (se && a === "nearest") {
+ let e = j - ie, t = M - ae;
s += Math.abs(e) <= Math.abs(t) ? e : t;
}
e.scrollTo({
@@ -4784,7 +4784,7 @@ function ho(e, t, n, r = {}) {
top: o
});
}
-function go(e, t = {}) {
+function _o(e, t = {}) {
let { containingElement: n } = t;
if (e && e.isConnected) {
let t = document.scrollingElement || document.documentElement;
@@ -4797,47 +4797,47 @@ function go(e, t = {}) {
inline: "center"
}), e.scrollIntoView?.({ block: "nearest" }));
} else {
- let { left: t, top: r } = e.getBoundingClientRect(), i = po(e, !0);
- for (let t of i) mo(t, e);
+ let { left: t, top: r } = e.getBoundingClientRect(), i = mo(e, !0);
+ for (let t of i) ho(t, e);
let { left: a, top: o } = e.getBoundingClientRect();
if (Math.abs(t - a) > 1 || Math.abs(r - o) > 1) {
- i = n ? po(n, !0) : [];
- for (let e of i) mo(e, n, {
+ i = n ? mo(n, !0) : [];
+ for (let e of i) ho(e, n, {
block: "center",
inline: "center"
});
- for (let t of po(e, !0)) mo(t, e);
+ for (let t of mo(e, !0)) ho(t, e);
}
}
}
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/useDescription.mjs
-var _o = 0, vo = /* @__PURE__ */ new Map();
-function yo(e) {
+var vo = 0, yo = /* @__PURE__ */ new Map();
+function bo(e) {
let [t, n] = (0, C.useState)();
- return Xt(() => {
+ return Zt(() => {
if (!e) return;
- let t = vo.get(e);
+ let t = yo.get(e);
if (t) n(t.element.id);
else {
- let r = `react-aria-description-${_o++}`;
+ let r = `react-aria-description-${vo++}`;
n(r);
let i = document.createElement("div");
i.id = r, i.style.display = "none", i.textContent = e, document.body.appendChild(i), t = {
refCount: 0,
element: i
- }, vo.set(e, t);
+ }, yo.set(e, t);
}
return t.refCount++, () => {
- t && --t.refCount === 0 && (t.element.remove(), vo.delete(e));
+ t && --t.refCount === 0 && (t.element.remove(), yo.delete(e));
};
}, [e]), { "aria-describedby": e ? t : void 0 };
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/useFormReset.mjs
-function bo(e, t, n) {
- let r = Ei((e) => {
+function xo(e, t, n) {
+ let r = Di((e) => {
n && !e.defaultPrevented && n(t);
});
(0, C.useEffect)(() => {
@@ -4849,21 +4849,21 @@ function bo(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/form/useFormValidation.mjs
-function xo(e, t, n) {
+function So(e, t, n) {
let { validationBehavior: r, focus: i } = e;
- Xt(() => {
+ Zt(() => {
if (r === "native" && n?.current && "setCustomValidity" in n.current && !n.current.disabled) {
let e = t.realtimeValidation.isInvalid ? t.realtimeValidation.validationErrors.join(" ") || "Invalid value." : "";
- n.current.setCustomValidity(e), n.current.hasAttribute("title") || (n.current.title = ""), t.realtimeValidation.isInvalid || t.updateValidation(Co(n.current));
+ n.current.setCustomValidity(e), n.current.hasAttribute("title") || (n.current.title = ""), t.realtimeValidation.isInvalid || t.updateValidation(wo(n.current));
}
});
- let a = (0, C.useRef)(!1), o = Ei(() => {
+ let a = (0, C.useRef)(!1), o = Di(() => {
a.current || t.resetValidation();
- }), s = Ei((e) => {
+ }), s = Di((e) => {
t.displayValidation.isInvalid || t.commitValidation();
let r = n?.current?.form;
- !e.defaultPrevented && n && r && wo(r) === n.current && (i ? i() : n.current?.focus(), er("keyboard")), e.preventDefault();
- }), c = Ei(() => {
+ !e.defaultPrevented && n && r && To(r) === n.current && (i ? i() : n.current?.focus(), tr("keyboard")), e.preventDefault();
+ }), c = Di(() => {
t.commitValidation();
});
(0, C.useEffect)(() => {
@@ -4871,13 +4871,13 @@ function xo(e, t, n) {
if (!e) return;
let t = e.form, r = t?.reset;
return t && (t.reset = () => {
- a.current = !window.event || window.event.type === "message" && B(window.event) instanceof MessagePort, r?.call(t), a.current = !1;
+ a.current = !window.event || window.event.type === "message" && z(window.event) instanceof MessagePort, r?.call(t), a.current = !1;
}), e.addEventListener("invalid", s), e.addEventListener("change", c), t?.addEventListener("reset", o), () => {
e.removeEventListener("invalid", s), e.removeEventListener("change", c), t?.removeEventListener("reset", o), t && (t.reset = r);
};
}, [n, r]);
}
-function So(e) {
+function Co(e) {
let t = e.validity;
return {
badInput: t.badInput,
@@ -4893,14 +4893,14 @@ function So(e) {
valid: t.valid
};
}
-function Co(e) {
+function wo(e) {
return {
isInvalid: !e.validity.valid,
- validationDetails: So(e),
+ validationDetails: Co(e),
validationErrors: e.validationMessage ? [e.validationMessage] : []
};
}
-function wo(e) {
+function To(e) {
for (let t = 0; t < e.elements.length; t++) {
let n = e.elements[t];
if (n.validity?.valid === !1) return n;
@@ -4909,16 +4909,16 @@ function wo(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/useSlot.mjs
-function To(e = !0) {
+function Eo(e = !0) {
let [t, n] = (0, C.useState)(e), r = (0, C.useRef)(!1), i = (0, C.useCallback)((e) => {
r.current = !0, n(!!e);
}, []);
- return Xt(() => {
+ return Zt(() => {
r.current || n(!1);
}, []), [i, t];
}
-function Eo(e = !0) {
- let t = _r(), [n, r] = To(e);
+function Do(e = !0) {
+ let t = vr(), [n, r] = Eo(e);
return {
id: r ? t : void 0,
ref: n
@@ -4926,7 +4926,7 @@ function Eo(e = !0) {
}
//#endregion
//#region node_modules/react-stately/dist/private/form/useFormValidationState.mjs
-var Do = {
+var Oo = {
badInput: !1,
customError: !1,
patternMismatch: !1,
@@ -4938,18 +4938,18 @@ var Do = {
typeMismatch: !1,
valueMissing: !1,
valid: !0
-}, Oo = {
- ...Do,
+}, ko = {
+ ...Oo,
customError: !0,
valid: !1
-}, ko = {
+}, Ao = {
isInvalid: !1,
- validationDetails: Do,
+ validationDetails: Oo,
validationErrors: []
-}, Ao = (0, C.createContext)({}), jo = "__reactAriaFormValidationState";
-function Mo(e) {
+}, jo = (0, C.createContext)({}), Mo = "__reactAriaFormValidationState";
+function No(e) {
if (e.__reactAriaFormValidationState) {
- let { realtimeValidation: t, displayValidation: n, updateValidation: r, resetValidation: i, commitValidation: a } = e[jo];
+ let { realtimeValidation: t, displayValidation: n, updateValidation: r, resetValidation: i, commitValidation: a } = e[Mo];
return {
realtimeValidation: t,
displayValidation: n,
@@ -4958,71 +4958,71 @@ function Mo(e) {
commitValidation: a
};
}
- return No(e);
+ return Po(e);
}
-function No(e) {
+function Po(e) {
let { isInvalid: t, validationState: n, name: r, value: i, builtinValidation: a, validate: o, validationBehavior: s = "aria" } = e;
n && (t ||= n === "invalid");
let c = t === void 0 ? null : {
isInvalid: t,
validationErrors: [],
- validationDetails: Oo
- }, l = (0, C.useMemo)(() => !o || i == null ? null : Io(Fo(o, i)), [o, i]);
+ validationDetails: ko
+ }, l = (0, C.useMemo)(() => !o || i == null ? null : Lo(Io(o, i)), [o, i]);
a?.validationDetails.valid && (a = void 0);
- let u = (0, C.useContext)(Ao), d = (0, C.useMemo)(() => r ? Array.isArray(r) ? r.flatMap((e) => Po(u[e])) : Po(u[r]) : [], [u, r]), [f, p] = (0, C.useState)(u), [m, h] = (0, C.useState)(!1);
+ let u = (0, C.useContext)(jo), d = (0, C.useMemo)(() => r ? Array.isArray(r) ? r.flatMap((e) => Fo(u[e])) : Fo(u[r]) : [], [u, r]), [f, p] = (0, C.useState)(u), [m, h] = (0, C.useState)(!1);
u !== f && (p(u), h(!1));
- let g = (0, C.useMemo)(() => Io(m ? [] : d), [m, d]), _ = (0, C.useRef)(ko), [v, y] = (0, C.useState)(ko), b = (0, C.useRef)(ko), x = () => {
+ let g = (0, C.useMemo)(() => Lo(m ? [] : d), [m, d]), _ = (0, C.useRef)(Ao), [v, y] = (0, C.useState)(Ao), b = (0, C.useRef)(Ao), x = () => {
if (!S) return;
w(!1);
let e = l || a || _.current;
- Lo(e, b.current) || (b.current = e, y(e));
+ Ro(e, b.current) || (b.current = e, y(e));
}, [S, w] = (0, C.useState)(!1);
return (0, C.useEffect)(x), {
- realtimeValidation: c || g || l || a || ko,
+ realtimeValidation: c || g || l || a || Ao,
displayValidation: s === "native" ? c || g || v : c || g || l || a || v,
updateValidation(e) {
- s === "aria" && !Lo(v, e) ? y(e) : _.current = e;
+ s === "aria" && !Ro(v, e) ? y(e) : _.current = e;
},
resetValidation() {
- let e = ko;
- Lo(e, b.current) || (b.current = e, y(e)), s === "native" && w(!1), h(!0);
+ let e = Ao;
+ Ro(e, b.current) || (b.current = e, y(e)), s === "native" && w(!1), h(!0);
},
commitValidation() {
s === "native" && w(!0), h(!0);
}
};
}
-function Po(e) {
+function Fo(e) {
return e ? Array.isArray(e) ? e : [e] : [];
}
-function Fo(e, t) {
+function Io(e, t) {
if (typeof e == "function") {
let n = e(t);
- if (n && typeof n != "boolean") return Po(n);
+ if (n && typeof n != "boolean") return Fo(n);
}
return [];
}
-function Io(e) {
+function Lo(e) {
return e.length ? {
isInvalid: !0,
validationErrors: e,
- validationDetails: Oo
+ validationDetails: ko
} : null;
}
-function Lo(e, t) {
+function Ro(e, t) {
return e === t || !!e && !!t && e.isInvalid === t.isInvalid && e.validationErrors.length === t.validationErrors.length && e.validationErrors.every((e, n) => e === t.validationErrors[n]) && Object.entries(e.validationDetails).every(([e, n]) => t.validationDetails[e] === n);
}
//#endregion
//#region node_modules/react-aria/dist/private/toggle/useToggle.mjs
-function Ro(e, t, n) {
- let { isDisabled: r = !1, isReadOnly: i = !1, value: a, name: o, form: s, children: c, isRequired: l, validationBehavior: u = "aria", "aria-label": d, "aria-labelledby": f, "aria-describedby": p, onPressStart: m, onPressEnd: h, onPressChange: g, onPress: _, onPressUp: v, onClick: y } = e, b = Mo({
+function zo(e, t, n) {
+ let { isDisabled: r = !1, isReadOnly: i = !1, value: a, name: o, form: s, children: c, isRequired: l, validationBehavior: u = "aria", "aria-label": d, "aria-labelledby": f, "aria-describedby": p, onPressStart: m, onPressEnd: h, onPressChange: g, onPress: _, onPressUp: v, onClick: y } = e, b = No({
...e,
value: t.isSelected
}), { isInvalid: x, validationErrors: S, validationDetails: w } = b.displayValidation;
- xo(e, b, n);
+ So(e, b, n);
let T = (e) => {
- e.stopPropagation(), t.setSelected(B(e).checked);
- }, { pressProps: E, isPressed: D } = xa({
+ e.stopPropagation(), t.setSelected(z(e).checked);
+ }, { pressProps: E, isPressed: D } = Sa({
onPressStart: m,
onPressEnd: h,
onPressChange: g,
@@ -5030,7 +5030,7 @@ function Ro(e, t, n) {
onPressUp: v,
onClick: y,
isDisabled: r
- }), [O, k] = (0, C.useState)(!1), { pressProps: A } = xa({
+ }), [O, k] = (0, C.useState)(!1), { pressProps: A } = Sa({
onPressStart(e) {
if (e.pointerType === "keyboard" || e.pointerType === "virtual") {
e.continuePropagation();
@@ -5059,16 +5059,16 @@ function Ro(e, t, n) {
return;
}
_?.(r), t.toggle(), n.current?.focus();
- let { [jo]: i } = e, { commitValidation: a } = i || b;
+ let { [Mo]: i } = e, { commitValidation: a } = i || b;
a();
},
isDisabled: r || i
- }), { focusableProps: j } = Ur(e, n), M = V(E, j), N = H(e, { labelable: !0 });
- bo(n, t.defaultSelected, t.setSelected);
- let ee = Eo(), P = Eo();
+ }), { focusableProps: j } = Wr(e, n), M = B(E, j), N = V(e, { labelable: !0 });
+ xo(n, t.defaultSelected, t.setSelected);
+ let ee = Do(), te = Do();
return {
- labelProps: V(A, { onClick: (e) => e.preventDefault() }),
- inputProps: V(N, {
+ labelProps: B(A, { onClick: (e) => e.preventDefault() }),
+ inputProps: B(N, {
checked: t.isSelected,
"aria-required": l && u === "aria" || void 0,
required: l && u === "native",
@@ -5078,7 +5078,7 @@ function Ro(e, t, n) {
"aria-readonly": i || void 0,
"aria-describedby": [
ee.id,
- P.id,
+ te.id,
p
].filter(Boolean).join(" ") || void 0,
onChange: T,
@@ -5090,7 +5090,7 @@ function Ro(e, t, n) {
...M
}),
descriptionProps: ee,
- errorMessageProps: P,
+ errorMessageProps: te,
isSelected: t.isSelected,
isPressed: D || O,
isDisabled: r,
@@ -5102,12 +5102,12 @@ function Ro(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/checkbox/useCheckbox.mjs
-function zo(e, t, n) {
- let { labelProps: r, inputProps: i, descriptionProps: a, errorMessageProps: o, isSelected: s, isPressed: c, isDisabled: l, isReadOnly: u, isInvalid: d, validationErrors: f, validationDetails: p } = Ro(e, t, n), { isIndeterminate: m } = e;
+function Bo(e, t, n) {
+ let { labelProps: r, inputProps: i, descriptionProps: a, errorMessageProps: o, isSelected: s, isPressed: c, isDisabled: l, isReadOnly: u, isInvalid: d, validationErrors: f, validationDetails: p } = zo(e, t, n), { isIndeterminate: m } = e;
return (0, C.useEffect)(() => {
n.current && (n.current.indeterminate = !!m);
}), {
- labelProps: V(r, (0, C.useMemo)(() => ({ onMouseDown: (e) => e.preventDefault() }), [])),
+ labelProps: B(r, (0, C.useMemo)(() => ({ onMouseDown: (e) => e.preventDefault() }), [])),
inputProps: i,
descriptionProps: a,
errorMessageProps: o,
@@ -5122,18 +5122,18 @@ function zo(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/checkbox/utils.mjs
-var U = /* @__PURE__ */ new WeakMap();
+var H = /* @__PURE__ */ new WeakMap();
//#endregion
//#region node_modules/react-aria/dist/private/label/useLabel.mjs
-function Bo(e) {
+function Vo(e) {
let { id: t, label: n, "aria-labelledby": r, "aria-label": i, labelElementType: a = "label" } = e;
- t = _r(t);
- let o = _r(), s = {};
+ t = vr(t);
+ let o = vr(), s = {};
n && (r = r ? `${o} ${r}` : o, s = {
id: o,
htmlFor: a === "label" ? t : void 0
});
- let c = Oi({
+ let c = ki({
id: t,
"aria-label": i,
"aria-labelledby": r
@@ -5145,19 +5145,19 @@ function Bo(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/label/useField.mjs
-function Vo(e) {
- let { description: t, errorMessage: n, isInvalid: r, validationState: i } = e, { labelProps: a, fieldProps: o } = Bo(e), s = yr([
+function Ho(e) {
+ let { description: t, errorMessage: n, isInvalid: r, validationState: i } = e, { labelProps: a, fieldProps: o } = Vo(e), s = br([
!!t,
!!n,
r,
i
- ]), c = yr([
+ ]), c = br([
!!t,
!!n,
r,
i
]);
- return o = V(o, { "aria-describedby": [
+ return o = B(o, { "aria-describedby": [
s,
c,
e["aria-describedby"]
@@ -5170,26 +5170,26 @@ function Vo(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/interactions/useFocusWithin.mjs
-function Ho(e) {
- let { isDisabled: t, onBlurWithin: n, onFocusWithin: r, onFocusWithinChange: i } = e, a = (0, C.useRef)({ isFocusWithin: !1 }), { addGlobalListener: o, removeAllGlobalListeners: s } = ha(), c = (0, C.useCallback)((e) => {
- z(e.currentTarget, B(e)) && a.current.isFocusWithin && !z(e.currentTarget, e.relatedTarget) && (a.current.isFocusWithin = !1, s(), n && n(e), i && i(!1));
+function Uo(e) {
+ let { isDisabled: t, onBlurWithin: n, onFocusWithin: r, onFocusWithinChange: i } = e, a = (0, C.useRef)({ isFocusWithin: !1 }), { addGlobalListener: o, removeAllGlobalListeners: s } = ga(), c = (0, C.useCallback)((e) => {
+ R(e.currentTarget, z(e)) && a.current.isFocusWithin && !R(e.currentTarget, e.relatedTarget) && (a.current.isFocusWithin = !1, s(), n && n(e), i && i(!1));
}, [
n,
i,
a,
s
- ]), l = $t(c), u = (0, C.useCallback)((e) => {
- if (!z(e.currentTarget, B(e))) return;
- let t = B(e), n = R(t), s = Lt(n);
+ ]), l = en(c), u = (0, C.useCallback)((e) => {
+ if (!R(e.currentTarget, z(e))) return;
+ let t = z(e), n = L(t), s = Rt(n);
if (!a.current.isFocusWithin && s === t) {
r && r(e), i && i(!0), a.current.isFocusWithin = !0, l(e);
let t = e.currentTarget;
o(n, "focus", (e) => {
- let r = B(e);
- if (a.current.isFocusWithin && !z(t, r)) {
+ let r = z(e);
+ if (a.current.isFocusWithin && !R(t, r)) {
let e = new n.defaultView.FocusEvent("blur", { relatedTarget: r });
- Qt(e, t);
- let i = Zt(e);
+ $t(e, t);
+ let i = Qt(e);
c(i);
}
}, { capture: !0 });
@@ -5211,14 +5211,14 @@ function Ho(e) {
}
//#endregion
//#region node_modules/react-stately/dist/private/utils/useControlledState.mjs
-var Uo = typeof document < "u" ? C.useInsertionEffect ?? C.useLayoutEffect : () => {};
-function Wo(e, t, n) {
+var Wo = typeof document < "u" ? C.useInsertionEffect ?? C.useLayoutEffect : () => {};
+function Go(e, t, n) {
let [r, i] = (0, C.useState)(e || t), a = (0, C.useRef)(r), o = (0, C.useRef)(e !== void 0), s = e !== void 0;
(0, C.useEffect)(() => {
o.current, o.current = s;
}, [s]);
let c = s ? e : r;
- Uo(() => {
+ Wo(() => {
a.current = c;
});
let [, l] = (0, C.useReducer)(() => ({}), {});
@@ -5229,8 +5229,8 @@ function Wo(e, t, n) {
}
//#endregion
//#region node_modules/react-stately/dist/private/toggle/useToggleState.mjs
-function Go(e = {}) {
- let { isReadOnly: t } = e, [n, r] = Wo(e.isSelected, e.defaultSelected || !1, e.onChange), [i] = (0, C.useState)(n);
+function Ko(e = {}) {
+ let { isReadOnly: t } = e, [n, r] = Go(e.isSelected, e.defaultSelected || !1, e.onChange), [i] = (0, C.useState)(n);
function a(e) {
t || r(e);
}
@@ -5246,26 +5246,26 @@ function Go(e = {}) {
}
//#endregion
//#region node_modules/react-aria/dist/private/checkbox/useCheckboxGroupItem.mjs
-function Ko(e, t, n) {
- let r = Go({
+function qo(e, t, n) {
+ let r = Ko({
isReadOnly: e.isReadOnly || t.isReadOnly,
isSelected: t.isSelected(e.value),
defaultSelected: t.defaultValue.includes(e.value),
onChange(n) {
n ? t.addValue(e.value) : t.removeValue(e.value), e.onChange && e.onChange(n);
}
- }), { name: i, form: a, descriptionId: o, errorMessageId: s, validationBehavior: c } = U.get(t);
+ }), { name: i, form: a, descriptionId: o, errorMessageId: s, validationBehavior: c } = H.get(t);
c = e.validationBehavior ?? c;
- let { realtimeValidation: l } = Mo({
+ let { realtimeValidation: l } = No({
...e,
value: r.isSelected,
name: void 0,
validationBehavior: "aria"
- }), u = (0, C.useRef)(ko), d = () => {
+ }), u = (0, C.useRef)(Ao), d = () => {
t.setInvalid(e.value, l.isInvalid ? l : u.current);
};
(0, C.useEffect)(d);
- let f = t.realtimeValidation.isInvalid ? t.realtimeValidation : l, p = c === "native" ? t.displayValidation : f, m = zo({
+ let f = t.realtimeValidation.isInvalid ? t.realtimeValidation : l, p = c === "native" ? t.displayValidation : f, m = Bo({
...e,
isReadOnly: e.isReadOnly || t.isReadOnly,
isDisabled: e.isDisabled || t.isDisabled,
@@ -5273,7 +5273,7 @@ function Ko(e, t, n) {
form: e.form || a,
isRequired: e.isRequired ?? t.isRequired,
validationBehavior: c,
- [jo]: {
+ [Mo]: {
realtimeValidation: f,
displayValidation: p,
resetValidation: t.resetValidation,
@@ -5297,12 +5297,12 @@ function Ko(e, t, n) {
}
//#endregion
//#region node_modules/react-stately/dist/private/utils/number.mjs
-function qo(e, t = -Infinity, n = Infinity) {
+function Jo(e, t = -Infinity, n = Infinity) {
return Math.min(Math.max(e, t), n);
}
//#endregion
//#region node_modules/react-aria/dist/private/visually-hidden/VisuallyHidden.mjs
-var Jo = {
+var Yo = {
border: 0,
clip: "rect(0 0 0 0)",
clipPath: "inset(50%)",
@@ -5314,40 +5314,40 @@ var Jo = {
width: "1px",
whiteSpace: "nowrap"
};
-function Yo(e = {}) {
- let { style: t, isFocusable: n } = e, [r, i] = (0, C.useState)(!1), { focusWithinProps: a } = Ho({
+function Xo(e = {}) {
+ let { style: t, isFocusable: n } = e, [r, i] = (0, C.useState)(!1), { focusWithinProps: a } = Uo({
isDisabled: !n,
onFocusWithinChange: (e) => i(e)
}), o = (0, C.useMemo)(() => r ? t : t ? {
- ...Jo,
+ ...Yo,
...t
- } : Jo, [r]);
+ } : Yo, [r]);
return { visuallyHiddenProps: {
...a,
style: o
} };
}
-function Xo(e) {
- let { children: t, elementType: n = "div", isFocusable: r, style: i, ...a } = e, { visuallyHiddenProps: o } = Yo(e);
- return /*#__PURE__*/ C.createElement(n, V(a, o), t);
+function Zo(e) {
+ let { children: t, elementType: n = "div", isFocusable: r, style: i, ...a } = e, { visuallyHiddenProps: o } = Xo(e);
+ return /*#__PURE__*/ C.createElement(n, B(a, o), t);
}
//#endregion
//#region node_modules/react-aria/dist/private/textfield/useTextField.mjs
-function Zo(e, t) {
- let { inputElementType: n = "input", isDisabled: r = !1, isRequired: i = !1, isReadOnly: a = !1, type: o = "text", validationBehavior: s = "aria" } = e, [c, l] = Wo(e.value, e.defaultValue || "", e.onChange), { focusableProps: u } = Ur(e, t), d = Mo({
+function Qo(e, t) {
+ let { inputElementType: n = "input", isDisabled: r = !1, isRequired: i = !1, isReadOnly: a = !1, type: o = "text", validationBehavior: s = "aria" } = e, [c, l] = Go(e.value, e.defaultValue || "", e.onChange), { focusableProps: u } = Wr(e, t), d = No({
...e,
value: c
- }), { isInvalid: f, validationErrors: p, validationDetails: m } = d.displayValidation, { labelProps: h, fieldProps: g, descriptionProps: _, errorMessageProps: v } = Vo({
+ }), { isInvalid: f, validationErrors: p, validationDetails: m } = d.displayValidation, { labelProps: h, fieldProps: g, descriptionProps: _, errorMessageProps: v } = Ho({
...e,
isInvalid: f,
errorMessage: e.errorMessage || p
- }), y = H(e, { labelable: !0 }), b = {
+ }), y = V(e, { labelable: !0 }), b = {
type: o,
pattern: e.pattern
}, [x] = (0, C.useState)(c);
- return bo(t, e.defaultValue ?? x, l), xo(e, d, t), {
+ return xo(t, e.defaultValue ?? x, l), So(e, d, t), {
labelProps: h,
- inputProps: V(y, n === "input" ? b : void 0, {
+ inputProps: B(y, n === "input" ? b : void 0, {
disabled: r,
readOnly: a,
required: i && s === "native",
@@ -5359,7 +5359,7 @@ function Zo(e, t) {
"aria-haspopup": e["aria-haspopup"],
"aria-controls": e["aria-controls"],
value: c,
- onChange: (e) => l(B(e).value),
+ onChange: (e) => l(z(e).value),
autoComplete: e.autoComplete,
autoCapitalize: e.autoCapitalize,
maxLength: e.maxLength,
@@ -5392,42 +5392,42 @@ function Zo(e, t) {
}
//#endregion
//#region node_modules/react-aria/dist/private/overlays/ariaHideOutside.mjs
-var Qo = typeof HTMLElement < "u" && "inert" in HTMLElement.prototype;
-function $o(e) {
+var $o = typeof HTMLElement < "u" && "inert" in HTMLElement.prototype;
+function es(e) {
return e.dataset.liveAnnouncer === "true" || e.dataset.reactAriaTopLayer !== void 0;
}
-var es = /* @__PURE__ */ new WeakMap(), ts = [];
-function ns(e, t) {
- let n = Ot(e?.[0]), r = t instanceof n.Element ? { root: t } : t, i = r?.root ?? document.body, a = r?.shouldUseInert && Qo, 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 ts = /* @__PURE__ */ new WeakMap(), ns = [];
+function rs(e, t) {
+ let n = kt(e?.[0]), r = t instanceof n.Element ? { root: t } : t, i = r?.root ?? document.body, a = r?.shouldUseInert && $o, 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 (It()) {
+ if (Lt()) {
let t = i.getRootNode();
for (let n of e) {
let e = n.getRootNode();
- for (; Mt(e) && e !== t;) u.add(e), e = e.host.getRootNode();
+ for (; Nt(e) && e !== t;) u.add(e), e = e.host.getRootNode();
}
}
let d = (e) => {
for (let t of e.querySelectorAll("[data-live-announcer], [data-react-aria-top-layer]")) o.add(t);
let t = (e) => {
if (s.has(e) || o.has(e) || e.parentElement && s.has(e.parentElement) && e.parentElement.getAttribute("role") !== "row") return NodeFilter.FILTER_REJECT;
- for (let t of o) if (z(e, t)) return NodeFilter.FILTER_SKIP;
+ for (let t of o) if (R(e, t)) return NodeFilter.FILTER_SKIP;
return NodeFilter.FILTER_ACCEPT;
- }, n = ja(R(e), e, NodeFilter.SHOW_ELEMENT, { acceptNode: t }), r = t(e);
+ }, n = Ma(L(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 = es.get(e) ?? 0;
- c(e) && t === 0 || (t === 0 && l(e, !0), s.add(e), es.set(e, t + 1));
+ let t = ts.get(e) ?? 0;
+ c(e) && t === 0 || (t === 0 && l(e, !0), s.add(e), ts.set(e, t + 1));
};
- ts.length && ts[ts.length - 1].disconnect(), d(i);
+ ns.length && ns[ns.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) => z(e, t.target))) for (let e of t.addedNodes) (e instanceof HTMLElement || e instanceof SVGElement) && $o(e) ? o.add(e) : e instanceof Element && d(e);
- if (It()) {
+ if (t.target.isConnected && ![...o, ...s].some((e) => R(e, t.target))) for (let e of t.addedNodes) (e instanceof HTMLElement || e instanceof SVGElement) && es(e) ? o.add(e) : e instanceof Element && d(e);
+ if (Lt()) {
for (let e of u) if (!e.isConnected) {
p.disconnect();
break;
@@ -5440,11 +5440,11 @@ function ns(e, t) {
subtree: !0
});
let m = /* @__PURE__ */ new Set();
- if (It()) for (let e of u) {
+ if (Lt()) 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) => z(e, t.target))) for (let e of t.addedNodes) (e instanceof HTMLElement || e instanceof SVGElement) && $o(e) ? o.add(e) : e instanceof Element && d(e);
- if (It()) {
+ if (t.target.isConnected && ![...o, ...s].some((e) => R(e, t.target))) for (let e of t.addedNodes) (e instanceof HTMLElement || e instanceof SVGElement) && es(e) ? o.add(e) : e instanceof Element && d(e);
+ if (Lt()) {
for (let e of u) if (!e.isConnected) {
p.disconnect();
break;
@@ -5470,59 +5470,59 @@ function ns(e, t) {
p.disconnect();
}
};
- return ts.push(h), () => {
- if (p.disconnect(), It()) for (let e of m) e.disconnect();
+ return ns.push(h), () => {
+ if (p.disconnect(), Lt()) for (let e of m) e.disconnect();
for (let e of s) {
- let t = es.get(e);
- t != null && (t === 1 ? (l(e, !1), es.delete(e)) : es.set(e, t - 1));
+ let t = ts.get(e);
+ t != null && (t === 1 ? (l(e, !1), ts.delete(e)) : ts.set(e, t - 1));
}
- h === ts[ts.length - 1] ? (ts.pop(), ts.length && ts[ts.length - 1].observe()) : ts.splice(ts.indexOf(h), 1);
+ h === ns[ns.length - 1] ? (ns.pop(), ns.length && ns[ns.length - 1].observe()) : ns.splice(ns.indexOf(h), 1);
};
}
-function rs(e) {
- let t = ts[ts.length - 1];
+function is(e) {
+ let t = ns[ns.length - 1];
if (t && !t.visibleNodes.has(e)) return t.visibleNodes.add(e), () => {
t.visibleNodes.delete(e);
};
}
//#endregion
//#region node_modules/react-aria/dist/private/listbox/utils.mjs
-var is = /* @__PURE__ */ new WeakMap();
-function as(e) {
+var as = /* @__PURE__ */ new WeakMap();
+function os(e) {
return typeof e == "string" ? e.replace(/\s*/g, "") : "" + e;
}
-function os(e, t) {
- let n = is.get(e);
+function ss(e, t) {
+ let n = as.get(e);
if (!n) throw Error("Unknown list");
- return `${n.id}-option-${as(t)}`;
+ return `${n.id}-option-${os(t)}`;
}
//#endregion
//#region node_modules/react-aria/dist/private/selection/utils.mjs
-function ss(e) {
- return un() ? e.altKey : e.ctrlKey;
+function cs(e) {
+ return dn() ? e.altKey : e.ctrlKey;
}
-function cs(e, t) {
+function ls(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 ls = /* @__PURE__ */ new WeakMap();
-function us(e) {
- let t = _r();
- return ls.set(e, t), t;
-}
+var us = /* @__PURE__ */ new WeakMap();
function ds(e) {
- return ls.get(e);
+ let t = vr();
+ return us.set(e, t), t;
+}
+function fs(e) {
+ return us.get(e);
}
//#endregion
//#region node_modules/react-aria/dist/private/selection/DOMLayoutDelegate.mjs
-var fs = class {
+var ps = class {
constructor(e) {
this.ref = e;
}
getItemRect(e) {
let t = this.ref.current;
if (!t) return null;
- let n = e == null ? null : cs(this.ref, e);
+ let n = e == null ? null : ls(this.ref, e);
if (!n) return null;
let r = t.getBoundingClientRect(), i = n.getBoundingClientRect();
return {
@@ -5548,12 +5548,12 @@ var fs = class {
height: e?.clientHeight ?? 0
};
}
-}, ps = class {
+}, ms = 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 fs(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 fs(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 ps(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 ps(this.ref);
this.layout === "stack" && this.orientation === "vertical" && (this.getKeyLeftOf = void 0, this.getKeyRightOf = void 0);
}
isDisabled(e) {
@@ -5593,14 +5593,14 @@ var fs = class {
return e.x === t.x || e.y !== t.y;
}
isReversed(e) {
- let t = this.getNextKey(e), n = cs(this.ref, e);
+ let t = this.getNextKey(e), n = ls(this.ref, e);
if (t != null) {
- let e = cs(this.ref, t);
+ let e = ls(this.ref, t);
return !n || !e ? !1 : n.getBoundingClientRect().top > e.getBoundingClientRect().top;
}
let r = this.getPreviousKey(e);
if (r != null) {
- let e = cs(this.ref, r);
+ let e = ls(this.ref, r);
return !n || !e ? !1 : e.getBoundingClientRect().top > n.getBoundingClientRect().top;
}
return !1;
@@ -5634,7 +5634,7 @@ var fs = class {
let t = this.ref.current, n = this.layoutDelegate.getItemRect(e);
if (!n) return null;
let r = this.isReversed(e);
- if (t && !uo(t)) return this.getFirstKey();
+ if (t && !fo(t)) return this.getFirstKey();
let i = e;
if (this.orientation === "horizontal") {
let e = Math.max(0, n.x + n.width - this.layoutDelegate.getVisibleRect().width);
@@ -5649,7 +5649,7 @@ var fs = class {
let t = this.ref.current, n = this.layoutDelegate.getItemRect(e);
if (!n) return null;
let r = this.isReversed(e);
- if (t && !uo(t)) return this.getLastKey();
+ if (t && !fo(t)) return this.getLastKey();
let i = e;
if (this.orientation === "horizontal") {
let e = Math.min(this.layoutDelegate.getContentSize().width, n.x - n.width + this.layoutDelegate.getVisibleRect().width);
@@ -5672,184 +5672,184 @@ var fs = class {
}
return null;
}
-}, ms = {};
-ms = { longPressMessage: "اضغط مطولاً أو اضغط على Alt + السهم لأسفل لفتح القائمة" };
+}, hs = {};
+hs = { longPressMessage: "اضغط مطولاً أو اضغط على Alt + السهم لأسفل لفتح القائمة" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/bg-BG.mjs
-var hs = {};
-hs = { longPressMessage: "Натиснете продължително или натиснете Alt+ стрелка надолу, за да отворите менюто" };
+var gs = {};
+gs = { longPressMessage: "Натиснете продължително или натиснете Alt+ стрелка надолу, за да отворите менюто" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/cs-CZ.mjs
-var gs = {};
-gs = { longPressMessage: "Dlouhým stiskem nebo stisknutím kláves Alt + šipka dolů otevřete nabídku" };
+var _s = {};
+_s = { 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 _s = {};
-_s = { longPressMessage: "Langt tryk eller tryk på Alt + pil ned for at åbne menuen" };
+var vs = {};
+vs = { 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 vs = {};
-vs = { longPressMessage: "Drücken Sie lange oder drücken Sie Alt + Nach-unten, um das Menü zu öffnen" };
+var ys = {};
+ys = { 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 ys = {};
-ys = { longPressMessage: "Πιέστε παρατεταμένα ή πατήστε Alt + κάτω βέλος για να ανοίξετε το μενού" };
+var bs = {};
+bs = { longPressMessage: "Πιέστε παρατεταμένα ή πατήστε Alt + κάτω βέλος για να ανοίξετε το μενού" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/en-US.mjs
-var bs = {};
-bs = { longPressMessage: "Long press or press Alt + ArrowDown to open menu" };
+var xs = {};
+xs = { longPressMessage: "Long press or press Alt + ArrowDown to open menu" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/es-ES.mjs
-var xs = {};
-xs = { longPressMessage: "Mantenga pulsado o pulse Alt + flecha abajo para abrir el menú" };
+var Ss = {};
+Ss = { 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 Ss = {};
-Ss = { longPressMessage: "Menüü avamiseks vajutage pikalt või vajutage klahve Alt + allanool" };
+var Cs = {};
+Cs = { 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 Cs = {};
-Cs = { longPressMessage: "Avaa valikko painamalla pohjassa tai näppäinyhdistelmällä Alt + Alanuoli" };
+var ws = {};
+ws = { 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 ws = {};
-ws = { longPressMessage: "Appuyez de manière prolongée ou appuyez sur Alt\xA0+\xA0Flèche vers le bas pour ouvrir le menu." };
+var Ts = {};
+Ts = { 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 Ts = {};
-Ts = { longPressMessage: "לחץ לחיצה ארוכה או הקש Alt + ArrowDown כדי לפתוח את התפריט" };
+var Es = {};
+Es = { longPressMessage: "לחץ לחיצה ארוכה או הקש Alt + ArrowDown כדי לפתוח את התפריט" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/hr-HR.mjs
-var Es = {};
-Es = { longPressMessage: "Dugo pritisnite ili pritisnite Alt + strelicu prema dolje za otvaranje izbornika" };
+var Ds = {};
+Ds = { 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 Ds = {};
-Ds = { longPressMessage: "Nyomja meg hosszan, vagy nyomja meg az Alt + lefele nyíl gombot a menü megnyitásához" };
+var Os = {};
+Os = { 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 Os = {};
-Os = { longPressMessage: "Premi a lungo o premi Alt + Freccia giù per aprire il menu" };
+var ks = {};
+ks = { 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 ks = {};
-ks = { longPressMessage: "長押しまたは Alt+下矢印キーでメニューを開く" };
+var As = {};
+As = { longPressMessage: "長押しまたは Alt+下矢印キーでメニューを開く" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/ko-KR.mjs
-var As = {};
-As = { longPressMessage: "길게 누르거나 Alt + 아래쪽 화살표를 눌러 메뉴 열기" };
+var js = {};
+js = { longPressMessage: "길게 누르거나 Alt + 아래쪽 화살표를 눌러 메뉴 열기" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/lt-LT.mjs
-var js = {};
-js = { longPressMessage: "Norėdami atidaryti meniu, nuspaudę palaikykite arba paspauskite „Alt + ArrowDown“." };
+var Ms = {};
+Ms = { 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 Ms = {};
-Ms = { longPressMessage: "Lai atvērtu izvēlni, turiet nospiestu vai nospiediet taustiņu kombināciju Alt + lejupvērstā bultiņa" };
+var Ns = {};
+Ns = { 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 Ns = {};
-Ns = { longPressMessage: "Langt trykk eller trykk Alt + PilNed for å åpne menyen" };
+var Ps = {};
+Ps = { longPressMessage: "Langt trykk eller trykk Alt + PilNed for å åpne menyen" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/nl-NL.mjs
-var Ps = {};
-Ps = { longPressMessage: "Druk lang op Alt + pijl-omlaag of druk op Alt om het menu te openen" };
+var Fs = {};
+Fs = { 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 Fs = {};
-Fs = { longPressMessage: "Naciśnij i przytrzymaj lub naciśnij klawisze Alt + Strzałka w dół, aby otworzyć menu" };
+var Is = {};
+Is = { 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 Is = {};
-Is = { longPressMessage: "Pressione e segure ou pressione Alt + Seta para baixo para abrir o menu" };
+var Ls = {};
+Ls = { 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 Ls = {};
-Ls = { longPressMessage: "Prima continuamente ou prima Alt + Seta Para Baixo para abrir o menu" };
+var Rs = {};
+Rs = { 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 Rs = {};
-Rs = { longPressMessage: "Apăsați lung sau apăsați pe Alt + săgeată în jos pentru a deschide meniul" };
+var zs = {};
+zs = { 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 zs = {};
-zs = { longPressMessage: "Нажмите и удерживайте или нажмите Alt + Стрелка вниз, чтобы открыть меню" };
+var Bs = {};
+Bs = { longPressMessage: "Нажмите и удерживайте или нажмите Alt + Стрелка вниз, чтобы открыть меню" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/sk-SK.mjs
-var Bs = {};
-Bs = { longPressMessage: "Ponuku otvoríte dlhým stlačením alebo stlačením klávesu Alt + klávesu so šípkou nadol" };
+var Vs = {};
+Vs = { 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 Vs = {};
-Vs = { longPressMessage: "Za odprtje menija pritisnite in držite gumb ali pritisnite Alt+puščica navzdol" };
+var Hs = {};
+Hs = { 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 Hs = {};
-Hs = { longPressMessage: "Dugo pritisnite ili pritisnite Alt + strelicu prema dole da otvorite meni" };
+var Us = {};
+Us = { 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 Us = {};
-Us = { longPressMessage: "Håll nedtryckt eller tryck på Alt + pil nedåt för att öppna menyn" };
+var Ws = {};
+Ws = { 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 Ws = {};
-Ws = { longPressMessage: "Menüyü açmak için uzun basın veya Alt + Aşağı Ok tuşuna basın" };
+var Gs = {};
+Gs = { 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 Gs = {};
-Gs = { longPressMessage: "Довго або звичайно натисніть комбінацію клавіш Alt і стрілка вниз, щоб відкрити меню" };
+var Ks = {};
+Ks = { longPressMessage: "Довго або звичайно натисніть комбінацію клавіш Alt і стрілка вниз, щоб відкрити меню" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/zh-CN.mjs
-var Ks = {};
-Ks = { longPressMessage: "长按或按 Alt + 向下方向键以打开菜单" };
+var qs = {};
+qs = { longPressMessage: "长按或按 Alt + 向下方向键以打开菜单" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/zh-TW.mjs
-var qs = {};
-qs = { longPressMessage: "長按或按 Alt+向下鍵以開啟功能表" };
+var Js = {};
+Js = { longPressMessage: "長按或按 Alt+向下鍵以開啟功能表" };
//#endregion
//#region node_modules/react-aria/dist/private/menu/intlStrings.mjs
-var Js = {};
-Js = {
- "ar-AE": ms,
- "bg-BG": hs,
- "cs-CZ": gs,
- "da-DK": _s,
- "de-DE": vs,
- "el-GR": ys,
- "en-US": bs,
- "es-ES": xs,
- "et-EE": Ss,
- "fi-FI": Cs,
- "fr-FR": ws,
- "he-IL": Ts,
- "hr-HR": Es,
- "hu-HU": Ds,
- "it-IT": Os,
- "ja-JP": ks,
- "ko-KR": As,
- "lt-LT": js,
- "lv-LV": Ms,
- "nb-NO": Ns,
- "nl-NL": Ps,
- "pl-PL": Fs,
- "pt-BR": Is,
- "pt-PT": Ls,
- "ro-RO": Rs,
- "ru-RU": zs,
- "sk-SK": Bs,
- "sl-SI": Vs,
- "sr-SP": Hs,
- "sv-SE": Us,
- "tr-TR": Ws,
- "uk-UA": Gs,
- "zh-CN": Ks,
- "zh-TW": qs
+var Ys = {};
+Ys = {
+ "ar-AE": hs,
+ "bg-BG": gs,
+ "cs-CZ": _s,
+ "da-DK": vs,
+ "de-DE": ys,
+ "el-GR": bs,
+ "en-US": xs,
+ "es-ES": Ss,
+ "et-EE": Cs,
+ "fi-FI": ws,
+ "fr-FR": Ts,
+ "he-IL": Es,
+ "hr-HR": Ds,
+ "hu-HU": Os,
+ "it-IT": ks,
+ "ja-JP": As,
+ "ko-KR": js,
+ "lt-LT": Ms,
+ "lv-LV": Ns,
+ "nb-NO": Ps,
+ "nl-NL": Fs,
+ "pl-PL": Is,
+ "pt-BR": Ls,
+ "pt-PT": Rs,
+ "ro-RO": zs,
+ "ru-RU": Bs,
+ "sk-SK": Vs,
+ "sl-SI": Hs,
+ "sr-SP": Us,
+ "sv-SE": Ws,
+ "tr-TR": Gs,
+ "uk-UA": Ks,
+ "zh-CN": qs,
+ "zh-TW": Js
};
//#endregion
//#region node_modules/react-aria/dist/private/interactions/useLongPress.mjs
-var Ys = 500;
-function Xs(e) {
- let { isDisabled: t, pointerType: n, onLongPressStart: r, onLongPressEnd: i, onLongPress: a, threshold: o = Ys, accessibilityDescription: s } = e, c = (0, C.useRef)(void 0), { addGlobalListener: l, removeAllGlobalListeners: u } = ha(), d = (e) => n ? e.pointerType === n : e.pointerType === "mouse" || e.pointerType === "touch", { pressProps: f } = xa({
+var Xs = 500;
+function Zs(e) {
+ let { isDisabled: t, pointerType: n, onLongPressStart: r, onLongPressEnd: i, onLongPress: a, threshold: o = Xs, accessibilityDescription: s } = e, c = (0, C.useRef)(void 0), { addGlobalListener: l, removeAllGlobalListeners: u } = ga(), d = (e) => n ? e.pointerType === n : e.pointerType === "mouse" || e.pointerType === "touch", { pressProps: f } = Sa({
isDisabled: t,
onPressStart(e) {
if (e.continuePropagation(), d(e)) {
@@ -5857,12 +5857,12 @@ function Xs(e) {
...e,
type: "longpressstart"
}), c.current = setTimeout(() => {
- e.target.dispatchEvent(new PointerEvent("pointercancel", { bubbles: !0 })), l(e.target, "click", (e) => e.preventDefault(), { once: !0 }), R(e.target).activeElement !== e.target && Ct(e.target), a && a({
+ e.target.dispatchEvent(new PointerEvent("pointercancel", { bubbles: !0 })), l(e.target, "click", (e) => e.preventDefault(), { once: !0 }), L(e.target).activeElement !== e.target && wt(e.target), a && a({
...e,
type: "longpress"
}), c.current = void 0;
}, o), e.pointerType === "touch" && l(e.target, "contextmenu", (e) => e.preventDefault(), { once: !0 });
- let t = Ot(e.target);
+ let t = kt(e.target);
l(t, "pointerup", () => {
setTimeout(() => {
u();
@@ -5877,12 +5877,12 @@ function Xs(e) {
});
}
});
- return { longPressProps: V(f, yo(a && !t ? s : void 0)) };
+ return { longPressProps: B(f, bo(a && !t ? s : void 0)) };
}
//#endregion
//#region node_modules/react-aria/dist/private/interactions/useContextMenu.mjs
-function Zs(e) {
- let { onContextMenu: t } = e, n = (0, C.useRef)(!1), { longPressProps: r } = Xs({
+function Qs(e) {
+ let { onContextMenu: t } = e, n = (0, C.useRef)(!1), { longPressProps: r } = Zs({
onLongPressStart() {
n.current = !1;
},
@@ -5894,7 +5894,7 @@ function Zs(e) {
});
}
});
- return t ? { contextMenuProps: V(ln() ? r : {}, {
+ return t ? { contextMenuProps: B(un() ? r : {}, {
onContextMenu(e) {
e.stopPropagation(), e.preventDefault(), n.current = !0;
let r = e.currentTarget.getBoundingClientRect();
@@ -5905,7 +5905,7 @@ function Zs(e) {
});
},
onKeyDown(e) {
- if (on() && e.ctrlKey && e.key === "Enter") {
+ if (sn() && e.ctrlKey && e.key === "Enter") {
n.current = !1;
let r = e.currentTarget;
e.stopPropagation(), setTimeout(() => {
@@ -5925,13 +5925,13 @@ function Zs(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/overlays/useCloseOnScroll.mjs
-var Qs = /* @__PURE__ */ new WeakMap();
-function $s(e) {
+var $s = /* @__PURE__ */ new WeakMap();
+function ec(e) {
let { triggerRef: t, isOpen: n, onClose: r } = e;
- (0, C.useEffect)(() => !n || r === null ? void 0 : Nt(Rt(t.current), "scroll", (e) => {
- let n = B(e);
- if (!t.current || n instanceof Node && !z(n, t.current) || n instanceof HTMLInputElement || n instanceof HTMLTextAreaElement) return;
- let i = r || Qs.get(t.current);
+ (0, C.useEffect)(() => !n || r === null ? void 0 : Pt(zt(t.current), "scroll", (e) => {
+ let n = z(e);
+ if (!t.current || n instanceof Node && !R(n, t.current) || n instanceof HTMLInputElement || n instanceof HTMLTextAreaElement) return;
+ let i = r || $s.get(t.current);
i && i();
}, !0), [
n,
@@ -5941,14 +5941,14 @@ function $s(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/overlays/useOverlayTrigger.mjs
-function ec(e, t, n) {
+function tc(e, t, n) {
let { type: r } = e, { isOpen: i } = t;
(0, C.useEffect)(() => {
- n && n.current && Qs.set(n.current, t.close);
+ n && n.current && $s.set(n.current, t.close);
});
let a;
r === "menu" ? a = !0 : r === "listbox" && (a = "listbox");
- let o = _r();
+ let o = vr();
return {
triggerProps: {
"aria-haspopup": a,
@@ -5961,14 +5961,14 @@ function ec(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/menu/useMenuTrigger.mjs
-function tc(e) {
+function nc(e) {
return e && e.__esModule ? e.default : e;
}
-function nc(e, t, n) {
- let { type: r = "menu", isDisabled: i, trigger: a = "press" } = e, o = _r(), { triggerProps: s, overlayProps: c } = ec({ type: r }, t, n), l = (e, n, r = "first") => {
+function rc(e, t, n) {
+ let { type: r = "menu", isDisabled: i, trigger: a = "press" } = e, o = vr(), { triggerProps: s, overlayProps: c } = tc({ type: r }, t, n), l = (e, n, r = "first") => {
if (!e || n.isDefaultPrevented()) return !1;
t.toggle(r);
- }, { keyboardProps: u } = Rr({
+ }, { keyboardProps: u } = zr({
isDisabled: i,
shortcuts: {
Enter: (e) => l(a !== "longPress", e, "first"),
@@ -5980,7 +5980,7 @@ function nc(e, t, n) {
"Alt+ArrowDown": (e) => l(!0, e, "first"),
"Alt+ArrowUp": (e) => l(!0, e, "last")
}
- }), d = $i(tc(Js), "@react-aria/menu"), { longPressProps: f } = Xs({
+ }), d = ea(nc(Ys), "@react-aria/menu"), { longPressProps: f } = Zs({
isDisabled: i || a !== "longPress",
accessibilityDescription: d.format("longPressMessage"),
onLongPressStart() {
@@ -5992,14 +5992,14 @@ function nc(e, t, n) {
}), p = {
preventFocusOnPress: !0,
onPressStart(e) {
- e.pointerType !== "touch" && e.pointerType !== "keyboard" && !i && (Ct(e.target), t.open(e.pointerType === "virtual" ? "first" : null));
+ e.pointerType !== "touch" && e.pointerType !== "keyboard" && !i && (wt(e.target), t.open(e.pointerType === "virtual" ? "first" : null));
},
onPress(e) {
- e.pointerType === "touch" && !i && (Ct(e.target), t.toggle());
+ e.pointerType === "touch" && !i && (wt(e.target), t.toggle());
}
};
delete s.onPress;
- let { contextMenuProps: m } = Zs({ onContextMenu(e) {
+ let { contextMenuProps: m } = Qs({ onContextMenu(e) {
let n = e.target.getBoundingClientRect();
t.setPoint({
x: n.x + e.x,
@@ -6009,7 +6009,7 @@ function nc(e, t, n) {
(0, C.useEffect)(() => {
if (t.isOpen && a === "contextMenu") {
let e = (e) => {
- (e.button === 2 || e.button === 0 && e.ctrlKey === !0) && B(e) === document.body && t.close();
+ (e.button === 2 || e.button === 0 && e.ctrlKey === !0) && z(e) === document.body && t.close();
};
return document.addEventListener("mousedown", e), () => document.removeEventListener("mousedown", e);
}
@@ -6044,8 +6044,8 @@ function nc(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/selection/useTypeSelect.mjs
-var rc = 1e3;
-function ic(e) {
+var ic = 1e3;
+function ac(e) {
let { keyboardDelegate: t, selectionManager: n, onTypeSelect: r } = e, i = (0, C.useRef)({
search: "",
timeout: void 0
@@ -6064,12 +6064,12 @@ function ic(e) {
}
clearTimeout(i.current.timeout), i.current.timeout = setTimeout(() => {
i.current.search = "";
- }, rc);
+ }, ic);
}
} : void 0,
onKeyDown: t.getKeyForSearch ? (e) => {
- let a = ac(e.key);
- if (!(!a || e.ctrlKey || e.metaKey || e.altKey || !z(e.currentTarget, B(e)) || i.current.search.length === 0 && a === " ")) {
+ let a = oc(e.key);
+ if (!(!a || e.ctrlKey || e.metaKey || e.altKey || !R(e.currentTarget, z(e)) || i.current.search.length === 0 && a === " ")) {
if (i.current.search += a, t.getKeyForSearch != null) {
let a = t.getKeyForSearch(i.current.search, n.focusedKey);
if (a ??= t.getKeyForSearch(i.current.search), a != null) n.setFocusedKey(a), r && r(a), e.preventDefault(), "continuePropagation" in e || e.stopPropagation();
@@ -6080,34 +6080,34 @@ function ic(e) {
}
clearTimeout(i.current.timeout), i.current.timeout = setTimeout(() => {
i.current.search = "";
- }, rc);
+ }, ic);
}
} : void 0
} };
}
-function ac(e) {
+function oc(e) {
return e.length === 1 || !/^[A-Z]/i.test(e) ? e : "";
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/useUpdateLayoutEffect.mjs
-function oc(e, t) {
+function sc(e, t) {
let n = (0, C.useRef)(!0), r = (0, C.useRef)(null);
- Xt(() => (n.current = !0, () => {
+ Zt(() => (n.current = !0, () => {
n.current = !1;
- }), []), Xt(() => {
+ }), []), Zt(() => {
n.current ? n.current = !1 : (!r.current || t.some((e, t) => !Object.is(e, r[t]))) && e(), r.current = t;
}, t);
}
//#endregion
//#region node_modules/react-aria/dist/private/selection/useSelectableCollection.mjs
-function sc(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 } = zi(), _ = vn(), v = (e, n, i) => {
+function cc(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 } = Bi(), _ = yn(), v = (e, n, i) => {
if (n != null) {
- if (t.isLink(n) && m === "selection" && l && !ss(e)) {
- (0, Qr.flushSync)(() => {
+ if (t.isLink(n) && m === "selection" && l && !cs(e)) {
+ (0, $r.flushSync)(() => {
t.setFocusedKey(n, i);
});
- let a = cs(r, n), o = t.getItemProps(n);
+ let a = ls(r, n), o = t.getItemProps(n);
if (a) {
_.open(a, e, o.href, o.routerOptions);
return;
@@ -6119,7 +6119,7 @@ function sc(e) {
t.extendSelection(n);
return;
}
- if (l && !ss(e)) {
+ if (l && !cs(e)) {
t.replaceSelection(n);
return;
}
@@ -6146,9 +6146,9 @@ function sc(e) {
}, x = (e) => {
if (n.getFirstKey) {
if (t.focusedKey === null && e.shiftKey) return !1;
- let r = n.getFirstKey(t.focusedKey, Si(e));
+ let r = n.getFirstKey(t.focusedKey, Ci(e));
if (t.setFocusedKey(r), r != null) {
- if (Si(e) && e.shiftKey && t.selectionMode === "multiple") {
+ if (Ci(e) && e.shiftKey && t.selectionMode === "multiple") {
t.extendSelection(r);
return;
}
@@ -6180,9 +6180,9 @@ function sc(e) {
}, T = (e) => {
if (n.getLastKey) {
if (t.focusedKey === null && e.shiftKey) return !1;
- let r = n.getLastKey(t.focusedKey, Si(e));
+ let r = n.getLastKey(t.focusedKey, Ci(e));
if (t.setFocusedKey(r), r != null) {
- if (Si(e) && e.shiftKey && t.selectionMode === "multiple") {
+ if (Ci(e) && e.shiftKey && t.selectionMode === "multiple") {
t.extendSelection(r);
return;
}
@@ -6219,12 +6219,12 @@ function sc(e) {
return !1;
}, A = () => {
if (!f && r.current) {
- let e = to(r.current, { tabbable: !0 }), t, n;
+ let e = no(r.current, { tabbable: !0 }), t, n;
do
n = e.lastChild(), n && (t = n);
while (n);
- let i = Lt();
- t && (!zt(t) || i && !Jt(i)) && Ct(t);
+ let i = Rt();
+ t && (!Bt(t) || i && !Yt(i)) && wt(t);
}
return {
shouldContinuePropagation: !0,
@@ -6234,11 +6234,11 @@ function sc(e) {
shouldContinuePropagation: !0,
shouldPreventDefault: !1
}), M = (e, t) => ({
- [on() ? e + "+Shift+Alt" : e + "+Shift+Control"]: t,
+ [sn() ? e + "+Shift+Alt" : e + "+Shift+Control"]: t,
[e + "+Shift"]: t,
- [on() ? e + "+Alt" : e + "+Control"]: t,
+ [sn() ? e + "+Alt" : e + "+Control"]: t,
[e]: t
- }), { keyboardProps: N } = Rr({
+ }), { keyboardProps: N } = zr({
shortcuts: {
...M("ArrowDown", y),
...M("ArrowUp", b),
@@ -6248,30 +6248,30 @@ function sc(e) {
...M("PageUp", D)
},
allowRepeats: !0
- }), { keyboardProps: ee } = Rr({ shortcuts: {
+ }), { keyboardProps: ee } = zr({ shortcuts: {
...M("Home", x),
...M("End", T),
"Mod+A": O,
Escape: k,
Tab: A,
"Tab+Shift": j
- } }), P = (0, C.useRef)({
+ } }), te = (0, C.useRef)({
top: 0,
left: 0
});
- Di(p, "scroll", () => {
- P.current = {
+ Oi(p, "scroll", () => {
+ te.current = {
top: p.current?.scrollTop ?? 0,
left: p.current?.scrollLeft ?? 0
};
});
- let F = (e) => {
+ let P = (e) => {
if (t.isFocused) {
- z(e.currentTarget, B(e)) || t.setFocused(!1);
+ R(e.currentTarget, z(e)) || t.setFocused(!1);
return;
}
- if (!z(e.currentTarget, B(e))) return;
- let i = $n();
+ if (!R(e.currentTarget, z(e))) return;
+ let i = er();
t.setFocused(!0);
let a = (e) => {
e != null && (t.setFocusedKey(e), l && !t.isSelected(e) && t.replaceSelection(e));
@@ -6280,34 +6280,34 @@ function sc(e) {
else if (t.focusedKey == null) {
let r = e.relatedTarget;
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);
+ } else p.current && (p.current.scrollTop = te.current.top, p.current.scrollLeft = te.current.left);
if (t.focusedKey != null && p.current) {
- let e = cs(r, t.focusedKey);
- e instanceof HTMLElement && (!zt(e) && !d && Ct(e), (i === "keyboard" || h && i === "virtual") && go(e, { containingElement: r.current }));
+ let e = ls(r, t.focusedKey);
+ e instanceof HTMLElement && (!Bt(e) && !d && wt(e), (i === "keyboard" || h && i === "virtual") && _o(e, { containingElement: r.current }));
}
- }, te = (e) => {
- z(e.currentTarget, e.relatedTarget) || t.setFocused(!1);
- }, ne = (0, C.useRef)(!1);
- Di(r, _i, d ? (e) => {
+ }, ne = (e) => {
+ R(e.currentTarget, e.relatedTarget) || t.setFocused(!1);
+ }, re = (0, C.useRef)(!1);
+ Oi(r, vi, d ? (e) => {
let { detail: n } = e;
- e.stopPropagation(), t.setFocused(!0), n?.focusStrategy === "first" && (ne.current = !0);
+ e.stopPropagation(), t.setFocused(!0), n?.focusStrategy === "first" && (re.current = !0);
} : void 0);
- let re = n.getFirstKey?.() ?? null;
- oc(() => {
- if (ne.current) {
- if (re == null) {
- let e = Lt();
- vi(r.current), bi(e, null), t.collection.size > 0 && (ne.current = !1);
- } else t.setFocusedKey(re), ne.current = !1;
- }
- }, [re, t.collection.size]), oc(() => {
- t.collection.size > 0 && (ne.current = !1);
- }, [t.focusedKey]), Di(r, gi, d ? (e) => {
+ let ie = n.getFirstKey?.() ?? null;
+ sc(() => {
+ if (re.current) {
+ if (ie == null) {
+ let e = Rt();
+ yi(r.current), xi(e, null), t.collection.size > 0 && (re.current = !1);
+ } else t.setFocusedKey(ie), re.current = !1;
+ }
+ }, [ie, t.collection.size]), sc(() => {
+ t.collection.size > 0 && (re.current = !1);
+ }, [t.focusedKey]), Oi(r, _i, d ? (e) => {
e.stopPropagation(), t.setFocused(!1), e.detail?.clearFocusKey && t.setFocusedKey(null);
} : void 0);
- let ie = (0, C.useRef)(i), ae = (0, C.useRef)(!1);
+ let ae = (0, C.useRef)(i), oe = (0, C.useRef)(!1);
(0, C.useEffect)(() => {
- if (ie.current) {
+ if (ae.current) {
let e = null;
i === "first" && (e = n.getFirstKey?.() ?? null), i === "last" && (e = n.getLastKey?.() ?? null);
let a = t.selectedKeys;
@@ -6317,53 +6317,53 @@ function sc(e) {
break;
}
}
- t.setFocused(!0), t.setFocusedKey(e), e != null && l && !a.size && t.canSelectItem(e) && t.replaceSelection(e), e == null && !d && r.current && ur(r.current), t.collection.size > 0 && (ie.current = !1, ae.current = !0);
+ t.setFocused(!0), t.setFocusedKey(e), e != null && l && !a.size && t.canSelectItem(e) && t.replaceSelection(e), e == null && !d && r.current && dr(r.current), t.collection.size > 0 && (ae.current = !1, oe.current = !0);
}
});
- let oe = (0, C.useRef)(t.focusedKey), se = (0, C.useRef)(null);
+ let se = (0, C.useRef)(t.focusedKey), ce = (0, C.useRef)(null);
(0, C.useEffect)(() => {
- if (t.isFocused && t.focusedKey != null && (t.focusedKey !== oe.current || ae.current) && p.current && r.current) {
- let e = $n(), n = cs(r, t.focusedKey);
+ if (t.isFocused && t.focusedKey != null && (t.focusedKey !== se.current || oe.current) && p.current && r.current) {
+ let e = er(), n = ls(r, t.focusedKey);
if (!(n instanceof HTMLElement)) return;
- (e === "keyboard" || ae.current) && (se.current && cancelAnimationFrame(se.current), se.current = requestAnimationFrame(() => {
- p.current && (mo(p.current, n), e !== "virtual" && go(n, { containingElement: r.current }));
+ (e === "keyboard" || oe.current) && (ce.current && cancelAnimationFrame(ce.current), ce.current = requestAnimationFrame(() => {
+ p.current && (ho(p.current, n), e !== "virtual" && _o(n, { containingElement: r.current }));
}));
}
- !d && t.isFocused && t.focusedKey == null && oe.current != null && r.current && ur(r.current), oe.current = t.focusedKey, ae.current = !1;
+ !d && t.isFocused && t.focusedKey == null && se.current != null && r.current && dr(r.current), se.current = t.focusedKey, oe.current = !1;
}), (0, C.useEffect)(() => () => {
- se.current && cancelAnimationFrame(se.current);
- }, []), Di(r, "react-aria-focus-scope-restore", (e) => {
+ ce.current && cancelAnimationFrame(ce.current);
+ }, []), Oi(r, "react-aria-focus-scope-restore", (e) => {
e.preventDefault(), t.setFocused(!0);
});
- let ce = {
- ...V(ee, N),
- onFocus: F,
- onBlur: te,
+ let le = {
+ ...B(ee, N),
+ onFocus: P,
+ onBlur: ne,
onMouseDown(e) {
- p.current === B(e) && e.preventDefault();
+ p.current === z(e) && e.preventDefault();
}
- }, { typeSelectProps: le } = ic({
+ }, { typeSelectProps: ue } = ac({
keyboardDelegate: n,
selectionManager: t
});
- u || (ce = V(le, ce));
- let ue;
- d || (ue = t.focusedKey == null ? 0 : -1);
- let de = us(t.collection);
- return { collectionProps: V(ce, {
- tabIndex: ue,
- "data-collection": de
+ u || (le = B(ue, le));
+ let de;
+ d || (de = t.focusedKey == null ? 0 : -1);
+ let fe = ds(t.collection);
+ return { collectionProps: B(le, {
+ tabIndex: de,
+ "data-collection": fe
}) };
}
//#endregion
//#region node_modules/react-stately/dist/private/collections/getChildNodes.mjs
-function cc(e, t) {
+function lc(e, t) {
return typeof t.getChildren == "function" ? t.getChildren(e.key) : e.childNodes;
}
-function lc(e) {
- return uc(e, 0);
+function uc(e) {
+ return dc(e, 0);
}
-function uc(e, t) {
+function dc(e, t) {
if (t < 0) return;
let n = 0;
for (let r of e) {
@@ -6371,101 +6371,101 @@ function uc(e, t) {
n++;
}
}
-function dc(e) {
+function fc(e) {
let t;
for (let n of e) t = n;
return t;
}
-function fc(e, t, n) {
+function pc(e, t, n) {
if (t.parentKey === n.parentKey) return t.index - n.index;
- let r = [...pc(e, t), t], i = [...pc(e, n), n], a = r.slice(0, i.length).findIndex((e, t) => e !== i[t]);
+ let r = [...mc(e, t), t], i = [...mc(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 pc(e, t) {
+function mc(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 mc = /* @__PURE__ */ new WeakMap();
-function hc(e) {
- let t = mc.get(e);
+var hc = /* @__PURE__ */ new WeakMap();
+function gc(e) {
+ let t = hc.get(e);
if (t != null) return t;
let n = 0, r = (t) => {
- for (let i of t) i.type === "section" ? r(cc(i, e)) : i.type === "item" && n++;
+ for (let i of t) i.type === "section" ? r(lc(i, e)) : i.type === "item" && n++;
};
- return r(e), mc.set(e, n), n;
+ return r(e), hc.set(e, n), n;
}
//#endregion
//#region node_modules/react-aria/dist/private/i18n/useCollator.mjs
-var gc = /* @__PURE__ */ new Map();
-function _c(e) {
- let { locale: t } = zi(), n = t + (e ? Object.entries(e).sort((e, t) => e[0] < t[0] ? -1 : 1).join() : "");
- if (gc.has(n)) return gc.get(n);
+var _c = /* @__PURE__ */ new Map();
+function vc(e) {
+ let { locale: t } = Bi(), n = t + (e ? Object.entries(e).sort((e, t) => e[0] < t[0] ? -1 : 1).join() : "");
+ if (_c.has(n)) return _c.get(n);
let r = new Intl.Collator(t, e);
- return gc.set(n, r), r;
+ return _c.set(n, r), r;
}
//#endregion
//#region node_modules/react-aria/dist/private/interactions/PressResponder.mjs
-function vc({ children: e }) {
+function yc({ children: e }) {
let t = (0, C.useMemo)(() => ({ register: () => {} }), []);
- return /*#__PURE__*/ C.createElement(ma.Provider, { value: t }, e);
+ return /*#__PURE__*/ C.createElement(ha.Provider, { value: t }, e);
}
//#endregion
//#region node_modules/react-aria/dist/private/overlays/PortalProvider.mjs
-var yc = /*#__PURE__*/ (0, C.createContext)({});
-function bc(e) {
- let { getContainer: t } = e, { getContainer: n } = xc();
- return /*#__PURE__*/ C.createElement(yc.Provider, { value: { getContainer: t === null ? void 0 : t ?? n } }, e.children);
+var bc = /*#__PURE__*/ (0, C.createContext)({});
+function xc(e) {
+ let { getContainer: t } = e, { getContainer: n } = Sc();
+ return /*#__PURE__*/ C.createElement(bc.Provider, { value: { getContainer: t === null ? void 0 : t ?? n } }, e.children);
}
-function xc() {
- return (0, C.useContext)(yc) ?? {};
+function Sc() {
+ return (0, C.useContext)(bc) ?? {};
}
//#endregion
//#region node_modules/react-aria/dist/private/overlays/Overlay.mjs
-var Sc = /*#__PURE__*/ C.createContext(null);
-function Cc(e) {
- let t = Fn(), { portalContainer: n = t ? null : document.body, isExiting: r } = e, [i, a] = (0, C.useState)(!1), o = (0, C.useMemo)(() => ({
+var Cc = /*#__PURE__*/ C.createContext(null);
+function wc(e) {
+ let t = In(), { portalContainer: n = t ? null : document.body, isExiting: r } = e, [i, a] = (0, C.useState)(!1), o = (0, C.useMemo)(() => ({
contain: i,
setContain: a
- }), [i, a]), { getContainer: s } = xc();
+ }), [i, a]), { getContainer: s } = Sc();
if (!e.portalContainer && s && (n = s()), !n) return null;
let c = e.children;
- return e.disableFocusManagement || (c = /*#__PURE__*/ C.createElement(Fa, {
+ return e.disableFocusManagement || (c = /*#__PURE__*/ C.createElement(Ia, {
restoreFocus: !0,
contain: (e.shouldContainFocus || i) && !r
- }, c)), c = /*#__PURE__*/ C.createElement(Sc.Provider, { value: o }, /*#__PURE__*/ C.createElement(vc, null, /*#__PURE__*/ C.createElement(Vr.Provider, { value: null }, c))), /*#__PURE__*/ Qr.createPortal(c, n);
+ }, c)), c = /*#__PURE__*/ C.createElement(Cc.Provider, { value: o }, /*#__PURE__*/ C.createElement(yc, null, /*#__PURE__*/ C.createElement(Hr.Provider, { value: null }, c))), /*#__PURE__*/ $r.createPortal(c, n);
}
-function wc() {
- let e = (0, C.useContext)(Sc)?.setContain;
- Xt(() => {
+function Tc() {
+ let e = (0, C.useContext)(Cc)?.setContain;
+ Zt(() => {
e?.(!0);
}, [e]);
}
//#endregion
//#region node_modules/react-aria/dist/private/dialog/useDialog.mjs
-function Tc(e, t) {
- let { role: n = "dialog" } = e, r = yr();
+function Ec(e, t) {
+ let { role: n = "dialog" } = e, r = br();
r = e["aria-label"] ? void 0 : r;
- let i = yr();
+ let i = br();
i = n === "alertdialog" && !e["aria-describedby"] ? i : void 0;
let a = (0, C.useRef)(!1);
(0, C.useEffect)(() => {
- if (t.current && !zt(t.current)) {
- ur(t.current);
+ if (t.current && !Bt(t.current)) {
+ dr(t.current);
let e = setTimeout(() => {
- (Lt() === t.current || Lt() === document.body) && (a.current = !0, t.current && (t.current.blur(), ur(t.current)), a.current = !1);
+ (Rt() === t.current || Rt() === document.body) && (a.current = !0, t.current && (t.current.blur(), dr(t.current)), a.current = !1);
}, 500);
return () => {
clearTimeout(e);
};
}
- }, [t]), wc(), (0, C.useRef)(!1), (0, C.useEffect)(() => {});
+ }, [t]), Tc(), (0, C.useRef)(!1), (0, C.useEffect)(() => {});
let o = e["aria-describedby"] ?? i;
return {
dialogProps: {
- ...H(e, { labelable: !0 }),
+ ...V(e, { labelable: !0 }),
role: n,
tabIndex: -1,
"aria-labelledby": e["aria-labelledby"] ?? r,
@@ -6480,23 +6480,23 @@ function Tc(e, t) {
}
//#endregion
//#region node_modules/react-aria/dist/private/focus/useFocusRing.mjs
-function Ec(e = {}) {
+function Dc(e = {}) {
let { autoFocus: t = !1, isTextInput: n, within: r } = e, i = (0, C.useRef)({
isFocused: !1,
- isFocusVisible: t || Qn()
+ isFocusVisible: t || $n()
}), [a, o] = (0, C.useState)(!1), [s, c] = (0, C.useState)(() => i.current.isFocused && i.current.isFocusVisible), l = (0, C.useCallback)(() => c(i.current.isFocused && i.current.isFocusVisible), []), u = (0, C.useCallback)((e) => {
- i.current.isFocused = e, i.current.isFocusVisible = Qn(), o(e), l();
+ i.current.isFocused = e, i.current.isFocusVisible = $n(), o(e), l();
}, [l]);
- ir((e) => {
+ ar((e) => {
i.current.isFocusVisible = e, l();
}, [n, a], {
enabled: a,
isTextInput: n
});
- let { focusProps: d } = wr({
+ let { focusProps: d } = Tr({
isDisabled: r,
onFocusChange: u
- }), { focusWithinProps: f } = Ho({
+ }), { focusWithinProps: f } = Uo({
isDisabled: !r,
onFocusWithinChange: u
});
@@ -6508,42 +6508,42 @@ function Ec(e = {}) {
}
//#endregion
//#region node_modules/react-aria/dist/private/i18n/useListFormatter.mjs
-function Dc(e = {}) {
- let { locale: t } = zi();
+function Oc(e = {}) {
+ let { locale: t } = Bi();
return (0, C.useMemo)(() => new Intl.ListFormat(t, e), [t, e]);
}
//#endregion
//#region node_modules/react-aria/dist/private/interactions/useHover.mjs
-var Oc = !1, kc = 0;
-function Ac() {
- Oc = !0, setTimeout(() => {
- Oc = !1;
+var kc = !1, Ac = 0;
+function jc() {
+ kc = !0, setTimeout(() => {
+ kc = !1;
}, 500);
}
-function jc(e) {
- e.pointerType === "touch" && Ac();
+function Mc(e) {
+ e.pointerType === "touch" && jc();
}
-function Mc() {
- let e = R(null);
- if (e !== void 0) return kc === 0 && typeof PointerEvent < "u" && e.addEventListener("pointerup", jc), kc++, () => {
- kc--, !(kc > 0) && typeof PointerEvent < "u" && e.removeEventListener("pointerup", jc);
+function Nc() {
+ let e = L(null);
+ if (e !== void 0) return Ac === 0 && typeof PointerEvent < "u" && e.addEventListener("pointerup", Mc), Ac++, () => {
+ Ac--, !(Ac > 0) && typeof PointerEvent < "u" && e.removeEventListener("pointerup", Mc);
};
}
-function Nc(e) {
+function Pc(e) {
let { onHoverStart: t, onHoverChange: n, onHoverEnd: r, isDisabled: i } = e, [a, o] = (0, C.useState)(!1), s = (0, C.useRef)({
isHovered: !1,
ignoreEmulatedMouseEvents: !1,
pointerType: "",
target: null
}).current;
- (0, C.useEffect)(Mc, []);
- let { addGlobalListener: c, removeAllGlobalListeners: l } = ha(), { hoverProps: u, triggerHoverEnd: d } = (0, C.useMemo)(() => {
+ (0, C.useEffect)(Nc, []);
+ let { addGlobalListener: c, removeAllGlobalListeners: l } = ga(), { hoverProps: u, triggerHoverEnd: d } = (0, C.useMemo)(() => {
let e = (e, r) => {
- if (s.pointerType = r, i || r === "touch" || s.isHovered || !z(e.currentTarget, B(e))) return;
+ if (s.pointerType = r, i || r === "touch" || s.isHovered || !R(e.currentTarget, z(e))) return;
s.isHovered = !0;
let l = e.currentTarget;
- s.target = l, c(R(B(e)), "pointerover", (e) => {
- s.isHovered && s.target && !z(s.target, B(e)) && a(e, e.pointerType);
+ s.target = l, c(L(z(e)), "pointerover", (e) => {
+ s.isHovered && s.target && !R(s.target, z(e)) && a(e, e.pointerType);
}, { capture: !0 }), t && t({
type: "hoverstart",
target: l,
@@ -6558,9 +6558,9 @@ function Nc(e) {
}), n && n(!1), o(!1));
}, u = {};
return typeof PointerEvent < "u" && (u.onPointerEnter = (t) => {
- Oc && t.pointerType === "mouse" || e(t, t.pointerType);
+ kc && t.pointerType === "mouse" || e(t, t.pointerType);
}, u.onPointerLeave = (e) => {
- !i && z(e.currentTarget, B(e)) && a(e, e.pointerType);
+ !i && R(e.currentTarget, z(e)) && a(e, e.pointerType);
}), {
hoverProps: u,
triggerHoverEnd: a
@@ -6583,22 +6583,22 @@ function Nc(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/interactions/useInteractOutside.mjs
-function Pc(e) {
+function Fc(e) {
let { ref: t, onInteractOutside: n, isDisabled: r, onInteractOutsideStart: i } = e, a = (0, C.useRef)({
isPointerDown: !1,
ignoreEmulatedMouseEvents: !1
- }), o = Ei((e) => {
- n && Fc(e, t) && (i && i(e), a.current.isPointerDown = !0);
- }), s = Ei((e) => {
+ }), o = Di((e) => {
+ n && Ic(e, t) && (i && i(e), a.current.isPointerDown = !0);
+ }), s = Di((e) => {
n && n(e);
});
(0, C.useEffect)(() => {
let e = a.current;
if (r) return;
- let n = t.current, i = R(n);
+ let n = t.current, i = L(n);
if (typeof PointerEvent < "u") {
let n = (n) => {
- e.isPointerDown && Fc(n, t) && s(n), e.isPointerDown = !1;
+ e.isPointerDown && Ic(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);
@@ -6606,19 +6606,19 @@ function Pc(e) {
}
}, [t, r]);
}
-function Fc(e, t) {
+function Ic(e, t) {
if (e.button > 0) return !1;
- let n = B(e);
+ let n = z(e);
if (n) {
let e = n.ownerDocument;
- if (!e || !z(e.documentElement, n) || n.closest("[data-react-aria-top-layer]")) return !1;
+ if (!e || !R(e.documentElement, n) || n.closest("[data-react-aria-top-layer]")) return !1;
}
return t.current ? !e.composedPath().includes(t.current) : !1;
}
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/ar-AE.mjs
-var Ic = {};
-Ic = {
+var Lc = {};
+Lc = {
deselectedItem: (e) => `${e.item} \u{63A}\u{64A}\u{631} \u{627}\u{644}\u{645}\u{62D}\u{62F}\u{62F}`,
longPressToSelect: "اضغط مطولًا للدخول إلى وضع التحديد.",
select: "تحديد",
@@ -6632,8 +6632,8 @@ Ic = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/bg-BG.mjs
-var Lc = {};
-Lc = {
+var Rc = {};
+Rc = {
deselectedItem: (e) => `${e.item} \u{43D}\u{435} \u{435} \u{438}\u{437}\u{431}\u{440}\u{430}\u{43D}.`,
longPressToSelect: "Натиснете и задръжте за да влезете в избирателен режим.",
select: "Изберете",
@@ -6647,8 +6647,8 @@ Lc = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/cs-CZ.mjs
-var Rc = {};
-Rc = {
+var zc = {};
+zc = {
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",
@@ -6662,8 +6662,8 @@ Rc = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/da-DK.mjs
-var zc = {};
-zc = {
+var Bc = {};
+Bc = {
deselectedItem: (e) => `${e.item} ikke valgt.`,
longPressToSelect: "Lav et langt tryk for at aktivere valgtilstand.",
select: "Vælg",
@@ -6677,8 +6677,8 @@ zc = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/de-DE.mjs
-var Bc = {};
-Bc = {
+var Vc = {};
+Vc = {
deselectedItem: (e) => `${e.item} nicht ausgew\xe4hlt.`,
longPressToSelect: "Gedrückt halten, um Auswahlmodus zu öffnen.",
select: "Auswählen",
@@ -6692,8 +6692,8 @@ Bc = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/el-GR.mjs
-var Vc = {};
-Vc = {
+var Hc = {};
+Hc = {
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: "Επιλογή",
@@ -6707,8 +6707,8 @@ Vc = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/en-US.mjs
-var Hc = {};
-Hc = {
+var Uc = {};
+Uc = {
deselectedItem: (e) => `${e.item} not selected.`,
select: "Select",
selectedCount: (e, t) => `${t.plural(e.count, {
@@ -6722,8 +6722,8 @@ Hc = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/es-ES.mjs
-var Uc = {};
-Uc = {
+var Wc = {};
+Wc = {
deselectedItem: (e) => `${e.item} no seleccionado.`,
longPressToSelect: "Mantenga pulsado para abrir el modo de selección.",
select: "Seleccionar",
@@ -6737,8 +6737,8 @@ Uc = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/et-EE.mjs
-var Wc = {};
-Wc = {
+var Gc = {};
+Gc = {
deselectedItem: (e) => `${e.item} pole valitud.`,
longPressToSelect: "Valikurežiimi sisenemiseks vajutage pikalt.",
select: "Vali",
@@ -6752,8 +6752,8 @@ Wc = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/fi-FI.mjs
-var Gc = {};
-Gc = {
+var Kc = {};
+Kc = {
deselectedItem: (e) => `Kohdetta ${e.item} ei valittu.`,
longPressToSelect: "Siirry valintatilaan painamalla pitkään.",
select: "Valitse",
@@ -6767,8 +6767,8 @@ Gc = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/fr-FR.mjs
-var Kc = {};
-Kc = {
+var qc = {};
+qc = {
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",
@@ -6782,8 +6782,8 @@ Kc = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/he-IL.mjs
-var qc = {};
-qc = {
+var Jc = {};
+Jc = {
deselectedItem: (e) => `${e.item} \u{5DC}\u{5D0} \u{5E0}\u{5D1}\u{5D7}\u{5E8}.`,
longPressToSelect: "הקשה ארוכה לכניסה למצב בחירה.",
select: "בחר",
@@ -6797,8 +6797,8 @@ qc = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/hr-HR.mjs
-var Jc = {};
-Jc = {
+var Yc = {};
+Yc = {
deselectedItem: (e) => `Stavka ${e.item} nije odabrana.`,
longPressToSelect: "Dugo pritisnite za ulazak u način odabira.",
select: "Odaberite",
@@ -6812,8 +6812,8 @@ Jc = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/hu-HU.mjs
-var Yc = {};
-Yc = {
+var Xc = {};
+Xc = {
deselectedItem: (e) => `${e.item} nincs kijel\xf6lve.`,
longPressToSelect: "Nyomja hosszan a kijelöléshez.",
select: "Kijelölés",
@@ -6827,8 +6827,8 @@ Yc = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/it-IT.mjs
-var Xc = {};
-Xc = {
+var Zc = {};
+Zc = {
deselectedItem: (e) => `${e.item} non selezionato.`,
longPressToSelect: "Premi a lungo per passare alla modalità di selezione.",
select: "Seleziona",
@@ -6842,8 +6842,8 @@ Xc = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/ja-JP.mjs
-var Zc = {};
-Zc = {
+var Qc = {};
+Qc = {
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: "選択",
@@ -6857,8 +6857,8 @@ Zc = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/ko-KR.mjs
-var Qc = {};
-Qc = {
+var $c = {};
+$c = {
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: "선택",
@@ -6872,8 +6872,8 @@ Qc = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/lt-LT.mjs
-var $c = {};
-$c = {
+var el = {};
+el = {
deselectedItem: (e) => `${e.item} nepasirinkta.`,
longPressToSelect: "Norėdami įjungti pasirinkimo režimą, paspauskite ir palaikykite.",
select: "Pasirinkti",
@@ -6887,8 +6887,8 @@ $c = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/lv-LV.mjs
-var el = {};
-el = {
+var tl = {};
+tl = {
deselectedItem: (e) => `Vienums ${e.item} nav atlas\u{12B}ts.`,
longPressToSelect: "Ilgi turiet nospiestu. lai ieslēgtu atlases režīmu.",
select: "Atlasīt",
@@ -6902,8 +6902,8 @@ el = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/nb-NO.mjs
-var tl = {};
-tl = {
+var nl = {};
+nl = {
deselectedItem: (e) => `${e.item} er ikke valgt.`,
longPressToSelect: "Bruk et langt trykk for å gå inn i valgmodus.",
select: "Velg",
@@ -6917,8 +6917,8 @@ tl = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/nl-NL.mjs
-var nl = {};
-nl = {
+var rl = {};
+rl = {
deselectedItem: (e) => `${e.item} niet geselecteerd.`,
longPressToSelect: "Druk lang om de selectiemodus te openen.",
select: "Selecteren",
@@ -6932,8 +6932,8 @@ nl = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/pl-PL.mjs
-var rl = {};
-rl = {
+var il = {};
+il = {
deselectedItem: (e) => `Nie zaznaczono ${e.item}.`,
longPressToSelect: "Naciśnij i przytrzymaj, aby wejść do trybu wyboru.",
select: "Zaznacz",
@@ -6947,8 +6947,8 @@ rl = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/pt-BR.mjs
-var il = {};
-il = {
+var al = {};
+al = {
deselectedItem: (e) => `${e.item} n\xe3o selecionado.`,
longPressToSelect: "Mantenha pressionado para entrar no modo de seleção.",
select: "Selecionar",
@@ -6962,8 +6962,8 @@ il = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/pt-PT.mjs
-var al = {};
-al = {
+var ol = {};
+ol = {
deselectedItem: (e) => `${e.item} n\xe3o selecionado.`,
longPressToSelect: "Prima continuamente para entrar no modo de seleção.",
select: "Selecionar",
@@ -6977,8 +6977,8 @@ al = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/ro-RO.mjs
-var ol = {};
-ol = {
+var sl = {};
+sl = {
deselectedItem: (e) => `${e.item} neselectat.`,
longPressToSelect: "Apăsați lung pentru a intra în modul de selectare.",
select: "Selectare",
@@ -6992,8 +6992,8 @@ ol = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/ru-RU.mjs
-var sl = {};
-sl = {
+var cl = {};
+cl = {
deselectedItem: (e) => `${e.item} \u{43D}\u{435} \u{432}\u{44B}\u{431}\u{440}\u{430}\u{43D}\u{43E}.`,
longPressToSelect: "Нажмите и удерживайте для входа в режим выбора.",
select: "Выбрать",
@@ -7007,8 +7007,8 @@ sl = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/sk-SK.mjs
-var cl = {};
-cl = {
+var ll = {};
+ll = {
deselectedItem: (e) => `Nevybrat\xe9 polo\u{17E}ky: ${e.item}.`,
longPressToSelect: "Dlhším stlačením prejdite do režimu výberu.",
select: "Vybrať",
@@ -7022,8 +7022,8 @@ cl = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/sl-SI.mjs
-var ll = {};
-ll = {
+var ul = {};
+ul = {
deselectedItem: (e) => `Element ${e.item} ni izbran.`,
longPressToSelect: "Za izbirni način pritisnite in dlje časa držite.",
select: "Izberite",
@@ -7037,8 +7037,8 @@ ll = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/sr-SP.mjs
-var ul = {};
-ul = {
+var dl = {};
+dl = {
deselectedItem: (e) => `${e.item} nije izabrano.`,
longPressToSelect: "Dugo pritisnite za ulazak u režim biranja.",
select: "Izaberite",
@@ -7052,8 +7052,8 @@ ul = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/sv-SE.mjs
-var dl = {};
-dl = {
+var fl = {};
+fl = {
deselectedItem: (e) => `${e.item} ej markerat.`,
longPressToSelect: "Tryck länge när du vill öppna väljarläge.",
select: "Markera",
@@ -7067,8 +7067,8 @@ dl = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/tr-TR.mjs
-var fl = {};
-fl = {
+var pl = {};
+pl = {
deselectedItem: (e) => `${e.item} se\xe7ilmedi.`,
longPressToSelect: "Seçim moduna girmek için uzun basın.",
select: "Seç",
@@ -7082,8 +7082,8 @@ fl = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/uk-UA.mjs
-var pl = {};
-pl = {
+var ml = {};
+ml = {
deselectedItem: (e) => `${e.item} \u{43D}\u{435} \u{432}\u{438}\u{431}\u{440}\u{430}\u{43D}\u{43E}.`,
longPressToSelect: "Виконайте довге натиснення, щоб перейти в режим вибору.",
select: "Вибрати",
@@ -7097,8 +7097,8 @@ pl = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/zh-CN.mjs
-var ml = {};
-ml = {
+var hl = {};
+hl = {
deselectedItem: (e) => `\u{672A}\u{9009}\u{62E9} ${e.item}\u{3002}`,
longPressToSelect: "长按以进入选择模式。",
select: "选择",
@@ -7112,8 +7112,8 @@ ml = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/zh-TW.mjs
-var hl = {};
-hl = {
+var gl = {};
+gl = {
deselectedItem: (e) => `\u{672A}\u{9078}\u{53D6}\u{300C}${e.item}\u{300D}\u{3002}`,
longPressToSelect: "長按以進入選擇模式。",
select: "選取",
@@ -7127,55 +7127,55 @@ hl = {
};
//#endregion
//#region node_modules/react-aria/dist/private/grid/intlStrings.mjs
-var gl = {};
-gl = {
- "ar-AE": Ic,
- "bg-BG": Lc,
- "cs-CZ": Rc,
- "da-DK": zc,
- "de-DE": Bc,
- "el-GR": Vc,
- "en-US": Hc,
- "es-ES": Uc,
- "et-EE": Wc,
- "fi-FI": Gc,
- "fr-FR": Kc,
- "he-IL": qc,
- "hr-HR": Jc,
- "hu-HU": Yc,
- "it-IT": Xc,
- "ja-JP": Zc,
- "ko-KR": Qc,
- "lt-LT": $c,
- "lv-LV": el,
- "nb-NO": tl,
- "nl-NL": nl,
- "pl-PL": rl,
- "pt-BR": il,
- "pt-PT": al,
- "ro-RO": ol,
- "ru-RU": sl,
- "sk-SK": cl,
- "sl-SI": ll,
- "sr-SP": ul,
- "sv-SE": dl,
- "tr-TR": fl,
- "uk-UA": pl,
- "zh-CN": ml,
- "zh-TW": hl
+var _l = {};
+_l = {
+ "ar-AE": Lc,
+ "bg-BG": Rc,
+ "cs-CZ": zc,
+ "da-DK": Bc,
+ "de-DE": Vc,
+ "el-GR": Hc,
+ "en-US": Uc,
+ "es-ES": Wc,
+ "et-EE": Gc,
+ "fi-FI": Kc,
+ "fr-FR": qc,
+ "he-IL": Jc,
+ "hr-HR": Yc,
+ "hu-HU": Xc,
+ "it-IT": Zc,
+ "ja-JP": Qc,
+ "ko-KR": $c,
+ "lt-LT": el,
+ "lv-LV": tl,
+ "nb-NO": nl,
+ "nl-NL": rl,
+ "pl-PL": il,
+ "pt-BR": al,
+ "pt-PT": ol,
+ "ro-RO": sl,
+ "ru-RU": cl,
+ "sk-SK": ll,
+ "sl-SI": ul,
+ "sr-SP": dl,
+ "sv-SE": fl,
+ "tr-TR": pl,
+ "uk-UA": ml,
+ "zh-CN": hl,
+ "zh-TW": gl
};
//#endregion
//#region node_modules/react-aria/dist/private/grid/useGridSelectionAnnouncement.mjs
-function _l(e) {
+function vl(e) {
return e && e.__esModule ? e.default : e;
}
-function vl(e, t) {
- let { getRowText: n = (e) => t.collection.getTextValue?.(e) ?? t.collection.getItem(e)?.textValue } = e, r = $i(_l(gl), "@react-aria/grid"), i = t.selectionManager.rawSelection, a = (0, C.useRef)(i), o = (0, C.useCallback)(() => {
+function yl(e, t) {
+ let { getRowText: n = (e) => t.collection.getTextValue?.(e) ?? t.collection.getItem(e)?.textValue } = e, r = ea(vl(_l), "@react-aria/grid"), i = t.selectionManager.rawSelection, a = (0, C.useRef)(i), o = (0, C.useCallback)(() => {
if (!t.selectionManager.isFocused || i === a.current) {
a.current = i;
return;
}
- let e = yl(i, a.current), o = yl(a.current, i), s = t.selectionManager.selectionBehavior === "replace", c = [];
+ let e = bl(i, a.current), o = bl(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)) {
@@ -7195,7 +7195,7 @@ function vl(e, t) {
t && c.push(r.format("deselectedItem", { item: t }));
}
}
- t.selectionManager.selectionMode === "multiple" && (c.length === 0 || i === "all" || i.size > 1 || a.current === "all" || a.current?.size > 1) && c.push(i === "all" ? r.format("selectedAll") : r.format("selectedCount", { count: i.size })), c.length > 0 && so(c.join(" ")), a.current = i;
+ t.selectionManager.selectionMode === "multiple" && (c.length === 0 || i === "all" || i.size > 1 || a.current === "all" || a.current?.size > 1) && c.push(i === "all" ? r.format("selectedAll") : r.format("selectedCount", { count: i.size })), c.length > 0 && co(c.join(" ")), a.current = i;
}, [
i,
t.selectionManager.selectedKeys,
@@ -7206,7 +7206,7 @@ function vl(e, t) {
n,
r
]);
- lo(() => {
+ uo(() => {
if (t.selectionManager.isFocused) o();
else {
let e = requestAnimationFrame(o);
@@ -7214,7 +7214,7 @@ function vl(e, t) {
}
}, [i, t.selectionManager.isFocused]);
}
-function yl(e, t) {
+function bl(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);
@@ -7222,13 +7222,13 @@ function yl(e, t) {
}
//#endregion
//#region node_modules/react-aria/dist/private/focus/useHasTabbableChild.mjs
-function bl(e, t) {
+function xl(e, t) {
let n = t?.isDisabled, [r, i] = (0, C.useState)(!1);
- return Xt(() => {
+ return Zt(() => {
if (e?.current && !n) {
let t = () => {
if (e.current) {
- let t = to(e.current, { tabbable: !0 });
+ let t = no(e.current, { tabbable: !0 });
i(!!t.nextNode());
}
};
@@ -7247,12 +7247,12 @@ function bl(e, t) {
}
//#endregion
//#region node_modules/react-aria/dist/private/grid/useHighlightSelectionDescription.mjs
-function xl(e) {
+function Sl(e) {
return e && e.__esModule ? e.default : e;
}
-function Sl(e) {
- let t = $i(xl(gl), "@react-aria/grid"), n = tr(), r = (n === "pointer" || n === "virtual" || n == null) && typeof window < "u" && "ontouchstart" in window;
- return yo((0, C.useMemo)(() => {
+function Cl(e) {
+ let t = ea(Sl(_l), "@react-aria/grid"), n = nr(), r = (n === "pointer" || n === "virtual" || n == null) && typeof window < "u" && "ontouchstart" in window;
+ return bo((0, C.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;
}, [
@@ -7265,11 +7265,11 @@ function Sl(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/selection/useSelectableList.mjs
-function Cl(e) {
- let { selectionManager: t, collection: n, disabledKeys: r, ref: i, keyboardDelegate: a, layoutDelegate: o, orientation: s } = e, c = _c({
+function wl(e) {
+ let { selectionManager: t, collection: n, disabledKeys: r, ref: i, keyboardDelegate: a, layoutDelegate: o, orientation: s } = e, c = vc({
usage: "search",
sensitivity: "base"
- }), l = t.disabledBehavior, u = (0, C.useMemo)(() => a || new ps({
+ }), l = t.disabledBehavior, u = (0, C.useMemo)(() => a || new ms({
collection: n,
disabledKeys: r,
disabledBehavior: l,
@@ -7286,7 +7286,7 @@ function Cl(e) {
c,
l,
s
- ]), { collectionProps: d } = sc({
+ ]), { collectionProps: d } = cc({
...e,
ref: i,
selectionManager: t,
@@ -7296,11 +7296,11 @@ function Cl(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/selection/useSelectableItem.mjs
-function wl(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 = vn();
- t = _r(t);
+function Tl(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 = yn();
+ t = vr(t);
let p = (e) => {
- if (e.pointerType === "keyboard" && ss(e)) n.toggleSelection(r);
+ if (e.pointerType === "keyboard" && cs(e)) n.toggleSelection(r);
else {
if (n.selectionMode === "none") return;
if (n.isLink(r)) {
@@ -7311,11 +7311,11 @@ function wl(e) {
}
if (d === "override" || d === "none") return;
}
- n.selectionMode === "single" ? n.isSelected(r) && !n.disallowEmptySelection ? n.toggleSelection(r) : n.replaceSelection(r) : e && e.shiftKey ? n.extendSelection(r) : n.selectionBehavior === "toggle" || e && (Si(e) || e.pointerType === "touch" || e.pointerType === "virtual") ? n.toggleSelection(r) : n.replaceSelection(r);
+ n.selectionMode === "single" ? n.isSelected(r) && !n.disallowEmptySelection ? n.toggleSelection(r) : n.replaceSelection(r) : e && e.shiftKey ? n.extendSelection(r) : n.selectionBehavior === "toggle" || e && (Ci(e) || e.pointerType === "touch" || e.pointerType === "virtual") ? n.toggleSelection(r) : n.replaceSelection(r);
}
};
(0, C.useEffect)(() => {
- r === n.focusedKey && n.isFocused && (o ? vi(i.current) : s ? s() : Lt() !== i.current && i.current && ur(i.current));
+ r === n.focusedKey && n.isFocused && (o ? yi(i.current) : s ? s() : Rt() !== i.current && i.current && dr(i.current));
}, [
i,
r,
@@ -7328,7 +7328,7 @@ function wl(e) {
!o && !c ? m = {
tabIndex: r === n.focusedKey ? 0 : -1,
onFocus(e) {
- B(e) === i.current && n.setFocusedKey(r);
+ z(e) === i.current && n.setFocusedKey(r);
}
} : c && (m.onMouseDown = (e) => {
e.preventDefault();
@@ -7343,23 +7343,23 @@ function wl(e) {
l && (l(), i.current?.dispatchEvent(new CustomEvent("react-aria-item-action", { bubbles: !0 }))), _ && i.current && f.open(i.current, e, O.href, O.routerOptions);
}, A = { ref: i };
a ? (A.onPressStart = (e) => {
- w.current = e.pointerType, E.current = T, e.pointerType === "keyboard" && (!S || El(e.key)) && p(e);
+ w.current = e.pointerType, E.current = T, e.pointerType === "keyboard" && (!S || Dl(e.key)) && p(e);
}, u ? (A.onPressUp = b ? void 0 : (e) => {
e.pointerType === "mouse" && v && p(e);
}, A.onPress = b ? k : (e) => {
e.pointerType !== "keyboard" && e.pointerType !== "mouse" && v && p(e);
}) : A.onPress = (e) => {
if (b || x && e.pointerType !== "mouse") {
- if (e.pointerType === "keyboard" && !Tl(e.key)) return;
+ if (e.pointerType === "keyboard" && !El(e.key)) return;
k(e);
} else e.pointerType !== "keyboard" && v && p(e);
}) : (A.onPressStart = (e) => {
- w.current = e.pointerType, E.current = T, D.current = b, v && (e.pointerType === "mouse" && !b || e.pointerType === "keyboard" && (!y || El(e.key))) && p(e);
+ w.current = e.pointerType, E.current = T, D.current = b, v && (e.pointerType === "mouse" && !b || e.pointerType === "keyboard" && (!y || Dl(e.key))) && p(e);
}, A.onPress = (e) => {
- (e.pointerType === "touch" || e.pointerType === "pen" || e.pointerType === "virtual" || e.pointerType === "keyboard" && S && Tl(e.key) || e.pointerType === "mouse" && D.current) && (S ? k(e) : v && p(e));
+ (e.pointerType === "touch" || e.pointerType === "pen" || e.pointerType === "virtual" || e.pointerType === "keyboard" && S && El(e.key) || e.pointerType === "mouse" && D.current) && (S ? k(e) : v && p(e));
});
- let j = ds(n.collection);
- if (m["data-collection"] = j, m["data-key"] = r, A.preventFocusOnPress = o, o && (A = V(A, {
+ let j = fs(n.collection);
+ if (m["data-collection"] = j, m["data-key"] = r, A.preventFocusOnPress = o, o && (A = B(A, {
onPressStart(e) {
e.pointerType !== "touch" && (n.setFocused(!0), n.setFocusedKey(r));
},
@@ -7373,50 +7373,50 @@ function wl(e) {
"onPress",
"onPressUp",
"onClick"
- ]) O[e] && (A[e] = dr(A[e], O[e]));
- let { pressProps: M, isPressed: N } = xa(A), ee = x ? (e) => {
+ ]) O[e] && (A[e] = fr(A[e], O[e]));
+ let { pressProps: M, isPressed: N } = Sa(A), ee = x ? (e) => {
w.current === "mouse" && (e.stopPropagation(), e.preventDefault(), k(e));
- } : void 0, { longPressProps: P } = Xs({
+ } : void 0, { longPressProps: te } = Zs({
isDisabled: !T,
onLongPress(e) {
e.pointerType === "touch" && (p(e), n.setSelectionBehavior("toggle"));
}
- }), F = (e) => {
+ }), P = (e) => {
w.current === "touch" && E.current && e.preventDefault();
- }, te = d !== "none" && n.isLink(r) ? (e) => {
- yn.isOpening || e.preventDefault();
- } : void 0, ne = V(m, v || b || o && !c ? M : {}, T ? P : {}, {
+ }, ne = d !== "none" && n.isLink(r) ? (e) => {
+ bn.isOpening || e.preventDefault();
+ } : void 0, re = B(m, v || b || o && !c ? M : {}, T ? te : {}, {
onDoubleClick: ee,
- onDragStartCapture: F,
- onClick: te,
+ onDragStartCapture: P,
+ onClick: ne,
id: t
- }, o ? { onMouseDown: (e) => e.preventDefault() } : void 0), re = (e) => {
+ }, o ? { onMouseDown: (e) => e.preventDefault() } : void 0), ie = (e) => {
let t = e;
for (; t && t !== i.current;) {
let e = t.getAttribute("data-collection");
if (e != null) return e !== j;
t = t.parentElement;
}
- return Jt(e);
- }, ie = ne.onPointerDown;
- ne.onPointerDown = (e) => {
- let t = B(e);
- if (t && t !== i.current && re(t)) {
+ return Yt(e);
+ }, ae = re.onPointerDown;
+ re.onPointerDown = (e) => {
+ let t = z(e);
+ if (t && t !== i.current && ie(t)) {
e.stopPropagation();
return;
}
- ie?.(e);
+ ae?.(e);
};
- let ae = ne.onMouseDown;
- return ne.onMouseDown = (e) => {
- let t = B(e);
- if (t && t !== i.current && re(t)) {
+ let oe = re.onMouseDown;
+ return re.onMouseDown = (e) => {
+ let t = z(e);
+ if (t && t !== i.current && ie(t)) {
e.stopPropagation();
return;
}
- ae?.(e);
+ oe?.(e);
}, {
- itemProps: ne,
+ itemProps: re,
isPressed: N,
isSelected: n.isSelected(r),
isFocused: n.isFocused && n.focusedKey === r,
@@ -7425,22 +7425,22 @@ function wl(e) {
hasAction: S
};
}
-function Tl(e) {
+function El(e) {
return e === "Enter";
}
-function El(e) {
+function Dl(e) {
return e === " ";
}
//#endregion
//#region node_modules/react-aria/dist/private/grid/useGridSelectionCheckbox.mjs
-function Dl(e) {
+function Ol(e) {
return e && e.__esModule ? e.default : e;
}
-function Ol(e, t) {
- let { key: n } = e, r = t.selectionManager, i = _r(), a = !t.selectionManager.canSelectItem(n), o = t.selectionManager.isSelected(n);
+function kl(e, t) {
+ let { key: n } = e, r = t.selectionManager, i = vr(), a = !t.selectionManager.canSelectItem(n), o = t.selectionManager.isSelected(n);
return { checkboxProps: {
id: i,
- "aria-label": $i(Dl(gl), "@react-aria/grid").format("select"),
+ "aria-label": ea(Ol(_l), "@react-aria/grid").format("select"),
isSelected: o,
isDisabled: a,
onChange: () => r.toggleSelection(n)
@@ -7448,22 +7448,22 @@ function Ol(e, t) {
}
//#endregion
//#region node_modules/react-aria/dist/private/listbox/useListBox.mjs
-function kl(e, t, n) {
- let r = H(e, { labelable: !0 }), i = e.selectionBehavior || "toggle", a = e.orientation || "vertical", o = e.linkBehavior || (i === "replace" ? "action" : "override");
+function Al(e, t, n) {
+ let r = V(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 } = Cl({
+ let { listProps: s } = wl({
...e,
ref: n,
selectionManager: t.selectionManager,
collection: t.collection,
disabledKeys: t.disabledKeys,
linkBehavior: o
- }), { focusWithinProps: c } = Ho({
+ }), { focusWithinProps: c } = Uo({
onFocusWithin: e.onFocus,
onBlurWithin: e.onBlur,
onFocusWithinChange: e.onFocusChange
- }), l = _r(e.id);
- is.set(t, {
+ }), l = vr(e.id);
+ as.set(t, {
id: l,
shouldUseVirtualFocus: e.shouldUseVirtualFocus,
shouldSelectOnPressUp: e.shouldSelectOnPressUp,
@@ -7473,24 +7473,24 @@ function kl(e, t, n) {
linkBehavior: o,
UNSTABLE_itemBehavior: e.UNSTABLE_itemBehavior
});
- let { labelProps: u, fieldProps: d } = Bo({
+ let { labelProps: u, fieldProps: d } = Vo({
...e,
id: l,
labelElementType: "span"
});
return {
labelProps: u,
- listBoxProps: V(r, c, t.selectionManager.selectionMode === "multiple" ? { "aria-multiselectable": "true" } : {}, {
+ listBoxProps: B(r, c, t.selectionManager.selectionMode === "multiple" ? { "aria-multiselectable": "true" } : {}, {
role: "listbox",
"aria-orientation": a,
- ...V(d, s)
+ ...B(d, s)
})
};
}
//#endregion
//#region node_modules/react-aria/dist/private/listbox/useListBoxSection.mjs
-function Al(e) {
- let { heading: t, "aria-label": n } = e, r = _r();
+function jl(e) {
+ let { heading: t, "aria-label": n } = e, r = vr();
return {
itemProps: { role: "presentation" },
headingProps: t ? {
@@ -7509,8 +7509,8 @@ function Al(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/listbox/useOption.mjs
-function jl(e, t, n) {
- let { key: r } = e, i = is.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 = yr(), f = yr(), p = {
+function Ml(e, t, n) {
+ let { key: r } = e, i = as.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 = br(), f = br(), p = {
role: "option",
"aria-disabled": a || void 0,
"aria-selected": t.selectionManager.selectionMode === "none" ? void 0 : o,
@@ -7520,9 +7520,9 @@ function jl(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"] = hc(t.collection);
+ p["aria-posinset"] = Number.isNaN(e) ? void 0 : e + 1, p["aria-setsize"] = gc(t.collection);
}
- let h = i?.onAction ? () => i?.onAction?.(r) : void 0, g = os(t, r), { itemProps: _, isPressed: v, isFocused: y, hasAction: b, allowsSelection: x } = wl({
+ let h = i?.onAction ? () => i?.onAction?.(r) : void 0, g = ss(t, r), { itemProps: _, isPressed: v, isFocused: y, hasAction: b, allowsSelection: x } = Tl({
selectionManager: t.selectionManager,
key: r,
ref: n,
@@ -7531,28 +7531,28 @@ function jl(e, t, n) {
isVirtualized: u,
shouldUseVirtualFocus: l,
isDisabled: a,
- onAction: h || m?.props?.onAction ? dr(m?.props?.onAction, h) : void 0,
+ onAction: h || m?.props?.onAction ? fr(m?.props?.onAction, h) : void 0,
linkBehavior: i?.linkBehavior,
UNSTABLE_itemBehavior: i?.UNSTABLE_itemBehavior,
id: g
- }), { hoverProps: S } = Nc({
+ }), { hoverProps: S } = Pc({
isDisabled: a || !c,
onHoverStart() {
- Qn() || (t.selectionManager.setFocused(!0), t.selectionManager.setFocusedKey(r));
+ $n() || (t.selectionManager.setFocused(!0), t.selectionManager.setFocusedKey(r));
}
- }), C = H(m?.props);
+ }), C = V(m?.props);
delete C.id;
- let w = Cn(m?.props);
+ let w = wn(m?.props);
return {
optionProps: {
...p,
- ...V(C, _, S, w),
+ ...B(C, _, S, w),
id: g
},
labelProps: { id: d },
descriptionProps: { id: f },
isFocused: y,
- isFocusVisible: y && t.selectionManager.isFocused && Qn(),
+ isFocusVisible: y && t.selectionManager.isFocused && $n(),
isSelected: o,
isDisabled: a,
isPressed: v,
@@ -7562,15 +7562,15 @@ function jl(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/useResizeObserver.mjs
-function Ml() {
+function Nl() {
return window.ResizeObserver !== void 0;
}
-function Nl(e) {
- let { ref: t, box: n, onResize: r } = e, i = Ei(r);
+function Pl(e) {
+ let { ref: t, box: n, onResize: r } = e, i = Di(r);
(0, C.useEffect)(() => {
let e = t?.current;
if (e) {
- if (Ml()) {
+ if (Nl()) {
let t = new window.ResizeObserver((e) => {
e.length && i();
});
@@ -7586,189 +7586,189 @@ function Nl(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/ar-AE.mjs
-var Pl = {};
-Pl = { dismiss: "تجاهل" };
+var Fl = {};
+Fl = { dismiss: "تجاهل" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/bg-BG.mjs
-var Fl = {};
-Fl = { dismiss: "Отхвърляне" };
+var Il = {};
+Il = { dismiss: "Отхвърляне" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/cs-CZ.mjs
-var Il = {};
-Il = { dismiss: "Odstranit" };
+var Ll = {};
+Ll = { dismiss: "Odstranit" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/da-DK.mjs
-var Ll = {};
-Ll = { dismiss: "Luk" };
+var Rl = {};
+Rl = { dismiss: "Luk" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/de-DE.mjs
-var Rl = {};
-Rl = { dismiss: "Schließen" };
+var zl = {};
+zl = { dismiss: "Schließen" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/el-GR.mjs
-var zl = {};
-zl = { dismiss: "Απόρριψη" };
+var Bl = {};
+Bl = { dismiss: "Απόρριψη" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/en-US.mjs
-var Bl = {};
-Bl = { dismiss: "Dismiss" };
+var Vl = {};
+Vl = { dismiss: "Dismiss" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/es-ES.mjs
-var Vl = {};
-Vl = { dismiss: "Descartar" };
+var Hl = {};
+Hl = { dismiss: "Descartar" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/et-EE.mjs
-var Hl = {};
-Hl = { dismiss: "Lõpeta" };
+var Ul = {};
+Ul = { dismiss: "Lõpeta" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/fi-FI.mjs
-var Ul = {};
-Ul = { dismiss: "Hylkää" };
+var Wl = {};
+Wl = { dismiss: "Hylkää" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/fr-FR.mjs
-var Wl = {};
-Wl = { dismiss: "Rejeter" };
+var Gl = {};
+Gl = { dismiss: "Rejeter" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/he-IL.mjs
-var Gl = {};
-Gl = { dismiss: "התעלם" };
+var Kl = {};
+Kl = { dismiss: "התעלם" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/hr-HR.mjs
-var Kl = {};
-Kl = { dismiss: "Odbaci" };
+var ql = {};
+ql = { dismiss: "Odbaci" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/hu-HU.mjs
-var ql = {};
-ql = { dismiss: "Elutasítás" };
+var Jl = {};
+Jl = { dismiss: "Elutasítás" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/it-IT.mjs
-var Jl = {};
-Jl = { dismiss: "Ignora" };
+var Yl = {};
+Yl = { dismiss: "Ignora" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/ja-JP.mjs
-var Yl = {};
-Yl = { dismiss: "閉じる" };
+var Xl = {};
+Xl = { dismiss: "閉じる" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/ko-KR.mjs
-var Xl = {};
-Xl = { dismiss: "무시" };
+var Zl = {};
+Zl = { dismiss: "무시" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/lt-LT.mjs
-var Zl = {};
-Zl = { dismiss: "Atmesti" };
+var Ql = {};
+Ql = { dismiss: "Atmesti" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/lv-LV.mjs
-var Ql = {};
-Ql = { dismiss: "Nerādīt" };
+var $l = {};
+$l = { dismiss: "Nerādīt" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/nb-NO.mjs
-var $l = {};
-$l = { dismiss: "Lukk" };
+var eu = {};
+eu = { dismiss: "Lukk" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/nl-NL.mjs
-var eu = {};
-eu = { dismiss: "Negeren" };
+var tu = {};
+tu = { dismiss: "Negeren" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/pl-PL.mjs
-var tu = {};
-tu = { dismiss: "Zignoruj" };
+var nu = {};
+nu = { dismiss: "Zignoruj" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/pt-BR.mjs
-var nu = {};
-nu = { dismiss: "Descartar" };
+var ru = {};
+ru = { dismiss: "Descartar" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/pt-PT.mjs
-var ru = {};
-ru = { dismiss: "Dispensar" };
+var iu = {};
+iu = { dismiss: "Dispensar" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/ro-RO.mjs
-var iu = {};
-iu = { dismiss: "Revocare" };
+var au = {};
+au = { dismiss: "Revocare" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/ru-RU.mjs
-var au = {};
-au = { dismiss: "Пропустить" };
+var ou = {};
+ou = { dismiss: "Пропустить" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/sk-SK.mjs
-var ou = {};
-ou = { dismiss: "Zrušiť" };
+var su = {};
+su = { dismiss: "Zrušiť" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/sl-SI.mjs
-var su = {};
-su = { dismiss: "Opusti" };
+var cu = {};
+cu = { dismiss: "Opusti" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/sr-SP.mjs
-var cu = {};
-cu = { dismiss: "Odbaci" };
+var lu = {};
+lu = { dismiss: "Odbaci" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/sv-SE.mjs
-var lu = {};
-lu = { dismiss: "Avvisa" };
+var uu = {};
+uu = { dismiss: "Avvisa" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/tr-TR.mjs
-var uu = {};
-uu = { dismiss: "Kapat" };
+var du = {};
+du = { dismiss: "Kapat" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/uk-UA.mjs
-var du = {};
-du = { dismiss: "Скасувати" };
+var fu = {};
+fu = { dismiss: "Скасувати" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/zh-CN.mjs
-var fu = {};
-fu = { dismiss: "取消" };
+var pu = {};
+pu = { dismiss: "取消" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/zh-TW.mjs
-var pu = {};
-pu = { dismiss: "關閉" };
+var mu = {};
+mu = { dismiss: "關閉" };
//#endregion
//#region node_modules/react-aria/dist/private/overlays/intlStrings.mjs
-var mu = {};
-mu = {
- "ar-AE": Pl,
- "bg-BG": Fl,
- "cs-CZ": Il,
- "da-DK": Ll,
- "de-DE": Rl,
- "el-GR": zl,
- "en-US": Bl,
- "es-ES": Vl,
- "et-EE": Hl,
- "fi-FI": Ul,
- "fr-FR": Wl,
- "he-IL": Gl,
- "hr-HR": Kl,
- "hu-HU": ql,
- "it-IT": Jl,
- "ja-JP": Yl,
- "ko-KR": Xl,
- "lt-LT": Zl,
- "lv-LV": Ql,
- "nb-NO": $l,
- "nl-NL": eu,
- "pl-PL": tu,
- "pt-BR": nu,
- "pt-PT": ru,
- "ro-RO": iu,
- "ru-RU": au,
- "sk-SK": ou,
- "sl-SI": su,
- "sr-SP": cu,
- "sv-SE": lu,
- "tr-TR": uu,
- "uk-UA": du,
- "zh-CN": fu,
- "zh-TW": pu
+var hu = {};
+hu = {
+ "ar-AE": Fl,
+ "bg-BG": Il,
+ "cs-CZ": Ll,
+ "da-DK": Rl,
+ "de-DE": zl,
+ "el-GR": Bl,
+ "en-US": Vl,
+ "es-ES": Hl,
+ "et-EE": Ul,
+ "fi-FI": Wl,
+ "fr-FR": Gl,
+ "he-IL": Kl,
+ "hr-HR": ql,
+ "hu-HU": Jl,
+ "it-IT": Yl,
+ "ja-JP": Xl,
+ "ko-KR": Zl,
+ "lt-LT": Ql,
+ "lv-LV": $l,
+ "nb-NO": eu,
+ "nl-NL": tu,
+ "pl-PL": nu,
+ "pt-BR": ru,
+ "pt-PT": iu,
+ "ro-RO": au,
+ "ru-RU": ou,
+ "sk-SK": su,
+ "sl-SI": cu,
+ "sr-SP": lu,
+ "sv-SE": uu,
+ "tr-TR": du,
+ "uk-UA": fu,
+ "zh-CN": pu,
+ "zh-TW": mu
};
//#endregion
//#region node_modules/react-aria/dist/private/overlays/DismissButton.mjs
-function hu(e) {
+function gu(e) {
return e && e.__esModule ? e.default : e;
}
-function gu(e) {
- let { onDismiss: t, ...n } = e, r = Oi(n, $i(hu(mu), "@react-aria/overlays").format("dismiss")), i = () => {
+function _u(e) {
+ let { onDismiss: t, ...n } = e, r = ki(n, ea(gu(hu), "@react-aria/overlays").format("dismiss")), i = () => {
t && t();
};
- return /*#__PURE__*/ C.createElement(Xo, null, /*#__PURE__*/ C.createElement("button", {
+ return /*#__PURE__*/ C.createElement(Zo, null, /*#__PURE__*/ C.createElement("button", {
...r,
tabIndex: -1,
onClick: i,
@@ -7780,38 +7780,38 @@ function gu(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/overlays/useOverlay.mjs
-var _u = [];
-function vu(e, t) {
+var vu = [];
+function yu(e, t) {
let { onClose: n, shouldCloseOnBlur: r, isOpen: i, isDismissable: a = !1, isKeyboardDismissDisabled: o = !1, shouldCloseOnInteractOutside: s } = e, c = (0, C.useRef)(void 0);
(0, C.useEffect)(() => {
- if (i && !_u.includes(t)) return _u.push(t), () => {
- let e = _u.indexOf(t);
- e >= 0 && _u.splice(e, 1);
+ if (i && !vu.includes(t)) return vu.push(t), () => {
+ let e = vu.indexOf(t);
+ e >= 0 && vu.splice(e, 1);
};
}, [i, t]);
let l = () => {
- _u[_u.length - 1] === t && n && n();
+ vu[vu.length - 1] === t && n && n();
}, u = (e) => {
- let n = _u[_u.length - 1];
- c.current = n, (!s || s(B(e))) && n === t && e.stopPropagation();
+ let n = vu[vu.length - 1];
+ c.current = n, (!s || s(z(e))) && n === t && e.stopPropagation();
}, d = (e) => {
- (!s || s(B(e))) && (_u[_u.length - 1] === t && e.stopPropagation(), c.current === t && l()), c.current = void 0;
- }, { keyboardProps: f } = Rr({ shortcuts: { Escape: () => {
+ (!s || s(z(e))) && (vu[vu.length - 1] === t && e.stopPropagation(), c.current === t && l()), c.current = void 0;
+ }, { keyboardProps: f } = zr({ shortcuts: { Escape: () => {
if (!o) {
l();
return;
}
return !1;
} } });
- Pc({
+ Fc({
ref: t,
onInteractOutside: a && i ? d : void 0,
onInteractOutsideStart: u
});
- let { focusWithinProps: p } = Ho({
+ let { focusWithinProps: p } = Uo({
isDisabled: !r,
onBlurWithin: (e) => {
- !e.relatedTarget || Ga(e.relatedTarget) || (!s || s(e.relatedTarget)) && n?.();
+ !e.relatedTarget || Ka(e.relatedTarget) || (!s || s(e.relatedTarget)) && n?.();
}
});
return {
@@ -7824,26 +7824,26 @@ function vu(e, t) {
}
//#endregion
//#region node_modules/react-aria/dist/private/overlays/usePreventScroll.mjs
-var yu = typeof document < "u" && window.visualViewport, bu = 0, xu;
-function Su(e = {}) {
+var bu = typeof document < "u" && window.visualViewport, xu = 0, Su;
+function Cu(e = {}) {
let { isDisabled: t } = e;
- Xt(() => {
- if (!t) return bu++, bu === 1 && (xu = ln() && dn() ? wu() : Cu()), () => {
- bu--, bu === 0 && xu();
+ Zt(() => {
+ if (!t) return xu++, xu === 1 && (Su = un() && fn() ? Tu() : wu()), () => {
+ xu--, xu === 0 && Su();
};
}, [t]);
}
-function Cu() {
+function wu() {
let e = window.innerWidth - document.documentElement.clientWidth;
- return dr(e > 0 && ("scrollbarGutter" in document.documentElement.style ? Pt(document.documentElement, "scrollbar-gutter", "stable") : Pt(document.documentElement, "padding-right", `${e}px`)), Pt(document.documentElement, "overflow", "hidden"));
+ return fr(e > 0 && ("scrollbarGutter" in document.documentElement.style ? Ft(document.documentElement, "scrollbar-gutter", "stable") : Ft(document.documentElement, "padding-right", `${e}px`)), Ft(document.documentElement, "overflow", "hidden"));
}
-function wu() {
- let e = Pt(document.documentElement, "overflow", "hidden"), t, n = !1, r = (e) => {
- let r = B(e);
- t = uo(r) ? r : fo(r, !0), n = !1;
+function Tu() {
+ let e = Ft(document.documentElement, "overflow", "hidden"), t, n = !1, r = (e) => {
+ let r = z(e);
+ t = fo(r) ? r : po(r, !0), n = !1;
let i = r.ownerDocument.defaultView.getSelection();
i && !i.isCollapsed && i.containsNode(r, !0) && (n = !0), e.composedPath().some((e) => e instanceof HTMLInputElement && e.type === "range") && (n = !0), "selectionStart" in r && "selectionEnd" in r && r.selectionStart < r.selectionEnd && r.ownerDocument.activeElement === r && (n = !0);
- }, i = document.createElement("style"), a = pa();
+ }, i = document.createElement("style"), a = ma();
a && (i.nonce = a), i.textContent = "@layer {\n * {\n overscroll-behavior: contain;\n }\n}", document.head.prepend(i);
let o = (e) => {
if (!(e.touches.length === 2 || n)) {
@@ -7854,27 +7854,27 @@ function wu() {
t.scrollHeight === t.clientHeight && t.scrollWidth === t.clientWidth && e.preventDefault();
}
}, s = (e) => {
- let t = B(e), n = e.relatedTarget;
- n && wi(n) ? (n.focus({ preventScroll: !0 }), Tu(n, wi(t))) : n || (t.parentElement?.closest("[tabindex]"))?.focus({ preventScroll: !0 });
+ let t = z(e), n = e.relatedTarget;
+ n && Ti(n) ? (n.focus({ preventScroll: !0 }), Eu(n, Ti(t))) : n || (t.parentElement?.closest("[tabindex]"))?.focus({ preventScroll: !0 });
}, c = HTMLElement.prototype.focus;
Reflect.defineProperty(HTMLElement.prototype, "focus", {
configurable: !0,
writable: !0,
value: function(e) {
- let t = Lt(), n = t != null && wi(t);
+ let t = Rt(), n = t != null && Ti(t);
c.call(this, {
...e,
preventScroll: !0
- }), (!e || !e.preventScroll) && Tu(this, n);
+ }), (!e || !e.preventScroll) && Eu(this, n);
}
});
- let l = dr(Nt(document, "touchstart", r, {
+ let l = fr(Pt(document, "touchstart", r, {
passive: !1,
capture: !0
- }), Nt(document, "touchmove", o, {
+ }), Pt(document, "touchmove", o, {
passive: !1,
capture: !0
- }), Nt(document, "blur", s, !0));
+ }), Pt(document, "blur", s, !0));
return () => {
e(), l(), i.remove(), Reflect.defineProperty(HTMLElement.prototype, "focus", {
configurable: !0,
@@ -7883,18 +7883,18 @@ function wu() {
});
};
}
-function Tu(e, t) {
- t || !yu ? Eu(e) : yu.addEventListener("resize", () => Eu(e), { once: !0 });
+function Eu(e, t) {
+ t || !bu ? Du(e) : bu.addEventListener("resize", () => Du(e), { once: !0 });
}
-function Eu(e) {
+function Du(e) {
let t = document.scrollingElement || document.documentElement, n = e;
for (; n && n !== t;) {
- let e = fo(n);
+ let e = po(n);
if (e !== document.documentElement && e !== document.body && e !== n) {
let t = e.getBoundingClientRect(), r = n.getBoundingClientRect();
if (r.top < t.top || r.bottom > t.top + n.clientHeight) {
let n = t.bottom;
- yu && (n = Math.min(n, yu.offsetTop + yu.height));
+ bu && (n = Math.min(n, bu.offsetTop + bu.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)),
@@ -7907,48 +7907,48 @@ function Eu(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/overlays/useModalOverlay.mjs
-function Du(e, t, n) {
- let { overlayProps: r, underlayProps: i } = vu({
+function Ou(e, t, n) {
+ let { overlayProps: r, underlayProps: i } = yu({
...e,
isOpen: t.isOpen,
onClose: t.close
}, n);
- return Su({ isDisabled: !t.isOpen }), wc(), (0, C.useEffect)(() => {
- if (t.isOpen && n.current) return ns([n.current], { shouldUseInert: !0 });
+ return Cu({ isDisabled: !t.isOpen }), Tc(), (0, C.useEffect)(() => {
+ if (t.isOpen && n.current) return rs([n.current], { shouldUseInert: !0 });
}, [t.isOpen, n]), {
- modalProps: V(r),
+ modalProps: B(r),
underlayProps: i
};
}
//#endregion
//#region node_modules/react-aria/dist/private/overlays/calculatePosition.mjs
-var Ou = {
+var ku = {
top: "top",
bottom: "top",
left: "left",
right: "left"
-}, ku = {
+}, Au = {
top: "bottom",
bottom: "top",
left: "right",
right: "left"
-}, Au = {
+}, ju = {
top: "left",
left: "top"
-}, ju = {
+}, Mu = {
top: "height",
left: "width"
-}, Mu = {
+}, Nu = {
width: "totalWidth",
height: "totalHeight"
-}, Nu = {}, Pu = () => typeof document < "u" ? window.visualViewport : null;
-function Fu(e, t) {
+}, Pu = {}, Fu = () => typeof document < "u" ? window.visualViewport : null;
+function Iu(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} = Ku(e, !1)), c.top = e.scrollTop, c.left = e.scrollLeft, i = n, a = r;
- return dn() && (e.tagName === "BODY" || e.tagName === "HTML") && l && (c.top = 0, c.left = 0, o = t?.pageTop ?? 0, s = t?.pageLeft ?? 0), {
+ } else ({width: n, height: r, top: o, left: s} = qu(e, !1)), c.top = e.scrollTop, c.left = e.scrollLeft, i = n, a = r;
+ return fn() && (e.tagName === "BODY" || e.tagName === "HTML") && l && (c.top = 0, c.left = 0, o = t?.pageTop ?? 0, s = t?.pageLeft ?? 0), {
width: n,
height: r,
totalWidth: i,
@@ -7958,7 +7958,7 @@ function Fu(e, t) {
left: s
};
}
-function Iu(e) {
+function Lu(e) {
return {
top: e.scrollTop,
left: e.scrollLeft,
@@ -7966,11 +7966,11 @@ function Iu(e) {
height: e.scrollHeight
};
}
-function Lu(e, t, n, r, i, a, o) {
- let s = i.scroll[e] ?? 0, c = r[ju[e]], l = o[e] + r.scroll[Ou[e]] + a, u = o[e] + r.scroll[Ou[e]] + c - a, d = t - s + r.scroll[Ou[e]] + o[e] - r[Ou[e]], f = t - s + n + r.scroll[Ou[e]] + o[e] - r[Ou[e]];
+function Ru(e, t, n, r, i, a, o) {
+ let s = i.scroll[e] ?? 0, c = r[Mu[e]], l = o[e] + r.scroll[ku[e]] + a, u = o[e] + r.scroll[ku[e]] + c - a, d = t - s + r.scroll[ku[e]] + o[e] - r[ku[e]], f = t - s + n + r.scroll[ku[e]] + o[e] - r[ku[e]];
return d < l ? l - d : f > u ? Math.max(u - f, l - d) : 0;
}
-function Ru(e) {
+function zu(e) {
let t = window.getComputedStyle(e);
return {
top: parseInt(t.marginTop, 10) || 0,
@@ -7979,58 +7979,58 @@ function Ru(e) {
right: parseInt(t.marginRight, 10) || 0
};
}
-function zu(e) {
- if (Nu[e]) return Nu[e];
- let [t, n] = e.split(" "), r = Ou[t] || "right", i = Au[r];
- Ou[n] || (n = "center");
- let a = ju[r], o = ju[i];
- return Nu[e] = {
+function Bu(e) {
+ if (Pu[e]) return Pu[e];
+ let [t, n] = e.split(" "), r = ku[t] || "right", i = ju[r];
+ ku[n] || (n = "center");
+ let a = Mu[r], o = Mu[i];
+ return Pu[e] = {
placement: t,
crossPlacement: n,
axis: r,
crossAxis: i,
size: a,
crossSize: o
- }, Nu[e];
+ }, Pu[e];
}
-function Bu(e, t, n, r, i, a, o, s, c, l, u) {
+function Vu(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] = qo(_[m], v, y), d === p) {
- let t = s ? u[h] : u[Mu[h]];
- _[ku[p]] = Math.floor(t - e[p] + i);
+ if (_[m] = Jo(_[m], v, y), d === p) {
+ let t = s ? u[h] : u[Nu[h]];
+ _[Au[p]] = Math.floor(t - e[p] + i);
} else _[p] = Math.floor(e[p] + e[h] + i);
return _;
}
-function Vu(e, t, n, r, i, a, o, s, c, l, u) {
- let d = (e.top == null ? c[Mu.height] - (e.bottom ?? 0) - o : e.top) - (c.scroll.top ?? 0), f = l ? n.top : 0, p = {
+function Hu(e, t, n, r, i, a, o, s, c, l, u) {
+ let d = (e.top == null ? c[Nu.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 Hu(e, t, n, r, i, a, o, s) {
+function Uu(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[ku[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[ku[l]] - i);
+ return c === l ? Math.max(0, n[l] - (o.scroll[l] ?? 0) - (e[l] + (s ? t[l] : 0)) - (r[l] ?? 0) - r[Au[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[Au[l]] - i);
}
-function Uu(e, t, n, r, i, a, o, s, c, l, u, d, f, p, m, h, g, _) {
- let v = zu(e), { size: y, crossAxis: b, crossSize: x, placement: S, crossPlacement: C } = v, w = Bu(t, s, n, v, u, d, l, f, m, h, c), T = u, E = Hu(s, l, t, i, a + u, v, c, g);
+function Wu(e, t, n, r, i, a, o, s, c, l, u, d, f, p, m, h, g, _) {
+ let v = Bu(e), { size: y, crossAxis: b, crossSize: x, placement: S, crossPlacement: C } = v, w = Vu(t, s, n, v, u, d, l, f, m, h, c), T = u, E = Uu(s, l, t, i, a + u, v, c, g);
if (o && n[y] > E) {
- let e = zu(`${ku[S]} ${C}`), r = Bu(t, s, n, e, u, d, l, f, m, h, c);
- Hu(s, l, t, i, a + u, e, c, g) > E && (v = e, w = r, T = u);
+ let e = Bu(`${Au[S]} ${C}`), r = Vu(t, s, n, e, u, d, l, f, m, h, c);
+ Uu(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 = Lu(b, w[b], n[x], s, c, a, l);
+ let O = Ru(b, w[b], n[x], s, c, a, l);
w[b] += O;
- let k = Vu(w, s, l, f, i, a, n.height, D, c, g, _);
- p && p < k && (k = p), n.height = Math.min(n.height, k), w = Bu(t, s, n, v, T, d, l, f, m, h, c), O = Lu(b, w[b], n[x], s, c, a, l), w[b] += O;
- let A = {}, j = t[b] - w[b] - i[Ou[b]], M = j + .5 * t[x], N = m / 2 + h, ee = Ou[b] === "left" ? (i.left ?? 0) + (i.right ?? 0) : (i.top ?? 0) + (i.bottom ?? 0), P = n[x] - ee - m / 2 - h;
- A[b] = qo(qo(M, t[b] + m / 2 - (w[b] + i[Ou[b]]), t[b] + t[x] - m / 2 - (w[b] + i[Ou[b]])), N, P), {placement: S, crossPlacement: C} = v, m ? j = A[b] : C === "right" ? j += t[x] : C === "center" && (j += t[x] / 2);
- let F = S === "left" || S === "top" ? n[y] : 0, te = {
- x: S === "top" || S === "bottom" ? j : F,
- y: S === "left" || S === "right" ? j : F
+ let k = Hu(w, s, l, f, i, a, n.height, D, c, g, _);
+ p && p < k && (k = p), n.height = Math.min(n.height, k), w = Vu(t, s, n, v, T, d, l, f, m, h, c), O = Ru(b, w[b], n[x], s, c, a, l), w[b] += O;
+ let A = {}, j = t[b] - w[b] - i[ku[b]], M = j + .5 * t[x], N = m / 2 + h, ee = ku[b] === "left" ? (i.left ?? 0) + (i.right ?? 0) : (i.top ?? 0) + (i.bottom ?? 0), te = n[x] - ee - m / 2 - h;
+ A[b] = Jo(Jo(M, t[b] + m / 2 - (w[b] + i[ku[b]]), t[b] + t[x] - m / 2 - (w[b] + i[ku[b]])), N, te), {placement: S, crossPlacement: C} = v, m ? j = A[b] : C === "right" ? j += t[x] : C === "center" && (j += t[x] / 2);
+ let P = S === "left" || S === "top" ? n[y] : 0, ne = {
+ x: S === "top" || S === "bottom" ? j : P,
+ y: S === "left" || S === "right" ? j : P
};
return {
position: w,
@@ -8038,20 +8038,20 @@ function Uu(e, t, n, r, i, a, o, s, c, l, u, d, f, p, m, h, g, _) {
arrowOffsetLeft: A.left,
arrowOffsetTop: A.top,
placement: S,
- triggerAnchorPoint: te
+ triggerAnchorPoint: ne
};
}
-function Wu(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 = Pu(), h = r instanceof HTMLElement ? Ju(r) : document.documentElement, g = h === document.documentElement, _ = window.getComputedStyle(h).position, v = !!_ && _ !== "static", y = g ? Ku(n, !1, p) : qu(n, h, !1, p);
+function Gu(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 = Fu(), h = r instanceof HTMLElement ? Yu(r) : document.documentElement, g = h === document.documentElement, _ = window.getComputedStyle(h).position, v = !!_ && _ !== "static", y = g ? qu(n, !1, p) : Ju(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 = Ku(r, !0), x = Ru(r);
+ let b = qu(r, !0), x = zu(r);
b.width += (x.left ?? 0) + (x.right ?? 0), b.height += (x.top ?? 0) + (x.bottom ?? 0);
- let S = Iu(i), C = Fu(s, m), w = Fu(h, m), T;
+ let S = Lu(i), C = Iu(s, m), w = Iu(h, m), T;
if ((s.tagName === "BODY" || s.tagName === "HTML") && !g) {
- let e = Gu(h, !1);
+ let e = Ku(h, !1);
T = {
top: -(e.top - C.top),
left: -(e.left - C.left),
@@ -8063,11 +8063,11 @@ function Wu(e) {
left: 0,
width: 0,
height: 0
- } : qu(s, h, !1);
- let E = z(s, h);
- return Uu(t, y, b, S, x, a, o, C, w, T, c, l, v, u, d, f, E, m);
+ } : Ju(s, h, !1);
+ let E = R(s, h);
+ return Wu(t, y, b, S, x, a, o, C, w, T, c, l, v, u, d, f, E, m);
}
-function Gu(e, t) {
+function Ku(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,
@@ -8076,8 +8076,8 @@ function Gu(e, t) {
height: a
};
}
-function Ku(e, t, n) {
- let { top: r, left: i, width: a, height: o } = n || Gu(e, t), { scrollTop: s, scrollLeft: c, clientTop: l, clientLeft: u } = document.documentElement;
+function qu(e, t, n) {
+ let { top: r, left: i, width: a, height: o } = n || Ku(e, t), { scrollTop: s, scrollLeft: c, clientTop: l, clientLeft: u } = document.documentElement;
return {
top: r + s - l,
left: i + c - u,
@@ -8085,30 +8085,30 @@ function Ku(e, t, n) {
height: o
};
}
-function qu(e, t, n, r) {
+function Ju(e, t, n, r) {
let i = window.getComputedStyle(e), a;
- if (i.position === "fixed") a = r || Gu(e, n);
+ if (i.position === "fixed") a = r || Ku(e, n);
else {
- a = Ku(e, n, r);
- let i = Ku(t, n), o = window.getComputedStyle(t);
+ a = qu(e, n, r);
+ let i = qu(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 Ju(e) {
+function Yu(e) {
let t = e.offsetParent;
- if (t && t === document.body && window.getComputedStyle(t).position === "static" && !Yu(t) && (t = document.documentElement), t == null) for (t = e.parentElement; t && !Yu(t);) t = t.parentElement;
+ if (t && t === document.body && window.getComputedStyle(t).position === "static" && !Xu(t) && (t = document.documentElement), t == null) for (t = e.parentElement; t && !Xu(t);) t = t.parentElement;
return t || document.documentElement;
}
-function Yu(e) {
+function Xu(e) {
let t = window.getComputedStyle(e);
return t.transform !== "none" || /transform|perspective/.test(t.willChange) || t.filter !== "none" || t.contain === "paint" || "backdropFilter" in t && t.backdropFilter !== "none" || "WebkitBackdropFilter" in t && t.WebkitBackdropFilter !== "none";
}
//#endregion
//#region node_modules/react-aria/dist/private/overlays/useOverlayPosition.mjs
-var Xu = typeof document < "u" ? window.visualViewport : null;
-function Zu(e) {
- let { direction: t } = zi(), { 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, C.useState)(null), x = [
+var Zu = typeof document < "u" ? window.visualViewport : null;
+function Qu(e) {
+ let { direction: t } = Bi(), { 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, C.useState)(null), x = [
p,
s,
i.current,
@@ -8125,15 +8125,15 @@ function Zu(e) {
g,
_,
n
- ], S = (0, C.useRef)(Xu?.scale);
+ ], S = (0, C.useRef)(Zu?.scale);
(0, C.useEffect)(() => {
- m && (S.current = Xu?.scale);
+ m && (S.current = Zu?.scale);
}, [m]);
let w = (0, C.useCallback)(() => {
- if (p === !1 || !m || !i.current || !r.current || !u || Xu?.scale !== S.current) return;
+ if (p === !1 || !m || !i.current || !r.current || !u || Zu?.scale !== S.current) return;
let e = null;
- if (o.current && zt(o.current)) {
- let t = Lt()?.getBoundingClientRect(), n = o.current.getBoundingClientRect();
+ if (o.current && Bt(o.current)) {
+ let t = Rt()?.getBoundingClientRect(), n = o.current.getBoundingClientRect();
e = {
type: "top",
offset: (t?.top ?? 0) - n.top
@@ -8141,8 +8141,8 @@ function Zu(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 = Wu({
- placement: $u(s, t),
+ let y = Gu({
+ placement: ed(s, t),
overlayNode: i.current,
targetNode: r.current,
scrollNode: o.current || i.current,
@@ -8152,28 +8152,28 @@ function Zu(e) {
offset: d,
crossOffset: f,
maxHeight: g,
- arrowSize: n ?? (a?.current ? Gu(a.current, !0).width : 0),
+ arrowSize: n ?? (a?.current ? Ku(a.current, !0).width : 0),
arrowBoundaryOffset: _,
targetRect: v?.(r.current)
});
if (!y.position) return;
h.style.top = "", h.style.bottom = "", h.style.left = "", h.style.right = "", Object.keys(y.position).forEach((e) => h.style[e] = y.position[e] + "px"), h.style.maxHeight = y.maxHeight == null ? "" : y.maxHeight + "px";
- let x = Lt();
+ let x = Rt();
if (e && x && o.current) {
let t = x.getBoundingClientRect(), n = o.current.getBoundingClientRect(), r = t[e.type] - n[e.type];
o.current.scrollTop += r - e.offset;
}
b(y);
}, x);
- Xt(w, x), Qu(w), Nl({
+ Zt(w, x), $u(w), Pl({
ref: i,
onResize: w
- }), Nl({
+ }), Pl({
ref: r,
onResize: w
});
let T = (0, C.useRef)(!1);
- Xt(() => {
+ Zt(() => {
let e, t = () => {
T.current = !0, clearTimeout(e), e = setTimeout(() => {
T.current = !1;
@@ -8181,16 +8181,16 @@ function Zu(e) {
}, n = () => {
T.current && t();
};
- Xu?.addEventListener("resize", t), Xu?.addEventListener("scroll", n);
- let r = Nt(Rt(window), "scroll", n);
+ Zu?.addEventListener("resize", t), Zu?.addEventListener("scroll", n);
+ let r = Pt(zt(window), "scroll", n);
return () => {
- Xu?.removeEventListener("resize", t), Xu?.removeEventListener("scroll", n), r();
+ Zu?.removeEventListener("resize", t), Zu?.removeEventListener("scroll", n), r();
};
}, [w]);
let E = (0, C.useCallback)(() => {
T.current || h?.();
}, [h, T]);
- return $s({
+ return ec({
triggerRef: r,
isOpen: m,
onClose: h && E
@@ -8216,25 +8216,25 @@ function Zu(e) {
updatePosition: w
};
}
-function Qu(e) {
- Xt(() => (window.addEventListener("resize", e, !1), () => {
+function $u(e) {
+ Zt(() => (window.addEventListener("resize", e, !1), () => {
window.removeEventListener("resize", e, !1);
}), [e]);
}
-function $u(e, t) {
+function ed(e, t) {
return t === "rtl" ? e.replace("start", "right").replace("end", "left") : e.replace("start", "left").replace("end", "right");
}
//#endregion
//#region node_modules/react-aria/dist/private/overlays/usePopover.mjs
-function ed(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 } = vu({
+function td(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 } = yu({
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 } = Zu({
+ }, i ?? r), { overlayProps: f, arrowProps: p, placement: m, triggerAnchorPoint: h } = Qu({
...c,
targetRef: n,
overlayRef: r,
@@ -8242,17 +8242,17 @@ function ed(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)
});
- Su({ isDisabled: a || !t.isOpen }), (0, C.useEffect)(() => {
- if (t.isOpen && r.current) return a ? rs(i?.current ?? r.current) : ns([i?.current ?? r.current], { shouldUseInert: !0 });
+ Cu({ isDisabled: a || !t.isOpen }), (0, C.useEffect)(() => {
+ if (t.isOpen && r.current) return a ? is(i?.current ?? r.current) : rs([i?.current ?? r.current], { shouldUseInert: !0 });
}, [
a,
t.isOpen,
r,
i
]);
- let { focusWithinProps: g } = Ho(e);
+ let { focusWithinProps: g } = Uo(e);
return {
- popoverProps: V(u, f, g),
+ popoverProps: B(u, f, g),
arrowProps: p,
underlayProps: d,
placement: m,
@@ -8261,13 +8261,13 @@ function ed(e, t) {
}
//#endregion
//#region node_modules/react-aria/dist/private/radio/utils.mjs
-var td = /* @__PURE__ */ new WeakMap();
+var nd = /* @__PURE__ */ new WeakMap();
//#endregion
//#region node_modules/react-aria/dist/private/radio/useRadio.mjs
-function nd(e, t, n) {
+function rd(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: _ } = xa({
+ }, { pressProps: g, isPressed: _ } = Sa({
onPressStart: s,
onPressEnd: c,
onPressChange: l,
@@ -8275,7 +8275,7 @@ function nd(e, t, n) {
onPressUp: d,
onClick: f,
isDisabled: p
- }), { pressProps: v, isPressed: y } = xa({
+ }), { pressProps: v, isPressed: y } = Sa({
onPressStart: s,
onPressEnd: c,
onPressChange: l,
@@ -8285,17 +8285,17 @@ function nd(e, t, n) {
onPress(e) {
u?.(e), t.setSelectedValue(r), n.current?.focus();
}
- }), { focusableProps: b } = Ur(V(e, { onFocus: () => t.setLastFocusedValue(r) }), n), x = V(g, b), S = H(e, { labelable: !0 }), w = -1;
+ }), { focusableProps: b } = Wr(B(e, { onFocus: () => t.setLastFocusedValue(r) }), n), x = B(g, b), S = V(e, { labelable: !0 }), w = -1;
t.selectedValue == null ? (t.lastFocusedValue === r || t.lastFocusedValue == null) && (w = 0) : t.selectedValue === r && (w = 0), p && (w = void 0);
- let { name: T, form: E, descriptionId: D, errorMessageId: O, validationBehavior: k } = td.get(t);
- bo(n, t.defaultSelectedValue, t.setSelectedValue), xo({ validationBehavior: k }, t, n);
- let A = Eo();
+ let { name: T, form: E, descriptionId: D, errorMessageId: O, validationBehavior: k } = nd.get(t);
+ xo(n, t.defaultSelectedValue, t.setSelectedValue), So({ validationBehavior: k }, t, n);
+ let A = Do();
return {
- labelProps: V(v, (0, C.useMemo)(() => ({
+ labelProps: B(v, (0, C.useMemo)(() => ({
onClick: (e) => e.preventDefault(),
onMouseDown: (e) => e.preventDefault()
}), [])),
- inputProps: V(S, {
+ inputProps: B(S, {
...x,
type: "radio",
name: T,
@@ -8321,13 +8321,13 @@ function nd(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/radio/useRadioGroup.mjs
-function rd(e, t) {
- let { name: n, form: r, isReadOnly: i, isRequired: a, isDisabled: o, orientation: s = "vertical", validationBehavior: c = "aria" } = e, { direction: l } = zi(), { isInvalid: u, validationErrors: d, validationDetails: f } = t.displayValidation, { labelProps: p, fieldProps: m, descriptionProps: h, errorMessageProps: g } = Vo({
+function id(e, t) {
+ let { name: n, form: r, isReadOnly: i, isRequired: a, isDisabled: o, orientation: s = "vertical", validationBehavior: c = "aria" } = e, { direction: l } = Bi(), { isInvalid: u, validationErrors: d, validationDetails: f } = t.displayValidation, { labelProps: p, fieldProps: m, descriptionProps: h, errorMessageProps: g } = Ho({
...e,
labelElementType: "span",
isInvalid: t.isInvalid,
errorMessage: e.errorMessage || d
- }), _ = H(e, { labelable: !0 }), { focusWithinProps: v } = Ho({
+ }), _ = V(e, { labelable: !0 }), { focusWithinProps: v } = Uo({
onBlurWithin(n) {
e.onBlur?.(n), t.selectedValue || t.setLastFocusedValue(null);
},
@@ -8335,13 +8335,13 @@ function rd(e, t) {
onFocusWithinChange: e.onFocusChange
});
function y(e, n) {
- let r = to(n.currentTarget, {
- from: B(n),
- accept: (e) => e instanceof Ot(e).HTMLInputElement && e.type === "radio"
+ let r = no(n.currentTarget, {
+ from: z(n),
+ accept: (e) => e instanceof kt(e).HTMLInputElement && e.type === "radio"
}), i;
return e === "next" ? (i = r.nextNode(), i ||= (r.currentNode = n.currentTarget, r.firstChild())) : (i = r.previousNode(), i ||= (r.currentNode = n.currentTarget, r.lastChild())), i ? (i.focus(), t.setSelectedValue(i.value), !0) : !1;
}
- let { keyboardProps: b } = Rr({
+ let { keyboardProps: b } = zr({
shortcuts: {
ArrowRight: (e) => y(l === "rtl" && s !== "vertical" ? "prev" : "next", e),
ArrowLeft: (e) => y(l === "rtl" && s !== "vertical" ? "next" : "prev", e),
@@ -8349,15 +8349,15 @@ function rd(e, t) {
ArrowUp: (e) => y("prev", e)
},
allowRepeats: !0
- }), x = _r(n);
- return td.set(t, {
+ }), x = vr(n);
+ return nd.set(t, {
name: x,
form: r,
descriptionId: h.id,
errorMessageId: g.id,
validationBehavior: c
}), {
- radioGroupProps: V(_, {
+ radioGroupProps: B(_, {
role: "radiogroup",
...b,
"aria-invalid": t.isInvalid || void 0,
@@ -8379,21 +8379,21 @@ function rd(e, t) {
}
//#endregion
//#region node_modules/react-aria/dist/private/select/useSelect.mjs
-var id = /* @__PURE__ */ new WeakMap();
-function ad(e, t, n) {
- let { keyboardDelegate: r, isDisabled: i, isRequired: a, name: o, form: s, validationBehavior: c = "aria" } = e, l = _c({
+var ad = /* @__PURE__ */ new WeakMap();
+function od(e, t, n) {
+ let { keyboardDelegate: r, isDisabled: i, isRequired: a, name: o, form: s, validationBehavior: c = "aria" } = e, l = vc({
usage: "search",
sensitivity: "base"
- }), u = (0, C.useMemo)(() => r || new ps(t.collection, t.disabledKeys, n, l), [
+ }), u = (0, C.useMemo)(() => r || new ms(t.collection, t.disabledKeys, n, l), [
r,
t.collection,
t.disabledKeys,
l,
n
- ]), { menuTriggerProps: d, menuProps: f } = nc({
+ ]), { menuTriggerProps: d, menuProps: f } = rc({
isDisabled: i,
type: "listbox"
- }, t, n), { keyboardProps: p } = Rr({
+ }, t, n), { keyboardProps: p } = zr({
shortcuts: {
ArrowLeft: () => {
if (t.selectionManager.selectionMode === "multiple") return !1;
@@ -8409,21 +8409,21 @@ function ad(e, t, n) {
allowRepeats: !0,
onKeyDown: e.onKeyDown,
onKeyUp: e.onKeyUp
- }), { typeSelectProps: m } = ic({
+ }), { typeSelectProps: m } = ac({
keyboardDelegate: u,
selectionManager: t.selectionManager,
onTypeSelect(e) {
t.setSelectedKey(e);
}
- }), { isInvalid: h, validationErrors: g, validationDetails: _ } = t.displayValidation, { labelProps: v, fieldProps: y, descriptionProps: b, errorMessageProps: x } = Vo({
+ }), { isInvalid: h, validationErrors: g, validationDetails: _ } = t.displayValidation, { labelProps: v, fieldProps: y, descriptionProps: b, errorMessageProps: x } = Ho({
...e,
labelElementType: "span",
isInvalid: h,
errorMessage: e.errorMessage || g
});
t.selectionManager.selectionMode === "multiple" && (m = {});
- let S = H(e, { labelable: !0 }), w = V(m, d, y), T = _r();
- return id.set(t, {
+ let S = V(e, { labelable: !0 }), w = B(m, d, y), T = vr();
+ return ad.set(t, {
isDisabled: i,
isRequired: a,
name: o,
@@ -8433,13 +8433,13 @@ function ad(e, t, n) {
labelProps: {
...v,
onClick: () => {
- e.isDisabled || (n.current?.focus(), er("keyboard"));
+ e.isDisabled || (n.current?.focus(), tr("keyboard"));
}
},
- triggerProps: V(S, {
+ triggerProps: B(S, {
...w,
isDisabled: i,
- onKeyDown: dr(w.onKeyDown, p.onKeyDown),
+ onKeyDown: fr(w.onKeyDown, p.onKeyDown),
onKeyUp: p.onKeyUp,
"aria-labelledby": [
T,
@@ -8463,7 +8463,7 @@ function ad(e, t, n) {
disallowEmptySelection: !0,
linkBehavior: "selection",
onBlur: (n) => {
- z(n.currentTarget, n.relatedTarget) || (e.onBlur && e.onBlur(n), e.onFocusChange && e.onFocusChange(!1), t.setFocused(!1));
+ R(n.currentTarget, n.relatedTarget) || (e.onBlur && e.onBlur(n), e.onFocusChange && e.onFocusChange(!1), t.setFocused(!1));
},
"aria-labelledby": [y["aria-labelledby"], w["aria-label"] && !y["aria-labelledby"] ? w.id : null].filter(Boolean).join(" ")
},
@@ -8484,18 +8484,18 @@ function ad(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/select/HiddenSelect.mjs
-function od(e, t, n) {
- let r = id.get(t) || {}, { autoComplete: i, name: a = r.name, form: o = r.form, isDisabled: s = r.isDisabled } = e, { validationBehavior: c, isRequired: l } = r, { visuallyHiddenProps: u } = Yo({ style: {
+function sd(e, t, n) {
+ let r = ad.get(t) || {}, { autoComplete: i, name: a = r.name, form: o = r.form, isDisabled: s = r.isDisabled } = e, { validationBehavior: c, isRequired: l } = r, { visuallyHiddenProps: u } = Xo({ style: {
position: "fixed",
top: 0,
left: 0
} });
- bo(e.selectRef, t.defaultValue, t.setValue), xo({
+ xo(e.selectRef, t.defaultValue, t.setValue), So({
validationBehavior: c,
focus: () => n.current?.focus()
}, t, e.selectRef);
let d = t.setValue, f = (0, C.useCallback)((e) => {
- let t = B(e);
+ let t = z(e);
t.multiple ? d(Array.from(t.selectedOptions, (e) => e.value)) : d(e.currentTarget.value);
}, [d]);
return {
@@ -8520,8 +8520,8 @@ function od(e, t, n) {
}
};
}
-function sd(e) {
- let { state: t, triggerRef: n, label: r, name: i, form: a, isDisabled: o } = e, s = (0, C.useRef)(null), c = (0, C.useRef)(null), { containerProps: l, selectProps: u } = od({
+function cd(e) {
+ let { state: t, triggerRef: n, label: r, name: i, form: a, isDisabled: o } = e, s = (0, C.useRef)(null), c = (0, C.useRef)(null), { containerProps: l, selectProps: u } = sd({
...e,
selectRef: t.collection.size <= 300 ? s : c
}, t, n), d = Array.isArray(t.value) ? t.value : [t.value];
@@ -8545,7 +8545,7 @@ function sd(e) {
value: e ?? ""
})))));
if (i) {
- let { validationBehavior: e } = id.get(t) || {};
+ let { validationBehavior: e } = ad.get(t) || {};
d.length === 0 && (d = [null]);
let n = d.map((t, n) => {
let r = {
@@ -8576,8 +8576,8 @@ function sd(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/switch/useSwitch.mjs
-function cd(e, t, n) {
- let { labelProps: r, inputProps: i, isSelected: a, ...o } = Ro(e, t, n);
+function ld(e, t, n) {
+ let { labelProps: r, inputProps: i, isSelected: a, ...o } = zo(e, t, n);
return {
labelProps: r,
inputProps: {
@@ -8591,10 +8591,10 @@ function cd(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/grid/GridKeyboardDelegate.mjs
-var ld = class {
+var ud = 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 ud(e.layout) : new fs(e.ref)), this.focusMode = e.focusMode ?? "row";
+ this.layoutDelegate = e.layoutDelegate || (e.layout ? new dd(e.layout) : new ps(e.ref)), this.focusMode = e.focusMode ?? "row";
}
isCell(e) {
return e.type === "cell";
@@ -8630,7 +8630,7 @@ var ld = class {
let n = this.collection.getItem(e);
if (!n) return null;
let r = 0;
- for (let e of cc(n, this.collection)) {
+ for (let e of lc(n, this.collection)) {
if (e.colSpan && e.colSpan + r > t || (e.colSpan && (r = r + e.colSpan - 1), r === t)) return e.key ?? null;
r++;
}
@@ -8664,13 +8664,13 @@ var ld = class {
let t = this.collection.getItem(e);
if (!t) return null;
if (this.isRow(t)) {
- let e = cc(t, this.collection);
- return (this.direction === "rtl" ? dc(e)?.key : lc(e)?.key) ?? null;
+ let e = lc(t, this.collection);
+ return (this.direction === "rtl" ? fc(e)?.key : uc(e)?.key) ?? null;
}
if (this.isCell(t) && t.parentKey != null) {
let n = this.collection.getItem(t.parentKey);
if (!n) return null;
- let r = cc(n, this.collection), i = (this.direction === "rtl" ? uc(r, t.index - 1) : uc(r, t.index + 1)) ?? null;
+ let r = lc(n, this.collection), i = (this.direction === "rtl" ? dc(r, t.index - 1) : dc(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;
@@ -8679,13 +8679,13 @@ var ld = class {
let t = this.collection.getItem(e);
if (!t) return null;
if (this.isRow(t)) {
- let e = cc(t, this.collection);
- return (this.direction === "rtl" ? lc(e)?.key : dc(e)?.key) ?? null;
+ let e = lc(t, this.collection);
+ return (this.direction === "rtl" ? uc(e)?.key : fc(e)?.key) ?? null;
}
if (this.isCell(t) && t.parentKey != null) {
let n = this.collection.getItem(t.parentKey);
if (!n) return null;
- let r = cc(n, this.collection), i = (this.direction === "rtl" ? uc(r, t.index + 1) : uc(r, t.index - 1)) ?? null;
+ let r = lc(n, this.collection), i = (this.direction === "rtl" ? dc(r, t.index + 1) : dc(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;
@@ -8696,13 +8696,13 @@ var ld = 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 ? lc(cc(e, this.collection))?.key ?? null : null;
+ return e ? uc(lc(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 = lc(cc(e, this.collection))?.key ?? null;
+ n = uc(lc(e, this.collection))?.key ?? null;
}
return n;
}
@@ -8712,13 +8712,13 @@ var ld = 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 ? dc(cc(e, this.collection))?.key ?? null : null;
+ return e ? fc(lc(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 = dc(cc(e, this.collection))?.key ?? null;
+ n = fc(lc(e, this.collection))?.key ?? null;
}
return n;
}
@@ -8754,13 +8754,13 @@ var ld = 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" ? lc(cc(t, this.collection))?.key ?? null : t.key;
+ if (this.collator.compare(n, e) === 0) return this.isRow(t) && this.focusMode === "cell" ? uc(lc(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;
}
-}, ud = class {
+}, dd = class {
constructor(e) {
this.layout = e;
}
@@ -8773,16 +8773,16 @@ var ld = class {
getVisibleRect() {
return this.layout.virtualizer.visibleRect;
}
-}, dd = /* @__PURE__ */ new WeakMap();
+}, fd = /* @__PURE__ */ new WeakMap();
//#endregion
//#region node_modules/react-aria/dist/private/grid/useGrid.mjs
-function fd(e, t, n) {
+function pd(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 = _c({
+ let h = vc({
usage: "search",
sensitivity: "base"
- }), { direction: g } = zi(), _ = t.selectionManager.disabledBehavior, v = (0, C.useMemo)(() => a || new ld({
+ }), { direction: g } = Bi(), _ = t.selectionManager.disabledBehavior, v = (0, C.useMemo)(() => a || new ud({
collection: t.collection,
disabledKeys: t.disabledKeys,
disabledBehavior: _,
@@ -8799,7 +8799,7 @@ function fd(e, t, n) {
g,
h,
o
- ]), { collectionProps: y } = sc({
+ ]), { collectionProps: y } = cc({
ref: n,
selectionManager: m,
keyboardDelegate: v,
@@ -8807,8 +8807,8 @@ function fd(e, t, n) {
scrollRef: s,
disallowTypeAhead: i,
escapeKeyBehavior: d
- }), b = _r(e.id);
- dd.set(t, {
+ }), b = vr(e.id);
+ fd.set(t, {
keyboardDelegate: v,
actions: {
onRowAction: l,
@@ -8817,48 +8817,48 @@ function fd(e, t, n) {
shouldSelectOnPressUp: f,
keyboardNavigationBehavior: p
});
- let x = Sl({
+ let x = Cl({
selectionManager: m,
hasItemActions: !!(l || u)
- }), S = H(e, { labelable: !0 }), w = (0, C.useCallback)((e) => {
+ }), S = V(e, { labelable: !0 }), w = (0, C.useCallback)((e) => {
if (m.isFocused) {
- z(e.currentTarget, B(e)) || m.setFocused(!1);
+ R(e.currentTarget, z(e)) || m.setFocused(!1);
return;
}
- z(e.currentTarget, B(e)) && m.setFocused(!0);
+ R(e.currentTarget, z(e)) && m.setFocused(!0);
}, [m]), T = (0, C.useMemo)(() => ({
onBlur: y.onBlur,
onFocus: w
- }), [w, y.onBlur]), E = bl(n, { isDisabled: t.collection.size !== 0 }), D = V(S, {
+ }), [w, y.onBlur]), E = xl(n, { isDisabled: t.collection.size !== 0 }), D = B(S, {
role: "grid",
id: b,
"aria-multiselectable": m.selectionMode === "multiple" ? "true" : void 0
}, t.isKeyboardNavigationDisabled ? T : y, t.collection.size === 0 && { tabIndex: E ? -1 : 0 } || void 0, x);
- return r && (D["aria-rowcount"] = t.collection.size, D["aria-colcount"] = t.collection.columnCount), vl({ getRowText: c }, t), { gridProps: D };
+ return r && (D["aria-rowcount"] = t.collection.size, D["aria-colcount"] = t.collection.columnCount), yl({ getRowText: c }, t), { gridProps: D };
}
//#endregion
//#region node_modules/react-aria/dist/private/table/utils.mjs
-var pd = /* @__PURE__ */ new WeakMap();
-function md(e) {
+var md = /* @__PURE__ */ new WeakMap();
+function hd(e) {
return typeof e == "string" ? e.replace(/\s*/g, "") : "" + e;
}
-function hd(e, t) {
- let n = pd.get(e);
+function gd(e, t) {
+ let n = md.get(e);
if (!n) throw Error("Unknown grid");
- return `${n}-${md(t)}`;
+ return `${n}-${hd(t)}`;
}
-function gd(e, t, n) {
- let r = pd.get(e);
+function _d(e, t, n) {
+ let r = md.get(e);
if (!r) throw Error("Unknown grid");
- return `${r}-${md(t)}-${md(n)}`;
+ return `${r}-${hd(t)}-${hd(n)}`;
}
-function _d(e, t) {
- return [...e.collection.rowHeaderColumnKeys].map((n) => gd(e, t, n)).join(" ");
+function vd(e, t) {
+ return [...e.collection.rowHeaderColumnKeys].map((n) => _d(e, t, n)).join(" ");
}
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/ar-AE.mjs
-var vd = {};
-vd = {
+var yd = {};
+yd = {
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: "طي",
@@ -8873,8 +8873,8 @@ vd = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/bg-BG.mjs
-var yd = {};
-yd = {
+var bd = {};
+bd = {
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: "Свиване",
@@ -8889,8 +8889,8 @@ yd = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/cs-CZ.mjs
-var bd = {};
-bd = {
+var xd = {};
+xd = {
ascending: "vzestupně",
ascendingSort: (e) => `\u{159}azeno vzestupn\u{11B} podle sloupce ${e.columnName}`,
collapse: "Sbalit",
@@ -8905,8 +8905,8 @@ bd = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/da-DK.mjs
-var xd = {};
-xd = {
+var Sd = {};
+Sd = {
ascending: "stigende",
ascendingSort: (e) => `sorteret efter kolonne ${e.columnName} i stigende r\xe6kkef\xf8lge`,
collapse: "Skjul",
@@ -8921,8 +8921,8 @@ xd = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/de-DE.mjs
-var Sd = {};
-Sd = {
+var Cd = {};
+Cd = {
ascending: "aufsteigend",
ascendingSort: (e) => `sortiert nach Spalte ${e.columnName} in aufsteigender Reihenfolge`,
collapse: "Reduzieren",
@@ -8937,8 +8937,8 @@ Sd = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/el-GR.mjs
-var Cd = {};
-Cd = {
+var wd = {};
+wd = {
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: "Σύμπτυξη",
@@ -8953,8 +8953,8 @@ Cd = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/en-US.mjs
-var wd = {};
-wd = {
+var Td = {};
+Td = {
select: "Select",
selectAll: "Select All",
sortable: "sortable column",
@@ -8969,8 +8969,8 @@ wd = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/es-ES.mjs
-var Td = {};
-Td = {
+var Ed = {};
+Ed = {
ascending: "ascendente",
ascendingSort: (e) => `ordenado por columna ${e.columnName} en sentido ascendente`,
collapse: "Contraer",
@@ -8985,8 +8985,8 @@ Td = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/et-EE.mjs
-var Ed = {};
-Ed = {
+var Dd = {};
+Dd = {
ascending: "tõusev järjestus",
ascendingSort: (e) => `sorditud veeru j\xe4rgi ${e.columnName} t\xf5usvas j\xe4rjestuses`,
collapse: "Ahenda",
@@ -9001,8 +9001,8 @@ Ed = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/fi-FI.mjs
-var Dd = {};
-Dd = {
+var Od = {};
+Od = {
ascending: "nouseva",
ascendingSort: (e) => `lajiteltu sarakkeen ${e.columnName} mukaan nousevassa j\xe4rjestyksess\xe4`,
collapse: "Pienennä",
@@ -9017,8 +9017,8 @@ Dd = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/fr-FR.mjs
-var Od = {};
-Od = {
+var kd = {};
+kd = {
ascending: "croissant",
ascendingSort: (e) => `tri\xe9 en fonction de la colonne\xa0${e.columnName} par ordre croissant`,
collapse: "Réduire",
@@ -9033,8 +9033,8 @@ Od = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/he-IL.mjs
-var kd = {};
-kd = {
+var Ad = {};
+Ad = {
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: "כווץ",
@@ -9049,8 +9049,8 @@ kd = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/hr-HR.mjs
-var Ad = {};
-Ad = {
+var jd = {};
+jd = {
ascending: "rastući",
ascendingSort: (e) => `razvrstano po stupcima ${e.columnName} rastu\u{107}em redoslijedom`,
collapse: "Sažmi",
@@ -9065,8 +9065,8 @@ Ad = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/hu-HU.mjs
-var jd = {};
-jd = {
+var Md = {};
+Md = {
ascending: "növekvő",
ascendingSort: (e) => `rendezve a(z) ${e.columnName} oszlop szerint, n\xf6vekv\u{151} sorrendben`,
collapse: "Összecsukás",
@@ -9081,8 +9081,8 @@ jd = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/it-IT.mjs
-var Md = {};
-Md = {
+var Nd = {};
+Nd = {
ascending: "crescente",
ascendingSort: (e) => `in ordine crescente in base alla colonna ${e.columnName}`,
collapse: "Comprimi",
@@ -9097,8 +9097,8 @@ Md = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/ja-JP.mjs
-var Nd = {};
-Nd = {
+var Pd = {};
+Pd = {
ascending: "昇順",
ascendingSort: (e) => `\u{5217} ${e.columnName} \u{3092}\u{6607}\u{9806}\u{3067}\u{4E26}\u{3079}\u{66FF}\u{3048}`,
collapse: "折りたたむ",
@@ -9113,8 +9113,8 @@ Nd = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/ko-KR.mjs
-var Pd = {};
-Pd = {
+var Fd = {};
+Fd = {
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: "접기",
@@ -9129,8 +9129,8 @@ Pd = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/lt-LT.mjs
-var Fd = {};
-Fd = {
+var Id = {};
+Id = {
ascending: "didėjančia tvarka",
ascendingSort: (e) => `surikiuota pagal stulpel\u{12F} ${e.columnName} did\u{117}jan\u{10D}ia tvarka`,
collapse: "Sutraukti",
@@ -9145,8 +9145,8 @@ Fd = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/lv-LV.mjs
-var Id = {};
-Id = {
+var Ld = {};
+Ld = {
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",
@@ -9161,8 +9161,8 @@ Id = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/nb-NO.mjs
-var Ld = {};
-Ld = {
+var Rd = {};
+Rd = {
ascending: "stigende",
ascendingSort: (e) => `sortert etter kolonne ${e.columnName} i stigende rekkef\xf8lge`,
collapse: "Skjul",
@@ -9177,8 +9177,8 @@ Ld = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/nl-NL.mjs
-var Rd = {};
-Rd = {
+var zd = {};
+zd = {
ascending: "oplopend",
ascendingSort: (e) => `gesorteerd in oplopende volgorde in kolom ${e.columnName}`,
collapse: "Samenvouwen",
@@ -9193,8 +9193,8 @@ Rd = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/pl-PL.mjs
-var zd = {};
-zd = {
+var Bd = {};
+Bd = {
ascending: "rosnąco",
ascendingSort: (e) => `posortowano wed\u{142}ug kolumny ${e.columnName} w porz\u{105}dku rosn\u{105}cym`,
collapse: "Zwiń",
@@ -9209,8 +9209,8 @@ zd = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/pt-BR.mjs
-var Bd = {};
-Bd = {
+var Vd = {};
+Vd = {
ascending: "crescente",
ascendingSort: (e) => `classificado pela coluna ${e.columnName} em ordem crescente`,
collapse: "Recolher",
@@ -9225,8 +9225,8 @@ Bd = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/pt-PT.mjs
-var Vd = {};
-Vd = {
+var Hd = {};
+Hd = {
ascending: "ascendente",
ascendingSort: (e) => `Ordenar por coluna ${e.columnName} em ordem ascendente`,
collapse: "Colapsar",
@@ -9241,8 +9241,8 @@ Vd = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/ro-RO.mjs
-var Hd = {};
-Hd = {
+var Ud = {};
+Ud = {
ascending: "crescătoare",
ascendingSort: (e) => `sortate dup\u{103} coloana ${e.columnName} \xeen ordine cresc\u{103}toare`,
collapse: "Restrângeți",
@@ -9257,8 +9257,8 @@ Hd = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/ru-RU.mjs
-var Ud = {};
-Ud = {
+var Wd = {};
+Wd = {
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: "Свернуть",
@@ -9273,8 +9273,8 @@ Ud = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/sk-SK.mjs
-var Wd = {};
-Wd = {
+var Gd = {};
+Gd = {
ascending: "vzostupne",
ascendingSort: (e) => `zoraden\xe9 zostupne pod\u{13E}a st\u{13A}pca ${e.columnName}`,
collapse: "Zbaliť",
@@ -9289,8 +9289,8 @@ Wd = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/sl-SI.mjs
-var Gd = {};
-Gd = {
+var Kd = {};
+Kd = {
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",
@@ -9305,8 +9305,8 @@ Gd = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/sr-SP.mjs
-var Kd = {};
-Kd = {
+var qd = {};
+qd = {
ascending: "rastući",
ascendingSort: (e) => `sortirano po kolonama ${e.columnName} rastu\u{107}im redosledom`,
collapse: "Skupi",
@@ -9321,8 +9321,8 @@ Kd = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/sv-SE.mjs
-var qd = {};
-qd = {
+var Jd = {};
+Jd = {
ascending: "stigande",
ascendingSort: (e) => `sorterat p\xe5 kolumn ${e.columnName} i stigande ordning`,
collapse: "Dölj",
@@ -9337,8 +9337,8 @@ qd = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/tr-TR.mjs
-var Jd = {};
-Jd = {
+var Yd = {};
+Yd = {
ascending: "artan sırada",
ascendingSort: (e) => `${e.columnName} s\xfctuna g\xf6re artan d\xfczende s\u{131}rala`,
collapse: "Daralt",
@@ -9353,8 +9353,8 @@ Jd = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/uk-UA.mjs
-var Yd = {};
-Yd = {
+var Xd = {};
+Xd = {
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: "Згорнути",
@@ -9369,8 +9369,8 @@ Yd = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/zh-CN.mjs
-var Xd = {};
-Xd = {
+var Zd = {};
+Zd = {
ascending: "升序",
ascendingSort: (e) => `\u{6309}\u{5217} ${e.columnName} \u{5347}\u{5E8F}\u{6392}\u{5E8F}`,
collapse: "折叠",
@@ -9385,8 +9385,8 @@ Xd = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/zh-TW.mjs
-var Zd = {};
-Zd = {
+var Qd = {};
+Qd = {
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: "收合",
@@ -9401,46 +9401,46 @@ Zd = {
};
//#endregion
//#region node_modules/react-aria/dist/private/table/intlStrings.mjs
-var Qd = {};
-Qd = {
- "ar-AE": vd,
- "bg-BG": yd,
- "cs-CZ": bd,
- "da-DK": xd,
- "de-DE": Sd,
- "el-GR": Cd,
- "en-US": wd,
- "es-ES": Td,
- "et-EE": Ed,
- "fi-FI": Dd,
- "fr-FR": Od,
- "he-IL": kd,
- "hr-HR": Ad,
- "hu-HU": jd,
- "it-IT": Md,
- "ja-JP": Nd,
- "ko-KR": Pd,
- "lt-LT": Fd,
- "lv-LV": Id,
- "nb-NO": Ld,
- "nl-NL": Rd,
- "pl-PL": zd,
- "pt-BR": Bd,
- "pt-PT": Vd,
- "ro-RO": Hd,
- "ru-RU": Ud,
- "sk-SK": Wd,
- "sl-SI": Gd,
- "sr-SP": Kd,
- "sv-SE": qd,
- "tr-TR": Jd,
- "uk-UA": Yd,
- "zh-CN": Xd,
- "zh-TW": Zd
+var $d = {};
+$d = {
+ "ar-AE": yd,
+ "bg-BG": bd,
+ "cs-CZ": xd,
+ "da-DK": Sd,
+ "de-DE": Cd,
+ "el-GR": wd,
+ "en-US": Td,
+ "es-ES": Ed,
+ "et-EE": Dd,
+ "fi-FI": Od,
+ "fr-FR": kd,
+ "he-IL": Ad,
+ "hr-HR": jd,
+ "hu-HU": Md,
+ "it-IT": Nd,
+ "ja-JP": Pd,
+ "ko-KR": Fd,
+ "lt-LT": Id,
+ "lv-LV": Ld,
+ "nb-NO": Rd,
+ "nl-NL": zd,
+ "pl-PL": Bd,
+ "pt-BR": Vd,
+ "pt-PT": Hd,
+ "ro-RO": Ud,
+ "ru-RU": Wd,
+ "sk-SK": Gd,
+ "sl-SI": Kd,
+ "sr-SP": qd,
+ "sv-SE": Jd,
+ "tr-TR": Yd,
+ "uk-UA": Xd,
+ "zh-CN": Zd,
+ "zh-TW": Qd
};
//#endregion
//#region node_modules/react-aria/dist/private/table/TableKeyboardDelegate.mjs
-var $d = class extends ld {
+var ef = class extends ud {
isCell(e) {
return e.type === "cell" || e.type === "rowheader" || e.type === "column";
}
@@ -9448,7 +9448,7 @@ var $d = class extends ld {
let n = this.collection.getItem(e);
if (!n) return null;
if (n.type === "column") {
- let e = lc(cc(n, this.collection));
+ let e = uc(lc(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);
@@ -9469,13 +9469,13 @@ var $d = class extends ld {
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 cc(n, this.collection)) if (e.type === "column") return e.key;
+ for (let e of lc(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 = [...cc(n, this.collection)];
+ let n = this.collection.headerRows[e.level], r = [...lc(n, this.collection)];
for (let e = r.length - 1; e >= 0; e--) {
let t = r[e];
if (t.type === "column") return t.key;
@@ -9504,7 +9504,7 @@ var $d = class extends ld {
let t = o.textValue.slice(0, e.length);
if (this.collator.compare(t, e) === 0) return o.key;
}
- for (let r of cc(o, this.collection)) {
+ for (let r of lc(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);
@@ -9518,14 +9518,14 @@ var $d = class extends ld {
};
//#endregion
//#region node_modules/react-aria/dist/private/table/useTable.mjs
-function ef(e) {
+function tf(e) {
return e && e.__esModule ? e.default : e;
}
-function tf(e, t, n) {
- let { keyboardDelegate: r, isVirtualized: i, layoutDelegate: a, layout: o } = e, s = _c({
+function nf(e, t, n) {
+ let { keyboardDelegate: r, isVirtualized: i, layoutDelegate: a, layout: o } = e, s = vc({
usage: "search",
sensitivity: "base"
- }), { direction: c } = zi(), l = t.selectionManager.disabledBehavior, u = (0, C.useMemo)(() => r || new $d({
+ }), { direction: c } = Bi(), l = t.selectionManager.disabledBehavior, u = (0, C.useMemo)(() => r || new ef({
collection: t.collection,
disabledKeys: t.disabledKeys,
disabledBehavior: l,
@@ -9544,43 +9544,43 @@ function tf(e, t, n) {
s,
a,
o
- ]), d = _r(e.id);
- pd.set(t, d);
- let { gridProps: f } = fd({
+ ]), d = vr(e.id);
+ md.set(t, d);
+ let { gridProps: f } = pd({
...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 = $i(ef(Qd), "@react-aria/table"), g = (0, C.useMemo)(() => {
+ let { column: p, direction: m } = t.sortDescriptor || {}, h = ea(tf($d), "@react-aria/table"), g = (0, C.useMemo)(() => {
let e = t.collection.columns.find((e) => e.key === p)?.textValue ?? "";
return m && p ? h.format(`${m}Sort`, { columnName: e }) : void 0;
}, [
m,
p,
t.collection.columns
- ]), _ = yo(g);
- return lo(() => {
- g && so(g, "assertive", 500);
- }, [g]), { gridProps: V(f, _, { "aria-describedby": [_["aria-describedby"], f["aria-describedby"]].filter(Boolean).join(" ") }) };
+ ]), _ = bo(g);
+ return uo(() => {
+ g && co(g, "assertive", 500);
+ }, [g]), { gridProps: B(f, _, { "aria-describedby": [_["aria-describedby"], f["aria-describedby"]].filter(Boolean).join(" ") }) };
}
//#endregion
//#region node_modules/react-aria/dist/private/grid/useGridCell.mjs
-function nf(e, t, n) {
- let { node: r, isVirtualized: i, focusMode: a, allowsArrowNavigation: o, shouldSelectOnPressUp: s, onAction: c } = e, { direction: l } = zi(), { keyboardDelegate: u, actions: { onCellAction: d }, keyboardNavigationBehavior: f } = dd.get(t), p = a ?? (f === "tab" ? "cell" : "child"), m = (0, C.useRef)(null), h = () => {
+function rf(e, t, n) {
+ let { node: r, isVirtualized: i, focusMode: a, allowsArrowNavigation: o, shouldSelectOnPressUp: s, onAction: c } = e, { direction: l } = Bi(), { keyboardDelegate: u, actions: { onCellAction: d }, keyboardNavigationBehavior: f } = fd.get(t), p = a ?? (f === "tab" ? "cell" : "child"), m = (0, C.useRef)(null), h = () => {
if (n.current) {
- let e = to(n.current);
+ let e = no(n.current);
if (p === "child") {
- if (zt(n.current) && n.current !== Lt(R(n.current))) return;
- let r = t.selectionManager.childFocusStrategy === "last" ? rf(e) : e.firstChild();
+ if (Bt(n.current) && n.current !== Rt(L(n.current))) return;
+ let r = t.selectionManager.childFocusStrategy === "last" ? af(e) : e.firstChild();
if (r) {
- ur(r);
+ dr(r);
return;
}
}
- (m.current != null && r.key !== m.current || !zt(n.current)) && ur(n.current);
+ (m.current != null && r.key !== m.current || !Bt(n.current)) && dr(n.current);
}
- }, { itemProps: g, isPressed: _ } = wl({
+ }, { itemProps: g, isPressed: _ } = Tl({
selectionManager: t.selectionManager,
key: r.key,
ref: n,
@@ -9589,50 +9589,50 @@ function nf(e, t, n) {
shouldSelectOnPressUp: s,
onAction: d ? () => d(r.key) : c,
isDisabled: t.collection.size === 0
- }), v = V(g, {
+ }), v = B(g, {
role: "gridcell",
onKeyDownCapture: f !== "tab" || o ? (e) => {
- let i = Lt(R(n.current));
- if (!z(e.currentTarget, B(e)) || t.isKeyboardNavigationDisabled || !n.current || !i) return;
- let a = to(n.current);
+ let i = Rt(L(n.current));
+ if (!R(e.currentTarget, z(e)) || t.isKeyboardNavigationDisabled || !n.current || !i) return;
+ let a = no(n.current);
switch (a.currentNode = i, e.key) {
case "ArrowLeft": {
let t = l === "rtl" ? a.nextNode() : a.previousNode();
- if (p === "child" && t === n.current && (t = null), e.preventDefault(), e.stopPropagation(), t) ur(t), go(t, { containingElement: fo(n.current) });
+ if (p === "child" && t === n.current && (t = null), e.preventDefault(), e.stopPropagation(), t) dr(t), _o(t, { containingElement: po(n.current) });
else {
if (u.getKeyLeftOf?.(r.key) !== r.key) {
n.current.parentElement?.dispatchEvent(new KeyboardEvent(e.nativeEvent.type, e.nativeEvent));
break;
}
- p === "cell" && l === "rtl" ? (ur(n.current), go(n.current, { containingElement: fo(n.current) })) : (a.currentNode = n.current, t = l === "rtl" ? a.firstChild() : rf(a), t && (ur(t), go(t, { containingElement: fo(n.current) })));
+ p === "cell" && l === "rtl" ? (dr(n.current), _o(n.current, { containingElement: po(n.current) })) : (a.currentNode = n.current, t = l === "rtl" ? a.firstChild() : af(a), t && (dr(t), _o(t, { containingElement: po(n.current) })));
}
break;
}
case "ArrowRight": {
let t = l === "rtl" ? a.previousNode() : a.nextNode();
- if (p === "child" && t === n.current && (t = null), e.preventDefault(), e.stopPropagation(), t) ur(t), go(t, { containingElement: fo(n.current) });
+ if (p === "child" && t === n.current && (t = null), e.preventDefault(), e.stopPropagation(), t) dr(t), _o(t, { containingElement: po(n.current) });
else {
if (u.getKeyRightOf?.(r.key) !== r.key) {
n.current.parentElement?.dispatchEvent(new KeyboardEvent(e.nativeEvent.type, e.nativeEvent));
break;
}
- p === "cell" && l === "ltr" ? (ur(n.current), go(n.current, { containingElement: fo(n.current) })) : (a.currentNode = n.current, t = l === "rtl" ? rf(a) : a.firstChild(), t && (ur(t), go(t, { containingElement: fo(n.current) })));
+ p === "cell" && l === "ltr" ? (dr(n.current), _o(n.current, { containingElement: po(n.current) })) : (a.currentNode = n.current, t = l === "rtl" ? af(a) : a.firstChild(), t && (dr(t), _o(t, { containingElement: po(n.current) })));
}
break;
}
case "ArrowUp":
- case "ArrowDown": !e.altKey && z(n.current, B(e)) && (e.stopPropagation(), e.preventDefault(), n.current.parentElement?.dispatchEvent(new KeyboardEvent(e.nativeEvent.type, e.nativeEvent)));
+ case "ArrowDown": !e.altKey && R(n.current, z(e)) && (e.stopPropagation(), e.preventDefault(), n.current.parentElement?.dispatchEvent(new KeyboardEvent(e.nativeEvent.type, e.nativeEvent)));
}
} : void 0,
onKeyDown: f === "tab" ? (e) => {
- let r = Lt(R(n.current));
- if (!(!z(e.currentTarget, B(e)) || t.isKeyboardNavigationDisabled || !n.current || !r)) {
- if (f === "tab" && B(e) !== n.current && e.key !== "Tab") {
+ let r = Rt(L(n.current));
+ if (!(!R(e.currentTarget, z(e)) || t.isKeyboardNavigationDisabled || !n.current || !r)) {
+ if (f === "tab" && z(e) !== n.current && e.key !== "Tab") {
e.stopPropagation();
return;
}
if (e.key === "Tab" && f === "tab") {
- let t = to(n.current, { tabbable: !0 });
+ let t = no(n.current, { tabbable: !0 });
t.currentNode = r, (e.shiftKey ? t.previousNode() : t.nextNode()) && e.stopPropagation();
}
}
@@ -9641,12 +9641,12 @@ function nf(e, t, n) {
"aria-colindex": r.colIndex == null ? void 0 : r.colIndex + 1,
colSpan: i ? void 0 : r.colSpan,
onFocus: (e) => {
- if (m.current = r.key, B(e) !== n.current) {
- Qn() || t.selectionManager.setFocusedKey(r.key);
+ if (m.current = r.key, z(e) !== n.current) {
+ $n() || t.selectionManager.setFocusedKey(r.key);
return;
}
- p === "child" && e.relatedTarget && z(n.current, e.relatedTarget) || requestAnimationFrame(() => {
- p === "child" && Lt(R(n.current)) === n.current && h();
+ p === "child" && e.relatedTarget && R(n.current, e.relatedTarget) || requestAnimationFrame(() => {
+ p === "child" && Rt(L(n.current)) === n.current && h();
});
},
...p === "child" && f === "tab" ? { tabIndex: -1 } : {}
@@ -9661,7 +9661,7 @@ function nf(e, t, n) {
isPressed: _
};
}
-function rf(e) {
+function af(e) {
let t = null, n = null;
do
n = e.lastChild(), n && (t = n);
@@ -9670,33 +9670,33 @@ function rf(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/table/useTableCell.mjs
-function af(e, t, n) {
- let { gridCellProps: r, isPressed: i } = nf(e, t, n), a = e.node.column?.key;
- return a != null && t.collection.rowHeaderColumnKeys.has(a) && (r.role = "rowheader", r.id = gd(t, e.node.parentKey, a)), {
+function of(e, t, n) {
+ let { gridCellProps: r, isPressed: i } = rf(e, t, n), a = e.node.column?.key;
+ return a != null && t.collection.rowHeaderColumnKeys.has(a) && (r.role = "rowheader", r.id = _d(t, e.node.parentKey, a)), {
gridCellProps: r,
isPressed: i
};
}
//#endregion
//#region node_modules/react-aria/dist/private/table/useTableColumnHeader.mjs
-function of(e) {
+function sf(e) {
return e && e.__esModule ? e.default : e;
}
-function sf(e, t, n) {
- let { node: r } = e, i = r.props.allowsSorting, { gridCellProps: a } = nf({
+function cf(e, t, n) {
+ let { node: r } = e, i = r.props.allowsSorting, { gridCellProps: a } = rf({
focusMode: "child",
...e
- }, t, n), o = r.props.isSelectionCell && t.selectionManager.selectionMode === "single", { pressProps: s, isPressed: c } = xa({
+ }, t, n), o = r.props.isSelectionCell && t.selectionManager.selectionMode === "single", { pressProps: s, isPressed: c } = Sa({
isDisabled: !i || o,
onPress() {
t.sort(r.key);
},
ref: n
- }), { focusableProps: l } = Ur({}, n), u, d = t.sortDescriptor?.column === r.key, f = t.sortDescriptor?.direction;
- r.props.allowsSorting && !pn() && (u = d ? f : "none");
- let p = $i(of(Qd), "@react-aria/table"), m;
- i && (m = `${p.format("sortable")}`, d && f && pn() && (m = `${m}, ${p.format(f)}`));
- let h = yo(m), g = t.collection.size === 0;
+ }), { focusableProps: l } = Wr({}, n), u, d = t.sortDescriptor?.column === r.key, f = t.sortDescriptor?.direction;
+ r.props.allowsSorting && !mn() && (u = d ? f : "none");
+ let p = ea(sf($d), "@react-aria/table"), m;
+ i && (m = `${p.format("sortable")}`, d && f && mn() && (m = `${m}, ${p.format(f)}`));
+ let h = bo(m), g = t.collection.size === 0;
return (0, C.useEffect)(() => {
g && t.selectionManager.focusedKey === r.key && t.selectionManager.setFocusedKey(null);
}, [
@@ -9705,9 +9705,9 @@ function sf(e, t, n) {
r.key
]), {
columnHeaderProps: {
- ...V(l, a, s, h, g ? { tabIndex: -1 } : null),
+ ...B(l, a, s, h, g ? { tabIndex: -1 } : null),
role: "columnheader",
- id: hd(t, r.key),
+ id: gd(t, r.key),
"aria-colspan": r.colSpan && r.colSpan > 1 ? r.colSpan : void 0,
"aria-sort": u
},
@@ -9716,20 +9716,20 @@ function sf(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/table/useTableHeaderRow.mjs
-function cf(e, t, n) {
+function lf(e, t, n) {
let { node: r, isVirtualized: i } = e, a = { role: "row" };
return i && t.treeColumn == null && (a["aria-rowindex"] = r.index + 1), { rowProps: a };
}
//#endregion
//#region node_modules/react-aria/dist/private/grid/useGridRow.mjs
-function lf(e, t, n) {
- let { node: r, isVirtualized: i, shouldSelectOnPressUp: a, onAction: o } = e, { actions: s, shouldSelectOnPressUp: c } = dd.get(t), l = s.onRowAction ? () => s.onRowAction?.(r.key) : o, { itemProps: u, ...d } = wl({
+function uf(e, t, n) {
+ let { node: r, isVirtualized: i, shouldSelectOnPressUp: a, onAction: o } = e, { actions: s, shouldSelectOnPressUp: c } = fd.get(t), l = s.onRowAction ? () => s.onRowAction?.(r.key) : o, { itemProps: u, ...d } = Tl({
selectionManager: t.selectionManager,
key: r.key,
ref: n,
isVirtualized: i,
shouldSelectOnPressUp: c || a,
- onAction: l || r?.props?.onAction ? dr(r?.props?.onAction, l) : void 0,
+ onAction: l || r?.props?.onAction ? fr(r?.props?.onAction, l) : void 0,
isDisabled: t.collection.size === 0
}), f = t.selectionManager.isSelected(r.key), p = {
role: "row",
@@ -9744,10 +9744,10 @@ function lf(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/table/useTableRow.mjs
-function uf(e) {
+function df(e) {
return e && e.__esModule ? e.default : e;
}
-var df = {
+var ff = {
expand: {
ltr: "ArrowRight",
rtl: "ArrowLeft"
@@ -9757,21 +9757,21 @@ var df = {
rtl: "ArrowRight"
}
};
-function ff(e, t, n) {
- let { node: r, isVirtualized: i } = e, { rowProps: a, ...o } = lf(e, t, n), { direction: s } = zi();
+function pf(e, t, n) {
+ let { node: r, isVirtualized: i } = e, { rowProps: a, ...o } = uf(e, t, n), { direction: s } = Bi();
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 = $i(uf(Qd), "@react-aria/table"), u = Oi({
+ let c = t.treeColumn != null && (t.expandedKeys === "all" || t.expandedKeys.has(r.key)), l = ea(df($d), "@react-aria/table"), u = ki({
"aria-label": c ? l.format("collapse") : l.format("expand"),
- "aria-labelledby": _d(t, r.key)
+ "aria-labelledby": vd(t, r.key)
}), d = {}, f = {};
if (t.treeColumn != null) {
let e = t.collection.getItem(r.key);
if (e != null) {
- let n = pf(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 = pf(t.collection, a);
+ let n = mf(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 = mf(t.collection, a);
for (; l && l.type !== "item" && l.prevKey != null;) l = t.collection.getItem(l.prevKey);
d = {
onKeyDown: (n) => {
- n.key === df.expand[s] && t.selectionManager.focusedKey === e.key && i && t.expandedKeys !== "all" && !t.expandedKeys.has(e.key) ? (t.toggleKey(e.key), n.stopPropagation()) : n.key === df.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 === ff.expand[s] && t.selectionManager.focusedKey === e.key && i && t.expandedKeys !== "all" && !t.expandedKeys.has(e.key) ? (t.toggleKey(e.key), n.stopPropagation()) : n.key === ff.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,
@@ -9789,45 +9789,45 @@ function ff(e, t, n) {
};
}
}
- let p = Sn(r.props), m = o.hasAction ? p : {};
+ let p = Cn(r.props), m = o.hasAction ? p : {};
return {
rowProps: {
- ...V(a, d, m),
- "aria-labelledby": _d(t, r.key)
+ ...B(a, d, m),
+ "aria-labelledby": vd(t, r.key)
},
expandButtonProps: f,
...o
};
}
-function pf(e, t) {
+function mf(e, t) {
return "lastChildKey" in t ? t.lastChildKey == null ? null : e.getItem(t.lastChildKey) : Array.from(t.childNodes).findLast((e) => e.parentKey === t.key);
}
//#endregion
//#region node_modules/react-aria/dist/private/grid/useGridRowGroup.mjs
-function mf() {
+function hf() {
return { rowGroupProps: { role: "rowgroup" } };
}
//#endregion
//#region node_modules/react-aria/dist/private/table/useTableRowGroup.mjs
-function hf() {
- return mf();
+function gf() {
+ return hf();
}
//#endregion
//#region node_modules/react-aria/dist/private/table/useTableSelectionCheckbox.mjs
-function gf(e) {
+function _f(e) {
return e && e.__esModule ? e.default : e;
}
-function _f(e, t) {
- let { key: n } = e, { checkboxProps: r } = Ol(e, t);
+function vf(e, t) {
+ let { key: n } = e, { checkboxProps: r } = kl(e, t);
return { checkboxProps: {
...r,
- "aria-labelledby": `${r.id} ${_d(t, n)}`
+ "aria-labelledby": `${r.id} ${vd(t, n)}`
} };
}
-function vf(e) {
+function yf(e) {
let { isEmpty: t, isSelectAll: n, selectionMode: r } = e.selectionManager;
return { checkboxProps: {
- "aria-label": $i(gf(Qd), "@react-aria/table").format(r === "single" ? "select" : "selectAll"),
+ "aria-label": ea(_f($d), "@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,
@@ -9836,28 +9836,28 @@ function vf(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/tabs/utils.mjs
-var yf = /* @__PURE__ */ new WeakMap();
-function bf(e, t, n) {
- return e ? (typeof t == "string" && (t = t.replace(/\s+/g, "")), `${yf.get(e)}-${n}-${t}`) : "";
+var bf = /* @__PURE__ */ new WeakMap();
+function xf(e, t, n) {
+ return e ? (typeof t == "string" && (t = t.replace(/\s+/g, "")), `${bf.get(e)}-${n}-${t}`) : "";
}
//#endregion
//#region node_modules/react-aria/dist/private/tabs/useTab.mjs
-function xf(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 } = wl({
+function Sf(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 } = Tl({
selectionManager: o,
key: r,
ref: n,
isDisabled: l,
shouldSelectOnPressUp: a ?? u?.props.href != null,
linkBehavior: "selection"
- }), p = bf(t, r, "tab"), m = bf(t, r, "tabpanel"), { tabIndex: h } = d, g = H(u?.props, { labelable: !0 });
+ }), p = xf(t, r, "tab"), m = xf(t, r, "tabpanel"), { tabIndex: h } = d, g = V(u?.props, { labelable: !0 });
delete g.id;
- let _ = Cn(u?.props), { focusableProps: v } = Ur({
+ let _ = wn(u?.props), { focusableProps: v } = Wr({
...u?.props,
isDisabled: l
}, n);
return {
- tabProps: V(g, v, _, d, {
+ tabProps: B(g, v, _, d, {
id: p,
"aria-selected": c,
"aria-disabled": l || void 0,
@@ -9872,7 +9872,7 @@ function xf(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/tabs/TabsKeyboardDelegate.mjs
-var Sf = class {
+var Cf = class {
constructor(e, t, n, r = /* @__PURE__ */ new Set()) {
this.collection = e, this.flipDirection = t === "rtl", this.disabledKeys = r, this.tabDirection = n === "horizontal";
}
@@ -9916,11 +9916,11 @@ var Sf = class {
};
//#endregion
//#region node_modules/react-aria/dist/private/tabs/useTabList.mjs
-function Cf(e, t, n) {
- let { orientation: r = "horizontal", keyboardActivation: i = "automatic" } = e, { collection: a, selectionManager: o, disabledKeys: s } = t, { direction: c } = zi(), { collectionProps: l } = sc({
+function wf(e, t, n) {
+ let { orientation: r = "horizontal", keyboardActivation: i = "automatic" } = e, { collection: a, selectionManager: o, disabledKeys: s } = t, { direction: c } = Bi(), { collectionProps: l } = cc({
ref: n,
selectionManager: o,
- keyboardDelegate: (0, C.useMemo)(() => new Sf(a, c, r, s), [
+ keyboardDelegate: (0, C.useMemo)(() => new Cf(a, c, r, s), [
a,
s,
r,
@@ -9930,9 +9930,9 @@ function Cf(e, t, n) {
disallowEmptySelection: !0,
scrollRef: n,
linkBehavior: "selection"
- }), u = _r();
- return yf.set(t, u), { tabListProps: {
- ...V(l, Oi({
+ }), u = vr();
+ return bf.set(t, u), { tabListProps: {
+ ...B(l, ki({
...e,
id: u
})),
@@ -9943,12 +9943,12 @@ function Cf(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/tabs/useTabPanel.mjs
-function wf(e, t, n) {
- let r = bl(n) ? void 0 : 0, i = bf(t, e.id ?? t?.selectedKey, "tabpanel");
- return { tabPanelProps: V(Oi({
+function Tf(e, t, n) {
+ let r = xl(n) ? void 0 : 0, i = xf(t, e.id ?? t?.selectedKey, "tabpanel");
+ return { tabPanelProps: B(ki({
...e,
id: i,
- "aria-labelledby": bf(t, t?.selectedKey, "tab")
+ "aria-labelledby": xf(t, t?.selectedKey, "tab")
}), {
tabIndex: r,
role: "tabpanel",
@@ -9958,7 +9958,7 @@ function wf(e, t, n) {
}
//#endregion
//#region node_modules/scheduler/cjs/scheduler.production.js
-var Tf = /* @__PURE__ */ g(((e) => {
+var Ef = /* @__PURE__ */ g(((e) => {
function t(e, t) {
var n = e.length;
e.push(t);
@@ -10157,10 +10157,10 @@ var Tf = /* @__PURE__ */ g(((e) => {
}
};
};
-})), Ef = /* @__PURE__ */ g(((e, t) => {
- t.exports = Tf();
-})), Df = /* @__PURE__ */ g(((e) => {
- var t = Ef(), n = b(), r = Yr();
+})), Df = /* @__PURE__ */ g(((e, t) => {
+ t.exports = Ef();
+})), Of = /* @__PURE__ */ g(((e) => {
+ var t = Df(), n = b(), r = Xr();
function i(e) {
var t = "https://react.dev/errors/" + e;
if (1 < arguments.length) {
@@ -10330,23 +10330,23 @@ var Tf = /* @__PURE__ */ g(((e) => {
}
return null;
}
- var T = Object.assign, E = Symbol.for("react.element"), D = Symbol.for("react.transitional.element"), O = Symbol.for("react.portal"), k = Symbol.for("react.fragment"), A = Symbol.for("react.strict_mode"), j = Symbol.for("react.profiler"), M = Symbol.for("react.consumer"), N = Symbol.for("react.context"), ee = Symbol.for("react.forward_ref"), P = Symbol.for("react.suspense"), F = Symbol.for("react.suspense_list"), te = Symbol.for("react.memo"), ne = Symbol.for("react.lazy"), re = Symbol.for("react.activity"), ie = Symbol.for("react.legacy_hidden"), ae = Symbol.for("react.memo_cache_sentinel"), oe = Symbol.for("react.view_transition"), se = Symbol.for("react.recoverable"), ce = Symbol.iterator;
- function le(e) {
- return typeof e != "object" || !e ? null : (e = ce && e[ce] || e["@@iterator"], typeof e == "function" ? e : null);
+ var T = Object.assign, E = Symbol.for("react.element"), D = Symbol.for("react.transitional.element"), O = Symbol.for("react.portal"), k = Symbol.for("react.fragment"), A = Symbol.for("react.strict_mode"), j = Symbol.for("react.profiler"), M = Symbol.for("react.consumer"), N = Symbol.for("react.context"), ee = Symbol.for("react.forward_ref"), te = Symbol.for("react.suspense"), P = Symbol.for("react.suspense_list"), ne = Symbol.for("react.memo"), re = Symbol.for("react.lazy"), ie = Symbol.for("react.activity"), ae = Symbol.for("react.legacy_hidden"), oe = Symbol.for("react.memo_cache_sentinel"), se = Symbol.for("react.view_transition"), ce = Symbol.for("react.recoverable"), le = Symbol.iterator;
+ function ue(e) {
+ return typeof e != "object" || !e ? null : (e = le && e[le] || e["@@iterator"], typeof e == "function" ? e : null);
}
- var ue = Symbol.for("react.client.reference");
- function de(e) {
+ var de = Symbol.for("react.client.reference");
+ function fe(e) {
if (e == null) return null;
- if (typeof e == "function") return e.$$typeof === ue ? null : e.displayName || e.name || null;
+ if (typeof e == "function") return e.$$typeof === de ? null : e.displayName || e.name || null;
if (typeof e == "string") return e;
switch (e) {
case k: return "Fragment";
case j: return "Profiler";
case A: return "StrictMode";
- case P: return "Suspense";
- case F: return "SuspenseList";
- case re: return "Activity";
- case oe: return "ViewTransition";
+ case te: return "Suspense";
+ case P: return "SuspenseList";
+ case ie: return "Activity";
+ case se: return "ViewTransition";
}
if (typeof e == "object") switch (e.$$typeof) {
case O: return "Portal";
@@ -10355,38 +10355,38 @@ var Tf = /* @__PURE__ */ g(((e) => {
case ee:
var t = e.render;
return e = e.displayName, e ||= (e = t.displayName || t.name || "", e === "" ? "ForwardRef" : "ForwardRef(" + e + ")"), e;
- case te: return t = e.displayName || null, t === null ? de(e.type) || "Memo" : t;
- case ne:
+ case ne: return t = e.displayName || null, t === null ? fe(e.type) || "Memo" : t;
+ case re:
t = e._payload, e = e._init;
try {
- return de(e(t));
+ return fe(e(t));
} catch {}
}
return null;
}
- var fe = Array.isArray, I = n.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, L = r.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, pe = {
+ var pe = Array.isArray, F = n.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, I = r.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, me = {
pending: !1,
data: null,
method: null,
action: null
- }, me = [], he = -1;
- function ge(e) {
+ }, he = [], ge = -1;
+ function _e(e) {
return { current: e };
}
- function _e(e) {
- 0 > he || (e.current = me[he], me[he] = null, he--);
+ function ve(e) {
+ 0 > ge || (e.current = he[ge], he[ge] = null, ge--);
}
- function ve(e, t) {
- he++, me[he] = e.current, e.current = t;
+ function ye(e, t) {
+ ge++, he[ge] = e.current, e.current = t;
}
- var ye = ge(null), be = ge(null), xe = ge(null), Se = ge(null);
- function Ce(e, t) {
- switch (ve(xe, t), ve(be, e), ve(ye, null), t.nodeType) {
+ var be = _e(null), xe = _e(null), Se = _e(null), Ce = _e(null);
+ function we(e, t) {
+ switch (ye(Se, t), ye(xe, e), ye(be, null), t.nodeType) {
case 9:
case 11:
- e = (e = t.documentElement) && (e = e.namespaceURI) ? bp(e) : 0;
+ e = (e = t.documentElement) && (e = e.namespaceURI) ? xp(e) : 0;
break;
- default: if (e = t.tagName, t = t.namespaceURI) t = bp(t), e = xp(t, e);
+ default: if (e = t.tagName, t = t.namespaceURI) t = xp(t), e = Sp(t, e);
else switch (e) {
case "svg":
e = 1;
@@ -10397,34 +10397,34 @@ var Tf = /* @__PURE__ */ g(((e) => {
default: e = 0;
}
}
- _e(ye), ve(ye, e);
+ ve(be), ye(be, e);
}
- function we() {
- _e(ye), _e(be), _e(xe);
+ function Te() {
+ ve(be), ve(xe), ve(Se);
}
- function Te(e) {
+ function Ee(e) {
var t = e.memoizedState;
- t !== null && (fh._currentValue = t.memoizedState, ve(Se, e)), t = ye.current;
- var n = xp(t, e.type);
- t !== n && (ve(be, e), ve(ye, n));
+ t !== null && (fh._currentValue = t.memoizedState, ye(Ce, e)), t = be.current;
+ var n = Sp(t, e.type);
+ t !== n && (ye(xe, e), ye(be, n));
}
- function Ee(e) {
- be.current === e && (_e(ye), _e(be)), Se.current === e && (_e(Se), fh._currentValue = pe);
+ function De(e) {
+ xe.current === e && (ve(be), ve(xe)), Ce.current === e && (ve(Ce), fh._currentValue = me);
}
- var De, Oe;
- function ke(e) {
- if (De === void 0) try {
+ var Oe, ke;
+ function Ae(e) {
+ if (Oe === void 0) try {
throw Error();
} catch (e) {
var t = e.stack.trim().match(/\n( *(at )?)/);
- De = t && t[1] || "", Oe = -1 < e.stack.indexOf("\n at") ? " (<anonymous>)" : -1 < e.stack.indexOf("@") ? "@unknown:0:0" : "";
+ Oe = t && t[1] || "", ke = -1 < e.stack.indexOf("\n at") ? " (<anonymous>)" : -1 < e.stack.indexOf("@") ? "@unknown:0:0" : "";
}
- return "\n" + De + e + Oe;
+ return "\n" + Oe + e + ke;
}
- var Ae = !1;
- function je(e, t) {
- if (!e || Ae) return "";
- Ae = !0;
+ var je = !1;
+ function Me(e, t) {
+ if (!e || je) return "";
+ je = !0;
var n = Error.prepareStackTrace;
Error.prepareStackTrace = void 0;
try {
@@ -10495,50 +10495,50 @@ var Tf = /* @__PURE__ */ g(((e) => {
}
}
} finally {
- Ae = !1, Error.prepareStackTrace = n;
+ je = !1, Error.prepareStackTrace = n;
}
- return (n = e ? e.displayName || e.name : "") ? ke(n) : "";
+ return (n = e ? e.displayName || e.name : "") ? Ae(n) : "";
}
- function Me(e, t) {
+ function Ne(e, t) {
switch (e.tag) {
case 26:
case 27:
- case 5: return ke(e.type);
- case 16: return ke("Lazy");
- case 13: return e.child !== t && t !== null ? ke("Suspense Fallback") : ke("Suspense");
- case 19: return ke("SuspenseList");
+ case 5: return Ae(e.type);
+ case 16: return Ae("Lazy");
+ case 13: return e.child !== t && t !== null ? Ae("Suspense Fallback") : Ae("Suspense");
+ case 19: return Ae("SuspenseList");
case 0:
- case 15: return je(e.type, !1);
- case 11: return je(e.type.render, !1);
- case 1: return je(e.type, !0);
- case 31: return ke("Activity");
- case 30: return ke("ViewTransition");
+ case 15: return Me(e.type, !1);
+ case 11: return Me(e.type.render, !1);
+ case 1: return Me(e.type, !0);
+ case 31: return Ae("Activity");
+ case 30: return Ae("ViewTransition");
default: return "";
}
}
- function Ne(e) {
+ function Pe(e) {
try {
var t = "", n = null;
do
- t += Me(e, n), n = e, e = e.return;
+ t += Ne(e, n), n = e, e = e.return;
while (e);
return t;
} catch (e) {
return "\nError generating stack: " + e.message + "\n" + e.stack;
}
}
- var Pe = Object.prototype.hasOwnProperty, Fe = t.unstable_scheduleCallback, Ie = t.unstable_cancelCallback, Le = t.unstable_shouldYield, Re = t.unstable_requestPaint, ze = t.unstable_now, Be = t.unstable_getCurrentPriorityLevel, Ve = t.unstable_ImmediatePriority, He = t.unstable_UserBlockingPriority, Ue = t.unstable_NormalPriority, We = t.unstable_LowPriority, Ge = t.unstable_IdlePriority, Ke = t.log, qe = t.unstable_setDisableYieldValue, Je = null, Ye = null;
- function Xe(e) {
- if (typeof Ke == "function" && qe(e), Ye && typeof Ye.setStrictMode == "function") try {
- Ye.setStrictMode(Je, e);
+ var Fe = Object.prototype.hasOwnProperty, Ie = t.unstable_scheduleCallback, Le = t.unstable_cancelCallback, Re = t.unstable_shouldYield, ze = t.unstable_requestPaint, Be = t.unstable_now, Ve = t.unstable_getCurrentPriorityLevel, He = t.unstable_ImmediatePriority, Ue = t.unstable_UserBlockingPriority, We = t.unstable_NormalPriority, Ge = t.unstable_LowPriority, Ke = t.unstable_IdlePriority, qe = t.log, Je = t.unstable_setDisableYieldValue, Ye = null, Xe = null;
+ function Ze(e) {
+ if (typeof qe == "function" && Je(e), Xe && typeof Xe.setStrictMode == "function") try {
+ Xe.setStrictMode(Ye, e);
} catch {}
}
- var Ze = Math.clz32 ? Math.clz32 : et, Qe = Math.log, $e = Math.LN2;
- function et(e) {
- return e >>>= 0, e === 0 ? 32 : 31 - (Qe(e) / $e | 0) | 0;
+ var Qe = Math.clz32 ? Math.clz32 : tt, $e = Math.log, et = Math.LN2;
+ function tt(e) {
+ return e >>>= 0, e === 0 ? 32 : 31 - ($e(e) / et | 0) | 0;
}
- var tt = 256, nt = 262144, rt = 4194304;
- function it(e) {
+ var nt = 256, rt = 262144, it = 4194304;
+ function at(e) {
var t = e & 42;
if (t !== 0) return t;
switch (e & -e) {
@@ -10576,27 +10576,27 @@ var Tf = /* @__PURE__ */ g(((e) => {
default: return e;
}
}
- function at(e, t, n) {
+ function ot(e, t, n) {
var r = e.pendingLanes;
if (r === 0) return 0;
var i = 0, a = e.suspendedLanes, o = e.pingedLanes;
e = e.warmLanes;
var s = r & 134217727;
- return s === 0 ? (s = r & ~a, s === 0 ? o === 0 ? n || (n = r & ~e, n !== 0 && (i = it(n))) : i = it(o) : i = it(s)) : (r = s & ~a, r === 0 ? (o &= s, o === 0 ? n || (n = s & ~e, n !== 0 && (i = it(n))) : i = it(o)) : i = it(r)), i === 0 ? 0 : t !== 0 && t !== i && (t & a) === 0 && (a = i & -i, n = t & -t, a >= n || a === 32 && n & 4194048) ? t : i;
+ return s === 0 ? (s = r & ~a, s === 0 ? o === 0 ? n || (n = r & ~e, n !== 0 && (i = at(n))) : i = at(o) : i = at(s)) : (r = s & ~a, r === 0 ? (o &= s, o === 0 ? n || (n = s & ~e, n !== 0 && (i = at(n))) : i = at(o)) : i = at(r)), i === 0 ? 0 : t !== 0 && t !== i && (t & a) === 0 && (a = i & -i, n = t & -t, a >= n || a === 32 && n & 4194048) ? t : i;
}
- function ot(e, t) {
+ function st(e, t) {
return (e.pendingLanes & ~(e.suspendedLanes & ~e.pingedLanes) & t) === 0;
}
- function st(e, t) {
+ function ct(e, t) {
t & 8 && (t |= t & 32);
var n = e.entangledLanes;
if (n !== 0) for (e = e.entanglements, n &= t; 0 < n;) {
- var r = 31 - Ze(n), i = 1 << r;
+ var r = 31 - Qe(n), i = 1 << r;
t |= e[r], n &= ~i;
}
return t;
}
- function ct(e, t) {
+ function lt(e, t) {
switch (e) {
case 1:
case 2:
@@ -10632,23 +10632,23 @@ var Tf = /* @__PURE__ */ g(((e) => {
default: return -1;
}
}
- function lt() {
- var e = rt;
- return rt <<= 1, !(rt & 62914560) && (rt = 4194304), e;
+ function ut() {
+ var e = it;
+ return it <<= 1, !(it & 62914560) && (it = 4194304), e;
}
- function ut(e) {
+ function dt(e) {
for (var t = [], n = 0; 31 > n; n++) t.push(e);
return t;
}
- function dt(e, t) {
+ function ft(e, t) {
e.pendingLanes |= t, t !== 268435456 && (e.suspendedLanes = 0, e.pingedLanes = 0, e.warmLanes = 0);
}
- function ft(e, t, n, r, i, a) {
+ function pt(e, t, n, r, i, a) {
var o = e.pendingLanes;
e.pendingLanes = n, e.suspendedLanes = 0, e.pingedLanes = 0, e.warmLanes = 0, e.expiredLanes &= n, e.entangledLanes &= n, e.errorRecoveryDisabledLanes &= n, e.shellSuspendCounter = 0;
var s = e.entanglements, c = e.expirationTimes, l = e.hiddenUpdates;
for (n = o & ~n; 0 < n;) {
- var u = 31 - Ze(n), d = 1 << u;
+ var u = 31 - Qe(n), d = 1 << u;
s[u] = 0, c[u] = -1;
var f = l[u];
if (f !== null) for (l[u] = null, u = 0; u < f.length; u++) {
@@ -10657,25 +10657,25 @@ var Tf = /* @__PURE__ */ g(((e) => {
}
n &= ~d;
}
- r !== 0 && pt(e, r, 0), a !== 0 && i === 0 && e.tag !== 0 && (e.suspendedLanes |= a & ~(o & ~t));
+ r !== 0 && mt(e, r, 0), a !== 0 && i === 0 && e.tag !== 0 && (e.suspendedLanes |= a & ~(o & ~t));
}
- function pt(e, t, n) {
+ function mt(e, t, n) {
e.pendingLanes |= t, e.suspendedLanes &= ~t;
- var r = 31 - Ze(t);
+ var r = 31 - Qe(t);
e.entangledLanes |= t, e.entanglements[r] = e.entanglements[r] | 1073741824 | n & 261930;
}
- function mt(e, t) {
+ function ht(e, t) {
var n = e.entangledLanes |= t;
for (e = e.entanglements; n;) {
- var r = 31 - Ze(n), i = 1 << r;
+ var r = 31 - Qe(n), i = 1 << r;
i & t | e[r] & t && (e[r] |= t), n &= ~i;
}
}
- function ht(e, t) {
+ function gt(e, t) {
var n = t & -t;
- return n = n & 42 ? 1 : gt(n), (n & (e.suspendedLanes | t)) === 0 ? n : 0;
+ return n = n & 42 ? 1 : _t(n), (n & (e.suspendedLanes | t)) === 0 ? n : 0;
}
- function gt(e) {
+ function _t(e) {
switch (e) {
case 2:
e = 1;
@@ -10713,33 +10713,33 @@ var Tf = /* @__PURE__ */ g(((e) => {
}
return e;
}
- function _t(e) {
+ function vt(e) {
return e &= -e, 2 < e ? 8 < e ? e & 134217727 ? 32 : 268435456 : 8 : 2;
}
- function vt() {
- var e = L.p;
+ function yt() {
+ var e = I.p;
return e === 0 ? (e = window.event, e === void 0 ? 32 : Oh(e.type)) : e;
}
- function yt(e, t) {
- var n = L.p;
+ function bt(e, t) {
+ var n = I.p;
try {
- return L.p = e, t();
+ return I.p = e, t();
} finally {
- L.p = n;
+ I.p = n;
}
}
- var bt = Math.random().toString(36).slice(2), xt = "__reactFiber$" + bt, St = "__reactProps$" + bt, Ct = "__reactContainer$" + bt, wt = "__reactEvents$" + bt, Tt = "__reactListeners$" + bt, Et = "__reactHandles$" + bt, Dt = "__reactResources$" + bt, R = "__reactMarker$" + bt, Ot = "__reactLoad$" + bt;
- function kt(e) {
- delete e[xt], delete e[St], delete e[Tt], delete e[Et];
- }
+ var xt = Math.random().toString(36).slice(2), St = "__reactFiber$" + xt, Ct = "__reactProps$" + xt, wt = "__reactContainer$" + xt, Tt = "__reactEvents$" + xt, Et = "__reactListeners$" + xt, Dt = "__reactHandles$" + xt, Ot = "__reactResources$" + xt, L = "__reactMarker$" + xt, kt = "__reactLoad$" + xt;
function At(e) {
+ delete e[St], delete e[Ct], delete e[Et], delete e[Dt];
+ }
+ function jt(e) {
var t;
- if (t = e[xt]) return t;
+ if (t = e[St]) return t;
for (var n = e.parentNode; n;) {
- if (t = n[Ct] || n[xt]) {
- if (n = t.alternate, t.child !== null || n !== null && n.child !== null) for (e = K(e); e !== null;) {
- if (n = e[xt]) return n;
- e = K(e);
+ if (t = n[wt] || n[St]) {
+ if (n = t.alternate, t.child !== null || n !== null && n.child !== null) for (e = G(e); e !== null;) {
+ if (n = e[St]) return n;
+ e = G(e);
}
return t;
}
@@ -10747,49 +10747,49 @@ var Tf = /* @__PURE__ */ g(((e) => {
}
return null;
}
- function jt(e) {
- if (e = e[xt] || e[Ct]) {
+ function Mt(e) {
+ if (e = e[St] || e[wt]) {
var t = e.tag;
if (t === 5 || t === 6 || t === 13 || t === 31 || t === 26 || t === 27 || t === 3) return e;
}
return null;
}
- function Mt(e) {
+ function Nt(e) {
var t = e.tag;
if (t === 5 || t === 26 || t === 27 || t === 6) return e.stateNode;
throw Error(i(33));
}
- function Nt(e) {
- var t = e[Dt];
- return t ||= e[Dt] = {
+ function Pt(e) {
+ var t = e[Ot];
+ return t ||= e[Ot] = {
hoistableStyles: /* @__PURE__ */ new Map(),
hoistableScripts: /* @__PURE__ */ new Map()
}, t;
}
- function Pt(e) {
- e[R] = !0;
- }
function Ft(e) {
- e[Ot] = void 0;
+ e[L] = !0;
+ }
+ function It(e) {
+ e[kt] = void 0;
}
- var It = /* @__PURE__ */ new Set(), z = {};
- function Lt(e, t) {
- B(e, t), B(e + "Capture", t);
+ var Lt = /* @__PURE__ */ new Set(), R = {};
+ function Rt(e, t) {
+ z(e, t), z(e + "Capture", t);
}
- function B(e, t) {
- for (z[e] = t, e = 0; e < t.length; e++) It.add(t[e]);
+ function z(e, t) {
+ for (R[e] = t, e = 0; e < t.length; e++) Lt.add(t[e]);
}
- var Rt = RegExp("^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"), zt = {}, Bt = {};
- function Vt(e) {
- return Pe.call(Bt, e) ? !0 : Pe.call(zt, e) ? !1 : Rt.test(e) ? Bt[e] = !0 : (zt[e] = !0, !1);
+ var zt = RegExp("^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"), Bt = {}, Vt = {};
+ function Ht(e) {
+ return Fe.call(Vt, e) ? !0 : Fe.call(Bt, e) ? !1 : zt.test(e) ? Vt[e] = !0 : (Bt[e] = !0, !1);
}
- var Ht = !1;
- function Ut() {
- var e = Ht;
- return Ht = !1, e;
+ var Ut = !1;
+ function Wt() {
+ var e = Ut;
+ return Ut = !1, e;
}
- function Wt(e, t, n) {
- if (Vt(t)) {
+ function Gt(e, t, n) {
+ if (Ht(t)) {
if (n === null) e.removeAttribute(t);
else {
switch (typeof n) {
@@ -10809,7 +10809,7 @@ var Tf = /* @__PURE__ */ g(((e) => {
}
}
}
- function Gt(e, t, n) {
+ function Kt(e, t, n) {
if (n === null) e.removeAttribute(t);
else {
switch (typeof n) {
@@ -10823,7 +10823,7 @@ var Tf = /* @__PURE__ */ g(((e) => {
e.setAttribute(t, n);
}
}
- function Kt(e, t, n, r) {
+ function qt(e, t, n, r) {
if (r === null) e.removeAttribute(n);
else {
switch (typeof r) {
@@ -10837,7 +10837,7 @@ var Tf = /* @__PURE__ */ g(((e) => {
e.setAttributeNS(t, n, r);
}
}
- function qt(e) {
+ function Jt(e) {
switch (typeof e) {
case "bigint":
case "boolean":
@@ -10848,11 +10848,11 @@ var Tf = /* @__PURE__ */ g(((e) => {
default: return "";
}
}
- function Jt(e) {
+ function Yt(e) {
var t = e.type;
return (e = e.nodeName) && e.toLowerCase() === "input" && (t === "checkbox" || t === "radio");
}
- function Yt(e, t, n) {
+ function Xt(e, t, n) {
var r = Object.getOwnPropertyDescriptor(e.constructor.prototype, t);
if (!e.hasOwnProperty(t) && r !== void 0 && typeof r.get == "function" && typeof r.set == "function") {
var i = r.get, a = r.set;
@@ -10877,48 +10877,48 @@ var Tf = /* @__PURE__ */ g(((e) => {
};
}
}
- function Xt(e) {
+ function Zt(e) {
if (!e._valueTracker) {
- var t = Jt(e) ? "checked" : "value";
- e._valueTracker = Yt(e, t, "" + e[t]);
+ var t = Yt(e) ? "checked" : "value";
+ e._valueTracker = Xt(e, t, "" + e[t]);
}
}
- function Zt(e) {
+ function Qt(e) {
if (!e) return !1;
var t = e._valueTracker;
if (!t) return !0;
var n = t.getValue(), r = "";
- return e && (r = Jt(e) ? e.checked ? "true" : "false" : e.value), e = r, e !== n && (t.setValue(e), !0);
+ return e && (r = Yt(e) ? e.checked ? "true" : "false" : e.value), e = r, e !== n && (t.setValue(e), !0);
}
- var Qt = /[\n"\\]/g;
- function $t(e) {
- return e.replace(Qt, function(e) {
+ var $t = /[\n"\\]/g;
+ function en(e) {
+ return e.replace($t, function(e) {
return "\\" + e.charCodeAt(0).toString(16) + " ";
});
}
- function en(e, t, n, r, i, a, o, s) {
- e.name = "", o != null && typeof o != "function" && typeof o != "symbol" && typeof o != "boolean" ? e.type = o : e.removeAttribute("type"), t == null ? o !== "submit" && o !== "reset" || e.removeAttribute("value") : o === "number" ? (t === 0 && e.value === "" || e.value != t) && (e.value = "" + qt(t)) : e.value !== "" + qt(t) && (e.value = "" + qt(t)), t == null ? n == null ? r != null && e.removeAttribute("value") : nn(e, qt(n)) : o === "number" && e.value == t ? nn(e, qt(e.value)) : nn(e, qt(t)), i == null && a != null && (e.defaultChecked = !!a), i != null && (e.checked = i && typeof i != "function" && typeof i != "symbol"), s != null && typeof s != "function" && typeof s != "symbol" && typeof s != "boolean" ? e.name = "" + qt(s) : e.removeAttribute("name");
- }
function tn(e, t, n, r, i, a, o, s) {
+ e.name = "", o != null && typeof o != "function" && typeof o != "symbol" && typeof o != "boolean" ? e.type = o : e.removeAttribute("type"), t == null ? o !== "submit" && o !== "reset" || e.removeAttribute("value") : o === "number" ? (t === 0 && e.value === "" || e.value != t) && (e.value = "" + Jt(t)) : e.value !== "" + Jt(t) && (e.value = "" + Jt(t)), t == null ? n == null ? r != null && e.removeAttribute("value") : rn(e, Jt(n)) : o === "number" && e.value == t ? rn(e, Jt(e.value)) : rn(e, Jt(t)), i == null && a != null && (e.defaultChecked = !!a), i != null && (e.checked = i && typeof i != "function" && typeof i != "symbol"), s != null && typeof s != "function" && typeof s != "symbol" && typeof s != "boolean" ? e.name = "" + Jt(s) : e.removeAttribute("name");
+ }
+ function nn(e, t, n, r, i, a, o, s) {
if (a != null && typeof a != "function" && typeof a != "symbol" && typeof a != "boolean" && (e.type = a), t != null || n != null) {
if (!(a !== "submit" && a !== "reset" || t != null)) {
- Xt(e);
+ Zt(e);
return;
}
- n = n == null ? "" : "" + qt(n), t = t == null ? n : "" + qt(t), s || t === e.value || (e.value = t), e.defaultValue = t;
+ n = n == null ? "" : "" + Jt(n), t = t == null ? n : "" + Jt(t), s || t === e.value || (e.value = t), e.defaultValue = t;
}
- r ??= i, r = typeof r != "function" && typeof r != "symbol" && !!r, e.checked = s ? e.checked : !!r, e.defaultChecked = !!r, o != null && typeof o != "function" && typeof o != "symbol" && typeof o != "boolean" && (e.name = o), Xt(e);
+ r ??= i, r = typeof r != "function" && typeof r != "symbol" && !!r, e.checked = s ? e.checked : !!r, e.defaultChecked = !!r, o != null && typeof o != "function" && typeof o != "symbol" && typeof o != "boolean" && (e.name = o), Zt(e);
}
- function nn(e, t) {
+ function rn(e, t) {
e.defaultValue !== "" + t && (e.defaultValue = "" + t);
}
- function rn(e, t, n, r) {
+ function an(e, t, n, r) {
if (e = e.options, t) {
t = {};
for (var i = 0; i < n.length; i++) t["$" + n[i]] = !0;
for (n = 0; n < e.length; n++) i = t.hasOwnProperty("$" + e[n].value), e[n].selected !== i && (e[n].selected = i), i && r && (e[n].defaultSelected = !0);
} else {
- for (n = "" + qt(n), t = null, i = 0; i < e.length; i++) {
+ for (n = "" + Jt(n), t = null, i = 0; i < e.length; i++) {
if (e[i].value === n) {
e[i].selected = !0, r && (e[i].defaultSelected = !0);
return;
@@ -10928,18 +10928,18 @@ var Tf = /* @__PURE__ */ g(((e) => {
t !== null && (t.selected = !0);
}
}
- function an(e, t, n) {
- if (t != null && (t = "" + qt(t), t !== e.value && (e.value = t), n == null)) {
+ function on(e, t, n) {
+ if (t != null && (t = "" + Jt(t), t !== e.value && (e.value = t), n == null)) {
e.defaultValue !== t && (e.defaultValue = t);
return;
}
- e.defaultValue = n == null ? "" : "" + qt(n);
+ e.defaultValue = n == null ? "" : "" + Jt(n);
}
- function on(e, t, n, r) {
+ function sn(e, t, n, r) {
if (t == null) {
if (r != null) {
if (n != null) throw Error(i(92));
- if (fe(r)) {
+ if (pe(r)) {
if (1 < r.length) throw Error(i(93));
r = r[0];
}
@@ -10947,9 +10947,9 @@ var Tf = /* @__PURE__ */ g(((e) => {
}
n ??= "", t = n;
}
- n = qt(t), e.defaultValue = n, r = e.textContent, r === n && r !== "" && r !== null && (e.value = r), Xt(e);
+ n = Jt(t), e.defaultValue = n, r = e.textContent, r === n && r !== "" && r !== null && (e.value = r), Zt(e);
}
- function sn(e, t) {
+ function cn(e, t) {
if (t) {
var n = e.firstChild;
if (n && n === e.lastChild && n.nodeType === 3) {
@@ -10959,19 +10959,19 @@ var Tf = /* @__PURE__ */ g(((e) => {
}
e.textContent = t;
}
- var cn = new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" "));
- function ln(e, t, n) {
+ var ln = new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" "));
+ function un(e, t, n) {
var r = t.indexOf("--") === 0;
- n == null || typeof n == "boolean" || n === "" ? r ? e.setProperty(t, "") : t === "float" ? e.cssFloat = "" : e[t] = "" : r ? e.setProperty(t, n) : typeof n != "number" || n === 0 || cn.has(t) ? t === "float" ? e.cssFloat = n : e[t] = ("" + n).trim() : e[t] = n + "px";
+ n == null || typeof n == "boolean" || n === "" ? r ? e.setProperty(t, "") : t === "float" ? e.cssFloat = "" : e[t] = "" : r ? e.setProperty(t, n) : typeof n != "number" || n === 0 || ln.has(t) ? t === "float" ? e.cssFloat = n : e[t] = ("" + n).trim() : e[t] = n + "px";
}
- function un(e, t, n) {
+ function dn(e, t, n) {
if (t != null && typeof t != "object") throw Error(i(62));
if (e = e.style, n != null) {
- for (var r in n) !n.hasOwnProperty(r) || t != null && t.hasOwnProperty(r) || (r.indexOf("--") === 0 ? e.setProperty(r, "") : r === "float" ? e.cssFloat = "" : e[r] = "", Ht = !0);
- for (var a in t) r = t[a], t.hasOwnProperty(a) && n[a] !== r && (ln(e, a, r), Ht = !0);
- } else for (var o in t) t.hasOwnProperty(o) && ln(e, o, t[o]);
+ for (var r in n) !n.hasOwnProperty(r) || t != null && t.hasOwnProperty(r) || (r.indexOf("--") === 0 ? e.setProperty(r, "") : r === "float" ? e.cssFloat = "" : e[r] = "", Ut = !0);
+ for (var a in t) r = t[a], t.hasOwnProperty(a) && n[a] !== r && (un(e, a, r), Ut = !0);
+ } else for (var o in t) t.hasOwnProperty(o) && un(e, o, t[o]);
}
- function dn(e) {
+ function fn(e) {
if (e.indexOf("-") === -1) return !1;
switch (e) {
case "annotation-xml":
@@ -10985,7 +10985,7 @@ var Tf = /* @__PURE__ */ g(((e) => {
default: return !0;
}
}
- var fn = /* @__PURE__ */ new Map([
+ var pn = /* @__PURE__ */ new Map([
["acceptCharset", "accept-charset"],
["htmlFor", "for"],
["httpEquiv", "http-equiv"],
@@ -11065,56 +11065,56 @@ var Tf = /* @__PURE__ */ g(((e) => {
["writingMode", "writing-mode"],
["xmlnsXlink", "xmlns:xlink"],
["xHeight", "x-height"]
- ]), pn = /^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i;
- function mn(e) {
- return pn.test("" + e) ? "javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')" : e;
+ ]), mn = /^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i;
+ function hn(e) {
+ return mn.test("" + e) ? "javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')" : e;
}
- function hn() {}
- var gn = null;
- function _n(e) {
+ function gn() {}
+ var _n = null;
+ function vn(e) {
return e = e.target || e.srcElement || window, e.correspondingUseElement && (e = e.correspondingUseElement), e.nodeType === 3 ? e.parentNode : e;
}
- var vn = null, yn = null;
- function bn(e) {
- var t = jt(e);
+ var yn = null, bn = null;
+ function xn(e) {
+ var t = Mt(e);
if (t && (e = t.stateNode)) {
- var n = e[St] || null;
+ var n = e[Ct] || null;
a: switch (e = t.stateNode, t.type) {
case "input":
- if (en(e, n.value, n.defaultValue, n.defaultValue, n.checked, n.defaultChecked, n.type, n.name), t = n.name, n.type === "radio" && t != null) {
+ if (tn(e, n.value, n.defaultValue, n.defaultValue, n.checked, n.defaultChecked, n.type, n.name), t = n.name, n.type === "radio" && t != null) {
for (n = e; n.parentNode;) n = n.parentNode;
- for (n = n.querySelectorAll("input[name=\"" + $t("" + t) + "\"][type=\"radio\"]"), t = 0; t < n.length; t++) {
+ for (n = n.querySelectorAll("input[name=\"" + en("" + t) + "\"][type=\"radio\"]"), t = 0; t < n.length; t++) {
var r = n[t];
if (r !== e && r.form === e.form) {
- var a = r[St] || null;
+ var a = r[Ct] || null;
if (!a) throw Error(i(90));
- en(r, a.value, a.defaultValue, a.defaultValue, a.checked, a.defaultChecked, a.type, a.name);
+ tn(r, a.value, a.defaultValue, a.defaultValue, a.checked, a.defaultChecked, a.type, a.name);
}
}
- for (t = 0; t < n.length; t++) r = n[t], r.form === e.form && Zt(r);
+ for (t = 0; t < n.length; t++) r = n[t], r.form === e.form && Qt(r);
}
break a;
case "textarea":
- an(e, n.value, n.defaultValue);
+ on(e, n.value, n.defaultValue);
break a;
- case "select": t = n.value, t != null && rn(e, !!n.multiple, t, !1);
+ case "select": t = n.value, t != null && an(e, !!n.multiple, t, !1);
}
}
}
- var xn = !1;
- function Sn(e, t, n) {
- if (xn) return e(t, n);
- xn = !0;
+ var Sn = !1;
+ function Cn(e, t, n) {
+ if (Sn) return e(t, n);
+ Sn = !0;
try {
return e(t);
} finally {
- if (xn = !1, (vn !== null || yn !== null) && (Gd(), vn && (t = vn, e = yn, yn = vn = null, bn(t), e))) for (t = 0; t < e.length; t++) bn(e[t]);
+ if (Sn = !1, (yn !== null || bn !== null) && (Kd(), yn && (t = yn, e = bn, bn = yn = null, xn(t), e))) for (t = 0; t < e.length; t++) xn(e[t]);
}
}
- function Cn(e, t) {
+ function wn(e, t) {
var n = e.stateNode;
if (n === null) return null;
- var r = n[St] || null;
+ var r = n[Ct] || null;
if (r === null) return null;
n = r[t];
a: switch (t) {
@@ -11137,54 +11137,54 @@ var Tf = /* @__PURE__ */ g(((e) => {
if (n && typeof n != "function") throw Error(i(231, t, typeof n));
return n;
}
- var wn = !(typeof window > "u" || window.document === void 0 || window.document.createElement === void 0), Tn = !1;
- if (wn) try {
- var En = {};
- Object.defineProperty(En, "passive", { get: function() {
- Tn = !0;
- } }), window.addEventListener("test", En, En), window.removeEventListener("test", En, En);
+ var Tn = !(typeof window > "u" || window.document === void 0 || window.document.createElement === void 0), En = !1;
+ if (Tn) try {
+ var Dn = {};
+ Object.defineProperty(Dn, "passive", { get: function() {
+ En = !0;
+ } }), window.addEventListener("test", Dn, Dn), window.removeEventListener("test", Dn, Dn);
} catch {
- Tn = !1;
+ En = !1;
}
- var Dn = null, On = null, kn = null;
- function An() {
- if (kn) return kn;
- var e, t = On, n = t.length, r, i = "value" in Dn ? Dn.value : Dn.textContent, a = i.length;
+ var On = null, kn = null, An = null;
+ function jn() {
+ if (An) return An;
+ var e, t = kn, n = t.length, r, i = "value" in On ? On.value : On.textContent, a = i.length;
for (e = 0; e < n && t[e] === i[e]; e++);
var o = n - e;
for (r = 1; r <= o && t[n - r] === i[a - r]; r++);
- return kn = i.slice(e, 1 < r ? 1 - r : void 0);
+ return An = i.slice(e, 1 < r ? 1 - r : void 0);
}
- function jn(e) {
+ function Mn(e) {
var t = e.keyCode;
return "charCode" in e ? (e = e.charCode, e === 0 && t === 13 && (e = 13)) : e = t, e === 10 && (e = 13), 32 <= e || e === 13 ? e : 0;
}
- function Mn() {
+ function Nn() {
return !0;
}
- function Nn() {
+ function Pn() {
return !1;
}
- function Pn(e) {
+ function Fn(e) {
function t(t, n, r, i, a) {
for (var o in this._reactName = t, this._targetInst = r, this.type = n, this.nativeEvent = i, this.target = a, this.currentTarget = null, e) e.hasOwnProperty(o) && (t = e[o], this[o] = t ? t(i) : i[o]);
- return this.isDefaultPrevented = (i.defaultPrevented == null ? !1 === i.returnValue : i.defaultPrevented) ? Mn : Nn, this.isPropagationStopped = Nn, this;
+ return this.isDefaultPrevented = (i.defaultPrevented == null ? !1 === i.returnValue : i.defaultPrevented) ? Nn : Pn, this.isPropagationStopped = Pn, this;
}
return T(t.prototype, {
preventDefault: function() {
this.defaultPrevented = !0;
var e = this.nativeEvent;
- e && (e.preventDefault ? e.preventDefault() : typeof e.returnValue != "unknown" && (e.returnValue = !1), this.isDefaultPrevented = Mn);
+ e && (e.preventDefault ? e.preventDefault() : typeof e.returnValue != "unknown" && (e.returnValue = !1), this.isDefaultPrevented = Nn);
},
stopPropagation: function() {
var e = this.nativeEvent;
- e && (e.stopPropagation ? e.stopPropagation() : typeof e.cancelBubble != "unknown" && (e.cancelBubble = !0), this.isPropagationStopped = Mn);
+ e && (e.stopPropagation ? e.stopPropagation() : typeof e.cancelBubble != "unknown" && (e.cancelBubble = !0), this.isPropagationStopped = Nn);
},
persist: function() {},
- isPersistent: Mn
+ isPersistent: Nn
}), t;
}
- var Fn = {
+ var In = {
eventPhase: 0,
bubbles: 0,
cancelable: 0,
@@ -11193,10 +11193,10 @@ var Tf = /* @__PURE__ */ g(((e) => {
},
defaultPrevented: 0,
isTrusted: 0
- }, In = Pn(Fn), Ln = T({}, Fn, {
+ }, Ln = Fn(In), Rn = T({}, In, {
view: 0,
detail: 0
- }), Rn = Pn(Ln), zn, Bn, Vn, Hn = T({}, Ln, {
+ }), zn = Fn(Rn), Bn, Vn, Hn, Un = T({}, Rn, {
screenX: 0,
screenY: 0,
clientX: 0,
@@ -11207,25 +11207,25 @@ var Tf = /* @__PURE__ */ g(((e) => {
shiftKey: 0,
altKey: 0,
metaKey: 0,
- getModifierState: $n,
+ getModifierState: er,
button: 0,
buttons: 0,
relatedTarget: function(e) {
return e.relatedTarget === void 0 ? e.fromElement === e.srcElement ? e.toElement : e.fromElement : e.relatedTarget;
},
movementX: function(e) {
- return "movementX" in e ? e.movementX : (e !== Vn && (Vn && e.type === "mousemove" ? (zn = e.screenX - Vn.screenX, Bn = e.screenY - Vn.screenY) : Bn = zn = 0, Vn = e), zn);
+ return "movementX" in e ? e.movementX : (e !== Hn && (Hn && e.type === "mousemove" ? (Bn = e.screenX - Hn.screenX, Vn = e.screenY - Hn.screenY) : Vn = Bn = 0, Hn = e), Bn);
},
movementY: function(e) {
- return "movementY" in e ? e.movementY : Bn;
+ return "movementY" in e ? e.movementY : Vn;
}
- }), Un = Pn(Hn), Wn = Pn(T({}, Hn, { dataTransfer: 0 })), Gn = Pn(T({}, Ln, { relatedTarget: 0 })), Kn = Pn(T({}, Fn, {
+ }), Wn = Fn(Un), Gn = Fn(T({}, Un, { dataTransfer: 0 })), Kn = Fn(T({}, Rn, { relatedTarget: 0 })), qn = Fn(T({}, In, {
animationName: 0,
elapsedTime: 0,
pseudoElement: 0
- })), qn = Pn(T({}, Fn, { clipboardData: function(e) {
+ })), Jn = Fn(T({}, In, { clipboardData: function(e) {
return "clipboardData" in e ? e.clipboardData : window.clipboardData;
- } })), Jn = Pn(T({}, Fn, { data: 0 })), Yn = {
+ } })), Yn = Fn(T({}, In, { data: 0 })), Xn = {
Esc: "Escape",
Spacebar: " ",
Left: "ArrowLeft",
@@ -11238,7 +11238,7 @@ var Tf = /* @__PURE__ */ g(((e) => {
Apps: "ContextMenu",
Scroll: "ScrollLock",
MozPrintableKey: "Unidentified"
- }, Xn = {
+ }, Zn = {
8: "Backspace",
9: "Tab",
12: "Clear",
@@ -11275,26 +11275,26 @@ var Tf = /* @__PURE__ */ g(((e) => {
144: "NumLock",
145: "ScrollLock",
224: "Meta"
- }, Zn = {
+ }, Qn = {
Alt: "altKey",
Control: "ctrlKey",
Meta: "metaKey",
Shift: "shiftKey"
};
- function Qn(e) {
+ function $n(e) {
var t = this.nativeEvent;
- return t.getModifierState ? t.getModifierState(e) : (e = Zn[e]) ? !!t[e] : !1;
+ return t.getModifierState ? t.getModifierState(e) : (e = Qn[e]) ? !!t[e] : !1;
}
- function $n() {
- return Qn;
+ function er() {
+ return $n;
}
- var er = Pn(T({}, Ln, {
+ var tr = Fn(T({}, Rn, {
key: function(e) {
if (e.key) {
- var t = Yn[e.key] || e.key;
+ var t = Xn[e.key] || e.key;
if (t !== "Unidentified") return t;
}
- return e.type === "keypress" ? (e = jn(e), e === 13 ? "Enter" : String.fromCharCode(e)) : e.type === "keydown" || e.type === "keyup" ? Xn[e.keyCode] || "Unidentified" : "";
+ return e.type === "keypress" ? (e = Mn(e), e === 13 ? "Enter" : String.fromCharCode(e)) : e.type === "keydown" || e.type === "keyup" ? Zn[e.keyCode] || "Unidentified" : "";
},
code: 0,
location: 0,
@@ -11304,17 +11304,17 @@ var Tf = /* @__PURE__ */ g(((e) => {
metaKey: 0,
repeat: 0,
locale: 0,
- getModifierState: $n,
+ getModifierState: er,
charCode: function(e) {
- return e.type === "keypress" ? jn(e) : 0;
+ return e.type === "keypress" ? Mn(e) : 0;
},
keyCode: function(e) {
return e.type === "keydown" || e.type === "keyup" ? e.keyCode : 0;
},
which: function(e) {
- return e.type === "keypress" ? jn(e) : e.type === "keydown" || e.type === "keyup" ? e.keyCode : 0;
+ return e.type === "keypress" ? Mn(e) : e.type === "keydown" || e.type === "keyup" ? e.keyCode : 0;
}
- })), tr = Pn(T({}, Hn, {
+ })), nr = Fn(T({}, Un, {
pointerId: 0,
width: 0,
height: 0,
@@ -11325,7 +11325,7 @@ var Tf = /* @__PURE__ */ g(((e) => {
twist: 0,
pointerType: 0,
isPrimary: 0
- })), nr = Pn(T({}, Fn, { submitter: 0 })), rr = Pn(T({}, Ln, {
+ })), rr = Fn(T({}, In, { submitter: 0 })), ir = Fn(T({}, Rn, {
touches: 0,
targetTouches: 0,
changedTouches: 0,
@@ -11333,12 +11333,12 @@ var Tf = /* @__PURE__ */ g(((e) => {
metaKey: 0,
ctrlKey: 0,
shiftKey: 0,
- getModifierState: $n
- })), ir = Pn(T({}, Fn, {
+ getModifierState: er
+ })), ar = Fn(T({}, In, {
propertyName: 0,
elapsedTime: 0,
pseudoElement: 0
- })), ar = Pn(T({}, Hn, {
+ })), or = Fn(T({}, Un, {
deltaX: function(e) {
return "deltaX" in e ? e.deltaX : "wheelDeltaX" in e ? -e.wheelDeltaX : 0;
},
@@ -11347,21 +11347,21 @@ var Tf = /* @__PURE__ */ g(((e) => {
},
deltaZ: 0,
deltaMode: 0
- })), or = Pn(T({}, Fn, {
+ })), sr = Fn(T({}, In, {
newState: 0,
oldState: 0,
source: 0
- })), sr = [
+ })), cr = [
9,
13,
27,
32
- ], cr = wn && "CompositionEvent" in window, lr = null;
- wn && "documentMode" in document && (lr = document.documentMode);
- var ur = wn && "TextEvent" in window && !lr, dr = wn && (!cr || lr && 8 < lr && 11 >= lr), fr = " ", pr = !1;
- function mr(e, t) {
+ ], lr = Tn && "CompositionEvent" in window, ur = null;
+ Tn && "documentMode" in document && (ur = document.documentMode);
+ var dr = Tn && "TextEvent" in window && !ur, fr = Tn && (!lr || ur && 8 < ur && 11 >= ur), pr = " ", mr = !1;
+ function hr(e, t) {
switch (e) {
- case "keyup": return sr.indexOf(t.keyCode) !== -1;
+ case "keyup": return cr.indexOf(t.keyCode) !== -1;
case "keydown": return t.keyCode !== 229;
case "keypress":
case "mousedown":
@@ -11369,20 +11369,20 @@ var Tf = /* @__PURE__ */ g(((e) => {
default: return !1;
}
}
- function hr(e) {
+ function gr(e) {
return e = e.detail, typeof e == "object" && "data" in e ? e.data : null;
}
- var gr = !1;
- function _r(e, t) {
+ var _r = !1;
+ function vr(e, t) {
switch (e) {
- case "compositionend": return hr(t);
- case "keypress": return t.which === 32 ? (pr = !0, fr) : null;
- case "textInput": return e = t.data, e === fr && pr ? null : e;
+ case "compositionend": return gr(t);
+ case "keypress": return t.which === 32 ? (mr = !0, pr) : null;
+ case "textInput": return e = t.data, e === pr && mr ? null : e;
default: return null;
}
}
- function vr(e, t) {
- if (gr) return e === "compositionend" || !cr && mr(e, t) ? (e = An(), kn = On = Dn = null, gr = !1, e) : null;
+ function yr(e, t) {
+ if (_r) return e === "compositionend" || !lr && hr(e, t) ? (e = jn(), An = kn = On = null, _r = !1, e) : null;
switch (e) {
case "paste": return null;
case "keypress":
@@ -11391,11 +11391,11 @@ var Tf = /* @__PURE__ */ g(((e) => {
if (t.which) return String.fromCharCode(t.which);
}
return null;
- case "compositionend": return dr && t.locale !== "ko" ? null : t.data;
+ case "compositionend": return fr && t.locale !== "ko" ? null : t.data;
default: return null;
}
}
- var yr = {
+ var br = {
color: !0,
date: !0,
datetime: !0,
@@ -11412,76 +11412,76 @@ var Tf = /* @__PURE__ */ g(((e) => {
url: !0,
week: !0
};
- function br(e) {
+ function xr(e) {
var t = e && e.nodeName && e.nodeName.toLowerCase();
- return t === "input" ? !!yr[e.type] : t === "textarea";
+ return t === "input" ? !!br[e.type] : t === "textarea";
}
- function xr(e, t, n, r) {
- vn ? yn ? yn.push(r) : yn = [r] : vn = r, t = rp(t, "onChange"), 0 < t.length && (n = new In("onChange", "change", null, n, r), e.push({
+ function Sr(e, t, n, r) {
+ yn ? bn ? bn.push(r) : bn = [r] : yn = r, t = ip(t, "onChange"), 0 < t.length && (n = new Ln("onChange", "change", null, n, r), e.push({
event: n,
listeners: t
}));
}
- var Sr = null, Cr = null;
- function V(e) {
- Yf(e, 0);
+ var Cr = null, wr = null;
+ function B(e) {
+ Xf(e, 0);
}
- function wr(e) {
- if (Zt(Mt(e))) return e;
+ function Tr(e) {
+ if (Qt(Nt(e))) return e;
}
- function Tr(e, t) {
+ function Er(e, t) {
if (e === "change") return t;
}
- var Er = !1;
- if (wn) {
- var Dr;
- if (wn) {
- var Or = "oninput" in document;
- if (!Or) {
- var kr = document.createElement("div");
- kr.setAttribute("oninput", "return;"), Or = typeof kr.oninput == "function";
+ var Dr = !1;
+ if (Tn) {
+ var Or;
+ if (Tn) {
+ var kr = "oninput" in document;
+ if (!kr) {
+ var Ar = document.createElement("div");
+ Ar.setAttribute("oninput", "return;"), kr = typeof Ar.oninput == "function";
}
- Dr = Or;
- } else Dr = !1;
- Er = Dr && (!document.documentMode || 9 < document.documentMode);
+ Or = kr;
+ } else Or = !1;
+ Dr = Or && (!document.documentMode || 9 < document.documentMode);
}
- function Ar() {
- Sr && (Sr.detachEvent("onpropertychange", jr), Cr = Sr = null);
+ function jr() {
+ Cr && (Cr.detachEvent("onpropertychange", Mr), wr = Cr = null);
}
- function jr(e) {
- if (e.propertyName === "value" && wr(Cr)) {
+ function Mr(e) {
+ if (e.propertyName === "value" && Tr(wr)) {
var t = [];
- xr(t, Cr, e, _n(e)), Sn(V, t);
+ Sr(t, wr, e, vn(e)), Cn(B, t);
}
}
- function Mr(e, t, n) {
- e === "focusin" ? (Ar(), Sr = t, Cr = n, Sr.attachEvent("onpropertychange", jr)) : e === "focusout" && Ar();
- }
- function Nr(e) {
- if (e === "selectionchange" || e === "keyup" || e === "keydown") return wr(Cr);
+ function Nr(e, t, n) {
+ e === "focusin" ? (jr(), Cr = t, wr = n, Cr.attachEvent("onpropertychange", Mr)) : e === "focusout" && jr();
}
- function Pr(e, t) {
- if (e === "click") return wr(t);
+ function Pr(e) {
+ if (e === "selectionchange" || e === "keyup" || e === "keydown") return Tr(wr);
}
function Fr(e, t) {
- if (e === "input" || e === "change") return wr(t);
+ if (e === "click") return Tr(t);
}
function Ir(e, t) {
+ if (e === "input" || e === "change") return Tr(t);
+ }
+ function Lr(e, t) {
return e === t && (e !== 0 || 1 / e == 1 / t) || e !== e && t !== t;
}
- var Lr = typeof Object.is == "function" ? Object.is : Ir;
- function Rr(e, t) {
- if (Lr(e, t)) return !0;
+ var Rr = typeof Object.is == "function" ? Object.is : Lr;
+ function zr(e, t) {
+ if (Rr(e, t)) return !0;
if (typeof e != "object" || !e || typeof t != "object" || !t) return !1;
var n = Object.keys(e), r = Object.keys(t);
if (n.length !== r.length) return !1;
for (r = 0; r < n.length; r++) {
var i = n[r];
- if (!Pe.call(t, i) || !Lr(e[i], t[i])) return !1;
+ if (!Fe.call(t, i) || !Rr(e[i], t[i])) return !1;
}
return !0;
}
- function zr(e) {
+ function Br(e) {
if (e ||= typeof document < "u" ? document : void 0, e === void 0) return null;
try {
return e.activeElement || e.body;
@@ -11489,12 +11489,12 @@ var Tf = /* @__PURE__ */ g(((e) => {
return e.body;
}
}
- function Br(e) {
+ function Vr(e) {
for (; e && e.firstChild;) e = e.firstChild;
return e;
}
- function Vr(e, t) {
- var n = Br(e);
+ function Hr(e, t) {
+ var n = Vr(e);
e = 0;
for (var r; n;) {
if (n.nodeType === 3) {
@@ -11514,15 +11514,15 @@ var Tf = /* @__PURE__ */ g(((e) => {
}
n = void 0;
}
- n = Br(n);
+ n = Vr(n);
}
}
- function Hr(e, t) {
- return e && t ? e === t ? !0 : e && e.nodeType === 3 ? !1 : t && t.nodeType === 3 ? Hr(e, t.parentNode) : "contains" in e ? e.contains(t) : e.compareDocumentPosition ? !!(e.compareDocumentPosition(t) & 16) : !1 : !1;
+ function Ur(e, t) {
+ return e && t ? e === t ? !0 : e && e.nodeType === 3 ? !1 : t && t.nodeType === 3 ? Ur(e, t.parentNode) : "contains" in e ? e.contains(t) : e.compareDocumentPosition ? !!(e.compareDocumentPosition(t) & 16) : !1 : !1;
}
- function Ur(e) {
+ function Wr(e) {
e = e != null && e.ownerDocument != null && e.ownerDocument.defaultView != null ? e.ownerDocument.defaultView : window;
- for (var t = zr(e.document); t instanceof e.HTMLIFrameElement;) {
+ for (var t = Br(e.document); t instanceof e.HTMLIFrameElement;) {
try {
var n = typeof t.contentWindow.location.href == "string";
} catch {
@@ -11530,18 +11530,18 @@ var Tf = /* @__PURE__ */ g(((e) => {
}
if (n) e = t.contentWindow;
else break;
- t = zr(e.document);
+ t = Br(e.document);
}
return t;
}
- function Wr(e) {
+ function Gr(e) {
var t = e && e.nodeName && e.nodeName.toLowerCase();
return t && (t === "input" && (e.type === "text" || e.type === "search" || e.type === "tel" || e.type === "url" || e.type === "password") || t === "textarea" || e.contentEditable === "true");
}
- var Gr = wn && "documentMode" in document && 11 >= document.documentMode, Kr = null, qr = null, Jr = null, Xr = !1;
- function Zr(e, t, n) {
+ var Kr = Tn && "documentMode" in document && 11 >= document.documentMode, qr = null, Jr = null, Yr = null, Zr = !1;
+ function Qr(e, t, n) {
var r = n.window === n ? n.document : n.nodeType === 9 ? n : n.ownerDocument;
- Xr || Kr == null || Kr !== zr(r) || (r = Kr, "selectionStart" in r && Wr(r) ? r = {
+ Zr || qr == null || qr !== Br(r) || (r = qr, "selectionStart" in r && Gr(r) ? r = {
start: r.selectionStart,
end: r.selectionEnd
} : (r = (r.ownerDocument && r.ownerDocument.defaultView || window).getSelection(), r = {
@@ -11549,48 +11549,48 @@ var Tf = /* @__PURE__ */ g(((e) => {
anchorOffset: r.anchorOffset,
focusNode: r.focusNode,
focusOffset: r.focusOffset
- }), Jr && Rr(Jr, r) || (Jr = r, r = rp(qr, "onSelect"), 0 < r.length && (t = new In("onSelect", "select", null, t, n), e.push({
+ }), Yr && zr(Yr, r) || (Yr = r, r = ip(Jr, "onSelect"), 0 < r.length && (t = new Ln("onSelect", "select", null, t, n), e.push({
event: t,
listeners: r
- }), t.target = Kr)));
+ }), t.target = qr)));
}
- function Qr(e, t) {
+ function $r(e, t) {
var n = {};
return n[e.toLowerCase()] = t.toLowerCase(), n["Webkit" + e] = "webkit" + t, n["Moz" + e] = "moz" + t, n;
}
- var $r = {
- animationend: Qr("Animation", "AnimationEnd"),
- animationiteration: Qr("Animation", "AnimationIteration"),
- animationstart: Qr("Animation", "AnimationStart"),
- transitionrun: Qr("Transition", "TransitionRun"),
- transitionstart: Qr("Transition", "TransitionStart"),
- transitioncancel: Qr("Transition", "TransitionCancel"),
- transitionend: Qr("Transition", "TransitionEnd")
- }, ei = {}, ti = {};
- wn && (ti = document.createElement("div").style, "AnimationEvent" in window || (delete $r.animationend.animation, delete $r.animationiteration.animation, delete $r.animationstart.animation), "TransitionEvent" in window || delete $r.transitionend.transition);
- function ni(e) {
- if (ei[e]) return ei[e];
- if (!$r[e]) return e;
- var t = $r[e], n;
- for (n in t) if (t.hasOwnProperty(n) && n in ti) return ei[e] = t[n];
+ var ei = {
+ animationend: $r("Animation", "AnimationEnd"),
+ animationiteration: $r("Animation", "AnimationIteration"),
+ animationstart: $r("Animation", "AnimationStart"),
+ transitionrun: $r("Transition", "TransitionRun"),
+ transitionstart: $r("Transition", "TransitionStart"),
+ transitioncancel: $r("Transition", "TransitionCancel"),
+ transitionend: $r("Transition", "TransitionEnd")
+ }, ti = {}, ni = {};
+ Tn && (ni = document.createElement("div").style, "AnimationEvent" in window || (delete ei.animationend.animation, delete ei.animationiteration.animation, delete ei.animationstart.animation), "TransitionEvent" in window || delete ei.transitionend.transition);
+ function ri(e) {
+ if (ti[e]) return ti[e];
+ if (!ei[e]) return e;
+ var t = ei[e], n;
+ for (n in t) if (t.hasOwnProperty(n) && n in ni) return ti[e] = t[n];
return e;
}
- var ri = ni("animationend"), ii = ni("animationiteration"), ai = ni("animationstart"), oi = ni("transitionrun"), si = ni("transitionstart"), ci = ni("transitioncancel"), li = ni("transitionend"), ui = /* @__PURE__ */ new Map(), di = "abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error fullscreenChange fullscreenError gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");
- di.push("scrollEnd");
- function fi(e, t) {
- ui.set(e, t), Lt(t, [e]);
+ var ii = ri("animationend"), ai = ri("animationiteration"), oi = ri("animationstart"), si = ri("transitionrun"), ci = ri("transitionstart"), li = ri("transitioncancel"), ui = ri("transitionend"), di = /* @__PURE__ */ new Map(), fi = "abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error fullscreenChange fullscreenError gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");
+ fi.push("scrollEnd");
+ function pi(e, t) {
+ di.set(e, t), Rt(t, [e]);
}
- var pi = 0;
- function mi(e, t) {
+ var mi = 0;
+ function hi(e, t) {
if (e.name != null && e.name !== "auto") return e.name;
if (t.autoName !== null) return t.autoName;
- e = Ed.identifierPrefix;
- var n = pi++;
+ e = Dd.identifierPrefix;
+ var n = mi++;
return e = "_" + e + "t_" + n.toString(32) + "_", t.autoName = e;
}
- function hi(e) {
+ function gi(e) {
if (e == null || typeof e == "string") return e;
- var t = null, n = Pd;
+ var t = null, n = Fd;
if (n !== null) for (var r = 0; r < n.length; r++) {
var i = e[n[r]];
if (i != null) {
@@ -11600,10 +11600,10 @@ var Tf = /* @__PURE__ */ g(((e) => {
}
return t ?? e.default;
}
- function gi(e, t) {
- return e = hi(e), t = hi(t), t == null ? e === "auto" ? null : e : t === "auto" ? null : t;
+ function _i(e, t) {
+ return e = gi(e), t = gi(t), t == null ? e === "auto" ? null : e : t === "auto" ? null : t;
}
- var _i = typeof reportError == "function" ? reportError : function(e) {
+ var vi = typeof reportError == "function" ? reportError : function(e) {
if (typeof window == "object" && typeof window.ErrorEvent == "function") {
var t = new window.ErrorEvent("error", {
bubbles: !0,
@@ -11617,62 +11617,62 @@ var Tf = /* @__PURE__ */ g(((e) => {
return;
}
console.error(e);
- }, vi = [], yi = 0, bi = 0;
- function xi() {
- for (var e = yi, t = bi = yi = 0; t < e;) {
- var n = vi[t];
- vi[t++] = null;
- var r = vi[t];
- vi[t++] = null;
- var i = vi[t];
- vi[t++] = null;
- var a = vi[t];
- if (vi[t++] = null, r !== null && i !== null) {
+ }, yi = [], bi = 0, xi = 0;
+ function Si() {
+ for (var e = bi, t = xi = bi = 0; t < e;) {
+ var n = yi[t];
+ yi[t++] = null;
+ var r = yi[t];
+ yi[t++] = null;
+ var i = yi[t];
+ yi[t++] = null;
+ var a = yi[t];
+ if (yi[t++] = null, r !== null && i !== null) {
var o = r.pending;
o === null ? i.next = i : (i.next = o.next, o.next = i), r.pending = i;
}
- a !== 0 && Ti(n, i, a);
+ a !== 0 && Ei(n, i, a);
}
}
- function Si(e, t, n, r) {
- vi[yi++] = e, vi[yi++] = t, vi[yi++] = n, vi[yi++] = r, bi |= r, e.lanes |= r, e = e.alternate, e !== null && (e.lanes |= r);
- }
function Ci(e, t, n, r) {
- return Si(e, t, n, r), Ei(e);
+ yi[bi++] = e, yi[bi++] = t, yi[bi++] = n, yi[bi++] = r, xi |= r, e.lanes |= r, e = e.alternate, e !== null && (e.lanes |= r);
}
- function wi(e, t) {
- return Si(e, null, null, t), Ei(e);
+ function wi(e, t, n, r) {
+ return Ci(e, t, n, r), Di(e);
}
- function Ti(e, t, n) {
+ function Ti(e, t) {
+ return Ci(e, null, null, t), Di(e);
+ }
+ function Ei(e, t, n) {
e.lanes |= n;
var r = e.alternate;
r !== null && (r.lanes |= n);
for (var i = !1, a = e.return; a !== null;) a.childLanes |= n, r = a.alternate, r !== null && (r.childLanes |= n), a.tag === 22 && (e = a.stateNode, e === null || e._visibility & 1 || (i = !0)), e = a, a = a.return;
- return e.tag === 3 ? (a = e.stateNode, i && t !== null && (i = 31 - Ze(n), e = a.hiddenUpdates, r = e[i], r === null ? e[i] = [t] : r.push(t), t.lane = n | 536870912), a) : null;
+ return e.tag === 3 ? (a = e.stateNode, i && t !== null && (i = 31 - Qe(n), e = a.hiddenUpdates, r = e[i], r === null ? e[i] = [t] : r.push(t), t.lane = n | 536870912), a) : null;
}
- function Ei(e) {
- if (50 < Fd) throw Fd = 0, Id = null, Error(i(185));
+ function Di(e) {
+ if (50 < Id) throw Id = 0, Ld = null, Error(i(185));
for (var t = e.return; t !== null;) e = t, t = e.return;
return e.tag === 3 ? e.stateNode : null;
}
- var Di = {};
- function Oi(e, t, n, r) {
+ var Oi = {};
+ function ki(e, t, n, r) {
this.tag = e, this.key = n, this.sibling = this.child = this.return = this.stateNode = this.type = this.elementType = null, this.index = 0, this.refCleanup = this.ref = null, this.pendingProps = t, this.dependencies = this.memoizedState = this.updateQueue = this.memoizedProps = null, this.mode = r, this.subtreeFlags = this.flags = 0, this.deletions = null, this.childLanes = this.lanes = 0, this.alternate = null;
}
- function ki(e, t, n, r) {
- return new Oi(e, t, n, r);
+ function Ai(e, t, n, r) {
+ return new ki(e, t, n, r);
}
- function Ai(e) {
+ function ji(e) {
return e = e.prototype, !(!e || !e.isReactComponent);
}
- function ji(e, t) {
+ function Mi(e, t) {
var n = e.alternate;
- return n === null ? (n = ki(e.tag, t, e.key, e.mode), n.elementType = e.elementType, n.type = e.type, n.stateNode = e.stateNode, n.alternate = e, e.alternate = n) : (n.pendingProps = t, n.type = e.type, n.flags = 0, n.subtreeFlags = 0, n.deletions = null), n.flags = e.flags & 1206910976, n.childLanes = e.childLanes, n.lanes = e.lanes, n.child = e.child, n.memoizedProps = e.memoizedProps, n.memoizedState = e.memoizedState, n.updateQueue = e.updateQueue, t = e.dependencies, n.dependencies = t === null ? null : {
+ return n === null ? (n = Ai(e.tag, t, e.key, e.mode), n.elementType = e.elementType, n.type = e.type, n.stateNode = e.stateNode, n.alternate = e, e.alternate = n) : (n.pendingProps = t, n.type = e.type, n.flags = 0, n.subtreeFlags = 0, n.deletions = null), n.flags = e.flags & 1206910976, n.childLanes = e.childLanes, n.lanes = e.lanes, n.child = e.child, n.memoizedProps = e.memoizedProps, n.memoizedState = e.memoizedState, n.updateQueue = e.updateQueue, t = e.dependencies, n.dependencies = t === null ? null : {
lanes: t.lanes,
firstContext: t.firstContext
}, n.sibling = e.sibling, n.index = e.index, n.ref = e.ref, n.refCleanup = e.refCleanup, n;
}
- function Mi(e, t) {
+ function Ni(e, t) {
e.flags &= 1206910978;
var n = e.alternate;
return n === null ? (e.childLanes = 0, e.lanes = t, e.child = null, e.subtreeFlags = 0, e.memoizedProps = null, e.memoizedState = null, e.updateQueue = null, e.dependencies = null, e.stateNode = null) : (e.childLanes = n.childLanes, e.lanes = n.lanes, e.child = n.child, e.subtreeFlags = 0, e.deletions = null, e.memoizedProps = n.memoizedProps, e.memoizedState = n.memoizedState, e.updateQueue = n.updateQueue, e.type = n.type, t = n.dependencies, e.dependencies = t === null ? null : {
@@ -11680,21 +11680,21 @@ var Tf = /* @__PURE__ */ g(((e) => {
firstContext: t.firstContext
}), e;
}
- function Ni(e, t, n, r, a, o) {
+ function Pi(e, t, n, r, a, o) {
var s = 0;
- if (r = e, typeof r == "function") Ai(r) && (s = 1);
- else if (typeof r == "string") s = $m(e, n, ye.current) ? 26 : e === "html" || e === "head" || e === "body" ? 27 : 5;
+ if (r = e, typeof r == "function") ji(r) && (s = 1);
+ else if (typeof r == "string") s = $m(e, n, be.current) ? 26 : e === "html" || e === "head" || e === "body" ? 27 : 5;
else a: switch (r) {
- case re: return e = ki(31, n, t, a), e.elementType = re, e.lanes = o, e;
- case k: return Pi(n.children, a, o, t);
+ case ie: return e = Ai(31, n, t, a), e.elementType = ie, e.lanes = o, e;
+ case k: return Fi(n.children, a, o, t);
case A:
s = 8, a |= 24;
break;
- case j: return e = ki(12, n, t, a | 2), e.elementType = j, e.lanes = o, e;
- case P: return e = ki(13, n, t, a), e.elementType = P, e.lanes = o, e;
- case F: return e = ki(19, n, t, a), e.elementType = F, e.lanes = o, e;
- case ie:
- case oe: return e = a | 32, e = ki(30, n, t, e), e.elementType = oe, e.lanes = o, e.stateNode = {
+ case j: return e = Ai(12, n, t, a | 2), e.elementType = j, e.lanes = o, e;
+ case te: return e = Ai(13, n, t, a), e.elementType = te, e.lanes = o, e;
+ case P: return e = Ai(19, n, t, a), e.elementType = P, e.lanes = o, e;
+ case ae:
+ case se: return e = a | 32, e = Ai(30, n, t, e), e.elementType = se, e.lanes = o, e.stateNode = {
autoName: null,
paired: null,
clones: null,
@@ -11711,168 +11711,168 @@ var Tf = /* @__PURE__ */ g(((e) => {
case ee:
s = 11;
break a;
- case te:
+ case ne:
s = 14;
break a;
- case ne:
+ case re:
s = 16, r = null;
break a;
}
s = 29, n = Error(i(130, e === null ? "null" : typeof e, "")), r = null;
}
- return t = ki(s, n, t, a), t.elementType = e, t.type = r, t.lanes = o, t;
+ return t = Ai(s, n, t, a), t.elementType = e, t.type = r, t.lanes = o, t;
}
- function Pi(e, t, n, r) {
- return e = ki(7, e, r, t), e.lanes = n, e;
+ function Fi(e, t, n, r) {
+ return e = Ai(7, e, r, t), e.lanes = n, e;
}
- function Fi(e, t, n) {
- return e = ki(6, e, null, t), e.lanes = n, e;
+ function Ii(e, t, n) {
+ return e = Ai(6, e, null, t), e.lanes = n, e;
}
- function Ii(e) {
- var t = ki(18, null, null, 0);
+ function Li(e) {
+ var t = Ai(18, null, null, 0);
return t.stateNode = e, t;
}
- function Li(e, t, n) {
- return t = ki(4, e.children === null ? [] : e.children, e.key, t), t.lanes = n, t.stateNode = {
+ function Ri(e, t, n) {
+ return t = Ai(4, e.children === null ? [] : e.children, e.key, t), t.lanes = n, t.stateNode = {
containerInfo: e.containerInfo,
pendingChildren: null,
implementation: e.implementation
}, t;
}
- var Ri = /* @__PURE__ */ new WeakMap();
- function zi(e, t) {
+ var zi = /* @__PURE__ */ new WeakMap();
+ function Bi(e, t) {
if (typeof e == "object" && e) {
- var n = Ri.get(e);
+ var n = zi.get(e);
return n === void 0 ? (t = {
value: e,
source: t,
- stack: Ne(t)
- }, Ri.set(e, t), t) : n;
+ stack: Pe(t)
+ }, zi.set(e, t), t) : n;
}
return {
value: e,
source: t,
- stack: Ne(t)
+ stack: Pe(t)
};
}
- var Bi = [], Vi = 0, Hi = null, Ui = 0, Wi = [], Gi = 0, Ki = null, qi = 1, Ji = "";
- function Yi(e, t) {
- Bi[Vi++] = Ui, Bi[Vi++] = Hi, Hi = e, Ui = t;
+ var Vi = [], Hi = 0, Ui = null, Wi = 0, Gi = [], Ki = 0, qi = null, Ji = 1, Yi = "";
+ function Xi(e, t) {
+ Vi[Hi++] = Wi, Vi[Hi++] = Ui, Ui = e, Wi = t;
}
- function Xi(e, t, n) {
- Wi[Gi++] = qi, Wi[Gi++] = Ji, Wi[Gi++] = Ki, Ki = e;
- var r = qi;
- e = Ji;
- var i = 32 - Ze(r) - 1;
+ function Zi(e, t, n) {
+ Gi[Ki++] = Ji, Gi[Ki++] = Yi, Gi[Ki++] = qi, qi = e;
+ var r = Ji;
+ e = Yi;
+ var i = 32 - Qe(r) - 1;
r &= ~(1 << i), n += 1;
- var a = 32 - Ze(t) + i;
+ var a = 32 - Qe(t) + i;
if (30 < a) {
var o = i - i % 5;
- a = (r & (1 << o) - 1).toString(32), r >>= o, i -= o, qi = 1 << 32 - Ze(t) + i | n << i | r, Ji = a + e;
- } else qi = 1 << a | n << i | r, Ji = e;
- }
- function Zi(e) {
- e.return !== null && (Yi(e, 1), Xi(e, 1, 0));
+ a = (r & (1 << o) - 1).toString(32), r >>= o, i -= o, Ji = 1 << 32 - Qe(t) + i | n << i | r, Yi = a + e;
+ } else Ji = 1 << a | n << i | r, Yi = e;
}
function Qi(e) {
- for (; e === Hi;) Hi = Bi[--Vi], Bi[Vi] = null, Ui = Bi[--Vi], Bi[Vi] = null;
- for (; e === Ki;) Ki = Wi[--Gi], Wi[Gi] = null, Ji = Wi[--Gi], Wi[Gi] = null, qi = Wi[--Gi], Wi[Gi] = null;
+ e.return !== null && (Xi(e, 1), Zi(e, 1, 0));
}
- function $i(e, t) {
- Wi[Gi++] = qi, Wi[Gi++] = Ji, Wi[Gi++] = Ki, qi = t.id, Ji = t.overflow, Ki = e;
+ function $i(e) {
+ for (; e === Ui;) Ui = Vi[--Hi], Vi[Hi] = null, Wi = Vi[--Hi], Vi[Hi] = null;
+ for (; e === qi;) qi = Gi[--Ki], Gi[Ki] = null, Yi = Gi[--Ki], Gi[Ki] = null, Ji = Gi[--Ki], Gi[Ki] = null;
}
- var ea = null, ta = null, na = !1, ra = null, ia = !1, aa = Error(i(519));
- function H(e) {
- throw da(zi(Error(i(418, 1 < arguments.length && arguments[1] !== void 0 && arguments[1] ? "text" : "HTML", "")), e)), aa;
+ function ea(e, t) {
+ Gi[Ki++] = Ji, Gi[Ki++] = Yi, Gi[Ki++] = qi, Ji = t.id, Yi = t.overflow, qi = e;
+ }
+ var ta = null, na = null, ra = !1, ia = null, aa = !1, oa = Error(i(519));
+ function V(e) {
+ throw fa(Bi(Error(i(418, 1 < arguments.length && arguments[1] !== void 0 && arguments[1] ? "text" : "HTML", "")), e)), oa;
}
- function oa(e) {
+ function sa(e) {
var t = e.stateNode, n = e.type, r = e.memoizedProps;
- switch (t[xt] = e, t[St] = r, n) {
+ switch (t[St] = e, t[Ct] = r, n) {
case "dialog":
- Xf("cancel", t), Xf("close", t);
+ Zf("cancel", t), Zf("close", t);
break;
case "iframe":
case "object":
case "embed":
- Xf("load", t);
+ Zf("load", t);
break;
case "video":
case "audio":
- for (n = 0; n < qf.length; n++) Xf(qf[n], t);
+ for (n = 0; n < Jf.length; n++) Zf(Jf[n], t);
break;
case "source":
- Xf("error", t);
+ Zf("error", t);
break;
case "img":
case "image":
case "link":
- Xf("error", t), Xf("load", t);
+ Zf("error", t), Zf("load", t);
break;
case "details":
- Xf("toggle", t);
+ Zf("toggle", t);
break;
case "input":
- Xf("invalid", t), tn(t, r.value, r.defaultValue, r.checked, r.defaultChecked, r.type, r.name, !0);
+ Zf("invalid", t), nn(t, r.value, r.defaultValue, r.checked, r.defaultChecked, r.type, r.name, !0);
break;
case "select":
- Xf("invalid", t);
+ Zf("invalid", t);
break;
- case "textarea": Xf("invalid", t), on(t, r.value, r.defaultValue, r.children);
+ case "textarea": Zf("invalid", t), sn(t, r.value, r.defaultValue, r.children);
}
- n = r.children, typeof n != "string" && typeof n != "number" && typeof n != "bigint" || t.textContent === "" + n || !0 === r.suppressHydrationWarning || lp(t.textContent, n) ? (r.popover != null && (Xf("beforetoggle", t), Xf("toggle", t)), r.onScroll != null && Xf("scroll", t), r.onScrollEnd != null && Xf("scrollend", t), r.onClick != null && (t.onclick = hn), t = !0) : t = !1, t || H(e, !0);
+ n = r.children, typeof n != "string" && typeof n != "number" && typeof n != "bigint" || t.textContent === "" + n || !0 === r.suppressHydrationWarning || up(t.textContent, n) ? (r.popover != null && (Zf("beforetoggle", t), Zf("toggle", t)), r.onScroll != null && Zf("scroll", t), r.onScrollEnd != null && Zf("scrollend", t), r.onClick != null && (t.onclick = gn), t = !0) : t = !1, t || V(e, !0);
}
- function sa(e) {
- for (ea = e.return; ea;) switch (ea.tag) {
+ function ca(e) {
+ for (ta = e.return; ta;) switch (ta.tag) {
case 5:
case 31:
case 13:
- ia = !1;
+ aa = !1;
return;
case 27:
case 3:
- ia = !0;
+ aa = !0;
return;
- default: ea = ea.return;
+ default: ta = ta.return;
}
}
- function ca(e) {
- if (e !== ea) return !1;
- if (!na) return sa(e), na = !0, !1;
+ function la(e) {
+ if (e !== ta) return !1;
+ if (!ra) return ca(e), ra = !0, !1;
var t = e.tag, n;
- if ((n = t !== 3 && t !== 27) && ((n = t === 5) && (n = e.type, n = n === "form" || n === "button" || Cp(e.type, e.memoizedProps)), n = !n), n && ta && H(e), sa(e), t === 13) {
+ if ((n = t !== 3 && t !== 27) && ((n = t === 5) && (n = e.type, n = n === "form" || n === "button" || wp(e.type, e.memoizedProps)), n = !n), n && na && V(e), ca(e), t === 13) {
if (e = e.memoizedState, e = e === null ? null : e.dehydrated, !e) throw Error(i(317));
- ta = ym(e);
+ na = bm(e);
} else if (t === 31) {
if (e = e.memoizedState, e = e === null ? null : e.dehydrated, !e) throw Error(i(317));
- ta = ym(e);
- } else t === 27 ? (t = ta, Mp(e.type) ? (e = vm, vm = null, ta = e) : ta = t) : ta = ea ? _m(e.stateNode.nextSibling) : null;
+ na = bm(e);
+ } else t === 27 ? (t = na, Np(e.type) ? (e = ym, ym = null, na = e) : na = t) : na = ta ? vm(e.stateNode.nextSibling) : null;
return !0;
}
- function la() {
- ta = ea = null, na = !1;
- }
function ua() {
- var e = ra;
- return e !== null && (vd === null ? vd = e : vd.push.apply(vd, e), ra = null), e;
+ na = ta = null, ra = !1;
+ }
+ function da() {
+ var e = ia;
+ return e !== null && (yd === null ? yd = e : yd.push.apply(yd, e), ia = null), e;
}
- function da(e) {
- ra === null ? ra = [e] : ra.push(e);
+ function fa(e) {
+ ia === null ? ia = [e] : ia.push(e);
}
- var fa = ge(null), pa = null, ma = null;
- function ha(e, t, n) {
- ve(fa, t._currentValue), t._currentValue = n;
+ var pa = _e(null), ma = null, ha = null;
+ function ga(e, t, n) {
+ ye(pa, t._currentValue), t._currentValue = n;
}
- function ga(e) {
- e._currentValue = fa.current, _e(fa);
+ function _a(e) {
+ e._currentValue = pa.current, ve(pa);
}
- function _a(e, t, n) {
+ function va(e, t, n) {
for (; e !== null;) {
var r = e.alternate;
if ((e.childLanes & t) === t ? r !== null && (r.childLanes & t) !== t && (r.childLanes |= t) : (e.childLanes |= t, r !== null && (r.childLanes |= t)), e === n) break;
e = e.return;
}
}
- function va(e, t, n, r) {
+ function ya(e, t, n, r) {
var a = e.child;
for (a !== null && (a.return = e); a !== null;) {
var o = a.dependencies;
@@ -11883,15 +11883,15 @@ var Tf = /* @__PURE__ */ g(((e) => {
var c = o;
o = a;
for (var l = 0; l < t.length; l++) if (c.context === t[l]) {
- o.lanes |= n, c = o.alternate, c !== null && (c.lanes |= n), _a(o.return, n, e), r || (s = null);
+ o.lanes |= n, c = o.alternate, c !== null && (c.lanes |= n), va(o.return, n, e), r || (s = null);
break a;
}
o = c.next;
}
} else if (a.tag === 18) {
if (s = a.return, s === null) throw Error(i(341));
- s.lanes |= n, o = s.alternate, o !== null && (o.lanes |= n), _a(s, n, e), s = null;
- } else a.tag === 13 && a.memoizedState !== null && a.memoizedState.dehydrated === null ? (a.lanes |= n, s = a.alternate, s !== null && (s.lanes |= n), _a(a.return, n, e), s = a.child, s = s === null ? null : s.sibling) : s = a.child;
+ s.lanes |= n, o = s.alternate, o !== null && (o.lanes |= n), va(s, n, e), s = null;
+ } else a.tag === 13 && a.memoizedState !== null && a.memoizedState.dehydrated === null ? (a.lanes |= n, s = a.alternate, s !== null && (s.lanes |= n), va(a.return, n, e), s = a.child, s = s === null ? null : s.sibling) : s = a.child;
if (s !== null) s.return = a;
else for (s = a; s !== null;) {
if (s === e) {
@@ -11907,7 +11907,7 @@ var Tf = /* @__PURE__ */ g(((e) => {
a = s;
}
}
- function ya(e, t, n, r) {
+ function ba(e, t, n, r) {
e = null;
for (var a = t, o = !1; a !== null;) {
if (!o) {
@@ -11919,48 +11919,48 @@ var Tf = /* @__PURE__ */ g(((e) => {
if (s === null) throw Error(i(387));
if (s = s.memoizedProps, s !== null) {
var c = a.type;
- Lr(a.pendingProps.value, s.value) || (e === null ? e = [c] : e.push(c));
+ Rr(a.pendingProps.value, s.value) || (e === null ? e = [c] : e.push(c));
}
- } else if (a === Se.current) {
+ } else if (a === Ce.current) {
if (s = a.alternate, s === null) throw Error(i(387));
s.memoizedState.memoizedState !== a.memoizedState.memoizedState && (e === null ? e = [fh] : e.push(fh));
}
a = a.return;
}
- return e !== null && va(t, e, n, r), t.flags |= 262144, e !== null;
+ return e !== null && ya(t, e, n, r), t.flags |= 262144, e !== null;
}
- function ba(e) {
+ function xa(e) {
for (e = e.firstContext; e !== null;) {
- if (!Lr(e.context._currentValue, e.memoizedValue)) return !0;
+ if (!Rr(e.context._currentValue, e.memoizedValue)) return !0;
e = e.next;
}
return !1;
}
- function xa(e) {
- pa = e, ma = null, e = e.dependencies, e !== null && (e.firstContext = null);
- }
function Sa(e) {
- return wa(pa, e);
+ ma = e, ha = null, e = e.dependencies, e !== null && (e.firstContext = null);
}
- function Ca(e, t) {
- return pa === null && xa(e), wa(e, t);
+ function Ca(e) {
+ return Ta(ma, e);
}
function wa(e, t) {
+ return ma === null && Sa(e), Ta(e, t);
+ }
+ function Ta(e, t) {
var n = t._currentValue;
if (t = {
context: t,
memoizedValue: n,
next: null
- }, ma === null) {
+ }, ha === null) {
if (e === null) throw Error(i(308));
- ma = t, e.dependencies = {
+ ha = t, e.dependencies = {
lanes: 0,
firstContext: t
}, e.flags |= 524288;
- } else ma = ma.next = t;
+ } else ha = ha.next = t;
return n;
}
- var Ta = typeof AbortController < "u" ? AbortController : function() {
+ var Ea = typeof AbortController < "u" ? AbortController : function() {
var e = [], t = this.signal = {
aborted: !1,
addEventListener: function(t, n) {
@@ -11972,7 +11972,7 @@ var Tf = /* @__PURE__ */ g(((e) => {
return e();
});
};
- }, Ea = t.unstable_scheduleCallback, Da = t.unstable_NormalPriority, Oa = {
+ }, Da = t.unstable_scheduleCallback, Oa = t.unstable_NormalPriority, ka = {
$$typeof: N,
Consumer: null,
Provider: null,
@@ -11980,19 +11980,19 @@ var Tf = /* @__PURE__ */ g(((e) => {
_currentValue2: null,
_threadCount: 0
};
- function ka() {
+ function Aa() {
return {
- controller: new Ta(),
+ controller: new Ea(),
data: /* @__PURE__ */ new Map(),
refCount: 0
};
}
- function Aa(e) {
- e.refCount--, e.refCount === 0 && Ea(Da, function() {
+ function ja(e) {
+ e.refCount--, e.refCount === 0 && Da(Oa, function() {
e.controller.abort();
});
}
- function ja(e, t) {
+ function Ma(e, t) {
if (e.pendingLanes & 4194048) {
var n = e.transitionTypes;
for (n === null && (n = e.transitionTypes = []), e = 0; e < t.length; e++) {
@@ -12001,16 +12001,16 @@ var Tf = /* @__PURE__ */ g(((e) => {
}
}
}
- var Ma = null;
- function Na(e) {
+ var Na = null;
+ function Pa(e) {
var t = e.transitionTypes;
return e.transitionTypes = null, t;
}
- var Pa = null, Fa = 0, Ia = 0, La = null;
- function Ra(e, t) {
- if (Pa === null) {
- var n = Pa = [];
- Fa = 0, Ia = Hf(), La = {
+ var Fa = null, Ia = 0, La = 0, Ra = null;
+ function za(e, t) {
+ if (Fa === null) {
+ var n = Fa = [];
+ Ia = 0, La = Uf(), Ra = {
status: "pending",
value: void 0,
then: function(e) {
@@ -12018,17 +12018,17 @@ var Tf = /* @__PURE__ */ g(((e) => {
}
};
}
- return Fa++, t.then(za, za), t;
+ return Ia++, t.then(Ba, Ba), t;
}
- function za() {
- if (--Fa === 0 && (Ma = null, Pa !== null)) {
- La !== null && (La.status = "fulfilled");
- var e = Pa;
- Pa = null, Ia = 0, La = null;
+ function Ba() {
+ if (--Ia === 0 && (Na = null, Fa !== null)) {
+ Ra !== null && (Ra.status = "fulfilled");
+ var e = Fa;
+ Fa = null, La = 0, Ra = null;
for (var t = 0; t < e.length; t++) (0, e[t])();
}
}
- function Ba(e, t) {
+ function Va(e, t) {
var n = [], r = {
status: "pending",
value: null,
@@ -12044,48 +12044,48 @@ var Tf = /* @__PURE__ */ g(((e) => {
for (r.status = "rejected", r.reason = e, e = 0; e < n.length; e++) (0, n[e])(void 0);
}), r;
}
- var Va = I.S;
- I.S = function(e, t) {
- if (xd = ze(), typeof t == "object" && t && typeof t.then == "function" && Ra(e, t), Ma !== null) for (var n = Of; n !== null;) ja(n, Ma), n = n.next;
+ var Ha = F.S;
+ F.S = function(e, t) {
+ if (Sd = Be(), typeof t == "object" && t && typeof t.then == "function" && za(e, t), Na !== null) for (var n = kf; n !== null;) Ma(n, Na), n = n.next;
if (n = e.types, n !== null) {
- for (var r = Of; r !== null;) ja(r, n), r = r.next;
- if (Ia !== 0) {
- r = Ma, r === null && (r = Ma = []);
+ for (var r = kf; r !== null;) Ma(r, n), r = r.next;
+ if (La !== 0) {
+ r = Na, r === null && (r = Na = []);
for (var i = 0; i < n.length; i++) {
var a = n[i];
r.indexOf(a) === -1 && r.push(a);
}
}
}
- Va !== null && Va(e, t);
+ Ha !== null && Ha(e, t);
};
- var Ha = ge(null);
- function Ua() {
- var e = Ha.current;
- return e === null ? nd.pooledCache : e;
+ var Ua = _e(null);
+ function Wa() {
+ var e = Ua.current;
+ return e === null ? rd.pooledCache : e;
}
- function Wa(e, t) {
- t === null ? ve(Ha, Ha.current) : ve(Ha, t.pool);
+ function Ga(e, t) {
+ t === null ? ye(Ua, Ua.current) : ye(Ua, t.pool);
}
- function Ga() {
- var e = Ua();
+ function Ka() {
+ var e = Wa();
return e === null ? null : {
- parent: Oa._currentValue,
+ parent: ka._currentValue,
pool: e
};
}
- var Ka = Error(i(460)), qa = Error(i(474)), Ja = Error(i(542)), Ya = { then: function() {} };
- function Xa(e) {
+ var qa = Error(i(460)), Ja = Error(i(474)), Ya = Error(i(542)), Xa = { then: function() {} };
+ function Za(e) {
return e = e.status, e === "fulfilled" || e === "rejected";
}
- function Za(e, t, n) {
- switch (n = e[n], n === void 0 ? e.push(t) : n !== t && (t.then(hn, hn), t = n), t.status) {
+ function Qa(e, t, n) {
+ switch (n = e[n], n === void 0 ? e.push(t) : n !== t && (t.then(gn, gn), t = n), t.status) {
case "fulfilled": return t.value;
- case "rejected": throw e = t.reason, to(e), e === void 0 && !("reason" in t) ? Error(i(600)) : e;
+ case "rejected": throw e = t.reason, no(e), e === void 0 && !("reason" in t) ? Error(i(600)) : e;
default:
- if (typeof t.status == "string") t.then(hn, hn);
+ if (typeof t.status == "string") t.then(gn, gn);
else {
- if (e = nd, e !== null && 100 < e.shellSuspendCounter) throw Error(i(482));
+ if (e = rd, e !== null && 100 < e.shellSuspendCounter) throw Error(i(482));
e = t, e.status = "pending", e.then(function(e) {
if (t.status === "pending") {
var n = t;
@@ -12100,40 +12100,40 @@ var Tf = /* @__PURE__ */ g(((e) => {
}
switch (t.status) {
case "fulfilled": return t.value;
- case "rejected": throw e = t.reason, to(e), e;
+ case "rejected": throw e = t.reason, no(e), e;
}
- throw $a = t, Ka;
+ throw eo = t, qa;
}
}
- function Qa(e) {
+ function $a(e) {
try {
var t = e._init;
return t(e._payload);
} catch (e) {
- throw typeof e == "object" && e && typeof e.then == "function" ? ($a = e, Ka) : e;
+ throw typeof e == "object" && e && typeof e.then == "function" ? (eo = e, qa) : e;
}
}
- var $a = null;
- function eo() {
- if ($a === null) throw Error(i(459));
- var e = $a;
- return $a = null, e;
+ var eo = null;
+ function to() {
+ if (eo === null) throw Error(i(459));
+ var e = eo;
+ return eo = null, e;
}
- function to(e) {
- if (e === Ka || e === Ja) throw Error(i(483));
+ function no(e) {
+ if (e === qa || e === Ya) throw Error(i(483));
}
- var no = null, ro = 0;
- function io(e) {
- var t = ro;
- return ro += 1, no === null && (no = []), Za(no, e, t);
+ var ro = null, io = 0;
+ function ao(e) {
+ var t = io;
+ return io += 1, ro === null && (ro = []), Qa(ro, e, t);
}
- function ao(e, t) {
+ function oo(e, t) {
t = t.props.ref, e.ref = t === void 0 ? null : t;
}
- function oo(e, t) {
+ function so(e, t) {
throw t.$$typeof === E ? Error(i(525)) : (e = Object.prototype.toString.call(t), Error(i(31, e === "[object Object]" ? "object with keys {" + Object.keys(t).join(", ") + "}" : e)));
}
- function so(e) {
+ function co(e) {
function t(t, n) {
if (e) {
var r = t.deletions;
@@ -12150,7 +12150,7 @@ var Tf = /* @__PURE__ */ g(((e) => {
return t;
}
function a(e, t) {
- return e = ji(e, t), e.index = 0, e.sibling = null, e;
+ return e = Mi(e, t), e.index = 0, e.sibling = null, e;
}
function o(t, n, r) {
return t.index = r, e ? (r = t.alternate, r === null ? (t.flags |= 134217730, n) : (r = r.index, r < n ? (t.flags |= 2, n) : r)) : (t.flags |= 1048576, n);
@@ -12159,30 +12159,30 @@ var Tf = /* @__PURE__ */ g(((e) => {
return e && t.alternate === null && (t.flags |= 134217730), t;
}
function c(e, t, n, r) {
- return t === null || t.tag !== 6 ? (t = Fi(n, e.mode, r), t.return = e, t) : (t = a(t, n), t.return = e, t);
+ return t === null || t.tag !== 6 ? (t = Ii(n, e.mode, r), t.return = e, t) : (t = a(t, n), t.return = e, t);
}
function l(e, t, n, r) {
var i = n.type;
- return i === k ? (e = d(e, t, n.props.children, r, n.key), ao(e, n), e) : t !== null && (t.elementType === i || typeof i == "object" && i && i.$$typeof === ne && Qa(i) === t.type) ? (t = a(t, n.props), ao(t, n), t.return = e, t) : (t = Ni(n.type, n.key, n.props, null, e.mode, r), ao(t, n), t.return = e, t);
+ return i === k ? (e = d(e, t, n.props.children, r, n.key), oo(e, n), e) : t !== null && (t.elementType === i || typeof i == "object" && i && i.$$typeof === re && $a(i) === t.type) ? (t = a(t, n.props), oo(t, n), t.return = e, t) : (t = Pi(n.type, n.key, n.props, null, e.mode, r), oo(t, n), t.return = e, t);
}
function u(e, t, n, r) {
- return t === null || t.tag !== 4 || t.stateNode.containerInfo !== n.containerInfo || t.stateNode.implementation !== n.implementation ? (t = Li(n, e.mode, r), t.return = e, t) : (t = a(t, n.children || []), t.return = e, t);
+ return t === null || t.tag !== 4 || t.stateNode.containerInfo !== n.containerInfo || t.stateNode.implementation !== n.implementation ? (t = Ri(n, e.mode, r), t.return = e, t) : (t = a(t, n.children || []), t.return = e, t);
}
function d(e, t, n, r, i) {
- return t === null || t.tag !== 7 ? (t = Pi(n, e.mode, r, i), t.return = e, t) : (t = a(t, n), t.return = e, t);
+ return t === null || t.tag !== 7 ? (t = Fi(n, e.mode, r, i), t.return = e, t) : (t = a(t, n), t.return = e, t);
}
function f(e, t, n) {
- if (typeof t == "string" && t !== "" || typeof t == "number" || typeof t == "bigint") return t = Fi("" + t, e.mode, n), t.return = e, t;
+ if (typeof t == "string" && t !== "" || typeof t == "number" || typeof t == "bigint") return t = Ii("" + t, e.mode, n), t.return = e, t;
if (typeof t == "object" && t) {
switch (t.$$typeof) {
- case D: return n = Ni(t.type, t.key, t.props, null, e.mode, n), ao(n, t), n.return = e, n;
- case O: return t = Li(t, e.mode, n), t.return = e, t;
- case ne: return t = Qa(t), f(e, t, n);
+ case D: return n = Pi(t.type, t.key, t.props, null, e.mode, n), oo(n, t), n.return = e, n;
+ case O: return t = Ri(t, e.mode, n), t.return = e, t;
+ case re: return t = $a(t), f(e, t, n);
}
- if (fe(t) || le(t)) return t = Pi(t, e.mode, n, null), t.return = e, t;
- if (typeof t.then == "function") return f(e, io(t), n);
- if (t.$$typeof === N) return f(e, Ca(e, t), n);
- oo(e, t);
+ if (pe(t) || ue(t)) return t = Fi(t, e.mode, n, null), t.return = e, t;
+ if (typeof t.then == "function") return f(e, ao(t), n);
+ if (t.$$typeof === N) return f(e, wa(e, t), n);
+ so(e, t);
}
return null;
}
@@ -12193,12 +12193,12 @@ var Tf = /* @__PURE__ */ g(((e) => {
switch (n.$$typeof) {
case D: return n.key === i ? l(e, t, n, r) : null;
case O: return n.key === i ? u(e, t, n, r) : null;
- case ne: return n = Qa(n), p(e, t, n, r);
+ case re: return n = $a(n), p(e, t, n, r);
}
- if (fe(n) || le(n)) return i === null ? d(e, t, n, r, null) : null;
- if (typeof n.then == "function") return p(e, t, io(n), r);
- if (n.$$typeof === N) return p(e, t, Ca(e, n), r);
- oo(e, n);
+ if (pe(n) || ue(n)) return i === null ? d(e, t, n, r, null) : null;
+ if (typeof n.then == "function") return p(e, t, ao(n), r);
+ if (n.$$typeof === N) return p(e, t, wa(e, n), r);
+ so(e, n);
}
return null;
}
@@ -12208,12 +12208,12 @@ var Tf = /* @__PURE__ */ g(((e) => {
switch (r.$$typeof) {
case D: return e = e.get(r.key === null ? n : r.key) || null, l(t, e, r, i);
case O: return e = e.get(r.key === null ? n : r.key) || null, u(t, e, r, i);
- case ne: return r = Qa(r), m(e, t, n, r, i);
+ case re: return r = $a(r), m(e, t, n, r, i);
}
- if (fe(r) || le(r)) return e = e.get(n) || null, d(t, e, r, i, null);
- if (typeof r.then == "function") return m(e, t, n, io(r), i);
- if (r.$$typeof === N) return m(e, t, n, Ca(t, r), i);
- oo(t, r);
+ if (pe(r) || ue(r)) return e = e.get(n) || null, d(t, e, r, i, null);
+ if (typeof r.then == "function") return m(e, t, n, ao(r), i);
+ if (r.$$typeof === N) return m(e, t, n, wa(t, r), i);
+ so(t, r);
}
return null;
}
@@ -12227,15 +12227,15 @@ var Tf = /* @__PURE__ */ g(((e) => {
}
e && d && _.alternate === null && t(i, d), a = o(_, a, h), u === null ? l = _ : u.sibling = _, u = _, d = g;
}
- if (h === s.length) return n(i, d), na && Yi(i, h), l;
+ if (h === s.length) return n(i, d), ra && Xi(i, h), l;
if (d === null) {
for (; h < s.length; h++) d = f(i, s[h], c), d !== null && (a = o(d, a, h), u === null ? l = d : u.sibling = d, u = d);
- return na && Yi(i, h), l;
+ return ra && Xi(i, h), l;
}
for (d = r(d); h < s.length; h++) g = m(d, i, h, s[h], c), g !== null && (e && (_ = g.alternate, _ !== null && d.delete(_.key === null ? h : _.key)), a = o(g, a, h), u === null ? l = g : u.sibling = g, u = g);
return e && d.forEach(function(e) {
return t(i, e);
- }), na && Yi(i, h), l;
+ }), ra && Xi(i, h), l;
}
function g(a, s, c, l) {
if (c == null) throw Error(i(151));
@@ -12248,15 +12248,15 @@ var Tf = /* @__PURE__ */ g(((e) => {
}
e && h && y.alternate === null && t(a, h), s = o(y, s, g), d === null ? u = y : d.sibling = y, d = y, h = _;
}
- if (v.done) return n(a, h), na && Yi(a, g), u;
+ if (v.done) return n(a, h), ra && Xi(a, g), u;
if (h === null) {
for (; !v.done; g++, v = c.next()) v = f(a, v.value, l), v !== null && (s = o(v, s, g), d === null ? u = v : d.sibling = v, d = v);
- return na && Yi(a, g), u;
+ return ra && Xi(a, g), u;
}
for (h = r(h); !v.done; g++, v = c.next()) v = m(h, a, g, v.value, l), v !== null && (e && (_ = v.alternate, _ !== null && h.delete(_.key === null ? g : _.key)), s = o(v, s, g), d === null ? u = v : d.sibling = v, d = v);
return e && h.forEach(function(e) {
return t(a, e);
- }), na && Yi(a, g), u;
+ }), ra && Xi(a, g), u;
}
function _(e, r, o, c) {
if (typeof o == "object" && o && o.type === k && o.key === null && o.props.ref === void 0 && (o = o.props.children), typeof o == "object" && o) {
@@ -12267,11 +12267,11 @@ var Tf = /* @__PURE__ */ g(((e) => {
if (r.key === l) {
if (l = o.type, l === k) {
if (r.tag === 7) {
- n(e, r.sibling), c = a(r, o.props.children), ao(c, o), c.return = e, e = c;
+ n(e, r.sibling), c = a(r, o.props.children), oo(c, o), c.return = e, e = c;
break a;
}
- } else if (r.elementType === l || typeof l == "object" && l && l.$$typeof === ne && Qa(l) === r.type) {
- n(e, r.sibling), c = a(r, o.props), ao(c, o), c.return = e, e = c;
+ } else if (r.elementType === l || typeof l == "object" && l && l.$$typeof === re && $a(l) === r.type) {
+ n(e, r.sibling), c = a(r, o.props), oo(c, o), c.return = e, e = c;
break a;
}
n(e, r);
@@ -12279,7 +12279,7 @@ var Tf = /* @__PURE__ */ g(((e) => {
}
t(e, r), r = r.sibling;
}
- o.type === k ? (c = Pi(o.props.children, e.mode, c, o.key), ao(c, o), c.return = e, e = c) : (c = Ni(o.type, o.key, o.props, null, e.mode, c), ao(c, o), c.return = e, e = c);
+ o.type === k ? (c = Fi(o.props.children, e.mode, c, o.key), oo(c, o), c.return = e, e = c) : (c = Pi(o.type, o.key, o.props, null, e.mode, c), oo(c, o), c.return = e, e = c);
}
return s(e);
case O:
@@ -12295,36 +12295,36 @@ var Tf = /* @__PURE__ */ g(((e) => {
}
t(e, r), r = r.sibling;
}
- c = Li(o, e.mode, c), c.return = e, e = c;
+ c = Ri(o, e.mode, c), c.return = e, e = c;
}
return s(e);
- case ne: return o = Qa(o), _(e, r, o, c);
+ case re: return o = $a(o), _(e, r, o, c);
}
- if (fe(o)) return h(e, r, o, c);
- if (le(o)) {
- if (l = le(o), typeof l != "function") throw Error(i(150));
+ if (pe(o)) return h(e, r, o, c);
+ if (ue(o)) {
+ if (l = ue(o), typeof l != "function") throw Error(i(150));
return o = l.call(o), g(e, r, o, c);
}
- if (typeof o.then == "function") return _(e, r, io(o), c);
- if (o.$$typeof === N) return _(e, r, Ca(e, o), c);
- oo(e, o);
+ if (typeof o.then == "function") return _(e, r, ao(o), c);
+ if (o.$$typeof === N) return _(e, r, wa(e, o), c);
+ so(e, o);
}
- return typeof o == "string" && o !== "" || typeof o == "number" || typeof o == "bigint" ? (o = "" + o, r !== null && r.tag === 6 ? (n(e, r.sibling), c = a(r, o), c.return = e, e = c) : (n(e, r), c = Fi(o, e.mode, c), c.return = e, e = c), s(e)) : n(e, r);
+ return typeof o == "string" && o !== "" || typeof o == "number" || typeof o == "bigint" ? (o = "" + o, r !== null && r.tag === 6 ? (n(e, r.sibling), c = a(r, o), c.return = e, e = c) : (n(e, r), c = Ii(o, e.mode, c), c.return = e, e = c), s(e)) : n(e, r);
}
return function(e, t, n, r) {
try {
- ro = 0;
+ io = 0;
var i = _(e, t, n, r);
- return no = null, i;
+ return ro = null, i;
} catch (t) {
- if (t === Ka || t === Ja) throw t;
- var a = ki(29, t, null, e.mode);
+ if (t === qa || t === Ya) throw t;
+ var a = Ai(29, t, null, e.mode);
return a.lanes = r, a.return = e, a;
}
};
}
- var co = so(!0), lo = so(!1), uo = !1;
- function fo(e) {
+ var lo = co(!0), uo = co(!1), fo = !1;
+ function po(e) {
e.updateQueue = {
baseState: e.memoizedState,
firstBaseUpdate: null,
@@ -12337,7 +12337,7 @@ var Tf = /* @__PURE__ */ g(((e) => {
callbacks: null
};
}
- function po(e, t) {
+ function mo(e, t) {
e = e.updateQueue, t.updateQueue === e && (t.updateQueue = {
baseState: e.baseState,
firstBaseUpdate: e.firstBaseUpdate,
@@ -12346,7 +12346,7 @@ var Tf = /* @__PURE__ */ g(((e) => {
callbacks: null
});
}
- function mo(e) {
+ function ho(e) {
return {
lane: e,
tag: 0,
@@ -12355,22 +12355,22 @@ var Tf = /* @__PURE__ */ g(((e) => {
next: null
};
}
- function ho(e, t, n) {
+ function go(e, t, n) {
var r = e.updateQueue;
if (r === null) return null;
- if (r = r.shared, td & 2) {
+ if (r = r.shared, nd & 2) {
var i = r.pending;
- return i === null ? t.next = t : (t.next = i.next, i.next = t), r.pending = t, t = Ei(e), Ti(e, null, n), t;
+ return i === null ? t.next = t : (t.next = i.next, i.next = t), r.pending = t, t = Di(e), Ei(e, null, n), t;
}
- return Si(e, r, t, n), Ei(e);
+ return Ci(e, r, t, n), Di(e);
}
- function go(e, t, n) {
+ function _o(e, t, n) {
if (t = t.updateQueue, t !== null && (t = t.shared, n & 4194048)) {
var r = t.lanes;
- r &= e.pendingLanes, n |= r, t.lanes = n, mt(e, n);
+ r &= e.pendingLanes, n |= r, t.lanes = n, ht(e, n);
}
}
- function _o(e, t) {
+ function vo(e, t) {
var n = e.updateQueue, r = e.alternate;
if (r !== null && (r = r.updateQueue, n === r)) {
var i = null, a = null;
@@ -12398,17 +12398,17 @@ var Tf = /* @__PURE__ */ g(((e) => {
}
e = n.lastBaseUpdate, e === null ? n.firstBaseUpdate = t : e.next = t, n.lastBaseUpdate = t;
}
- var vo = !1;
- function yo() {
- if (vo) {
- var e = La;
+ var yo = !1;
+ function bo() {
+ if (yo) {
+ var e = Ra;
if (e !== null) throw e;
}
}
- function bo(e, t, n, r) {
- vo = !1;
+ function xo(e, t, n, r) {
+ yo = !1;
var i = e.updateQueue;
- uo = !1;
+ fo = !1;
var a = i.firstBaseUpdate, o = i.lastBaseUpdate, s = i.shared.pending;
if (s !== null) {
i.shared.pending = null;
@@ -12422,8 +12422,8 @@ var Tf = /* @__PURE__ */ g(((e) => {
o = 0, u = l = c = null, s = a;
do {
var f = s.lane & -536870913, p = f !== s.lane;
- if (p ? (id & f) === f : (r & f) === f) {
- f !== 0 && f === Ia && (vo = !0), u !== null && (u = u.next = {
+ if (p ? (ad & f) === f : (r & f) === f) {
+ f !== 0 && f === La && (yo = !0), u !== null && (u = u.next = {
lane: 0,
tag: s.tag,
payload: s.payload,
@@ -12447,7 +12447,7 @@ var Tf = /* @__PURE__ */ g(((e) => {
if (m = h.payload, f = typeof m == "function" ? m.call(g, d, f) : m, f == null) break a;
d = T({}, d, f);
break a;
- case 2: uo = !0;
+ case 2: fo = !0;
}
}
f = s.callback, f !== null && (e.flags |= 64, p && (e.flags |= 8192), p = i.callbacks, p === null ? i.callbacks = [f] : p.push(f));
@@ -12463,56 +12463,56 @@ var Tf = /* @__PURE__ */ g(((e) => {
p = s, s = p.next, p.next = null, i.lastBaseUpdate = p, i.shared.pending = null;
}
} while (1);
- u === null && (c = d), i.baseState = c, i.firstBaseUpdate = l, i.lastBaseUpdate = u, a === null && (i.shared.lanes = 0), fd |= o, e.lanes = o, e.memoizedState = d;
+ u === null && (c = d), i.baseState = c, i.firstBaseUpdate = l, i.lastBaseUpdate = u, a === null && (i.shared.lanes = 0), pd |= o, e.lanes = o, e.memoizedState = d;
}
}
- function xo(e, t) {
+ function So(e, t) {
if (typeof e != "function") throw Error(i(191, e));
e.call(t);
}
- function So(e, t) {
+ function Co(e, t) {
var n = e.callbacks;
- if (n !== null) for (e.callbacks = null, e = 0; e < n.length; e++) xo(n[e], t);
- }
- var Co = ge(null), wo = ge(0);
- function To(e, t) {
- e = ud, ve(wo, e), ve(Co, t), ud = e | t.baseLanes;
+ if (n !== null) for (e.callbacks = null, e = 0; e < n.length; e++) So(n[e], t);
}
- function Eo() {
- ve(wo, ud), ve(Co, Co.current);
+ var wo = _e(null), To = _e(0);
+ function Eo(e, t) {
+ e = dd, ye(To, e), ye(wo, t), dd = e | t.baseLanes;
}
function Do() {
- ud = wo.current, _e(Co), _e(wo);
+ ye(To, dd), ye(wo, wo.current);
}
- var Oo = ge(null), ko = null;
- function Ao(e) {
- var t = e.alternate;
- ve(Fo, Fo.current & 1), ve(Oo, e), ko === null && (t === null || Co.current !== null || t.memoizedState !== null) && (ko = e);
+ function Oo() {
+ dd = To.current, ve(wo), ve(To);
}
+ var ko = _e(null), Ao = null;
function jo(e) {
- ve(Fo, Fo.current), ve(Oo, e), ko === null && (ko = e);
+ var t = e.alternate;
+ ye(Io, Io.current & 1), ye(ko, e), Ao === null && (t === null || wo.current !== null || t.memoizedState !== null) && (Ao = e);
}
function Mo(e) {
- e.tag === 22 ? (ve(Fo, Fo.current), ve(Oo, e), ko === null && (ko = e)) : No();
+ ye(Io, Io.current), ye(ko, e), Ao === null && (Ao = e);
}
- function No() {
- ve(Fo, Fo.current), ve(Oo, Oo.current);
+ function No(e) {
+ e.tag === 22 ? (ye(Io, Io.current), ye(ko, e), Ao === null && (Ao = e)) : Po();
}
- function Po(e) {
- _e(Oo), ko === e && (ko = null), _e(Fo);
+ function Po() {
+ ye(Io, Io.current), ye(ko, ko.current);
}
- var Fo = ge(0);
- function Io(e, t) {
- ve(Oo, Oo.current), ve(Fo, t);
+ function Fo(e) {
+ ve(ko), Ao === e && (Ao = null), ve(Io);
}
- function Lo(e) {
- _e(Fo), _e(Oo), ko === e && (ko = null);
+ var Io = _e(0);
+ function Lo(e, t) {
+ ye(ko, ko.current), ye(Io, t);
}
function Ro(e) {
+ ve(Io), ve(ko), Ao === e && (Ao = null);
+ }
+ function zo(e) {
for (var t = e; t !== null;) {
if (t.tag === 13) {
var n = t.memoizedState;
- if (n !== null && (n = n.dehydrated, n === null || mm(n) || hm(n))) return t;
+ if (n !== null && (n = n.dehydrated, n === null || hm(n) || gm(n))) return t;
} else if (t.tag === 19 && t.memoizedProps.revealOrder !== "independent") {
if (t.flags & 128) return t;
} else if (t.child !== null) {
@@ -12528,59 +12528,59 @@ var Tf = /* @__PURE__ */ g(((e) => {
}
return null;
}
- var zo = 0, U = null, Bo = null, Vo = null, Ho = !1, Uo = !1, Wo = !1, Go = 0, Ko = 0, qo = null, Jo = 0;
- function Yo() {
+ var Bo = 0, H = null, Vo = null, Ho = null, Uo = !1, Wo = !1, Go = !1, Ko = 0, qo = 0, Jo = null, Yo = 0;
+ function Xo() {
throw Error(i(321));
}
- function Xo(e, t) {
+ function Zo(e, t) {
if (t === null) return !1;
- for (var n = 0; n < t.length && n < e.length; n++) if (!Lr(e[n], t[n])) return !1;
+ for (var n = 0; n < t.length && n < e.length; n++) if (!Rr(e[n], t[n])) return !1;
return !0;
}
- function Zo(e, t, n, r, i, a) {
- return zo = a, U = t, t.memoizedState = null, t.updateQueue = null, t.lanes = 0, I.H = e === null || e.memoizedState === null ? mc : hc, Wo = !1, a = n(r, i), Wo = !1, Uo && (a = $o(t, n, r, i)), Qo(e), a;
+ function Qo(e, t, n, r, i, a) {
+ return Bo = a, H = t, t.memoizedState = null, t.updateQueue = null, t.lanes = 0, F.H = e === null || e.memoizedState === null ? hc : gc, Go = !1, a = n(r, i), Go = !1, Wo && (a = es(t, n, r, i)), $o(e), a;
}
- function Qo(e) {
- I.H = pc;
- var t = Bo !== null && Bo.next !== null;
- if (zo = 0, Vo = Bo = U = null, Ho = !1, Ko = 0, qo = null, t) throw Error(i(300));
- e === null || Mc || (e = e.dependencies, e !== null && ba(e) && (Mc = !0));
+ function $o(e) {
+ F.H = mc;
+ var t = Vo !== null && Vo.next !== null;
+ if (Bo = 0, Ho = Vo = H = null, Uo = !1, qo = 0, Jo = null, t) throw Error(i(300));
+ e === null || Nc || (e = e.dependencies, e !== null && xa(e) && (Nc = !0));
}
- function $o(e, t, n, r) {
- U = e;
+ function es(e, t, n, r) {
+ H = e;
var a = 0;
do {
- if (Uo && (qo = null), Ko = 0, Uo = !1, 25 <= a) throw Error(i(301));
- if (a += 1, Vo = Bo = null, e.updateQueue != null) {
+ if (Wo && (Jo = null), qo = 0, Wo = !1, 25 <= a) throw Error(i(301));
+ if (a += 1, Ho = Vo = null, e.updateQueue != null) {
var o = e.updateQueue;
o.lastEffect = null, o.events = null, o.stores = null, o.memoCache != null && (o.memoCache.index = 0);
}
- I.H = gc, o = t(n, r);
- } while (Uo);
+ F.H = _c, o = t(n, r);
+ } while (Wo);
return o;
}
- function es() {
- var e = I.H, t = e.useState()[0];
- return t = typeof t.then == "function" ? ss(t) : t, e = e.useState()[0], (Bo === null ? null : Bo.memoizedState) !== e && (U.flags |= 1024), t;
- }
function ts() {
- var e = Go !== 0;
- return Go = 0, e;
+ var e = F.H, t = e.useState()[0];
+ return t = typeof t.then == "function" ? cs(t) : t, e = e.useState()[0], (Vo === null ? null : Vo.memoizedState) !== e && (H.flags |= 1024), t;
}
- function ns(e, t, n) {
+ function ns() {
+ var e = Ko !== 0;
+ return Ko = 0, e;
+ }
+ function rs(e, t, n) {
t.updateQueue = e.updateQueue, t.flags &= -2053, e.lanes &= ~n;
}
- function rs(e) {
- if (Ho) {
+ function is(e) {
+ if (Uo) {
for (e = e.memoizedState; e !== null;) {
var t = e.queue;
t !== null && (t.pending = null), e = e.next;
}
- Ho = !1;
+ Uo = !1;
}
- zo = 0, Vo = Bo = U = null, Uo = !1, Ko = Go = 0, qo = null;
+ Bo = 0, Ho = Vo = H = null, Wo = !1, qo = Ko = 0, Jo = null;
}
- function is() {
+ function as() {
var e = {
memoizedState: null,
baseState: null,
@@ -12588,28 +12588,28 @@ var Tf = /* @__PURE__ */ g(((e) => {
queue: null,
next: null
};
- return Vo === null ? U.memoizedState = Vo = e : Vo = Vo.next = e, Vo;
+ return Ho === null ? H.memoizedState = Ho = e : Ho = Ho.next = e, Ho;
}
- function as() {
- if (Bo === null) {
- var e = U.alternate;
+ function os() {
+ if (Vo === null) {
+ var e = H.alternate;
e = e === null ? null : e.memoizedState;
- } else e = Bo.next;
- var t = Vo === null ? U.memoizedState : Vo.next;
- if (t !== null) Vo = t, Bo = e;
+ } else e = Vo.next;
+ var t = Ho === null ? H.memoizedState : Ho.next;
+ if (t !== null) Ho = t, Vo = e;
else {
- if (e === null) throw U.alternate === null ? Error(i(467)) : Error(i(310));
- Bo = e, e = {
- memoizedState: Bo.memoizedState,
- baseState: Bo.baseState,
- baseQueue: Bo.baseQueue,
- queue: Bo.queue,
+ if (e === null) throw H.alternate === null ? Error(i(467)) : Error(i(310));
+ Vo = e, e = {
+ memoizedState: Vo.memoizedState,
+ baseState: Vo.baseState,
+ baseQueue: Vo.baseQueue,
+ queue: Vo.queue,
next: null
- }, Vo === null ? U.memoizedState = Vo = e : Vo = Vo.next = e;
+ }, Ho === null ? H.memoizedState = Ho = e : Ho = Ho.next = e;
}
- return Vo;
+ return Ho;
}
- function os() {
+ function ss() {
return {
lastEffect: null,
events: null,
@@ -12617,22 +12617,22 @@ var Tf = /* @__PURE__ */ g(((e) => {
memoCache: null
};
}
- function ss(e) {
- var t = Ko;
- return Ko += 1, qo === null && (qo = []), e = Za(qo, e, t), t = U, (Vo === null ? t.memoizedState : Vo.next) === null && (t = t.alternate, I.H = t === null || t.memoizedState === null ? mc : hc), e;
- }
function cs(e) {
+ var t = qo;
+ return qo += 1, Jo === null && (Jo = []), e = Qa(Jo, e, t), t = H, (Ho === null ? t.memoizedState : Ho.next) === null && (t = t.alternate, F.H = t === null || t.memoizedState === null ? hc : gc), e;
+ }
+ function ls(e) {
if (typeof e == "object" && e) {
- if (typeof e.then == "function") return ss(e);
- if (e.$$typeof === se) return;
- if (e.$$typeof === N) return Sa(e);
+ if (typeof e.then == "function") return cs(e);
+ if (e.$$typeof === ce) return;
+ if (e.$$typeof === N) return Ca(e);
}
throw Error(i(438, String(e)));
}
- function ls(e) {
- var t = null, n = U.updateQueue;
+ function us(e) {
+ var t = null, n = H.updateQueue;
if (n !== null && (t = n.memoCache), t == null) {
- var r = U.alternate;
+ var r = H.alternate;
r !== null && (r = r.updateQueue, r !== null && (r = r.memoCache, r != null && (t = {
data: r.data.map(function(e) {
return e.slice();
@@ -12643,16 +12643,16 @@ var Tf = /* @__PURE__ */ g(((e) => {
if (t ??= {
data: [],
index: 0
- }, n === null && (n = os(), U.updateQueue = n), n.memoCache = t, n = t.data[t.index], n === void 0) for (n = t.data[t.index] = Array(e), r = 0; r < e; r++) n[r] = ae;
+ }, n === null && (n = ss(), H.updateQueue = n), n.memoCache = t, n = t.data[t.index], n === void 0) for (n = t.data[t.index] = Array(e), r = 0; r < e; r++) n[r] = oe;
return t.index++, n;
}
- function us(e, t) {
+ function ds(e, t) {
return typeof t == "function" ? t(e) : t;
}
- function ds(e) {
- return fs(as(), Bo, e);
+ function fs(e) {
+ return ps(os(), Vo, e);
}
- function fs(e, t, n) {
+ function ps(e, t, n) {
var r = e.queue;
if (r === null) throw Error(i(311));
r.lastRenderedReducer = n;
@@ -12670,7 +12670,7 @@ var Tf = /* @__PURE__ */ g(((e) => {
var c = s = null, l = null, u = t, d = !1;
do {
var f = u.lane & -536870913;
- if (f === u.lane ? (zo & f) === f : (id & f) === f) {
+ if (f === u.lane ? (Bo & f) === f : (ad & f) === f) {
var p = u.revertLane;
if (p === 0) l !== null && (l = l.next = {
lane: 0,
@@ -12680,9 +12680,9 @@ var Tf = /* @__PURE__ */ g(((e) => {
hasEagerState: u.hasEagerState,
eagerState: u.eagerState,
next: null
- }), f === Ia && (d = !0);
- else if ((zo & p) === p) {
- u = u.next, p === Ia && (d = !0);
+ }), f === La && (d = !0);
+ else if ((Bo & p) === p) {
+ u = u.next, p === La && (d = !0);
continue;
} else f = {
lane: 0,
@@ -12692,8 +12692,8 @@ var Tf = /* @__PURE__ */ g(((e) => {
hasEagerState: u.hasEagerState,
eagerState: u.eagerState,
next: null
- }, l === null ? (c = l = f, s = o) : l = l.next = f, U.lanes |= p, fd |= p;
- f = u.action, Wo && n(o, f), o = u.hasEagerState ? u.eagerState : n(o, f);
+ }, l === null ? (c = l = f, s = o) : l = l.next = f, H.lanes |= p, pd |= p;
+ f = u.action, Go && n(o, f), o = u.hasEagerState ? u.eagerState : n(o, f);
} else p = {
lane: f,
revertLane: u.revertLane,
@@ -12702,16 +12702,16 @@ var Tf = /* @__PURE__ */ g(((e) => {
hasEagerState: u.hasEagerState,
eagerState: u.eagerState,
next: null
- }, l === null ? (c = l = p, s = o) : l = l.next = p, U.lanes |= f, fd |= f;
+ }, l === null ? (c = l = p, s = o) : l = l.next = p, H.lanes |= f, pd |= f;
u = u.next;
} while (u !== null && u !== t);
- if (l === null ? s = o : l.next = c, !Lr(o, e.memoizedState) && (Mc = !0, d && (n = La, n !== null))) throw n;
+ if (l === null ? s = o : l.next = c, !Rr(o, e.memoizedState) && (Nc = !0, d && (n = Ra, n !== null))) throw n;
e.memoizedState = o, e.baseState = s, e.baseQueue = l, r.lastRenderedState = o;
}
return a === null && (r.lanes = 0), [e.memoizedState, r.dispatch];
}
- function ps(e) {
- var t = as(), n = t.queue;
+ function ms(e) {
+ var t = os(), n = t.queue;
if (n === null) throw Error(i(311));
n.lastRenderedReducer = e;
var r = n.dispatch, a = n.pending, o = t.memoizedState;
@@ -12721,61 +12721,61 @@ var Tf = /* @__PURE__ */ g(((e) => {
do
o = e(o, s.action), s = s.next;
while (s !== a);
- Lr(o, t.memoizedState) || (Mc = !0), t.memoizedState = o, t.baseQueue === null && (t.baseState = o), n.lastRenderedState = o;
+ Rr(o, t.memoizedState) || (Nc = !0), t.memoizedState = o, t.baseQueue === null && (t.baseState = o), n.lastRenderedState = o;
}
return [o, r];
}
- function ms(e, t, n) {
- var r = U, a = as(), o = na;
+ function hs(e, t, n) {
+ var r = H, a = os(), o = ra;
if (o) {
if (n === void 0) throw Error(i(407));
n = n();
} else n = t();
- var s = !Lr((Bo || a).memoizedState, n);
- if (s && (a.memoizedState = n, Mc = !0), a = a.queue, zs(_s.bind(null, r, a, e), [e]), e = a.getSnapshot !== t || s || Vo !== null && !!(Vo.memoizedState.tag & 1), Ps(e ? 9 : 8, { destroy: void 0 }, gs.bind(null, r, a, n, t), null), e) {
- if (r.flags |= 2048, nd === null) throw Error(i(349));
- o || zo & 127 || hs(r, t, n);
+ var s = !Rr((Vo || a).memoizedState, n);
+ if (s && (a.memoizedState = n, Nc = !0), a = a.queue, Bs(vs.bind(null, r, a, e), [e]), e = a.getSnapshot !== t || s || Ho !== null && !!(Ho.memoizedState.tag & 1), Fs(e ? 9 : 8, { destroy: void 0 }, _s.bind(null, r, a, n, t), null), e) {
+ if (r.flags |= 2048, rd === null) throw Error(i(349));
+ o || Bo & 127 || gs(r, t, n);
}
return n;
}
- function hs(e, t, n) {
+ function gs(e, t, n) {
e.flags |= 16384, e = {
getSnapshot: t,
value: n
- }, t = U.updateQueue, t === null ? (t = os(), U.updateQueue = t, t.stores = [e]) : (n = t.stores, n === null ? t.stores = [e] : n.push(e));
+ }, t = H.updateQueue, t === null ? (t = ss(), H.updateQueue = t, t.stores = [e]) : (n = t.stores, n === null ? t.stores = [e] : n.push(e));
}
- function gs(e, t, n, r) {
- t.value = n, t.getSnapshot = r, vs(t) && ys(e);
+ function _s(e, t, n, r) {
+ t.value = n, t.getSnapshot = r, ys(t) && bs(e);
}
- function _s(e, t, n) {
+ function vs(e, t, n) {
return n(function() {
- vs(t) && ys(e);
+ ys(t) && bs(e);
});
}
- function vs(e) {
+ function ys(e) {
var t = e.getSnapshot;
e = e.value;
try {
var n = t();
- return !Lr(e, n);
+ return !Rr(e, n);
} catch {
return !0;
}
}
- function ys(e) {
- var t = wi(e, 2);
- t !== null && Bd(t, e, 2);
- }
function bs(e) {
- var t = is();
+ var t = Ti(e, 2);
+ t !== null && Vd(t, e, 2);
+ }
+ function xs(e) {
+ var t = as();
if (typeof e == "function") {
var n = e;
- if (e = n(), Wo) {
- Xe(!0);
+ if (e = n(), Go) {
+ Ze(!0);
try {
n();
} finally {
- Xe(!1);
+ Ze(!1);
}
}
}
@@ -12783,15 +12783,15 @@ var Tf = /* @__PURE__ */ g(((e) => {
pending: null,
lanes: 0,
dispatch: null,
- lastRenderedReducer: us,
+ lastRenderedReducer: ds,
lastRenderedState: e
}, t;
}
- function xs(e, t, n, r) {
- return e.baseState = n, fs(e, Bo, typeof r == "function" ? r : us);
+ function Ss(e, t, n, r) {
+ return e.baseState = n, ps(e, Vo, typeof r == "function" ? r : ds);
}
- function Ss(e, t, n, r, a) {
- if (uc(e)) throw Error(i(485));
+ function Cs(e, t, n, r, a) {
+ if (dc(e)) throw Error(i(485));
if (e = t.action, e !== null) {
var o = {
payload: a,
@@ -12806,70 +12806,70 @@ var Tf = /* @__PURE__ */ g(((e) => {
o.listeners.push(e);
}
};
- I.T === null ? o.isTransition = !1 : n(!0), r(o), n = t.pending, n === null ? (o.next = t.pending = o, Cs(t, o)) : (o.next = n.next, t.pending = n.next = o);
+ F.T === null ? o.isTransition = !1 : n(!0), r(o), n = t.pending, n === null ? (o.next = t.pending = o, ws(t, o)) : (o.next = n.next, t.pending = n.next = o);
}
}
- function Cs(e, t) {
+ function ws(e, t) {
var n = t.action, r = t.payload, i = e.state;
if (t.isTransition) {
- var a = I.T, o = {};
- o.types = a === null ? null : a.types, I.T = o;
+ var a = F.T, o = {};
+ o.types = a === null ? null : a.types, F.T = o;
try {
- var s = n(i, r), c = I.S;
- c !== null && c(o, s), ws(e, t, s);
+ var s = n(i, r), c = F.S;
+ c !== null && c(o, s), Ts(e, t, s);
} catch (n) {
- Es(e, t, n);
+ Ds(e, t, n);
} finally {
- a !== null && o.types !== null && (a.types = o.types), I.T = a;
+ a !== null && o.types !== null && (a.types = o.types), F.T = a;
}
} else try {
- a = n(i, r), ws(e, t, a);
+ a = n(i, r), Ts(e, t, a);
} catch (n) {
- Es(e, t, n);
+ Ds(e, t, n);
}
}
- function ws(e, t, n) {
+ function Ts(e, t, n) {
typeof n == "object" && n && typeof n.then == "function" ? n.then(function(n) {
- Ts(e, t, n);
+ Es(e, t, n);
}, function(n) {
- return Es(e, t, n);
- }) : Ts(e, t, n);
- }
- function Ts(e, t, n) {
- t.status = "fulfilled", t.value = n, Ds(t), e.state = n, t = e.pending, t !== null && (n = t.next, n === t ? e.pending = null : (n = n.next, t.next = n, Cs(e, n)));
+ return Ds(e, t, n);
+ }) : Es(e, t, n);
}
function Es(e, t, n) {
+ t.status = "fulfilled", t.value = n, Os(t), e.state = n, t = e.pending, t !== null && (n = t.next, n === t ? e.pending = null : (n = n.next, t.next = n, ws(e, n)));
+ }
+ function Ds(e, t, n) {
var r = e.pending;
if (e.pending = null, r !== null) {
r = r.next;
do
- t.status = "rejected", t.reason = n, Ds(t), t = t.next;
+ t.status = "rejected", t.reason = n, Os(t), t = t.next;
while (t !== r);
}
e.action = null;
}
- function Ds(e) {
+ function Os(e) {
e = e.listeners;
for (var t = 0; t < e.length; t++) (0, e[t])();
}
- function Os(e, t) {
+ function ks(e, t) {
return t;
}
- function ks(e, t) {
- if (na) {
- var n = nd.formState;
+ function As(e, t) {
+ if (ra) {
+ var n = rd.formState;
if (n !== null) {
a: {
- var r = U;
- if (na) {
- if (ta) {
+ var r = H;
+ if (ra) {
+ if (na) {
b: {
- for (var i = ta, a = ia; i.nodeType !== 8;) {
+ for (var i = na, a = aa; i.nodeType !== 8;) {
if (!a) {
i = null;
break b;
}
- if (i = _m(i.nextSibling), i === null) {
+ if (i = vm(i.nextSibling), i === null) {
i = null;
break b;
}
@@ -12877,59 +12877,59 @@ var Tf = /* @__PURE__ */ g(((e) => {
a = i.data, i = a === "F!" || a === "F" ? i : null;
}
if (i) {
- ta = _m(i.nextSibling), r = i.data === "F!";
+ na = vm(i.nextSibling), r = i.data === "F!";
break a;
}
}
- H(r);
+ V(r);
}
r = !1;
}
r && (t = n[0]);
}
}
- return n = is(), n.memoizedState = n.baseState = t, r = {
+ return n = as(), n.memoizedState = n.baseState = t, r = {
pending: null,
lanes: 0,
dispatch: null,
- lastRenderedReducer: Os,
+ lastRenderedReducer: ks,
lastRenderedState: t
- }, n.queue = r, n = sc.bind(null, U, r), r.dispatch = n, r = bs(!1), a = lc.bind(null, U, !1, r.queue), r = is(), i = {
+ }, n.queue = r, n = cc.bind(null, H, r), r.dispatch = n, r = xs(!1), a = uc.bind(null, H, !1, r.queue), r = as(), i = {
state: t,
dispatch: null,
action: e,
pending: null
- }, r.queue = i, n = Ss.bind(null, U, i, a, n), i.dispatch = n, r.memoizedState = e, [
+ }, r.queue = i, n = Cs.bind(null, H, i, a, n), i.dispatch = n, r.memoizedState = e, [
t,
n,
!1
];
}
- function As(e) {
- return js(as(), Bo, e);
+ function js(e) {
+ return Ms(os(), Vo, e);
}
- function js(e, t, n) {
- if (t = fs(e, t, Os)[0], e = ds(us)[0], typeof t == "object" && t && typeof t.then == "function") try {
- var r = ss(t);
+ function Ms(e, t, n) {
+ if (t = ps(e, t, ks)[0], e = fs(ds)[0], typeof t == "object" && t && typeof t.then == "function") try {
+ var r = cs(t);
} catch (e) {
- throw e === Ka ? Ja : e;
+ throw e === qa ? Ya : e;
}
else r = t;
- t = as();
+ t = os();
var i = t.queue, a = i.dispatch;
- return n !== t.memoizedState && (U.flags |= 2048, Ps(9, { destroy: void 0 }, Ms.bind(null, i, n), null)), [
+ return n !== t.memoizedState && (H.flags |= 2048, Fs(9, { destroy: void 0 }, Ns.bind(null, i, n), null)), [
r,
a,
e
];
}
- function Ms(e, t) {
+ function Ns(e, t) {
e.action = t;
}
- function Ns(e) {
- var t = as(), n = Bo;
- if (n !== null) return js(t, n, e);
- as(), t = t.memoizedState, n = as();
+ function Ps(e) {
+ var t = os(), n = Vo;
+ if (n !== null) return Ms(t, n, e);
+ os(), t = t.memoizedState, n = os();
var r = n.queue.dispatch;
return n.memoizedState = e, [
t,
@@ -12937,60 +12937,60 @@ var Tf = /* @__PURE__ */ g(((e) => {
!1
];
}
- function Ps(e, t, n, r) {
+ function Fs(e, t, n, r) {
return e = {
tag: e,
create: n,
deps: r,
inst: t,
next: null
- }, t = U.updateQueue, t === null && (t = os(), U.updateQueue = t), n = t.lastEffect, n === null ? t.lastEffect = e.next = e : (r = n.next, n.next = e, e.next = r, t.lastEffect = e), e;
- }
- function Fs() {
- return as().memoizedState;
+ }, t = H.updateQueue, t === null && (t = ss(), H.updateQueue = t), n = t.lastEffect, n === null ? t.lastEffect = e.next = e : (r = n.next, n.next = e, e.next = r, t.lastEffect = e), e;
}
- function Is(e, t, n, r) {
- var i = is();
- U.flags |= e, i.memoizedState = Ps(1 | t, { destroy: void 0 }, n, r === void 0 ? null : r);
+ function Is() {
+ return os().memoizedState;
}
function Ls(e, t, n, r) {
var i = as();
+ H.flags |= e, i.memoizedState = Fs(1 | t, { destroy: void 0 }, n, r === void 0 ? null : r);
+ }
+ function Rs(e, t, n, r) {
+ var i = os();
r = r === void 0 ? null : r;
var a = i.memoizedState.inst;
- Bo !== null && r !== null && Xo(r, Bo.memoizedState.deps) ? i.memoizedState = Ps(t, a, n, r) : (U.flags |= e, i.memoizedState = Ps(1 | t, a, n, r));
- }
- function Rs(e, t) {
- Is(8390656, 8, e, t);
+ Vo !== null && r !== null && Zo(r, Vo.memoizedState.deps) ? i.memoizedState = Fs(t, a, n, r) : (H.flags |= e, i.memoizedState = Fs(1 | t, a, n, r));
}
function zs(e, t) {
- Ls(2048, 8, e, t);
+ Ls(8390656, 8, e, t);
}
- function Bs(e) {
- U.flags |= 4;
- var t = U.updateQueue;
- if (t === null) t = os(), U.updateQueue = t, t.events = [e];
+ function Bs(e, t) {
+ Rs(2048, 8, e, t);
+ }
+ function Vs(e) {
+ H.flags |= 4;
+ var t = H.updateQueue;
+ if (t === null) t = ss(), H.updateQueue = t, t.events = [e];
else {
var n = t.events;
n === null ? t.events = [e] : n.push(e);
}
}
- function Vs(e) {
- var t = as().memoizedState;
- return Bs({
+ function Hs(e) {
+ var t = os().memoizedState;
+ return Vs({
ref: t,
nextImpl: e
}), function() {
- if (td & 2) throw Error(i(440));
+ if (nd & 2) throw Error(i(440));
return t.impl.apply(void 0, arguments);
};
}
- function Hs(e, t) {
- return Ls(4, 2, e, t);
- }
function Us(e, t) {
- return Ls(4, 4, e, t);
+ return Rs(4, 2, e, t);
}
function Ws(e, t) {
+ return Rs(4, 4, e, t);
+ }
+ function Gs(e, t) {
if (typeof t == "function") {
e = e();
var n = t(e);
@@ -13002,76 +13002,76 @@ var Tf = /* @__PURE__ */ g(((e) => {
t.current = null;
};
}
- function Gs(e, t, n) {
- n = n == null ? null : n.concat([e]), Ls(4, 4, Ws.bind(null, t, e), n);
+ function Ks(e, t, n) {
+ n = n == null ? null : n.concat([e]), Rs(4, 4, Gs.bind(null, t, e), n);
}
- function Ks() {}
- function qs(e, t) {
- var n = as();
+ function qs() {}
+ function Js(e, t) {
+ var n = os();
t = t === void 0 ? null : t;
var r = n.memoizedState;
- return t !== null && Xo(t, r[1]) ? r[0] : (n.memoizedState = [e, t], e);
+ return t !== null && Zo(t, r[1]) ? r[0] : (n.memoizedState = [e, t], e);
}
- function Js(e, t) {
- var n = as();
+ function Ys(e, t) {
+ var n = os();
t = t === void 0 ? null : t;
var r = n.memoizedState;
- if (t !== null && Xo(t, r[1])) return r[0];
- if (r = e(), Wo) {
- Xe(!0);
+ if (t !== null && Zo(t, r[1])) return r[0];
+ if (r = e(), Go) {
+ Ze(!0);
try {
e();
} finally {
- Xe(!1);
+ Ze(!1);
}
}
return n.memoizedState = [r, t], r;
}
- function Ys(e, t, n) {
- return n === void 0 || zo & 1073741824 && !(id & 261930) ? e.memoizedState = t : (e.memoizedState = n, e = Rd(), U.lanes |= e, fd |= e, n);
+ function Xs(e, t, n) {
+ return n === void 0 || Bo & 1073741824 && !(ad & 261930) ? e.memoizedState = t : (e.memoizedState = n, e = zd(), H.lanes |= e, pd |= e, n);
}
- function Xs(e, t, n, r) {
- return Lr(n, t) ? n : Co.current === null ? !(zo & 106) || zo & 1073741824 && !(id & 261930) ? (Mc = !0, e.memoizedState = n) : (e = Rd(), U.lanes |= e, fd |= e, t) : (e = Ys(e, n, r), Lr(e, t) || (Mc = !0), e);
+ function Zs(e, t, n, r) {
+ return Rr(n, t) ? n : wo.current === null ? !(Bo & 106) || Bo & 1073741824 && !(ad & 261930) ? (Nc = !0, e.memoizedState = n) : (e = zd(), H.lanes |= e, pd |= e, t) : (e = Xs(e, n, r), Rr(e, t) || (Nc = !0), e);
}
- function Zs(e, t, n, r, i) {
- var a = L.p;
- L.p = a !== 0 && 8 > a ? a : 8;
- var o = I.T, s = {};
- s.types = o === null ? null : o.types, I.T = s, lc(e, !1, t, n);
+ function Qs(e, t, n, r, i) {
+ var a = I.p;
+ I.p = a !== 0 && 8 > a ? a : 8;
+ var o = F.T, s = {};
+ s.types = o === null ? null : o.types, F.T = s, uc(e, !1, t, n);
try {
- var c = i(), l = I.S;
- l !== null && l(s, c), typeof c == "object" && c && typeof c.then == "function" ? cc(e, t, Ba(c, r), Ld(e)) : cc(e, t, r, Ld(e));
+ var c = i(), l = F.S;
+ l !== null && l(s, c), typeof c == "object" && c && typeof c.then == "function" ? lc(e, t, Va(c, r), Rd(e)) : lc(e, t, r, Rd(e));
} catch (n) {
- cc(e, t, {
+ lc(e, t, {
then: function() {},
status: "rejected",
reason: n
- }, Ld());
+ }, Rd());
} finally {
- L.p = a, o !== null && s.types !== null && (o.types = s.types), I.T = o;
+ I.p = a, o !== null && s.types !== null && (o.types = s.types), F.T = o;
}
}
- function Qs() {}
- function $s(e, t, n, r) {
+ function $s() {}
+ function ec(e, t, n, r) {
if (e.tag !== 5) throw Error(i(476));
- var a = ec(e).queue;
- Zs(e, a, t, pe, n === null ? Qs : function() {
- return tc(e), n(r);
+ var a = tc(e).queue;
+ Qs(e, a, t, me, n === null ? $s : function() {
+ return nc(e), n(r);
});
}
- function ec(e) {
+ function tc(e) {
var t = e.memoizedState;
if (t !== null) return t;
t = {
- memoizedState: pe,
- baseState: pe,
+ memoizedState: me,
+ baseState: me,
baseQueue: null,
queue: {
pending: null,
lanes: 0,
dispatch: null,
- lastRenderedReducer: us,
- lastRenderedState: pe
+ lastRenderedReducer: ds,
+ lastRenderedState: me
},
next: null
};
@@ -13084,41 +13084,41 @@ var Tf = /* @__PURE__ */ g(((e) => {
pending: null,
lanes: 0,
dispatch: null,
- lastRenderedReducer: us,
+ lastRenderedReducer: ds,
lastRenderedState: n
},
next: null
}, e.memoizedState = t, e = e.alternate, e !== null && (e.memoizedState = t), t;
}
- function tc(e) {
- var t = ec(e);
- t.next === null && (t = e.alternate.memoizedState), cc(e, t.next.queue, {}, Ld());
- }
- function nc() {
- return Sa(fh);
+ function nc(e) {
+ var t = tc(e);
+ t.next === null && (t = e.alternate.memoizedState), lc(e, t.next.queue, {}, Rd());
}
function rc() {
- return as().memoizedState;
+ return Ca(fh);
}
function ic() {
- return as().memoizedState;
+ return os().memoizedState;
}
- function ac(e) {
+ function ac() {
+ return os().memoizedState;
+ }
+ function oc(e) {
for (var t = e.return; t !== null;) {
switch (t.tag) {
case 24:
case 3:
- var n = Ld();
- e = mo(n);
- var r = ho(t, e, n);
- r !== null && (Bd(r, t, n), go(r, t, n)), t = { cache: ka() }, e.payload = t;
+ var n = Rd();
+ e = ho(n);
+ var r = go(t, e, n);
+ r !== null && (Vd(r, t, n), _o(r, t, n)), t = { cache: Aa() }, e.payload = t;
return;
}
t = t.return;
}
}
- function oc(e, t, n) {
- var r = Ld();
+ function sc(e, t, n) {
+ var r = Rd();
n = {
lane: r,
revertLane: 0,
@@ -13127,12 +13127,12 @@ var Tf = /* @__PURE__ */ g(((e) => {
hasEagerState: !1,
eagerState: null,
next: null
- }, uc(e) ? dc(t, n) : (n = Ci(e, t, n, r), n !== null && (Bd(n, e, r), fc(n, t, r)));
+ }, dc(e) ? fc(t, n) : (n = wi(e, t, n, r), n !== null && (Vd(n, e, r), pc(n, t, r)));
}
- function sc(e, t, n) {
- cc(e, t, n, Ld());
+ function cc(e, t, n) {
+ lc(e, t, n, Rd());
}
- function cc(e, t, n, r) {
+ function lc(e, t, n, r) {
var i = {
lane: r,
revertLane: 0,
@@ -13142,111 +13142,111 @@ var Tf = /* @__PURE__ */ g(((e) => {
eagerState: null,
next: null
};
- if (uc(e)) dc(t, i);
+ if (dc(e)) fc(t, i);
else {
var a = e.alternate;
if (e.lanes === 0 && (a === null || a.lanes === 0) && (a = t.lastRenderedReducer, a !== null)) try {
var o = t.lastRenderedState, s = a(o, n);
- if (i.hasEagerState = !0, i.eagerState = s, Lr(s, o)) return Si(e, t, i, 0), nd === null && xi(), !1;
+ if (i.hasEagerState = !0, i.eagerState = s, Rr(s, o)) return Ci(e, t, i, 0), rd === null && Si(), !1;
} catch {}
- if (n = Ci(e, t, i, r), n !== null) return Bd(n, e, r), fc(n, t, r), !0;
+ if (n = wi(e, t, i, r), n !== null) return Vd(n, e, r), pc(n, t, r), !0;
}
return !1;
}
- function lc(e, t, n, r) {
+ function uc(e, t, n, r) {
if (r = {
lane: 2,
- revertLane: Hf(),
+ revertLane: Uf(),
gesture: null,
action: r,
hasEagerState: !1,
eagerState: null,
next: null
- }, uc(e)) {
+ }, dc(e)) {
if (t) throw Error(i(479));
- } else t = Ci(e, n, r, 2), t !== null && Bd(t, e, 2);
+ } else t = wi(e, n, r, 2), t !== null && Vd(t, e, 2);
}
- function uc(e) {
+ function dc(e) {
var t = e.alternate;
- return e === U || t !== null && t === U;
+ return e === H || t !== null && t === H;
}
- function dc(e, t) {
- Uo = Ho = !0;
+ function fc(e, t) {
+ Wo = Uo = !0;
var n = e.pending;
n === null ? t.next = t : (t.next = n.next, n.next = t), e.pending = t;
}
- function fc(e, t, n) {
+ function pc(e, t, n) {
if (n & 4194048) {
var r = t.lanes;
- r &= e.pendingLanes, n |= r, t.lanes = n, mt(e, n);
- }
- }
- var pc = {
- readContext: Sa,
- use: cs,
- useCallback: Yo,
- useContext: Yo,
- useEffect: Yo,
- useImperativeHandle: Yo,
- useLayoutEffect: Yo,
- useInsertionEffect: Yo,
- useMemo: Yo,
- useReducer: Yo,
- useRef: Yo,
- useState: Yo,
- useDebugValue: Yo,
- useDeferredValue: Yo,
- useTransition: Yo,
- useSyncExternalStore: Yo,
- useId: Yo,
- useHostTransitionStatus: Yo,
- useFormState: Yo,
- useActionState: Yo,
- useOptimistic: Yo,
- useMemoCache: Yo,
- useCacheRefresh: Yo,
- useEffectEvent: Yo
- }, mc = {
- readContext: Sa,
- use: cs,
+ r &= e.pendingLanes, n |= r, t.lanes = n, ht(e, n);
+ }
+ }
+ var mc = {
+ readContext: Ca,
+ use: ls,
+ useCallback: Xo,
+ useContext: Xo,
+ useEffect: Xo,
+ useImperativeHandle: Xo,
+ useLayoutEffect: Xo,
+ useInsertionEffect: Xo,
+ useMemo: Xo,
+ useReducer: Xo,
+ useRef: Xo,
+ useState: Xo,
+ useDebugValue: Xo,
+ useDeferredValue: Xo,
+ useTransition: Xo,
+ useSyncExternalStore: Xo,
+ useId: Xo,
+ useHostTransitionStatus: Xo,
+ useFormState: Xo,
+ useActionState: Xo,
+ useOptimistic: Xo,
+ useMemoCache: Xo,
+ useCacheRefresh: Xo,
+ useEffectEvent: Xo
+ }, hc = {
+ readContext: Ca,
+ use: ls,
useCallback: function(e, t) {
- return is().memoizedState = [e, t === void 0 ? null : t], e;
+ return as().memoizedState = [e, t === void 0 ? null : t], e;
},
- useContext: Sa,
- useEffect: Rs,
+ useContext: Ca,
+ useEffect: zs,
useImperativeHandle: function(e, t, n) {
- n = n == null ? null : n.concat([e]), Is(4194308, 4, Ws.bind(null, t, e), n);
+ n = n == null ? null : n.concat([e]), Ls(4194308, 4, Gs.bind(null, t, e), n);
},
useLayoutEffect: function(e, t) {
- return Is(4194308, 4, e, t);
+ return Ls(4194308, 4, e, t);
},
useInsertionEffect: function(e, t) {
- Is(4, 2, e, t);
+ Ls(4, 2, e, t);
},
useMemo: function(e, t) {
- var n = is();
+ var n = as();
t = t === void 0 ? null : t;
var r = e();
- if (Wo) {
- Xe(!0);
+ if (Go) {
+ Ze(!0);
try {
e();
} finally {
- Xe(!1);
+ Ze(!1);
}
}
return n.memoizedState = [r, t], r;
},
useReducer: function(e, t, n) {
- var r = is();
+ var r = as();
if (n !== void 0) {
var i = n(t);
- if (Wo) {
- Xe(!0);
+ if (Go) {
+ Ze(!0);
try {
n(t);
} finally {
- Xe(!1);
+ Ze(!1);
}
}
} else i = t;
@@ -13256,54 +13256,54 @@ var Tf = /* @__PURE__ */ g(((e) => {
dispatch: null,
lastRenderedReducer: e,
lastRenderedState: i
- }, r.queue = e, e = e.dispatch = oc.bind(null, U, e), [r.memoizedState, e];
+ }, r.queue = e, e = e.dispatch = sc.bind(null, H, e), [r.memoizedState, e];
},
useRef: function(e) {
- var t = is();
+ var t = as();
return e = { current: e }, t.memoizedState = e;
},
useState: function(e) {
- e = bs(e);
- var t = e.queue, n = sc.bind(null, U, t);
+ e = xs(e);
+ var t = e.queue, n = cc.bind(null, H, t);
return t.dispatch = n, [e.memoizedState, n];
},
- useDebugValue: Ks,
+ useDebugValue: qs,
useDeferredValue: function(e, t) {
- return Ys(is(), e, t);
+ return Xs(as(), e, t);
},
useTransition: function() {
- var e = bs(!1);
- return e = Zs.bind(null, U, e.queue, !0, !1), is().memoizedState = e, [!1, e];
+ var e = xs(!1);
+ return e = Qs.bind(null, H, e.queue, !0, !1), as().memoizedState = e, [!1, e];
},
useSyncExternalStore: function(e, t, n) {
- var r = U, a = is();
- if (na) {
+ var r = H, a = as();
+ if (ra) {
if (n === void 0) throw Error(i(407));
n = n();
} else {
- if (n = t(), nd === null) throw Error(i(349));
- id & 127 || hs(r, t, n);
+ if (n = t(), rd === null) throw Error(i(349));
+ ad & 127 || gs(r, t, n);
}
a.memoizedState = n;
var o = {
value: n,
getSnapshot: t
};
- return a.queue = o, Rs(_s.bind(null, r, o, e), [e]), r.flags |= 2048, Ps(9, { destroy: void 0 }, gs.bind(null, r, o, n, t), null), n;
+ return a.queue = o, zs(vs.bind(null, r, o, e), [e]), r.flags |= 2048, Fs(9, { destroy: void 0 }, _s.bind(null, r, o, n, t), null), n;
},
useId: function() {
- var e = is(), t = nd.identifierPrefix;
- if (na) {
- var n = Ji, r = qi;
- n = (r & ~(1 << 32 - Ze(r) - 1)).toString(32) + n, t = "_" + t + "R_" + n, n = Go++, 0 < n && (t += "H" + n.toString(32)), t += "_";
- } else n = Jo++, t = "_" + t + "r_" + n.toString(32) + "_";
+ var e = as(), t = rd.identifierPrefix;
+ if (ra) {
+ var n = Yi, r = Ji;
+ n = (r & ~(1 << 32 - Qe(r) - 1)).toString(32) + n, t = "_" + t + "R_" + n, n = Ko++, 0 < n && (t += "H" + n.toString(32)), t += "_";
+ } else n = Yo++, t = "_" + t + "r_" + n.toString(32) + "_";
return e.memoizedState = t;
},
- useHostTransitionStatus: nc,
- useFormState: ks,
- useActionState: ks,
+ useHostTransitionStatus: rc,
+ useFormState: As,
+ useActionState: As,
useOptimistic: function(e) {
- var t = is();
+ var t = as();
t.memoizedState = t.baseState = e;
var n = {
pending: null,
@@ -13312,132 +13312,132 @@ var Tf = /* @__PURE__ */ g(((e) => {
lastRenderedReducer: null,
lastRenderedState: null
};
- return t.queue = n, t = lc.bind(null, U, !0, n), n.dispatch = t, [e, t];
+ return t.queue = n, t = uc.bind(null, H, !0, n), n.dispatch = t, [e, t];
},
- useMemoCache: ls,
+ useMemoCache: us,
useCacheRefresh: function() {
- return is().memoizedState = ac.bind(null, U);
+ return as().memoizedState = oc.bind(null, H);
},
useEffectEvent: function(e) {
- var t = is(), n = { impl: e };
+ var t = as(), n = { impl: e };
return t.memoizedState = n, function() {
- if (td & 2) throw Error(i(440));
+ if (nd & 2) throw Error(i(440));
return n.impl.apply(void 0, arguments);
};
}
- }, hc = {
- readContext: Sa,
- use: cs,
- useCallback: qs,
- useContext: Sa,
- useEffect: zs,
- useImperativeHandle: Gs,
- useInsertionEffect: Hs,
- useLayoutEffect: Us,
- useMemo: Js,
- useReducer: ds,
- useRef: Fs,
+ }, gc = {
+ readContext: Ca,
+ use: ls,
+ useCallback: Js,
+ useContext: Ca,
+ useEffect: Bs,
+ useImperativeHandle: Ks,
+ useInsertionEffect: Us,
+ useLayoutEffect: Ws,
+ useMemo: Ys,
+ useReducer: fs,
+ useRef: Is,
useState: function() {
- return ds(us);
+ return fs(ds);
},
- useDebugValue: Ks,
+ useDebugValue: qs,
useDeferredValue: function(e, t) {
- return Xs(as(), Bo.memoizedState, e, t);
+ return Zs(os(), Vo.memoizedState, e, t);
},
useTransition: function() {
- var e = ds(us)[0], t = as().memoizedState;
- return [typeof e == "boolean" ? e : ss(e), t];
+ var e = fs(ds)[0], t = os().memoizedState;
+ return [typeof e == "boolean" ? e : cs(e), t];
},
- useSyncExternalStore: ms,
- useId: rc,
- useHostTransitionStatus: nc,
- useFormState: As,
- useActionState: As,
+ useSyncExternalStore: hs,
+ useId: ic,
+ useHostTransitionStatus: rc,
+ useFormState: js,
+ useActionState: js,
useOptimistic: function(e, t) {
- return xs(as(), Bo, e, t);
+ return Ss(os(), Vo, e, t);
},
- useMemoCache: ls,
- useCacheRefresh: ic,
- useEffectEvent: Vs
- }, gc = {
- readContext: Sa,
- use: cs,
- useCallback: qs,
- useContext: Sa,
- useEffect: zs,
- useImperativeHandle: Gs,
- useInsertionEffect: Hs,
- useLayoutEffect: Us,
- useMemo: Js,
- useReducer: ps,
- useRef: Fs,
+ useMemoCache: us,
+ useCacheRefresh: ac,
+ useEffectEvent: Hs
+ }, _c = {
+ readContext: Ca,
+ use: ls,
+ useCallback: Js,
+ useContext: Ca,
+ useEffect: Bs,
+ useImperativeHandle: Ks,
+ useInsertionEffect: Us,
+ useLayoutEffect: Ws,
+ useMemo: Ys,
+ useReducer: ms,
+ useRef: Is,
useState: function() {
- return ps(us);
+ return ms(ds);
},
- useDebugValue: Ks,
+ useDebugValue: qs,
useDeferredValue: function(e, t) {
- var n = as();
- return Bo === null ? Ys(n, e, t) : Xs(n, Bo.memoizedState, e, t);
+ var n = os();
+ return Vo === null ? Xs(n, e, t) : Zs(n, Vo.memoizedState, e, t);
},
useTransition: function() {
- var e = ps(us)[0], t = as().memoizedState;
- return [typeof e == "boolean" ? e : ss(e), t];
+ var e = ms(ds)[0], t = os().memoizedState;
+ return [typeof e == "boolean" ? e : cs(e), t];
},
- useSyncExternalStore: ms,
- useId: rc,
- useHostTransitionStatus: nc,
- useFormState: Ns,
- useActionState: Ns,
+ useSyncExternalStore: hs,
+ useId: ic,
+ useHostTransitionStatus: rc,
+ useFormState: Ps,
+ useActionState: Ps,
useOptimistic: function(e, t) {
- var n = as();
- return Bo === null ? (n.baseState = e, [e, n.queue.dispatch]) : xs(n, Bo, e, t);
+ var n = os();
+ return Vo === null ? (n.baseState = e, [e, n.queue.dispatch]) : Ss(n, Vo, e, t);
},
- useMemoCache: ls,
- useCacheRefresh: ic,
- useEffectEvent: Vs
+ useMemoCache: us,
+ useCacheRefresh: ac,
+ useEffectEvent: Hs
};
- function _c(e, t, n, r) {
+ function vc(e, t, n, r) {
t = e.memoizedState, n = n(r, t), n = n == null ? t : T({}, t, n), e.memoizedState = n, e.lanes === 0 && (e.updateQueue.baseState = n);
}
- var vc = {
+ var yc = {
enqueueSetState: function(e, t, n) {
e = e._reactInternals;
- var r = Ld(), i = mo(r);
- i.payload = t, n != null && (i.callback = n), t = ho(e, i, r), t !== null && (Bd(t, e, r), go(t, e, r));
+ var r = Rd(), i = ho(r);
+ i.payload = t, n != null && (i.callback = n), t = go(e, i, r), t !== null && (Vd(t, e, r), _o(t, e, r));
},
enqueueReplaceState: function(e, t, n) {
e = e._reactInternals;
- var r = Ld(), i = mo(r);
- i.tag = 1, i.payload = t, n != null && (i.callback = n), t = ho(e, i, r), t !== null && (Bd(t, e, r), go(t, e, r));
+ var r = Rd(), i = ho(r);
+ i.tag = 1, i.payload = t, n != null && (i.callback = n), t = go(e, i, r), t !== null && (Vd(t, e, r), _o(t, e, r));
},
enqueueForceUpdate: function(e, t) {
e = e._reactInternals;
- var n = Ld(), r = mo(n);
- r.tag = 2, t != null && (r.callback = t), t = ho(e, r, n), t !== null && (Bd(t, e, n), go(t, e, n));
+ var n = Rd(), r = ho(n);
+ r.tag = 2, t != null && (r.callback = t), t = go(e, r, n), t !== null && (Vd(t, e, n), _o(t, e, n));
}
};
- function yc(e, t, n, r, i, a, o) {
- return e = e.stateNode, typeof e.shouldComponentUpdate == "function" ? e.shouldComponentUpdate(r, a, o) : t.prototype && t.prototype.isPureReactComponent ? !Rr(n, r) || !Rr(i, a) : !0;
+ function bc(e, t, n, r, i, a, o) {
+ return e = e.stateNode, typeof e.shouldComponentUpdate == "function" ? e.shouldComponentUpdate(r, a, o) : t.prototype && t.prototype.isPureReactComponent ? !zr(n, r) || !zr(i, a) : !0;
}
- function bc(e, t, n, r) {
- e = t.state, typeof t.componentWillReceiveProps == "function" && t.componentWillReceiveProps(n, r), typeof t.UNSAFE_componentWillReceiveProps == "function" && t.UNSAFE_componentWillReceiveProps(n, r), t.state !== e && vc.enqueueReplaceState(t, t.state, null);
+ function xc(e, t, n, r) {
+ e = t.state, typeof t.componentWillReceiveProps == "function" && t.componentWillReceiveProps(n, r), typeof t.UNSAFE_componentWillReceiveProps == "function" && t.UNSAFE_componentWillReceiveProps(n, r), t.state !== e && yc.enqueueReplaceState(t, t.state, null);
}
- function xc(e, t) {
+ function Sc(e, t) {
var n = t;
if ("ref" in t) for (var r in n = {}, t) r !== "ref" && (n[r] = t[r]);
if (e = e.defaultProps) for (var i in n === t && (n = T({}, n)), e) n[i] === void 0 && (n[i] = e[i]);
return n;
}
- function Sc(e) {
- _i(e);
- }
function Cc(e) {
- console.error(e);
+ vi(e);
}
function wc(e) {
- _i(e);
+ console.error(e);
}
- function Tc(e, t) {
+ function Tc(e) {
+ vi(e);
+ }
+ function Ec(e, t) {
try {
var n = e.onUncaughtError;
n(t.value, { componentStack: t.stack });
@@ -13447,7 +13447,7 @@ var Tf = /* @__PURE__ */ g(((e) => {
});
}
}
- function Ec(e, t, n) {
+ function Dc(e, t, n) {
try {
var r = e.onCaughtError;
r(n.value, {
@@ -13460,57 +13460,57 @@ var Tf = /* @__PURE__ */ g(((e) => {
});
}
}
- function Dc(e, t, n) {
- return n = mo(n), n.tag = 3, n.payload = { element: null }, n.callback = function() {
- Tc(e, t);
+ function Oc(e, t, n) {
+ return n = ho(n), n.tag = 3, n.payload = { element: null }, n.callback = function() {
+ Ec(e, t);
}, n;
}
- function Oc(e) {
- return e = mo(e), e.tag = 3, e;
+ function kc(e) {
+ return e = ho(e), e.tag = 3, e;
}
- function kc(e, t, n, r) {
+ function Ac(e, t, n, r) {
var i = n.type.getDerivedStateFromError;
if (typeof i == "function") {
var a = r.value;
e.payload = function() {
return i(a);
}, e.callback = function() {
- Ec(t, n, r);
+ Dc(t, n, r);
};
}
var o = n.stateNode;
o !== null && typeof o.componentDidCatch == "function" && (e.callback = function() {
- Ec(t, n, r), typeof i != "function" && (wd === null ? wd = /* @__PURE__ */ new Set([this]) : wd.add(this));
+ Dc(t, n, r), typeof i != "function" && (Td === null ? Td = /* @__PURE__ */ new Set([this]) : Td.add(this));
var e = r.stack;
this.componentDidCatch(r.value, { componentStack: e === null ? "" : e });
});
}
- function Ac(e, t, n, r, a) {
+ function jc(e, t, n, r, a) {
if (n.flags |= 32768, typeof r == "object" && r && typeof r.then == "function") {
- if (t = n.alternate, t !== null && ya(t, n, a, !0), n = Oo.current, n !== null) {
+ if (t = n.alternate, t !== null && ba(t, n, a, !0), n = ko.current, n !== null) {
switch (n.tag) {
case 31:
case 13:
- case 19: return ko === null ? Qd() : n.alternate === null && dd === 0 && (dd = 3), n.flags &= -257, n.flags |= 65536, n.lanes = a, r === Ya ? n.flags |= 16384 : (t = n.updateQueue, t === null ? n.updateQueue = /* @__PURE__ */ new Set([r]) : t.add(r), xf(e, r, a)), !1;
- case 22: return n.flags |= 65536, r === Ya ? n.flags |= 16384 : (t = n.updateQueue, t === null ? (t = {
+ case 19: return Ao === null ? $d() : n.alternate === null && fd === 0 && (fd = 3), n.flags &= -257, n.flags |= 65536, n.lanes = a, r === Xa ? n.flags |= 16384 : (t = n.updateQueue, t === null ? n.updateQueue = /* @__PURE__ */ new Set([r]) : t.add(r), Sf(e, r, a)), !1;
+ case 22: return n.flags |= 65536, r === Xa ? n.flags |= 16384 : (t = n.updateQueue, t === null ? (t = {
transitions: null,
markerInstances: null,
retryQueue: /* @__PURE__ */ new Set([r])
- }, n.updateQueue = t) : (n = t.retryQueue, n === null ? t.retryQueue = /* @__PURE__ */ new Set([r]) : n.add(r)), xf(e, r, a)), !1;
+ }, n.updateQueue = t) : (n = t.retryQueue, n === null ? t.retryQueue = /* @__PURE__ */ new Set([r]) : n.add(r)), Sf(e, r, a)), !1;
}
throw Error(i(435, n.tag));
}
- return xf(e, r, a), Qd(), !1;
+ return Sf(e, r, a), $d(), !1;
}
- if (na) return t = Oo.current, t === null ? (r !== aa && (t = Error(i(423), { cause: r }), da(zi(t, n))), e = e.current.alternate, e.flags |= 65536, a &= -a, e.lanes |= a, r = zi(r, n), a = Dc(e.stateNode, r, a), _o(e, a), dd !== 4 && (dd = 2)) : (!(t.flags & 65536) && (t.flags |= 256), t.flags |= 65536, t.lanes = a, r !== aa && (e = Error(i(422), { cause: r }), da(zi(e, n)))), !1;
+ if (ra) return t = ko.current, t === null ? (r !== oa && (t = Error(i(423), { cause: r }), fa(Bi(t, n))), e = e.current.alternate, e.flags |= 65536, a &= -a, e.lanes |= a, r = Bi(r, n), a = Oc(e.stateNode, r, a), vo(e, a), fd !== 4 && (fd = 2)) : (!(t.flags & 65536) && (t.flags |= 256), t.flags |= 65536, t.lanes = a, r !== oa && (e = Error(i(422), { cause: r }), fa(Bi(e, n)))), !1;
var o = Error(i(520), { cause: r });
- if (o = zi(o, n), _d === null ? _d = [o] : _d.push(o), dd !== 4 && (dd = 2), t === null) return !0;
- r = zi(r, n), n = t;
+ if (o = Bi(o, n), vd === null ? vd = [o] : vd.push(o), fd !== 4 && (fd = 2), t === null) return !0;
+ r = Bi(r, n), n = t;
do {
switch (n.tag) {
- case 3: return n.flags |= 65536, e = a & -a, n.lanes |= e, e = Dc(n.stateNode, r, e), _o(n, e), !1;
+ case 3: return n.flags |= 65536, e = a & -a, n.lanes |= e, e = Oc(n.stateNode, r, e), vo(n, e), !1;
case 1:
- if (t = n.type, o = n.stateNode, !(n.flags & 128) && (typeof t.getDerivedStateFromError == "function" || o !== null && typeof o.componentDidCatch == "function" && (wd === null || !wd.has(o)))) return n.flags |= 65536, a &= -a, n.lanes |= a, a = Oc(a), kc(a, e, n, r), _o(n, a), !1;
+ if (t = n.type, o = n.stateNode, !(n.flags & 128) && (typeof t.getDerivedStateFromError == "function" || o !== null && typeof o.componentDidCatch == "function" && (Td === null || !Td.has(o)))) return n.flags |= 65536, a &= -a, n.lanes |= a, a = kc(a), Ac(a, e, n, r), vo(n, a), !1;
break;
case 22: if (n.memoizedState !== null) return n.flags |= 65536, !1;
}
@@ -13518,41 +13518,41 @@ var Tf = /* @__PURE__ */ g(((e) => {
} while (n !== null);
return !1;
}
- var jc = Error(i(461)), Mc = !1;
- function Nc(e, t, n, r) {
- t.child = e === null ? lo(t, null, n, r) : co(t, e.child, n, r);
+ var Mc = Error(i(461)), Nc = !1;
+ function Pc(e, t, n, r) {
+ t.child = e === null ? uo(t, null, n, r) : lo(t, e.child, n, r);
}
- function Pc(e, t, n, r, i) {
+ function Fc(e, t, n, r, i) {
n = n.render;
var a = t.ref;
if ("ref" in r) {
var o = {};
for (var s in r) s !== "ref" && (o[s] = r[s]);
} else o = r;
- return xa(t), r = Zo(e, t, n, o, a, i), s = ts(), e !== null && !Mc ? (ns(e, t, i), cl(e, t, i)) : (na && s && Zi(t), t.flags |= 1, Nc(e, t, r, i), t.child);
+ return Sa(t), r = Qo(e, t, n, o, a, i), s = ns(), e !== null && !Nc ? (rs(e, t, i), ll(e, t, i)) : (ra && s && Qi(t), t.flags |= 1, Pc(e, t, r, i), t.child);
}
- function Fc(e, t, n, r, i) {
+ function Ic(e, t, n, r, i) {
if (e === null) {
var a = n.type;
- return typeof a == "function" && !Ai(a) && a.defaultProps === void 0 && n.compare === null ? (t.tag = 15, t.type = a, Ic(e, t, a, r, i)) : (e = Ni(n.type, null, r, t, t.mode, i), e.ref = t.ref, e.return = t, t.child = e);
+ return typeof a == "function" && !ji(a) && a.defaultProps === void 0 && n.compare === null ? (t.tag = 15, t.type = a, Lc(e, t, a, r, i)) : (e = Pi(n.type, null, r, t, t.mode, i), e.ref = t.ref, e.return = t, t.child = e);
}
- if (a = e.child, !ll(e, i)) {
+ if (a = e.child, !ul(e, i)) {
var o = a.memoizedProps;
- if (n = n.compare, n = n === null ? Rr : n, n(o, r) && e.ref === t.ref) return cl(e, t, i);
+ if (n = n.compare, n = n === null ? zr : n, n(o, r) && e.ref === t.ref) return ll(e, t, i);
}
- return t.flags |= 1, e = ji(a, r), e.ref = t.ref, e.return = t, t.child = e;
+ return t.flags |= 1, e = Mi(a, r), e.ref = t.ref, e.return = t, t.child = e;
}
- function Ic(e, t, n, r, i) {
+ function Lc(e, t, n, r, i) {
if (e !== null) {
var a = e.memoizedProps;
- if (Rr(a, r) && e.ref === t.ref) {
- if (Mc = !1, t.pendingProps = r = a, ll(e, i)) e.flags & 131072 && (Mc = !0);
- else return t.lanes = e.lanes, cl(e, t, i);
+ if (zr(a, r) && e.ref === t.ref) {
+ if (Nc = !1, t.pendingProps = r = a, ul(e, i)) e.flags & 131072 && (Nc = !0);
+ else return t.lanes = e.lanes, ll(e, t, i);
}
}
- return Wc(e, t, n, r, i);
+ return Gc(e, t, n, r, i);
}
- function Lc(e, t, n, r) {
+ function Rc(e, t, n, r) {
var i = r.children, a = e === null ? null : e.memoizedState;
if (e === null && t.stateNode === null && (t.stateNode = {
_visibility: 1,
@@ -13565,17 +13565,17 @@ var Tf = /* @__PURE__ */ g(((e) => {
for (r = t.child = e.child, i = 0; r !== null;) i = i | r.lanes | r.childLanes, r = r.sibling;
r = i & ~a;
} else r = 0, t.child = null;
- return zc(e, t, a, n, r);
+ return Bc(e, t, a, n, r);
}
if (n & 536870912) t.memoizedState = {
baseLanes: 0,
cachePool: null
- }, e !== null && Wa(t, a === null ? null : a.cachePool), a === null ? Eo() : To(t, a), Mo(t);
- else return r = t.lanes = 536870912, zc(e, t, a === null ? n : a.baseLanes | n, n, r);
- } else a === null ? (e !== null && Wa(t, null), Eo(), No()) : (Wa(t, a.cachePool), To(t, a), No(), t.memoizedState = null);
- return Nc(e, t, i, n), t.child;
+ }, e !== null && Ga(t, a === null ? null : a.cachePool), a === null ? Do() : Eo(t, a), No(t);
+ else return r = t.lanes = 536870912, Bc(e, t, a === null ? n : a.baseLanes | n, n, r);
+ } else a === null ? (e !== null && Ga(t, null), Do(), Po()) : (Ga(t, a.cachePool), Eo(t, a), Po(), t.memoizedState = null);
+ return Pc(e, t, i, n), t.child;
}
- function Rc(e, t) {
+ function zc(e, t) {
return e !== null && e.tag === 22 || t.stateNode !== null || (t.stateNode = {
_visibility: 1,
_pendingMarkers: null,
@@ -13583,68 +13583,68 @@ var Tf = /* @__PURE__ */ g(((e) => {
_transitions: null
}), t.sibling;
}
- function zc(e, t, n, r, i) {
- var a = Ua();
+ function Bc(e, t, n, r, i) {
+ var a = Wa();
return a = a === null ? null : {
- parent: Oa._currentValue,
+ parent: ka._currentValue,
pool: a
}, t.memoizedState = {
baseLanes: n,
cachePool: a
- }, e !== null && Wa(t, null), Eo(), Mo(t), e !== null && ya(e, t, r, !0), t.childLanes = i, null;
+ }, e !== null && Ga(t, null), Do(), No(t), e !== null && ba(e, t, r, !0), t.childLanes = i, null;
}
- function Bc(e, t) {
- return t = $c({
+ function Vc(e, t) {
+ return t = el({
mode: t.mode,
children: t.children
}, e.mode), t.ref = e.ref, e.child = t, t.return = e, t;
}
- function Vc(e, t, n) {
- return co(t, e.child, null, n), e = Bc(t, t.pendingProps), e.flags |= 2, Po(t), t.memoizedState = null, e;
- }
function Hc(e, t, n) {
+ return lo(t, e.child, null, n), e = Vc(t, t.pendingProps), e.flags |= 2, Fo(t), t.memoizedState = null, e;
+ }
+ function Uc(e, t, n) {
var r = t.pendingProps, a = !!(t.flags & 128);
if (t.flags &= -129, e === null) {
- if (na) {
- if (r.mode === "hidden") return e = Bc(t, r), t.lanes = 536870912, e.memoizedState = {
+ if (ra) {
+ if (r.mode === "hidden") return e = Vc(t, r), t.lanes = 536870912, e.memoizedState = {
baseLanes: 0,
cachePool: null
- }, Rc(null, e);
- if (jo(t), (e = ta) ? (e = pm(e, ia), e = e !== null && e.data === "&" ? e : null, e !== null && (t.memoizedState = {
+ }, zc(null, e);
+ if (Mo(t), (e = na) ? (e = mm(e, aa), e = e !== null && e.data === "&" ? e : null, e !== null && (t.memoizedState = {
dehydrated: e,
- treeContext: Ki === null ? null : {
- id: qi,
- overflow: Ji
+ treeContext: qi === null ? null : {
+ id: Ji,
+ overflow: Yi
},
retryLane: 536870912,
hydrationErrors: null
- }, n = Ii(e), n.return = t, t.child = n, ea = t, ta = null)) : e = null, e === null) throw H(t);
+ }, n = Li(e), n.return = t, t.child = n, ta = t, na = null)) : e = null, e === null) throw V(t);
return t.lanes = 536870912, null;
}
- return Bc(t, r);
+ return Vc(t, r);
}
var o = e.memoizedState;
if (o !== null) {
var s = o.dehydrated;
- if (jo(t), a) {
- if (t.flags & 256) t.flags &= -257, t = Vc(e, t, n);
+ if (Mo(t), a) {
+ if (t.flags & 256) t.flags &= -257, t = Hc(e, t, n);
else if (t.memoizedState !== null) t.child = e.child, t.flags |= 128, t = null;
else throw Error(i(558));
- } else if (Mc || ya(e, t, n, !1), a = (n & e.childLanes) !== 0, Mc || a) {
- if (Co.current === null) {
- if (r = nd, r !== null && (s = ht(r, n), s !== 0 && s !== o.retryLane)) throw o.retryLane = s, wi(e, s), Bd(r, e, s), jc;
- Qd();
+ } else if (Nc || ba(e, t, n, !1), a = (n & e.childLanes) !== 0, Nc || a) {
+ if (wo.current === null) {
+ if (r = rd, r !== null && (s = gt(r, n), s !== 0 && s !== o.retryLane)) throw o.retryLane = s, Ti(e, s), Vd(r, e, s), Mc;
+ $d();
}
- t = Vc(e, t, n);
- } else e = o.treeContext, ta = _m(s.nextSibling), ea = t, na = !0, ra = null, ia = !1, e !== null && $i(t, e), t = Bc(t, r), t.flags |= 134221824;
+ t = Hc(e, t, n);
+ } else e = o.treeContext, na = vm(s.nextSibling), ta = t, ra = !0, ia = null, aa = !1, e !== null && ea(t, e), t = Vc(t, r), t.flags |= 134221824;
return t;
}
- return e = ji(e.child, {
+ return e = Mi(e.child, {
mode: r.mode,
children: r.children
}), e.ref = t.ref, t.child = e, e.return = t, e;
}
- function Uc(e, t) {
+ function Wc(e, t) {
var n = t.ref;
if (n === null) e !== null && e.ref !== null && (t.flags |= 4194816);
else {
@@ -13652,135 +13652,135 @@ var Tf = /* @__PURE__ */ g(((e) => {
(e === null || e.ref !== n) && (t.flags |= 4194816);
}
}
- function Wc(e, t, n, r, i) {
- return xa(t), n = Zo(e, t, n, r, void 0, i), r = ts(), e !== null && !Mc ? (ns(e, t, i), cl(e, t, i)) : (na && r && Zi(t), t.flags |= 1, Nc(e, t, n, i), t.child);
+ function Gc(e, t, n, r, i) {
+ return Sa(t), n = Qo(e, t, n, r, void 0, i), r = ns(), e !== null && !Nc ? (rs(e, t, i), ll(e, t, i)) : (ra && r && Qi(t), t.flags |= 1, Pc(e, t, n, i), t.child);
}
- function Gc(e, t, n, r, i, a) {
- return xa(t), t.updateQueue = null, n = $o(t, r, n, i), Qo(e), r = ts(), e !== null && !Mc ? (ns(e, t, a), cl(e, t, a)) : (na && r && Zi(t), t.flags |= 1, Nc(e, t, n, a), t.child);
+ function Kc(e, t, n, r, i, a) {
+ return Sa(t), t.updateQueue = null, n = es(t, r, n, i), $o(e), r = ns(), e !== null && !Nc ? (rs(e, t, a), ll(e, t, a)) : (ra && r && Qi(t), t.flags |= 1, Pc(e, t, n, a), t.child);
}
- function Kc(e, t, n, r, i) {
- if (xa(t), t.stateNode === null) {
- var a = Di, o = n.contextType;
- typeof o == "object" && o && (a = Sa(o)), a = new n(r, a), t.memoizedState = a.state !== null && a.state !== void 0 ? a.state : null, a.updater = vc, t.stateNode = a, a._reactInternals = t, a = t.stateNode, a.props = r, a.state = t.memoizedState, a.refs = {}, fo(t), o = n.contextType, a.context = typeof o == "object" && o ? Sa(o) : Di, a.state = t.memoizedState, o = n.getDerivedStateFromProps, typeof o == "function" && (_c(t, n, o, r), a.state = t.memoizedState), typeof n.getDerivedStateFromProps == "function" || typeof a.getSnapshotBeforeUpdate == "function" || typeof a.UNSAFE_componentWillMount != "function" && typeof a.componentWillMount != "function" || (o = a.state, typeof a.componentWillMount == "function" && a.componentWillMount(), typeof a.UNSAFE_componentWillMount == "function" && a.UNSAFE_componentWillMount(), o !== a.state && vc.enqueueReplaceState(a, a.state, null), bo(t, r, a, i), yo(), a.state = t.memoizedState), typeof a.componentDidMount == "function" && (t.flags |= 4194308), r = !0;
+ function qc(e, t, n, r, i) {
+ if (Sa(t), t.stateNode === null) {
+ var a = Oi, o = n.contextType;
+ typeof o == "object" && o && (a = Ca(o)), a = new n(r, a), t.memoizedState = a.state !== null && a.state !== void 0 ? a.state : null, a.updater = yc, t.stateNode = a, a._reactInternals = t, a = t.stateNode, a.props = r, a.state = t.memoizedState, a.refs = {}, po(t), o = n.contextType, a.context = typeof o == "object" && o ? Ca(o) : Oi, a.state = t.memoizedState, o = n.getDerivedStateFromProps, typeof o == "function" && (vc(t, n, o, r), a.state = t.memoizedState), typeof n.getDerivedStateFromProps == "function" || typeof a.getSnapshotBeforeUpdate == "function" || typeof a.UNSAFE_componentWillMount != "function" && typeof a.componentWillMount != "function" || (o = a.state, typeof a.componentWillMount == "function" && a.componentWillMount(), typeof a.UNSAFE_componentWillMount == "function" && a.UNSAFE_componentWillMount(), o !== a.state && yc.enqueueReplaceState(a, a.state, null), xo(t, r, a, i), bo(), a.state = t.memoizedState), typeof a.componentDidMount == "function" && (t.flags |= 4194308), r = !0;
} else if (e === null) {
a = t.stateNode;
- var s = t.memoizedProps, c = xc(n, s);
+ var s = t.memoizedProps, c = Sc(n, s);
a.props = c;
var l = a.context, u = n.contextType;
- o = Di, typeof u == "object" && u && (o = Sa(u));
+ o = Oi, typeof u == "object" && u && (o = Ca(u));
var d = n.getDerivedStateFromProps;
- u = typeof d == "function" || typeof a.getSnapshotBeforeUpdate == "function", s = t.pendingProps !== s, u || typeof a.UNSAFE_componentWillReceiveProps != "function" && typeof a.componentWillReceiveProps != "function" || (s || l !== o) && bc(t, a, r, o), uo = !1;
+ u = typeof d == "function" || typeof a.getSnapshotBeforeUpdate == "function", s = t.pendingProps !== s, u || typeof a.UNSAFE_componentWillReceiveProps != "function" && typeof a.componentWillReceiveProps != "function" || (s || l !== o) && xc(t, a, r, o), fo = !1;
var f = t.memoizedState;
- a.state = f, bo(t, r, a, i), yo(), l = t.memoizedState, s || f !== l || uo ? (typeof d == "function" && (_c(t, n, d, r), l = t.memoizedState), (c = uo || yc(t, n, c, r, f, l, o)) ? (u || typeof a.UNSAFE_componentWillMount != "function" && typeof a.componentWillMount != "function" || (typeof a.componentWillMount == "function" && a.componentWillMount(), typeof a.UNSAFE_componentWillMount == "function" && a.UNSAFE_componentWillMount()), typeof a.componentDidMount == "function" && (t.flags |= 4194308)) : (typeof a.componentDidMount == "function" && (t.flags |= 4194308), t.memoizedProps = r, t.memoizedState = l), a.props = r, a.state = l, a.context = o, r = c) : (typeof a.componentDidMount == "function" && (t.flags |= 4194308), r = !1);
+ a.state = f, xo(t, r, a, i), bo(), l = t.memoizedState, s || f !== l || fo ? (typeof d == "function" && (vc(t, n, d, r), l = t.memoizedState), (c = fo || bc(t, n, c, r, f, l, o)) ? (u || typeof a.UNSAFE_componentWillMount != "function" && typeof a.componentWillMount != "function" || (typeof a.componentWillMount == "function" && a.componentWillMount(), typeof a.UNSAFE_componentWillMount == "function" && a.UNSAFE_componentWillMount()), typeof a.componentDidMount == "function" && (t.flags |= 4194308)) : (typeof a.componentDidMount == "function" && (t.flags |= 4194308), t.memoizedProps = r, t.memoizedState = l), a.props = r, a.state = l, a.context = o, r = c) : (typeof a.componentDidMount == "function" && (t.flags |= 4194308), r = !1);
} else {
- a = t.stateNode, po(e, t), o = t.memoizedProps, u = xc(n, o), a.props = u, d = t.pendingProps, f = a.context, l = n.contextType, c = Di, typeof l == "object" && l && (c = Sa(l)), s = n.getDerivedStateFromProps, (l = typeof s == "function" || typeof a.getSnapshotBeforeUpdate == "function") || typeof a.UNSAFE_componentWillReceiveProps != "function" && typeof a.componentWillReceiveProps != "function" || (o !== d || f !== c) && bc(t, a, r, c), uo = !1, f = t.memoizedState, a.state = f, bo(t, r, a, i), yo();
+ a = t.stateNode, mo(e, t), o = t.memoizedProps, u = Sc(n, o), a.props = u, d = t.pendingProps, f = a.context, l = n.contextType, c = Oi, typeof l == "object" && l && (c = Ca(l)), s = n.getDerivedStateFromProps, (l = typeof s == "function" || typeof a.getSnapshotBeforeUpdate == "function") || typeof a.UNSAFE_componentWillReceiveProps != "function" && typeof a.componentWillReceiveProps != "function" || (o !== d || f !== c) && xc(t, a, r, c), fo = !1, f = t.memoizedState, a.state = f, xo(t, r, a, i), bo();
var p = t.memoizedState;
- o !== d || f !== p || uo || e !== null && e.dependencies !== null && ba(e.dependencies) ? (typeof s == "function" && (_c(t, n, s, r), p = t.memoizedState), (u = uo || yc(t, n, u, r, f, p, c) || e !== null && e.dependencies !== null && ba(e.dependencies)) ? (l || typeof a.UNSAFE_componentWillUpdate != "function" && typeof a.componentWillUpdate != "function" || (typeof a.componentWillUpdate == "function" && a.componentWillUpdate(r, p, c), typeof a.UNSAFE_componentWillUpdate == "function" && a.UNSAFE_componentWillUpdate(r, p, c)), typeof a.componentDidUpdate == "function" && (t.flags |= 4), typeof a.getSnapshotBeforeUpdate == "function" && (t.flags |= 1024)) : (typeof a.componentDidUpdate != "function" || o === e.memoizedProps && f === e.memoizedState || (t.flags |= 4), typeof a.getSnapshotBeforeUpdate != "function" || o === e.memoizedProps && f === e.memoizedState || (t.flags |= 1024), t.memoizedProps = r, t.memoizedState = p), a.props = r, a.state = p, a.context = c, r = u) : (typeof a.componentDidUpdate != "function" || o === e.memoizedProps && f === e.memoizedState || (t.flags |= 4), typeof a.getSnapshotBeforeUpdate != "function" || o === e.memoizedProps && f === e.memoizedState || (t.flags |= 1024), r = !1);
+ o !== d || f !== p || fo || e !== null && e.dependencies !== null && xa(e.dependencies) ? (typeof s == "function" && (vc(t, n, s, r), p = t.memoizedState), (u = fo || bc(t, n, u, r, f, p, c) || e !== null && e.dependencies !== null && xa(e.dependencies)) ? (l || typeof a.UNSAFE_componentWillUpdate != "function" && typeof a.componentWillUpdate != "function" || (typeof a.componentWillUpdate == "function" && a.componentWillUpdate(r, p, c), typeof a.UNSAFE_componentWillUpdate == "function" && a.UNSAFE_componentWillUpdate(r, p, c)), typeof a.componentDidUpdate == "function" && (t.flags |= 4), typeof a.getSnapshotBeforeUpdate == "function" && (t.flags |= 1024)) : (typeof a.componentDidUpdate != "function" || o === e.memoizedProps && f === e.memoizedState || (t.flags |= 4), typeof a.getSnapshotBeforeUpdate != "function" || o === e.memoizedProps && f === e.memoizedState || (t.flags |= 1024), t.memoizedProps = r, t.memoizedState = p), a.props = r, a.state = p, a.context = c, r = u) : (typeof a.componentDidUpdate != "function" || o === e.memoizedProps && f === e.memoizedState || (t.flags |= 4), typeof a.getSnapshotBeforeUpdate != "function" || o === e.memoizedProps && f === e.memoizedState || (t.flags |= 1024), r = !1);
}
- return a = r, Uc(e, t), r = !!(t.flags & 128), a || r ? (a = t.stateNode, n = r && typeof n.getDerivedStateFromError != "function" ? null : a.render(), t.flags |= 1, e !== null && r ? (t.child = co(t, e.child, null, i), t.child = co(t, null, n, i)) : Nc(e, t, n, i), t.memoizedState = a.state, e = t.child) : e = cl(e, t, i), e;
+ return a = r, Wc(e, t), r = !!(t.flags & 128), a || r ? (a = t.stateNode, n = r && typeof n.getDerivedStateFromError != "function" ? null : a.render(), t.flags |= 1, e !== null && r ? (t.child = lo(t, e.child, null, i), t.child = lo(t, null, n, i)) : Pc(e, t, n, i), t.memoizedState = a.state, e = t.child) : e = ll(e, t, i), e;
}
- function qc(e, t, n, r) {
- return la(), t.flags |= 256, Nc(e, t, n, r), t.child;
+ function Jc(e, t, n, r) {
+ return ua(), t.flags |= 256, Pc(e, t, n, r), t.child;
}
- var Jc = {
+ var Yc = {
dehydrated: null,
treeContext: null,
retryLane: 0,
hydrationErrors: null
};
- function Yc(e) {
+ function Xc(e) {
return {
baseLanes: e,
- cachePool: Ga()
+ cachePool: Ka()
};
}
- function Xc(e, t, n) {
- return e = e === null ? 0 : e.childLanes & ~n, t && (e |= hd), e;
- }
function Zc(e, t, n) {
+ return e = e === null ? 0 : e.childLanes & ~n, t && (e |= gd), e;
+ }
+ function Qc(e, t, n) {
var r = t.pendingProps, i = !1, a = !!(t.flags & 128), o;
- if ((o = a) || (o = e !== null && e.memoizedState === null ? !1 : !!(Fo.current & 2)), o && (i = !0, t.flags &= -129), o = !!(t.flags & 32), t.flags &= -33, e === null) {
- if (na) {
- if (i ? Ao(t) : No(), (e = ta) ? (e = pm(e, ia), e = e !== null && e.data !== "&" ? e : null, e !== null && (t.memoizedState = {
+ if ((o = a) || (o = e !== null && e.memoizedState === null ? !1 : !!(Io.current & 2)), o && (i = !0, t.flags &= -129), o = !!(t.flags & 32), t.flags &= -33, e === null) {
+ if (ra) {
+ if (i ? jo(t) : Po(), (e = na) ? (e = mm(e, aa), e = e !== null && e.data !== "&" ? e : null, e !== null && (t.memoizedState = {
dehydrated: e,
- treeContext: Ki === null ? null : {
- id: qi,
- overflow: Ji
+ treeContext: qi === null ? null : {
+ id: Ji,
+ overflow: Yi
},
retryLane: 536870912,
hydrationErrors: null
- }, n = Ii(e), n.return = t, t.child = n, ea = t, ta = null)) : e = null, e === null) throw H(t);
- return t.lanes = hm(e) ? 32 : 536870912, null;
+ }, n = Li(e), n.return = t, t.child = n, ta = t, na = null)) : e = null, e === null) throw V(t);
+ return t.lanes = gm(e) ? 32 : 536870912, null;
}
- return a = r.children, r = r.fallback, i ? (No(), i = t.mode, a = $c({
+ return a = r.children, r = r.fallback, i ? (Po(), i = t.mode, a = el({
mode: "hidden",
children: a
- }, i), r = Pi(r, i, n, null), a.return = t, r.return = t, a.sibling = r, t.child = a, r = t.child, r.memoizedState = Yc(n), r.childLanes = Xc(e, o, n), t.memoizedState = Jc, Rc(null, r)) : (Ao(t), Qc(t, a));
+ }, i), r = Fi(r, i, n, null), a.return = t, r.return = t, a.sibling = r, t.child = a, r = t.child, r.memoizedState = Xc(n), r.childLanes = Zc(e, o, n), t.memoizedState = Yc, zc(null, r)) : (jo(t), $c(t, a));
}
var s = e.memoizedState;
if (s !== null) {
var c = s.dehydrated;
- if (c !== null) return tl(e, t, a, o, r, c, s, n);
+ if (c !== null) return nl(e, t, a, o, r, c, s, n);
}
- return i ? (No(), i = r.fallback, a = t.mode, s = e.child, c = s.sibling, r = ji(s, {
+ return i ? (Po(), i = r.fallback, a = t.mode, s = e.child, c = s.sibling, r = Mi(s, {
mode: "hidden",
children: r.children
- }), r.subtreeFlags = s.subtreeFlags & 1206910976, c === null ? (i = Pi(i, a, n, null), i.flags |= 2) : i = ji(c, i), i.return = t, r.return = t, r.sibling = i, t.child = r, Rc(null, r), r = t.child, i = e.child.memoizedState, i === null ? i = Yc(n) : (a = i.cachePool, a === null ? a = Ga() : (s = Oa._currentValue, a = a.parent === s ? a : {
+ }), r.subtreeFlags = s.subtreeFlags & 1206910976, c === null ? (i = Fi(i, a, n, null), i.flags |= 2) : i = Mi(c, i), i.return = t, r.return = t, r.sibling = i, t.child = r, zc(null, r), r = t.child, i = e.child.memoizedState, i === null ? i = Xc(n) : (a = i.cachePool, a === null ? a = Ka() : (s = ka._currentValue, a = a.parent === s ? a : {
parent: s,
pool: s
}), i = {
baseLanes: i.baseLanes | n,
cachePool: a
- }), r.memoizedState = i, r.childLanes = Xc(e, o, n), t.memoizedState = Jc, Rc(e.child, r)) : (Ao(t), n = e.child, e = n.sibling, n = ji(n, {
+ }), r.memoizedState = i, r.childLanes = Zc(e, o, n), t.memoizedState = Yc, zc(e.child, r)) : (jo(t), n = e.child, e = n.sibling, n = Mi(n, {
mode: "visible",
children: r.children
}), n.return = t, n.sibling = null, e !== null && (o = t.deletions, o === null ? (t.deletions = [e], t.flags |= 16) : o.push(e)), t.child = n, t.memoizedState = null, n);
}
- function Qc(e, t) {
- return t = $c({
+ function $c(e, t) {
+ return t = el({
mode: "visible",
children: t
}, e.mode), t.return = e, e.child = t;
}
- function $c(e, t) {
- return e = ki(22, e, null, t), e.lanes = 0, e;
+ function el(e, t) {
+ return e = Ai(22, e, null, t), e.lanes = 0, e;
}
- function el(e, t, n) {
- return co(t, e.child, null, n), e = Qc(t, t.pendingProps.children), e.flags |= 2, t.memoizedState = null, e;
+ function tl(e, t, n) {
+ return lo(t, e.child, null, n), e = $c(t, t.pendingProps.children), e.flags |= 2, t.memoizedState = null, e;
}
- function tl(e, t, n, r, a, o, s, c) {
- if (n) return t.flags & 256 ? (Ao(t), t.flags &= -257, el(e, t, c)) : t.memoizedState === null ? (No(), o = a.fallback, s = t.mode, a = $c({
+ function nl(e, t, n, r, a, o, s, c) {
+ if (n) return t.flags & 256 ? (jo(t), t.flags &= -257, tl(e, t, c)) : t.memoizedState === null ? (Po(), o = a.fallback, s = t.mode, a = el({
mode: "visible",
children: a.children
- }, s), o = Pi(o, s, c, null), o.flags |= 2, a.return = t, o.return = t, a.sibling = o, t.child = a, co(t, e.child, null, c), a = t.child, a.memoizedState = Yc(c), a.childLanes = Xc(e, r, c), t.memoizedState = Jc, Rc(null, a)) : (No(), t.child = e.child, t.flags |= 128, null);
- if (Ao(t), hm(o)) {
+ }, s), o = Fi(o, s, c, null), o.flags |= 2, a.return = t, o.return = t, a.sibling = o, t.child = a, lo(t, e.child, null, c), a = t.child, a.memoizedState = Xc(c), a.childLanes = Zc(e, r, c), t.memoizedState = Yc, zc(null, a)) : (Po(), t.child = e.child, t.flags |= 128, null);
+ if (jo(t), gm(o)) {
if (r = o.nextSibling && o.nextSibling.dataset, r) var l = r.dgst;
- return r = l, r !== "" && (a = Error(i(419)), a.stack = "", a.digest = r, da({
+ return r = l, r !== "" && (a = Error(i(419)), a.stack = "", a.digest = r, fa({
value: a,
source: null,
stack: null
- })), el(e, t, c);
+ })), tl(e, t, c);
}
- if (Mc || ya(e, t, c, !1), r = (c & e.childLanes) !== 0, Mc || r) {
- if (Co.current !== null) return el(e, t, c);
- if (r = nd, r !== null && (a = ht(r, c), a !== 0 && a !== s.retryLane)) throw s.retryLane = a, wi(e, a), Bd(r, e, a), jc;
- return mm(o) || Qd(), el(e, t, c);
+ if (Nc || ba(e, t, c, !1), r = (c & e.childLanes) !== 0, Nc || r) {
+ if (wo.current !== null) return tl(e, t, c);
+ if (r = rd, r !== null && (a = gt(r, c), a !== 0 && a !== s.retryLane)) throw s.retryLane = a, Ti(e, a), Vd(r, e, a), Mc;
+ return hm(o) || $d(), tl(e, t, c);
}
- return mm(o) ? (t.flags |= 192, t.child = e.child, null) : (e = s.treeContext, ta = _m(o.nextSibling), ea = t, na = !0, ra = null, ia = !1, e !== null && $i(t, e), t = Qc(t, a.children), t.flags |= 134221824, t);
+ return hm(o) ? (t.flags |= 192, t.child = e.child, null) : (e = s.treeContext, na = vm(o.nextSibling), ta = t, ra = !0, ia = null, aa = !1, e !== null && ea(t, e), t = $c(t, a.children), t.flags |= 134221824, t);
}
- function nl(e, t, n) {
+ function rl(e, t, n) {
e.lanes |= t;
var r = e.alternate;
- r !== null && (r.lanes |= t), _a(e.return, t, n);
+ r !== null && (r.lanes |= t), va(e.return, t, n);
}
- function rl(e) {
+ function il(e) {
for (var t = null; e !== null;) {
var n = e.alternate;
- n !== null && Ro(n) === null && (t = e), e = e.sibling;
+ n !== null && zo(n) === null && (t = e), e = e.sibling;
}
return t;
}
- function il(e, t, n, r, i, a) {
+ function al(e, t, n, r, i, a) {
var o = e.memoizedState;
o === null ? e.memoizedState = {
isBackwards: t,
@@ -13792,22 +13792,22 @@ var Tf = /* @__PURE__ */ g(((e) => {
treeForkCount: a
} : (o.isBackwards = t, o.rendering = null, o.renderingStartTime = 0, o.last = r, o.tail = n, o.tailMode = i, o.treeForkCount = a);
}
- function al(e) {
+ function ol(e) {
var t = e.child;
for (e.child = null; t !== null;) {
var n = t.sibling;
t.sibling = e.child, e.child = t, t = n;
}
}
- function ol(e, t, n) {
+ function sl(e, t, n) {
var r = t.pendingProps, i = r.revealOrder, a = r.tail;
r = r.children;
- var o = Fo.current;
- if (t.flags & 128) return Io(t, o), null;
+ var o = Io.current;
+ if (t.flags & 128) return Lo(t, o), null;
var s = !!(o & 2);
- if (s ? (o = o & 1 | 2, t.flags |= 128) : o &= 1, Io(t, o), i === "backwards" && e !== null ? (al(e), Nc(e, t, r, n), al(e)) : Nc(e, t, r, n), r = na ? Ui : 0, !s && e !== null && e.flags & 128) a: for (e = t.child; e !== null;) {
- if (e.tag === 13) e.memoizedState !== null && nl(e, n, t);
- else if (e.tag === 19) nl(e, n, t);
+ if (s ? (o = o & 1 | 2, t.flags |= 128) : o &= 1, Lo(t, o), i === "backwards" && e !== null ? (ol(e), Pc(e, t, r, n), ol(e)) : Pc(e, t, r, n), r = ra ? Wi : 0, !s && e !== null && e.flags & 128) a: for (e = t.child; e !== null;) {
+ if (e.tag === 13) e.memoizedState !== null && rl(e, n, t);
+ else if (e.tag === 19) rl(e, n, t);
else if (e.child !== null) {
e.child.return = e, e = e.child;
continue;
@@ -13821,142 +13821,142 @@ var Tf = /* @__PURE__ */ g(((e) => {
}
switch (i) {
case "backwards":
- n = rl(t.child), n === null ? (i = t.child, t.child = null) : (i = n.sibling, n.sibling = null, al(t)), il(t, !0, i, null, a, r);
+ n = il(t.child), n === null ? (i = t.child, t.child = null) : (i = n.sibling, n.sibling = null, ol(t)), al(t, !0, i, null, a, r);
break;
case "unstable_legacy-backwards":
for (n = null, i = t.child, t.child = null; i !== null;) {
- if (e = i.alternate, e !== null && Ro(e) === null) {
+ if (e = i.alternate, e !== null && zo(e) === null) {
t.child = i;
break;
}
e = i.sibling, i.sibling = n, n = i, i = e;
}
- il(t, !0, n, null, a, r);
+ al(t, !0, n, null, a, r);
break;
case "together":
- il(t, !1, null, null, void 0, r);
+ al(t, !1, null, null, void 0, r);
break;
case "independent":
t.memoizedState = null;
break;
- default: n = rl(t.child), n === null ? (i = t.child, t.child = null) : (i = n.sibling, n.sibling = null), il(t, !1, i, n, a, r);
+ default: n = il(t.child), n === null ? (i = t.child, t.child = null) : (i = n.sibling, n.sibling = null), al(t, !1, i, n, a, r);
}
return t.child;
}
- function sl(e, t, n) {
+ function cl(e, t, n) {
var r = t.pendingProps;
- return ha(t, t.type, r.value), Nc(e, t, r.children, n), t.child;
+ return ga(t, t.type, r.value), Pc(e, t, r.children, n), t.child;
}
- function cl(e, t, n) {
- if (e !== null && (t.dependencies = e.dependencies), fd |= t.lanes, (n & t.childLanes) === 0) {
+ function ll(e, t, n) {
+ if (e !== null && (t.dependencies = e.dependencies), pd |= t.lanes, (n & t.childLanes) === 0) {
if (e !== null) {
- if (ya(e, t, n, !1), (n & t.childLanes) === 0) return null;
+ if (ba(e, t, n, !1), (n & t.childLanes) === 0) return null;
} else return null;
}
if (e !== null && t.child !== e.child) throw Error(i(153));
if (t.child !== null) {
- for (e = t.child, n = ji(e, e.pendingProps), t.child = n, n.return = t; e.sibling !== null;) e = e.sibling, n = n.sibling = ji(e, e.pendingProps), n.return = t;
+ for (e = t.child, n = Mi(e, e.pendingProps), t.child = n, n.return = t; e.sibling !== null;) e = e.sibling, n = n.sibling = Mi(e, e.pendingProps), n.return = t;
n.sibling = null;
}
return t.child;
}
- function ll(e, t) {
- return (e.lanes & t) !== 0 || (e = e.dependencies, !!(e !== null && ba(e)));
+ function ul(e, t) {
+ return (e.lanes & t) !== 0 || (e = e.dependencies, !!(e !== null && xa(e)));
}
- function ul(e, t, n) {
+ function dl(e, t, n) {
switch (t.tag) {
case 3:
- Ce(t, t.stateNode.containerInfo), ha(t, Oa, e.memoizedState.cache), la();
+ we(t, t.stateNode.containerInfo), ga(t, ka, e.memoizedState.cache), ua();
break;
case 27:
case 5:
- Te(t);
+ Ee(t);
break;
case 4:
- Ce(t, t.stateNode.containerInfo);
+ we(t, t.stateNode.containerInfo);
break;
case 10:
- ha(t, t.type, t.memoizedProps.value);
+ ga(t, t.type, t.memoizedProps.value);
break;
case 31:
- if (t.memoizedState !== null) return t.flags |= 128, jo(t), null;
+ if (t.memoizedState !== null) return t.flags |= 128, Mo(t), null;
break;
case 13:
var r = t.memoizedState;
if (r !== null) {
- if (r.dehydrated !== null) return Ao(t), t.flags |= 128, null;
- r = ya(e, t, n, !1);
+ if (r.dehydrated !== null) return jo(t), t.flags |= 128, null;
+ r = ba(e, t, n, !1);
var i = t.child.childLanes;
- return r || (n & i) !== 0 ? Zc(e, t, n) : (Ao(t), e = cl(e, t, n), e === null ? null : e.sibling);
+ return r || (n & i) !== 0 ? Qc(e, t, n) : (jo(t), e = ll(e, t, n), e === null ? null : e.sibling);
}
- Ao(t);
+ jo(t);
break;
case 19:
- if (t.flags & 128) return ol(e, t, n);
- if (i = !!(e.flags & 128), r = (n & t.childLanes) !== 0, r ||= (ya(e, t, n, !1), (n & t.childLanes) !== 0), i) {
- if (r) return ol(e, t, n);
+ if (t.flags & 128) return sl(e, t, n);
+ if (i = !!(e.flags & 128), r = (n & t.childLanes) !== 0, r ||= (ba(e, t, n, !1), (n & t.childLanes) !== 0), i) {
+ if (r) return sl(e, t, n);
t.flags |= 128;
}
- if (i = t.memoizedState, i !== null && (i.rendering = null, i.tail = null, i.lastEffect = null), Io(t, Fo.current), r) break;
+ if (i = t.memoizedState, i !== null && (i.rendering = null, i.tail = null, i.lastEffect = null), Lo(t, Io.current), r) break;
return null;
- case 22: return t.lanes = 0, Lc(e, t, n, t.pendingProps);
- case 24: ha(t, Oa, e.memoizedState.cache);
+ case 22: return t.lanes = 0, Rc(e, t, n, t.pendingProps);
+ case 24: ga(t, ka, e.memoizedState.cache);
}
- return cl(e, t, n);
+ return ll(e, t, n);
}
- function dl(e, t, n) {
+ function fl(e, t, n) {
if (e !== null) {
- if (e.memoizedProps !== t.pendingProps) Mc = !0;
+ if (e.memoizedProps !== t.pendingProps) Nc = !0;
else {
- if (!ll(e, n) && !(t.flags & 128)) return Mc = !1, ul(e, t, n);
- Mc = !!(e.flags & 131072);
+ if (!ul(e, n) && !(t.flags & 128)) return Nc = !1, dl(e, t, n);
+ Nc = !!(e.flags & 131072);
}
- } else Mc = !1, na && t.flags & 1048576 && Xi(t, Ui, t.index);
+ } else Nc = !1, ra && t.flags & 1048576 && Zi(t, Wi, t.index);
switch (t.lanes = 0, t.tag) {
case 16:
a: {
var r = t.pendingProps;
- if (e = Qa(t.elementType), t.type = e, typeof e == "function") Ai(e) ? (r = xc(e, r), t.tag = 1, t = Kc(null, t, e, r, n)) : (t.tag = 0, t = Wc(null, t, e, r, n));
+ if (e = $a(t.elementType), t.type = e, typeof e == "function") ji(e) ? (r = Sc(e, r), t.tag = 1, t = qc(null, t, e, r, n)) : (t.tag = 0, t = Gc(null, t, e, r, n));
else {
if (e != null) {
var a = e.$$typeof;
if (a === ee) {
- t.tag = 11, t = Pc(null, t, e, r, n);
+ t.tag = 11, t = Fc(null, t, e, r, n);
break a;
}
- if (a === te) {
- t.tag = 14, t = Fc(null, t, e, r, n);
+ if (a === ne) {
+ t.tag = 14, t = Ic(null, t, e, r, n);
break a;
}
if (a === N) {
- t.tag = 10, t.type = e, t = sl(null, t, n);
+ t.tag = 10, t.type = e, t = cl(null, t, n);
break a;
}
}
- throw t = de(e) || e, Error(i(306, t, ""));
+ throw t = fe(e) || e, Error(i(306, t, ""));
}
}
return t;
- case 0: return Wc(e, t, t.type, t.pendingProps, n);
- case 1: return r = t.type, a = xc(r, t.pendingProps), Kc(e, t, r, a, n);
+ case 0: return Gc(e, t, t.type, t.pendingProps, n);
+ case 1: return r = t.type, a = Sc(r, t.pendingProps), qc(e, t, r, a, n);
case 3:
a: {
- if (Ce(t, t.stateNode.containerInfo), e === null) throw Error(i(387));
+ if (we(t, t.stateNode.containerInfo), e === null) throw Error(i(387));
r = t.pendingProps;
var o = t.memoizedState;
- a = o.element, po(e, t), bo(t, r, null, n);
+ a = o.element, mo(e, t), xo(t, r, null, n);
var s = t.memoizedState;
- if (r = s.cache, ha(t, Oa, r), r !== o.cache && va(t, [Oa], n, !0), yo(), r = s.element, o.isDehydrated) {
+ if (r = s.cache, ga(t, ka, r), r !== o.cache && ya(t, [ka], n, !0), bo(), r = s.element, o.isDehydrated) {
if (o = {
element: r,
isDehydrated: !1,
cache: s.cache
}, t.updateQueue.baseState = o, t.memoizedState = o, t.flags & 256) {
- t = qc(e, t, r, n);
+ t = Jc(e, t, r, n);
break a;
}
if (r !== a) {
- a = zi(Error(i(424)), t), da(a), t = qc(e, t, r, n);
+ a = Bi(Error(i(424)), t), fa(a), t = Jc(e, t, r, n);
break a;
}
switch (e = t.stateNode.containerInfo, e.nodeType) {
@@ -13965,76 +13965,76 @@ var Tf = /* @__PURE__ */ g(((e) => {
break;
default: e = e.nodeName === "HTML" ? e.ownerDocument.body : e;
}
- for (ta = _m(e.firstChild), ea = t, na = !0, ra = null, ia = !0, n = lo(t, null, r, n), t.child = n; n;) n.flags = n.flags & -3 | 134221824, n = n.sibling;
+ for (na = vm(e.firstChild), ta = t, ra = !0, ia = null, aa = !0, n = uo(t, null, r, n), t.child = n; n;) n.flags = n.flags & -3 | 134221824, n = n.sibling;
} else {
- if (la(), r === a) {
- t = cl(e, t, n);
+ if (ua(), r === a) {
+ t = ll(e, t, n);
break a;
}
- Nc(e, t, r, n);
+ Pc(e, t, r, n);
}
t = t.child;
}
return t;
- case 26: return Uc(e, t), e === null ? (n = Bm(t.type, null, t.pendingProps, null)) ? t.memoizedState = n : na || (t.stateNode = Sp(t.type, t.pendingProps, xe.current, t)) : t.memoizedState = Bm(t.type, e.memoizedProps, t.pendingProps, e.memoizedState), null;
- case 27: return Te(t), e === null && na && (r = t.stateNode = Sm(t.type, t.pendingProps, xe.current), ea = t, ia = !0, a = ta, Mp(t.type) ? (vm = a, ta = _m(r.firstChild)) : ta = a), Nc(e, t, t.pendingProps.children, n), Uc(e, t), e === null && (t.flags |= 4194304), t.child;
- case 5: return e === null && na && ((a = r = ta) && (r = fm(r, t.type, t.pendingProps, ia), r === null ? a = !1 : (t.stateNode = r, ea = t, ta = _m(r.firstChild), ia = !1, a = !0)), a || H(t)), Te(t), a = t.type, o = t.pendingProps, s = e === null ? null : e.memoizedProps, r = o.children, Cp(a, o) ? r = null : s !== null && Cp(a, s) && (t.flags |= 32), t.memoizedState !== null && (a = Zo(e, t, es, null, null, n), fh._currentValue = a), Uc(e, t), Nc(e, t, r, n), t.child;
- case 6: return e === null && na && ((e = n = ta) && (n = G(n, t.pendingProps, ia), n === null ? e = !1 : (t.stateNode = n, ea = t, ta = null, e = !0)), e || H(t)), null;
- case 13: return Zc(e, t, n);
- case 4: return Ce(t, t.stateNode.containerInfo), r = t.pendingProps, e === null ? t.child = co(t, null, r, n) : Nc(e, t, r, n), t.child;
- case 11: return Pc(e, t, t.type, t.pendingProps, n);
- case 7: return r = t.pendingProps, Uc(e, t), Nc(e, t, r, n), t.child;
- case 8: return Nc(e, t, t.pendingProps.children, n), t.child;
- case 12: return Nc(e, t, t.pendingProps.children, n), t.child;
- case 10: return sl(e, t, n);
- case 9: return a = t.type._context, r = t.pendingProps.children, xa(t), a = Sa(a), r = r(a), t.flags |= 1, Nc(e, t, r, n), t.child;
- case 14: return Fc(e, t, t.type, t.pendingProps, n);
- case 15: return Ic(e, t, t.type, t.pendingProps, n);
- case 19: return ol(e, t, n);
- case 31: return Hc(e, t, n);
- case 22: return Lc(e, t, n, t.pendingProps);
- case 24: return xa(t), r = Sa(Oa), e === null ? (a = Ua(), a === null && (a = nd, o = ka(), a.pooledCache = o, o.refCount++, o !== null && (a.pooledCacheLanes |= n), a = o), t.memoizedState = {
+ case 26: return Wc(e, t), e === null ? (n = Vm(t.type, null, t.pendingProps, null)) ? t.memoizedState = n : ra || (t.stateNode = Cp(t.type, t.pendingProps, Se.current, t)) : t.memoizedState = Vm(t.type, e.memoizedProps, t.pendingProps, e.memoizedState), null;
+ case 27: return Ee(t), e === null && ra && (r = t.stateNode = Cm(t.type, t.pendingProps, Se.current), ta = t, aa = !0, a = na, Np(t.type) ? (ym = a, na = vm(r.firstChild)) : na = a), Pc(e, t, t.pendingProps.children, n), Wc(e, t), e === null && (t.flags |= 4194304), t.child;
+ case 5: return e === null && ra && ((a = r = na) && (r = pm(r, t.type, t.pendingProps, aa), r === null ? a = !1 : (t.stateNode = r, ta = t, na = vm(r.firstChild), aa = !1, a = !0)), a || V(t)), Ee(t), a = t.type, o = t.pendingProps, s = e === null ? null : e.memoizedProps, r = o.children, wp(a, o) ? r = null : s !== null && wp(a, s) && (t.flags |= 32), t.memoizedState !== null && (a = Qo(e, t, ts, null, null, n), fh._currentValue = a), Wc(e, t), Pc(e, t, r, n), t.child;
+ case 6: return e === null && ra && ((e = n = na) && (n = W(n, t.pendingProps, aa), n === null ? e = !1 : (t.stateNode = n, ta = t, na = null, e = !0)), e || V(t)), null;
+ case 13: return Qc(e, t, n);
+ case 4: return we(t, t.stateNode.containerInfo), r = t.pendingProps, e === null ? t.child = lo(t, null, r, n) : Pc(e, t, r, n), t.child;
+ case 11: return Fc(e, t, t.type, t.pendingProps, n);
+ case 7: return r = t.pendingProps, Wc(e, t), Pc(e, t, r, n), t.child;
+ case 8: return Pc(e, t, t.pendingProps.children, n), t.child;
+ case 12: return Pc(e, t, t.pendingProps.children, n), t.child;
+ case 10: return cl(e, t, n);
+ case 9: return a = t.type._context, r = t.pendingProps.children, Sa(t), a = Ca(a), r = r(a), t.flags |= 1, Pc(e, t, r, n), t.child;
+ case 14: return Ic(e, t, t.type, t.pendingProps, n);
+ case 15: return Lc(e, t, t.type, t.pendingProps, n);
+ case 19: return sl(e, t, n);
+ case 31: return Uc(e, t, n);
+ case 22: return Rc(e, t, n, t.pendingProps);
+ case 24: return Sa(t), r = Ca(ka), e === null ? (a = Wa(), a === null && (a = rd, o = Aa(), a.pooledCache = o, o.refCount++, o !== null && (a.pooledCacheLanes |= n), a = o), t.memoizedState = {
parent: r,
cache: a
- }, fo(t), ha(t, Oa, a)) : ((e.lanes & n) !== 0 && (po(e, t), bo(t, null, null, n), yo()), a = e.memoizedState, o = t.memoizedState, a.parent === r ? (r = o.cache, ha(t, Oa, r), r !== a.cache && va(t, [Oa], n, !0)) : (a = {
+ }, po(t), ga(t, ka, a)) : ((e.lanes & n) !== 0 && (mo(e, t), xo(t, null, null, n), bo()), a = e.memoizedState, o = t.memoizedState, a.parent === r ? (r = o.cache, ga(t, ka, r), r !== a.cache && ya(t, [ka], n, !0)) : (a = {
parent: r,
cache: r
- }, t.memoizedState = a, t.lanes === 0 && (t.memoizedState = t.updateQueue.baseState = a), ha(t, Oa, r))), Nc(e, t, t.pendingProps.children, n), t.child;
+ }, t.memoizedState = a, t.lanes === 0 && (t.memoizedState = t.updateQueue.baseState = a), ga(t, ka, r))), Pc(e, t, t.pendingProps.children, n), t.child;
case 30: return t.stateNode === null && (t.stateNode = {
autoName: null,
paired: null,
clones: null,
ref: null
- }), r = t.pendingProps, r.name != null && r.name !== "auto" ? t.flags |= e === null ? 18882560 : 18874368 : na && Zi(t), e !== null && e.memoizedProps.name !== r.name ? t.flags |= 4194816 : Uc(e, t), Nc(e, t, r.children, n), t.child;
+ }), r = t.pendingProps, r.name != null && r.name !== "auto" ? t.flags |= e === null ? 18882560 : 18874368 : ra && Qi(t), e !== null && e.memoizedProps.name !== r.name ? t.flags |= 4194816 : Wc(e, t), Pc(e, t, r.children, n), t.child;
case 29: throw t.pendingProps;
}
throw Error(i(156, t.tag));
}
- function fl(e) {
+ function pl(e) {
e.flags |= 4;
}
- function pl(e, t, n, r, i) {
+ function ml(e, t, n, r, i) {
var a;
if ((a = !!(e.mode & 32)) && (a = n === null ? eh(t, r) : eh(t, r) && (r.src !== n.src || r.srcSet !== n.srcSet)), a) {
if (e.flags |= 16777216, (i & 335544128) === i) {
if (e.stateNode.complete) e.flags |= 8192;
- else if (Yd()) e.flags |= 8192;
- else throw $a = Ya, qa;
+ else if (Xd()) e.flags |= 8192;
+ else throw eo = Xa, Ja;
}
} else e.flags &= -16777217;
}
- function ml(e, t) {
+ function hl(e, t) {
if (t.type !== "stylesheet" || t.state.loading & 4) e.flags &= -16777217;
else if (e.flags |= 16777216, !th(t)) {
- if (Yd()) e.flags |= 8192;
- else throw $a = Ya, qa;
+ if (Xd()) e.flags |= 8192;
+ else throw eo = Xa, Ja;
}
}
- function hl(e, t) {
- t !== null && (e.flags |= 4), e.flags & 16384 && (t = e.tag === 22 ? 536870912 : lt(), e.lanes |= t, gd |= t);
- }
function gl(e, t) {
- if (!na) switch (e.tailMode) {
+ t !== null && (e.flags |= 4), e.flags & 16384 && (t = e.tag === 22 ? 536870912 : ut(), e.lanes |= t, _d |= t);
+ }
+ function _l(e, t) {
+ if (!ra) switch (e.tailMode) {
case "visible": break;
case "collapsed":
for (var n = e.tail, r = null; n !== null;) n.alternate !== null && (r = n), n = n.sibling;
@@ -14045,15 +14045,15 @@ var Tf = /* @__PURE__ */ g(((e) => {
n === null ? e.tail = null : n.sibling = null;
}
}
- function _l(e) {
+ function vl(e) {
var t = e.alternate !== null && e.alternate.child === e.child, n = 0, r = 0;
if (t) for (var i = e.child; i !== null;) n |= i.lanes | i.childLanes, r |= i.subtreeFlags & 1206910976, r |= i.flags & 1206910976, i.return = e, i = i.sibling;
else for (i = e.child; i !== null;) n |= i.lanes | i.childLanes, r |= i.subtreeFlags, r |= i.flags, i.return = e, i = i.sibling;
return e.subtreeFlags |= r, e.childLanes = n, t;
}
- function vl(e, t, n) {
+ function yl(e, t, n) {
var r = t.pendingProps;
- switch (Qi(t), t.tag) {
+ switch ($i(t), t.tag) {
case 16:
case 15:
case 0:
@@ -14062,32 +14062,32 @@ var Tf = /* @__PURE__ */ g(((e) => {
case 8:
case 12:
case 9:
- case 14: return _l(t), null;
- case 1: return _l(t), null;
- case 3: return n = t.stateNode, r = null, e !== null && (r = e.memoizedState.cache), t.memoizedState.cache !== r && (t.flags |= 2048), ga(Oa), we(), n.pendingContext && (n.context = n.pendingContext, n.pendingContext = null), (e === null || e.child === null) && (ca(t) ? fl(t) : e === null || e.memoizedState.isDehydrated && !(t.flags & 256) || (t.flags |= 1024, ua())), _l(t), null;
+ case 14: return vl(t), null;
+ case 1: return vl(t), null;
+ case 3: return n = t.stateNode, r = null, e !== null && (r = e.memoizedState.cache), t.memoizedState.cache !== r && (t.flags |= 2048), _a(ka), Te(), n.pendingContext && (n.context = n.pendingContext, n.pendingContext = null), (e === null || e.child === null) && (la(t) ? pl(t) : e === null || e.memoizedState.isDehydrated && !(t.flags & 256) || (t.flags |= 1024, da())), vl(t), null;
case 26:
var a = t.type, o = t.memoizedState;
- return e === null ? (fl(t), o === null ? (_l(t), pl(t, a, null, r, n)) : (_l(t), ml(t, o))) : o ? o === e.memoizedState ? (_l(t), t.flags &= -16777217) : (fl(t), _l(t), ml(t, o)) : (e = e.memoizedProps, e !== r && fl(t), _l(t), pl(t, a, e, r, n)), null;
+ return e === null ? (pl(t), o === null ? (vl(t), ml(t, a, null, r, n)) : (vl(t), hl(t, o))) : o ? o === e.memoizedState ? (vl(t), t.flags &= -16777217) : (pl(t), vl(t), hl(t, o)) : (e = e.memoizedProps, e !== r && pl(t), vl(t), ml(t, a, e, r, n)), null;
case 27:
- if (Ee(t), n = xe.current, a = t.type, e !== null && t.stateNode != null) e.memoizedProps !== r && fl(t);
+ if (De(t), n = Se.current, a = t.type, e !== null && t.stateNode != null) e.memoizedProps !== r && pl(t);
else {
if (!r) {
if (t.stateNode === null) throw Error(i(166));
- return _l(t), t.subtreeFlags &= -33554433, null;
+ return vl(t), t.subtreeFlags &= -33554433, null;
}
- e = ye.current, ca(t) ? oa(t, e) : (e = Sm(a, r, n), t.stateNode = e, fl(t));
+ e = be.current, la(t) ? sa(t, e) : (e = Cm(a, r, n), t.stateNode = e, pl(t));
}
- return _l(t), t.subtreeFlags &= -33554433, null;
+ return vl(t), t.subtreeFlags &= -33554433, null;
case 5:
- if (Ee(t), a = t.type, e !== null && t.stateNode != null) e.memoizedProps !== r && fl(t);
+ if (De(t), a = t.type, e !== null && t.stateNode != null) e.memoizedProps !== r && pl(t);
else {
if (!r) {
if (t.stateNode === null) throw Error(i(166));
- return _l(t), t.subtreeFlags &= -33554433, null;
+ return vl(t), t.subtreeFlags &= -33554433, null;
}
- if (o = ye.current, ca(t)) oa(t, o);
+ if (o = be.current, la(t)) sa(t, o);
else {
- var s = yp(xe.current);
+ var s = bp(Se.current);
switch (o) {
case 1:
o = s.createElementNS("http://www.w3.org/2000/svg", a);
@@ -14111,7 +14111,7 @@ var Tf = /* @__PURE__ */ g(((e) => {
default: o = typeof r.is == "string" ? s.createElement(a, { is: r.is }) : s.createElement(a);
}
}
- o[xt] = t, o[St] = r;
+ o[St] = t, o[Ct] = r;
a: for (s = t.child; s !== null;) {
if (s.tag === 5 || s.tag === 6) o.appendChild(s.stateNode);
else if (s.tag !== 4 && s.tag !== 27 && s.child !== null) {
@@ -14126,7 +14126,7 @@ var Tf = /* @__PURE__ */ g(((e) => {
s.sibling.return = s.return, s = s.sibling;
}
t.stateNode = o;
- a: switch (fp(o, a, r), a) {
+ a: switch (pp(o, a, r), a) {
case "button":
case "input":
case "select":
@@ -14138,71 +14138,71 @@ var Tf = /* @__PURE__ */ g(((e) => {
break a;
default: r = !1;
}
- r && fl(t);
+ r && pl(t);
}
}
- return _l(t), t.subtreeFlags &= -33554433, pl(t, t.type, e === null ? null : e.memoizedProps, t.pendingProps, n), null;
+ return vl(t), t.subtreeFlags &= -33554433, ml(t, t.type, e === null ? null : e.memoizedProps, t.pendingProps, n), null;
case 6:
- if (e && t.stateNode != null) e.memoizedProps !== r && fl(t);
+ if (e && t.stateNode != null) e.memoizedProps !== r && pl(t);
else {
if (typeof r != "string" && t.stateNode === null) throw Error(i(166));
- if (e = xe.current, ca(t)) {
- if (e = t.stateNode, n = t.memoizedProps, r = null, a = ea, a !== null) switch (a.tag) {
+ if (e = Se.current, la(t)) {
+ if (e = t.stateNode, n = t.memoizedProps, r = null, a = ta, a !== null) switch (a.tag) {
case 27:
case 5: r = a.memoizedProps;
}
- e[xt] = t, e = !!(e.nodeValue === n || r !== null && !0 === r.suppressHydrationWarning || lp(e.nodeValue, n)), e || H(t, !0);
- } else e = yp(e).createTextNode(r), e[xt] = t, t.stateNode = e;
+ e[St] = t, e = !!(e.nodeValue === n || r !== null && !0 === r.suppressHydrationWarning || up(e.nodeValue, n)), e || V(t, !0);
+ } else e = bp(e).createTextNode(r), e[St] = t, t.stateNode = e;
}
- return _l(t), null;
+ return vl(t), null;
case 31:
if (n = t.memoizedState, e === null || e.memoizedState !== null) {
- if (r = ca(t), n !== null) {
+ if (r = la(t), n !== null) {
if (e === null) {
if (!r) throw Error(i(318));
if (e = t.memoizedState, e = e === null ? null : e.dehydrated, !e) throw Error(i(557));
- e[xt] = t;
- } else la(), !(t.flags & 128) && (t.memoizedState = null), t.flags |= 4;
- _l(t), e = !1;
- } else n = ua(), e !== null && e.memoizedState !== null && (e.memoizedState.hydrationErrors = n), e = !0;
- if (!e) return t.flags & 256 ? (Po(t), t) : (Po(t), null);
+ e[St] = t;
+ } else ua(), !(t.flags & 128) && (t.memoizedState = null), t.flags |= 4;
+ vl(t), e = !1;
+ } else n = da(), e !== null && e.memoizedState !== null && (e.memoizedState.hydrationErrors = n), e = !0;
+ if (!e) return t.flags & 256 ? (Fo(t), t) : (Fo(t), null);
if (t.flags & 128) throw Error(i(558));
}
- return _l(t), null;
+ return vl(t), null;
case 13:
if (r = t.memoizedState, e === null || e.memoizedState !== null && e.memoizedState.dehydrated !== null) {
- if (a = ca(t), r !== null && r.dehydrated !== null) {
+ if (a = la(t), r !== null && r.dehydrated !== null) {
if (e === null) {
if (!a) throw Error(i(318));
if (a = t.memoizedState, a = a === null ? null : a.dehydrated, !a) throw Error(i(317));
- a[xt] = t;
- } else la(), !(t.flags & 128) && (t.memoizedState = null), t.flags |= 4;
- _l(t), a = !1;
- } else a = ua(), e !== null && e.memoizedState !== null && (e.memoizedState.hydrationErrors = a), a = !0;
- if (!a) return t.flags & 256 ? (Po(t), t) : (Po(t), null);
+ a[St] = t;
+ } else ua(), !(t.flags & 128) && (t.memoizedState = null), t.flags |= 4;
+ vl(t), a = !1;
+ } else a = da(), e !== null && e.memoizedState !== null && (e.memoizedState.hydrationErrors = a), a = !0;
+ if (!a) return t.flags & 256 ? (Fo(t), t) : (Fo(t), null);
}
- return Po(t), t.flags & 128 ? (t.lanes = n, t) : (n = r !== null, e = e !== null && e.memoizedState !== null, n && (r = t.child, a = null, r.alternate !== null && r.alternate.memoizedState !== null && r.alternate.memoizedState.cachePool !== null && (a = r.alternate.memoizedState.cachePool.pool), o = null, r.memoizedState !== null && r.memoizedState.cachePool !== null && (o = r.memoizedState.cachePool.pool), o !== a && (r.flags |= 2048)), n !== e && n && (t.child.flags |= 8192), hl(t, t.updateQueue), _l(t), null);
- case 4: return we(), e === null && $f(t.stateNode.containerInfo), t.flags |= 67108864, _l(t), null;
- case 10: return ga(t.type), _l(t), null;
+ return Fo(t), t.flags & 128 ? (t.lanes = n, t) : (n = r !== null, e = e !== null && e.memoizedState !== null, n && (r = t.child, a = null, r.alternate !== null && r.alternate.memoizedState !== null && r.alternate.memoizedState.cachePool !== null && (a = r.alternate.memoizedState.cachePool.pool), o = null, r.memoizedState !== null && r.memoizedState.cachePool !== null && (o = r.memoizedState.cachePool.pool), o !== a && (r.flags |= 2048)), n !== e && n && (t.child.flags |= 8192), gl(t, t.updateQueue), vl(t), null);
+ case 4: return Te(), e === null && ep(t.stateNode.containerInfo), t.flags |= 67108864, vl(t), null;
+ case 10: return _a(t.type), vl(t), null;
case 19:
- if (Lo(t), r = t.memoizedState, r === null) return _l(t), null;
+ if (Ro(t), r = t.memoizedState, r === null) return vl(t), null;
if (a = !!(t.flags & 128), o = r.rendering, o === null) {
- if (a) gl(r, !1);
+ if (a) _l(r, !1);
else {
- if (dd !== 0 || e !== null && e.flags & 128) for (e = t.child; e !== null;) {
- if (o = Ro(e), o !== null) {
- for (t.flags |= 128, gl(r, !1), e = o.updateQueue, t.updateQueue = e, hl(t, e), t.subtreeFlags = 0, e = n, n = t.child; n !== null;) Mi(n, e), n = n.sibling;
- return Io(t, Fo.current & 1 | 2), na && Yi(t, r.treeForkCount), t.child;
+ if (fd !== 0 || e !== null && e.flags & 128) for (e = t.child; e !== null;) {
+ if (o = zo(e), o !== null) {
+ for (t.flags |= 128, _l(r, !1), e = o.updateQueue, t.updateQueue = e, gl(t, e), t.subtreeFlags = 0, e = n, n = t.child; n !== null;) Ni(n, e), n = n.sibling;
+ return Lo(t, Io.current & 1 | 2), ra && Xi(t, r.treeForkCount), t.child;
}
e = e.sibling;
}
- r.tail !== null && ze() > Sd && (t.flags |= 128, a = !0, gl(r, !1), t.lanes = 4194304);
+ r.tail !== null && Be() > Cd && (t.flags |= 128, a = !0, _l(r, !1), t.lanes = 4194304);
}
} else {
if (!a) {
- if (e = Ro(o), e !== null) {
- if (t.flags |= 128, a = !0, e = e.updateQueue, t.updateQueue = e, hl(t, e), gl(r, !0), r.tail === null && r.tailMode !== "collapsed" && r.tailMode !== "visible" && !o.alternate && !na) return _l(t), null;
- } else 2 * ze() - r.renderingStartTime > Sd && n !== 536870912 && (t.flags |= 128, a = !0, gl(r, !1), t.lanes = 4194304);
+ if (e = zo(o), e !== null) {
+ if (t.flags |= 128, a = !0, e = e.updateQueue, t.updateQueue = e, gl(t, e), _l(r, !0), r.tail === null && r.tailMode !== "collapsed" && r.tailMode !== "visible" && !o.alternate && !ra) return vl(t), null;
+ } else 2 * Be() - r.renderingStartTime > Cd && n !== 536870912 && (t.flags |= 128, a = !0, _l(r, !1), t.lanes = 4194304);
}
r.isBackwards ? (o.sibling = t.child, t.child = o) : (e = r.last, e === null ? t.child = o : e.sibling = o, r.last = o);
}
@@ -14218,79 +14218,79 @@ var Tf = /* @__PURE__ */ g(((e) => {
}
n = !0;
}
- return r.rendering = e, r.tail = e.sibling, r.renderingStartTime = ze(), e.sibling = null, o = Fo.current, o = a ? o & 1 | 2 : o & 1, r.tailMode === "visible" || r.tailMode === "collapsed" || !n || na ? Io(t, o) : (n = o, ve(Oo, t), ve(Fo, n), ko === null && (ko = t)), na && Yi(t, r.treeForkCount), e;
+ return r.rendering = e, r.tail = e.sibling, r.renderingStartTime = Be(), e.sibling = null, o = Io.current, o = a ? o & 1 | 2 : o & 1, r.tailMode === "visible" || r.tailMode === "collapsed" || !n || ra ? Lo(t, o) : (n = o, ye(ko, t), ye(Io, n), Ao === null && (Ao = t)), ra && Xi(t, r.treeForkCount), e;
}
- return _l(t), null;
+ return vl(t), null;
case 22:
- case 23: return Po(t), Do(), r = t.memoizedState !== null, e === null ? r && (t.flags |= 8192) : e.memoizedState !== null !== r && (t.flags |= 8192), r ? n & 536870912 && !(t.flags & 128) && (_l(t), t.subtreeFlags & 6 && (t.flags |= 8192)) : _l(t), n = t.updateQueue, n !== null && hl(t, n.retryQueue), n = null, e !== null && e.memoizedState !== null && e.memoizedState.cachePool !== null && (n = e.memoizedState.cachePool.pool), r = null, t.memoizedState !== null && t.memoizedState.cachePool !== null && (r = t.memoizedState.cachePool.pool), r !== n && (t.flags |= 2048), e !== null && _e(Ha), null;
- case 24: return n = null, e !== null && (n = e.memoizedState.cache), t.memoizedState.cache !== n && (t.flags |= 2048), ga(Oa), _l(t), null;
+ case 23: return Fo(t), Oo(), r = t.memoizedState !== null, e === null ? r && (t.flags |= 8192) : e.memoizedState !== null !== r && (t.flags |= 8192), r ? n & 536870912 && !(t.flags & 128) && (vl(t), t.subtreeFlags & 6 && (t.flags |= 8192)) : vl(t), n = t.updateQueue, n !== null && gl(t, n.retryQueue), n = null, e !== null && e.memoizedState !== null && e.memoizedState.cachePool !== null && (n = e.memoizedState.cachePool.pool), r = null, t.memoizedState !== null && t.memoizedState.cachePool !== null && (r = t.memoizedState.cachePool.pool), r !== n && (t.flags |= 2048), e !== null && ve(Ua), null;
+ case 24: return n = null, e !== null && (n = e.memoizedState.cache), t.memoizedState.cache !== n && (t.flags |= 2048), _a(ka), vl(t), null;
case 25: return null;
- case 30: return t.flags |= 33554432, _l(t), null;
+ case 30: return t.flags |= 33554432, vl(t), null;
}
throw Error(i(156, t.tag));
}
- function yl(e, t) {
- switch (Qi(t), t.tag) {
+ function bl(e, t) {
+ switch ($i(t), t.tag) {
case 1: return e = t.flags, e & 65536 ? (t.flags = e & -65537 | 128, t) : null;
- case 3: return ga(Oa), we(), e = t.flags, e & 65536 && !(e & 128) ? (t.flags = e & -65537 | 128, t) : null;
+ case 3: return _a(ka), Te(), e = t.flags, e & 65536 && !(e & 128) ? (t.flags = e & -65537 | 128, t) : null;
case 26:
case 27:
- case 5: return Ee(t), null;
+ case 5: return De(t), null;
case 31:
if (t.memoizedState !== null) {
- if (Po(t), t.alternate === null) throw Error(i(340));
- la();
+ if (Fo(t), t.alternate === null) throw Error(i(340));
+ ua();
}
return e = t.flags, e & 65536 ? (t.flags = e & -65537 | 128, t) : null;
case 13:
- if (Po(t), e = t.memoizedState, e !== null && e.dehydrated !== null) {
+ if (Fo(t), e = t.memoizedState, e !== null && e.dehydrated !== null) {
if (t.alternate === null) throw Error(i(340));
- la();
+ ua();
}
return e = t.flags, e & 65536 ? (t.flags = e & -65537 | 128, t) : null;
- case 19: return Lo(t), e = t.flags, e & 65536 ? (t.flags = e & -65537 | 128, e = t.memoizedState, e !== null && (e.rendering = null, e.tail = null), t.flags |= 4, t) : null;
- case 4: return we(), null;
- case 10: return ga(t.type), null;
+ case 19: return Ro(t), e = t.flags, e & 65536 ? (t.flags = e & -65537 | 128, e = t.memoizedState, e !== null && (e.rendering = null, e.tail = null), t.flags |= 4, t) : null;
+ case 4: return Te(), null;
+ case 10: return _a(t.type), null;
case 22:
- case 23: return Po(t), Do(), e !== null && _e(Ha), e = t.flags, e & 65536 ? (t.flags = e & -65537 | 128, t) : null;
- case 24: return ga(Oa), null;
+ case 23: return Fo(t), Oo(), e !== null && ve(Ua), e = t.flags, e & 65536 ? (t.flags = e & -65537 | 128, t) : null;
+ case 24: return _a(ka), null;
case 25: return null;
default: return null;
}
}
- function bl(e, t) {
- switch (Qi(t), t.tag) {
+ function xl(e, t) {
+ switch ($i(t), t.tag) {
case 3:
- ga(Oa), we();
+ _a(ka), Te();
break;
case 26:
case 27:
case 5:
- Ee(t);
+ De(t);
break;
case 4:
- we();
+ Te();
break;
case 31:
- t.memoizedState !== null && Po(t);
+ t.memoizedState !== null && Fo(t);
break;
case 13:
- Po(t);
+ Fo(t);
break;
case 19:
- Lo(t);
+ Ro(t);
break;
case 10:
- ga(t.type);
+ _a(t.type);
break;
case 22:
case 23:
- Po(t), Do(), e !== null && _e(Ha);
+ Fo(t), Oo(), e !== null && ve(Ua);
break;
- case 24: ga(Oa);
+ case 24: _a(ka);
}
}
- function xl(e, t) {
+ function Sl(e, t) {
try {
var n = t.updateQueue, r = n === null ? null : n.lastEffect;
if (r !== null) {
@@ -14306,10 +14306,10 @@ var Tf = /* @__PURE__ */ g(((e) => {
} while (n !== i);
}
} catch (e) {
- bf(t, t.return, e);
+ xf(t, t.return, e);
}
}
- function Sl(e, t, n) {
+ function Cl(e, t, n) {
try {
var r = t.updateQueue, i = r === null ? null : r.lastEffect;
if (i !== null) {
@@ -14324,7 +14324,7 @@ var Tf = /* @__PURE__ */ g(((e) => {
try {
l();
} catch (e) {
- bf(i, c, e);
+ xf(i, c, e);
}
}
}
@@ -14332,29 +14332,29 @@ var Tf = /* @__PURE__ */ g(((e) => {
} while (r !== a);
}
} catch (e) {
- bf(t, t.return, e);
+ xf(t, t.return, e);
}
}
- function Cl(e) {
+ function wl(e) {
var t = e.updateQueue;
if (t !== null) {
var n = e.stateNode;
try {
- So(t, n);
+ Co(t, n);
} catch (t) {
- bf(e, e.return, t);
+ xf(e, e.return, t);
}
}
}
- function wl(e, t, n) {
- n.props = xc(e.type, e.memoizedProps), n.state = e.memoizedState;
+ function Tl(e, t, n) {
+ n.props = Sc(e.type, e.memoizedProps), n.state = e.memoizedState;
try {
n.componentWillUnmount();
} catch (n) {
- bf(e, t, n);
+ xf(e, t, n);
}
}
- function Tl(e, t) {
+ function El(e, t) {
try {
var n = e.ref;
if (n !== null) {
@@ -14365,13 +14365,13 @@ var Tf = /* @__PURE__ */ g(((e) => {
var r = e.stateNode;
break;
case 30:
- var i = e.stateNode, a = mi(e.memoizedProps, i);
- (i.ref === null || i.ref.name !== a) && (i.ref = Wp(a)), r = i.ref;
+ var i = e.stateNode, a = hi(e.memoizedProps, i);
+ (i.ref === null || i.ref.name !== a) && (i.ref = Gp(a)), r = i.ref;
break;
case 7:
if (e.stateNode === null) {
- var o = new Gp(e);
- f(e.child, !1, sm, o, void 0, void 0), e.stateNode = o;
+ var o = new Kp(e);
+ f(e.child, !1, cm, o, void 0, void 0), e.stateNode = o;
}
r = e.stateNode;
break;
@@ -14380,43 +14380,43 @@ var Tf = /* @__PURE__ */ g(((e) => {
typeof n == "function" ? e.refCleanup = n(r) : n.current = r;
}
} catch (n) {
- bf(e, t, n);
+ xf(e, t, n);
}
}
- function El(e, t) {
+ function Dl(e, t) {
var n = e.ref, r = e.refCleanup;
if (n !== null) {
if (typeof r == "function") try {
r();
} catch (n) {
- bf(e, t, n);
+ xf(e, t, n);
} finally {
e.refCleanup = null, e = e.alternate, e != null && (e.refCleanup = null);
}
else if (typeof n == "function") try {
n(null);
} catch (n) {
- bf(e, t, n);
+ xf(e, t, n);
}
else n.current = null;
}
}
- function Dl(e, t) {
- if ((e.tag === 5 || e.tag === 27 || e.tag === 6) && e.alternate === null && t !== null) for (var n = 0; n < t.length; n++) lm(e.stateNode, t[n]);
- }
- function Ol(e) {
- for (var t = e.return; t !== null && (jl(t) && lm(e.stateNode, t.stateNode), !Al(t));) t = t.return;
+ function Ol(e, t) {
+ if ((e.tag === 5 || e.tag === 27 || e.tag === 6) && e.alternate === null && t !== null) for (var n = 0; n < t.length; n++) um(e.stateNode, t[n]);
}
function kl(e) {
- for (var t = e.return; t !== null && (jl(t) && um(e.stateNode, t.stateNode), !Al(t));) t = t.return;
+ for (var t = e.return; t !== null && (Ml(t) && um(e.stateNode, t.stateNode), !jl(t));) t = t.return;
}
function Al(e) {
- return e.tag === 5 || e.tag === 3 || e.tag === 27;
+ for (var t = e.return; t !== null && (Ml(t) && dm(e.stateNode, t.stateNode), !jl(t));) t = t.return;
}
function jl(e) {
- return e && e.tag === 7 && e.stateNode !== null;
+ return e.tag === 5 || e.tag === 3 || e.tag === 27;
}
function Ml(e) {
+ return e && e.tag === 7 && e.stateNode !== null;
+ }
+ function Nl(e) {
var t = e.type, n = e.memoizedProps, r = e.stateNode;
try {
a: switch (t) {
@@ -14429,103 +14429,103 @@ var Tf = /* @__PURE__ */ g(((e) => {
case "img": n.src ? r.src = n.src : n.srcSet && (r.srcset = n.srcSet);
}
} catch (t) {
- bf(e, e.return, t);
+ xf(e, e.return, t);
}
}
- function Nl(e, t, n) {
+ function Pl(e, t, n) {
try {
var r = e.stateNode;
- mp(r, e.type, n, t), r[St] = t;
+ hp(r, e.type, n, t), r[Ct] = t;
} catch (t) {
- bf(e, e.return, t);
+ xf(e, e.return, t);
}
}
- function Pl(e) {
- return e.tag === 5 || e.tag === 3 || e.tag === 26 || e.tag === 27 && Mp(e.type) || e.tag === 4;
- }
function Fl(e) {
+ return e.tag === 5 || e.tag === 3 || e.tag === 26 || e.tag === 27 && Np(e.type) || e.tag === 4;
+ }
+ function Il(e) {
a: for (;;) {
for (; e.sibling === null;) {
- if (e.return === null || Pl(e.return)) return null;
+ if (e.return === null || Fl(e.return)) return null;
e = e.return;
}
for (e.sibling.return = e.return, e = e.sibling; e.tag !== 5 && e.tag !== 6 && e.tag !== 18;) {
- if (e.tag === 27 && Mp(e.type) || e.flags & 2 || e.child === null || e.tag === 4) continue a;
+ if (e.tag === 27 && Np(e.type) || e.flags & 2 || e.child === null || e.tag === 4) continue a;
e.child.return = e, e = e.child;
}
if (!(e.flags & 2)) return e.stateNode;
}
}
- function Il(e, t, n, r) {
+ function Ll(e, t, n, r) {
var i = e.tag;
- if (i === 5 || i === 6) i = e.stateNode, t ? (n.nodeType === 9 ? n.body : n.nodeName === "HTML" ? n.ownerDocument.body : n).insertBefore(i, t) : (t = n.nodeType === 9 ? n.body : n.nodeName === "HTML" ? n.ownerDocument.body : n, t.appendChild(i), n = n._reactRootContainer, n != null || t.onclick !== null || (t.onclick = hn)), Dl(e, r), Ht = !0;
- else if (i !== 4 && (i === 27 && (Dl(e, r), r = null, Mp(e.type) && (n = e.stateNode, t = null)), e = e.child, e !== null)) for (Il(e, t, n, r), e = e.sibling; e !== null;) Il(e, t, n, r), e = e.sibling;
+ if (i === 5 || i === 6) i = e.stateNode, t ? (n.nodeType === 9 ? n.body : n.nodeName === "HTML" ? n.ownerDocument.body : n).insertBefore(i, t) : (t = n.nodeType === 9 ? n.body : n.nodeName === "HTML" ? n.ownerDocument.body : n, t.appendChild(i), n = n._reactRootContainer, n != null || t.onclick !== null || (t.onclick = gn)), Ol(e, r), Ut = !0;
+ else if (i !== 4 && (i === 27 && (Ol(e, r), r = null, Np(e.type) && (n = e.stateNode, t = null)), e = e.child, e !== null)) for (Ll(e, t, n, r), e = e.sibling; e !== null;) Ll(e, t, n, r), e = e.sibling;
}
- function Ll(e, t, n, r) {
+ function Rl(e, t, n, r) {
var i = e.tag;
- if (i === 5 || i === 6) i = e.stateNode, t ? n.insertBefore(i, t) : n.appendChild(i), Dl(e, r), Ht = !0;
- else if (i !== 4 && (i === 27 && (Dl(e, r), r = null, Mp(e.type) && (n = e.stateNode)), e = e.child, e !== null)) for (Ll(e, t, n, r), e = e.sibling; e !== null;) Ll(e, t, n, r), e = e.sibling;
+ if (i === 5 || i === 6) i = e.stateNode, t ? n.insertBefore(i, t) : n.appendChild(i), Ol(e, r), Ut = !0;
+ else if (i !== 4 && (i === 27 && (Ol(e, r), r = null, Np(e.type) && (n = e.stateNode)), e = e.child, e !== null)) for (Rl(e, t, n, r), e = e.sibling; e !== null;) Rl(e, t, n, r), e = e.sibling;
}
- function Rl(e) {
+ function zl(e) {
var t = e.stateNode, n = e.memoizedProps;
try {
for (var r = e.type, i = t.attributes; i.length;) t.removeAttributeNode(i[0]);
- fp(t, r, n), t[xt] = e, t[St] = n;
+ pp(t, r, n), t[St] = e, t[Ct] = n;
} catch (t) {
- bf(e, e.return, t);
+ xf(e, e.return, t);
}
}
- var zl = !1, Bl = null;
- function Vl(e) {
- (e.tag === 30 || e.subtreeFlags & 33554432) && (zl = !0);
- }
- var Hl = null;
- function Ul() {
- var e = Hl;
- return Hl = null, e;
+ var Bl = !1, Vl = null;
+ function Hl(e) {
+ (e.tag === 30 || e.subtreeFlags & 33554432) && (Bl = !0);
}
- var Wl = 0;
- function Gl(e, t, n, r, i) {
- return Wl = 0, Kl(e.child, t, n, r, i);
+ var Ul = null;
+ function Wl() {
+ var e = Ul;
+ return Ul = null, e;
}
+ var Gl = 0;
function Kl(e, t, n, r, i) {
+ return Gl = 0, ql(e.child, t, n, r, i);
+ }
+ function ql(e, t, n, r, i) {
for (var a = !1; e !== null;) {
if (e.tag === 5) {
var o = e.stateNode;
if (r !== null) {
- var s = Rp(o);
+ var s = zp(o);
r.push(s), s.view && (a = !0);
- } else a || Rp(o).view && (a = !0);
- zl = !0, Fp(o, Wl === 0 ? t : t + "_" + Wl, n), Wl++;
- } else (e.tag !== 22 || e.memoizedState === null) && (e.tag === 30 && i || Kl(e.child, t, n, r, i) && (a = !0));
+ } else a || zp(o).view && (a = !0);
+ Bl = !0, Ip(o, Gl === 0 ? t : t + "_" + Gl, n), Gl++;
+ } else (e.tag !== 22 || e.memoizedState === null) && (e.tag === 30 && i || ql(e.child, t, n, r, i) && (a = !0));
e = e.sibling;
}
return a;
}
- function ql(e, t) {
- for (; e !== null;) e.tag === 5 ? Ip(e.stateNode, e.memoizedProps) : (e.tag !== 22 || e.memoizedState === null) && (e.tag === 30 && t || ql(e.child, t)), e = e.sibling;
+ function Jl(e, t) {
+ for (; e !== null;) e.tag === 5 ? Lp(e.stateNode, e.memoizedProps) : (e.tag !== 22 || e.memoizedState === null) && (e.tag === 30 && t || Jl(e.child, t)), e = e.sibling;
}
- function Jl(e) {
+ function Yl(e) {
if (e.subtreeFlags & 18874368) for (e = e.child; e !== null;) {
- if ((e.tag !== 22 || e.memoizedState === null) && (Jl(e), e.tag === 30 && e.flags & 18874368 && e.stateNode.paired)) {
+ if ((e.tag !== 22 || e.memoizedState === null) && (Yl(e), e.tag === 30 && e.flags & 18874368 && e.stateNode.paired)) {
var t = e.memoizedProps;
if (t.name == null || t.name === "auto") throw Error(i(544));
var n = t.name;
- t = gi(t.default, t.share), t !== "none" && (Gl(e, n, t, null, !1) || ql(e.child, !1));
+ t = _i(t.default, t.share), t !== "none" && (Kl(e, n, t, null, !1) || Jl(e.child, !1));
}
e = e.sibling;
}
}
- function Yl(e, t) {
+ function Xl(e, t) {
if (e.tag === 30) {
- var n = e.stateNode, r = e.memoizedProps, i = mi(r, n), a = gi(r.default, n.paired ? r.share : r.enter);
- a === "none" ? Jl(e) : Gl(e, i, a, null, !1) ? (Jl(e), n.paired || t || zd(e, r.onEnter)) : ql(e.child, !1);
- } else if (e.subtreeFlags & 33554432) for (e = e.child; e !== null;) Yl(e, t), e = e.sibling;
- else Jl(e);
- }
- function Xl(e) {
- if (Bl !== null && Bl.size !== 0) {
- var t = Bl;
+ var n = e.stateNode, r = e.memoizedProps, i = hi(r, n), a = _i(r.default, n.paired ? r.share : r.enter);
+ a === "none" ? Yl(e) : Kl(e, i, a, null, !1) ? (Yl(e), n.paired || t || Bd(e, r.onEnter)) : Jl(e.child, !1);
+ } else if (e.subtreeFlags & 33554432) for (e = e.child; e !== null;) Xl(e, t), e = e.sibling;
+ else Yl(e);
+ }
+ function Zl(e) {
+ if (Vl !== null && Vl.size !== 0) {
+ var t = Vl;
if (e.subtreeFlags & 18874368) for (e = e.child; e !== null;) {
if (e.tag !== 22 || e.memoizedState === null) {
if (e.tag === 30 && e.flags & 18874368) {
@@ -14533,59 +14533,59 @@ var Tf = /* @__PURE__ */ g(((e) => {
if (r != null && r !== "auto") {
var i = t.get(r);
if (i !== void 0) {
- var a = gi(n.default, n.share);
- if (a !== "none" && (Gl(e, r, a, null, !1) ? (a = e.stateNode, i.paired = a, a.paired = i, zd(e, n.onShare)) : ql(e.child, !1)), t.delete(r), t.size === 0) break;
+ var a = _i(n.default, n.share);
+ if (a !== "none" && (Kl(e, r, a, null, !1) ? (a = e.stateNode, i.paired = a, a.paired = i, Bd(e, n.onShare)) : Jl(e.child, !1)), t.delete(r), t.size === 0) break;
}
}
}
- Xl(e);
+ Zl(e);
}
e = e.sibling;
}
}
}
- function Zl(e) {
+ function Ql(e) {
if (e.tag === 30) {
- var t = e.memoizedProps, n = mi(t, e.stateNode), r = Bl === null ? void 0 : Bl.get(n), i = gi(t.default, r === void 0 ? t.exit : t.share);
- i !== "none" && (Gl(e, n, i, null, !1) ? r === void 0 ? zd(e, t.onExit) : (i = e.stateNode, r.paired = i, i.paired = r, Bl.delete(n), zd(e, t.onShare)) : ql(e.child, !1)), Bl !== null && Xl(e);
- } else if (e.subtreeFlags & 33554432) for (e = e.child; e !== null;) Zl(e), e = e.sibling;
- else Bl !== null && Xl(e);
+ var t = e.memoizedProps, n = hi(t, e.stateNode), r = Vl === null ? void 0 : Vl.get(n), i = _i(t.default, r === void 0 ? t.exit : t.share);
+ i !== "none" && (Kl(e, n, i, null, !1) ? r === void 0 ? Bd(e, t.onExit) : (i = e.stateNode, r.paired = i, i.paired = r, Vl.delete(n), Bd(e, t.onShare)) : Jl(e.child, !1)), Vl !== null && Zl(e);
+ } else if (e.subtreeFlags & 33554432) for (e = e.child; e !== null;) Ql(e), e = e.sibling;
+ else Vl !== null && Zl(e);
}
- function Ql(e) {
+ function $l(e) {
for (e = e.child; e !== null;) {
if (e.tag === 30) {
- var t = e.memoizedProps, n = mi(t, e.stateNode);
- t = gi(t.default, t.update), e.flags &= -5, t !== "none" && Gl(e, n, t, e.memoizedState = [], !1);
- } else e.subtreeFlags & 33554432 && Ql(e);
+ var t = e.memoizedProps, n = hi(t, e.stateNode);
+ t = _i(t.default, t.update), e.flags &= -5, t !== "none" && Kl(e, n, t, e.memoizedState = [], !1);
+ } else e.subtreeFlags & 33554432 && $l(e);
e = e.sibling;
}
}
- function $l(e) {
+ function eu(e) {
if (e.subtreeFlags & 18874368) for (e = e.child; e !== null;) {
if (e.tag !== 22 || e.memoizedState === null) {
if (e.tag === 30 && e.flags & 18874368) {
var t = e.stateNode;
- t.paired !== null && (t.paired = null, ql(e.child, !1));
+ t.paired !== null && (t.paired = null, Jl(e.child, !1));
}
- $l(e);
+ eu(e);
}
e = e.sibling;
}
}
- function eu(e) {
- if (e.tag === 30) e.stateNode.paired = null, ql(e.child, !1), $l(e);
- else if (e.subtreeFlags & 33554432) for (e = e.child; e !== null;) eu(e), e = e.sibling;
- else $l(e);
- }
function tu(e) {
- for (e = e.child; e !== null;) e.tag === 30 ? ql(e.child, !1) : e.subtreeFlags & 33554432 && tu(e), e = e.sibling;
+ if (e.tag === 30) e.stateNode.paired = null, Jl(e.child, !1), eu(e);
+ else if (e.subtreeFlags & 33554432) for (e = e.child; e !== null;) tu(e), e = e.sibling;
+ else eu(e);
+ }
+ function nu(e) {
+ for (e = e.child; e !== null;) e.tag === 30 ? Jl(e.child, !1) : e.subtreeFlags & 33554432 && nu(e), e = e.sibling;
}
- function nu(e, t, n, r, i, a, o) {
+ function ru(e, t, n, r, i, a, o) {
for (var s = !1; t !== null;) {
if (t.tag === 5) {
var c = t.stateNode;
- if (a !== null && Wl < a.length) {
- var l = a[Wl], u = Rp(c);
+ if (a !== null && Gl < a.length) {
+ var l = a[Gl], u = zp(c);
(l.view || u.view) && (s = !0);
var d;
if (d = !(e.flags & 4)) {
@@ -14598,30 +14598,30 @@ var Tf = /* @__PURE__ */ g(((e) => {
}
d && (e.flags |= 4), u.abs ? u = !l.abs : (l = l.rect, u = u.rect, u = l.height !== u.height || l.width !== u.width), u && (e.flags |= 32);
} else e.flags |= 32;
- e.flags & 4 && Fp(c, Wl === 0 ? n : n + "_" + Wl, i), s && e.flags & 4 || (Hl === null && (Hl = []), Hl.push(c, Wl === 0 ? r : r + "_" + Wl, t.memoizedProps)), Wl++;
- } else (t.tag !== 22 || t.memoizedState === null) && (t.tag === 30 && o ? e.flags |= t.flags & 32 : nu(e, t.child, n, r, i, a, o) && (s = !0));
+ e.flags & 4 && Ip(c, Gl === 0 ? n : n + "_" + Gl, i), s && e.flags & 4 || (Ul === null && (Ul = []), Ul.push(c, Gl === 0 ? r : r + "_" + Gl, t.memoizedProps)), Gl++;
+ } else (t.tag !== 22 || t.memoizedState === null) && (t.tag === 30 && o ? e.flags |= t.flags & 32 : ru(e, t.child, n, r, i, a, o) && (s = !0));
t = t.sibling;
}
return s;
}
- function ru(e, t) {
+ function iu(e, t) {
for (e = e.child; e !== null;) {
if (e.tag === 30) {
- var n = e.memoizedProps, r = e.stateNode, i = mi(n, r), a = gi(n.default, n.update);
+ var n = e.memoizedProps, r = e.stateNode, i = hi(n, r), a = _i(n.default, n.update);
if (t) {
r = r.clones;
- var o = r === null ? null : r.map(zp);
+ var o = r === null ? null : r.map(Bp);
} else o = e.memoizedState, e.memoizedState = null;
r = e;
var s = e.child;
- Wl = 0, i = nu(r, s, i, i, a, o, !1), e.flags & 4 && i && (t || zd(e, n.onUpdate));
- } else e.subtreeFlags & 33554432 && ru(e, t);
+ Gl = 0, i = ru(r, s, i, i, a, o, !1), e.flags & 4 && i && (t || Bd(e, n.onUpdate));
+ } else e.subtreeFlags & 33554432 && iu(e, t);
e = e.sibling;
}
}
- var iu = !1, au = !1, ou = !1, su = !1, cu = typeof WeakSet == "function" ? WeakSet : Set, lu = null, uu = !1, du = !1, fu = !1, pu = !1;
- function mu(e, t, n) {
- if (e = e.containerInfo, _p = xh, e = Ur(e), Wr(e)) {
+ var au = !1, ou = !1, su = !1, cu = !1, lu = typeof WeakSet == "function" ? WeakSet : Set, uu = null, du = !1, fu = !1, pu = !1, mu = !1;
+ function hu(e, t, n) {
+ if (e = e.containerInfo, vp = xh, e = Wr(e), Gr(e)) {
if ("selectionStart" in e) var r = {
start: e.selectionStart,
end: e.selectionEnd
@@ -14660,31 +14660,31 @@ var Tf = /* @__PURE__ */ g(((e) => {
end: 0
};
} else r = null;
- for (vp = {
+ for (yp = {
focusedElem: e,
selectionRange: r
- }, xh = !1, n = (n & 335544064) === n, lu = t, t = n ? 9270 : 1024; lu !== null;) {
- if (e = lu, n && (r = e.deletions, r !== null)) for (a = 0; a < r.length; a++) n && Zl(r[a]);
- if (e.alternate === null && e.flags & 2) n && Vl(e), hu(n);
+ }, xh = !1, n = (n & 335544064) === n, uu = t, t = n ? 9270 : 1024; uu !== null;) {
+ if (e = uu, n && (r = e.deletions, r !== null)) for (a = 0; a < r.length; a++) n && Ql(r[a]);
+ if (e.alternate === null && e.flags & 2) n && Hl(e), gu(n);
else {
if (e.tag === 22) {
if (r = e.alternate, e.memoizedState !== null) {
- r !== null && r.memoizedState === null && n && Zl(r), hu(n);
+ r !== null && r.memoizedState === null && n && Ql(r), gu(n);
continue;
}
if (r !== null && r.memoizedState !== null) {
- n && Vl(e), hu(n);
+ n && Hl(e), gu(n);
continue;
}
}
- r = e.child, (e.subtreeFlags & t) !== 0 && r !== null ? (r.return = e, lu = r) : (n && Ql(e), hu(n));
+ r = e.child, (e.subtreeFlags & t) !== 0 && r !== null ? (r.return = e, uu = r) : (n && $l(e), gu(n));
}
}
- Bl = null;
+ Vl = null;
}
- function hu(e) {
- for (; lu !== null;) {
- var t = lu, n = e, r = t.alternate, a = t.flags;
+ function gu(e) {
+ for (; uu !== null;) {
+ var t = uu, n = e, r = t.alternate, a = t.flags;
switch (t.tag) {
case 0:
case 11:
@@ -14694,21 +14694,21 @@ var Tf = /* @__PURE__ */ g(((e) => {
n = void 0, a = r.memoizedProps, r = r.memoizedState;
var o = t.stateNode;
try {
- var s = xc(t.type, a);
+ var s = Sc(t.type, a);
n = o.getSnapshotBeforeUpdate(s, r), o.__reactInternalSnapshotBeforeUpdate = n;
} catch (e) {
- bf(t, t.return, e);
+ xf(t, t.return, e);
}
}
break;
case 3:
if (a & 1024) {
- if (r = t.stateNode.containerInfo, n = r.nodeType, n === 9) dm(r);
+ if (r = t.stateNode.containerInfo, n = r.nodeType, n === 9) fm(r);
else if (n === 1) switch (r.nodeName) {
case "HEAD":
case "HTML":
case "BODY":
- dm(r);
+ fm(r);
break;
default: r.textContent = "";
}
@@ -14721,46 +14721,46 @@ var Tf = /* @__PURE__ */ g(((e) => {
case 4:
case 17: break;
case 30:
- n && r !== null && (n = mi(r.memoizedProps, r.stateNode), a = t.memoizedProps, a = gi(a.default, a.update), a !== "none" && Gl(r, n, a, r.memoizedState = [], !0));
+ n && r !== null && (n = hi(r.memoizedProps, r.stateNode), a = t.memoizedProps, a = _i(a.default, a.update), a !== "none" && Kl(r, n, a, r.memoizedState = [], !0));
break;
default: if (a & 1024) throw Error(i(163));
}
if (r = t.sibling, r !== null) {
- r.return = t.return, lu = r;
+ r.return = t.return, uu = r;
break;
}
- lu = t.return;
+ uu = t.return;
}
}
- function gu(e, t, n) {
+ function _u(e, t, n) {
var r = n.flags;
switch (n.tag) {
case 0:
case 11:
case 15:
- Iu(e, n), r & 4 && xl(5, n);
+ Lu(e, n), r & 4 && Sl(5, n);
break;
case 1:
- if (Iu(e, n), r & 4) {
+ if (Lu(e, n), r & 4) {
if (e = n.stateNode, t === null) try {
e.componentDidMount();
} catch (e) {
- bf(n, n.return, e);
+ xf(n, n.return, e);
}
else {
- var i = xc(n.type, t.memoizedProps);
+ var i = Sc(n.type, t.memoizedProps);
t = t.memoizedState;
try {
e.componentDidUpdate(i, t, e.__reactInternalSnapshotBeforeUpdate);
} catch (e) {
- bf(n, n.return, e);
+ xf(n, n.return, e);
}
}
}
- r & 64 && Cl(n), r & 512 && Tl(n, n.return);
+ r & 64 && wl(n), r & 512 && El(n, n.return);
break;
case 3:
- if (Iu(e, n), r & 64 && (e = n.updateQueue, e !== null)) {
+ if (Lu(e, n), r & 64 && (e = n.updateQueue, e !== null)) {
if (t = null, n.child !== null) switch (n.child.tag) {
case 27:
case 5:
@@ -14769,43 +14769,43 @@ var Tf = /* @__PURE__ */ g(((e) => {
case 1: t = n.child.stateNode;
}
try {
- So(e, t);
+ Co(e, t);
} catch (e) {
- bf(n, n.return, e);
+ xf(n, n.return, e);
}
}
break;
- case 27: t === null && r & 4 && Rl(n);
+ case 27: t === null && r & 4 && zl(n);
case 26:
case 5:
- Iu(e, n), t === null && r & 4 && Ml(n), r & 512 && Tl(n, n.return);
+ Lu(e, n), t === null && r & 4 && Nl(n), r & 512 && El(n, n.return);
break;
case 12:
- Iu(e, n);
+ Lu(e, n);
break;
case 31:
- Iu(e, n), r & 4 && Tu(e, n);
+ Lu(e, n), r & 4 && Eu(e, n);
break;
case 13:
- Iu(e, n), r & 4 && Eu(e, n), r & 64 && (e = n.memoizedState, e !== null && (e = e.dehydrated, e !== null && (n = wf.bind(null, n), gm(e, n))));
+ Lu(e, n), r & 4 && Du(e, n), r & 64 && (e = n.memoizedState, e !== null && (e = e.dehydrated, e !== null && (n = Tf.bind(null, n), _m(e, n))));
break;
case 22:
- if (r = n.memoizedState !== null || iu, !r) {
- var a = t !== null && t.memoizedState !== null || au;
- t = iu, i = au, iu = r, (au = a) && !i ? (r = 2, n.subtreeFlags & 8772 && (r |= 1), Ru(e, n, r)) : Iu(e, n), iu = t, au = i;
+ if (r = n.memoizedState !== null || au, !r) {
+ var a = t !== null && t.memoizedState !== null || ou;
+ t = au, i = ou, au = r, (ou = a) && !i ? (r = 2, n.subtreeFlags & 8772 && (r |= 1), zu(e, n, r)) : Lu(e, n), au = t, ou = i;
}
break;
case 30:
- Iu(e, n), r & 512 && Tl(n, n.return);
+ Lu(e, n), r & 512 && El(n, n.return);
break;
- case 7: r & 512 && Tl(n, n.return);
- default: Iu(e, n);
+ case 7: r & 512 && El(n, n.return);
+ default: Lu(e, n);
}
}
- function _u(e, t) {
- for (e = e.child; e !== null;) vu(e, t), e = e.sibling;
- }
function vu(e, t) {
+ for (e = e.child; e !== null;) yu(e, t), e = e.sibling;
+ }
+ function yu(e, t) {
switch (e.tag) {
case 5:
case 26:
@@ -14819,182 +14819,182 @@ var Tf = /* @__PURE__ */ g(((e) => {
i.style.display = o == null || typeof o == "boolean" ? "" : ("" + o).trim();
}
} catch (t) {
- bf(e, e.return, t);
+ xf(e, e.return, t);
}
- yu(e, t);
+ bu(e, t);
break;
case 6:
try {
- e.stateNode.nodeValue = t ? "" : e.memoizedProps, Ht = !0;
+ e.stateNode.nodeValue = t ? "" : e.memoizedProps, Ut = !0;
} catch (t) {
- bf(e, e.return, t);
+ xf(e, e.return, t);
}
break;
case 18:
try {
var s = e.stateNode;
- t ? Pp(s, !0) : Pp(e.stateNode, !1);
+ t ? Fp(s, !0) : Fp(e.stateNode, !1);
} catch (t) {
- bf(e, e.return, t);
+ xf(e, e.return, t);
}
break;
case 22:
case 23:
- e.memoizedState === null && _u(e, t);
+ e.memoizedState === null && vu(e, t);
break;
- default: _u(e, t);
+ default: vu(e, t);
}
}
- function yu(e, t) {
+ function bu(e, t) {
if (e.subtreeFlags & 67108864) for (e = e.child; e !== null;) {
a: {
var n = e, r = t;
switch (n.tag) {
case 4:
- vu(n, r);
+ yu(n, r);
break a;
case 22:
- n.memoizedState === null && yu(n, r);
+ n.memoizedState === null && bu(n, r);
break a;
- default: yu(n, r);
+ default: bu(n, r);
}
}
e = e.sibling;
}
}
- function bu(e) {
+ function xu(e) {
var t = e.alternate;
- t !== null && (e.alternate = null, bu(t)), e.child = null, e.deletions = null, e.sibling = null, e.tag === 5 && (t = e.stateNode, t !== null && kt(t)), e.stateNode = null, e.return = null, e.dependencies = null, e.memoizedProps = null, e.memoizedState = null, e.pendingProps = null, e.stateNode = null, e.updateQueue = null;
- }
- var xu = null, Su = !1;
- function Cu(e, t, n) {
- for (n = n.child; n !== null;) wu(e, t, n), n = n.sibling;
+ t !== null && (e.alternate = null, xu(t)), e.child = null, e.deletions = null, e.sibling = null, e.tag === 5 && (t = e.stateNode, t !== null && At(t)), e.stateNode = null, e.return = null, e.dependencies = null, e.memoizedProps = null, e.memoizedState = null, e.pendingProps = null, e.stateNode = null, e.updateQueue = null;
}
+ var Su = null, Cu = !1;
function wu(e, t, n) {
- if (Ye && typeof Ye.onCommitFiberUnmount == "function") try {
- Ye.onCommitFiberUnmount(Je, n);
+ for (n = n.child; n !== null;) Tu(e, t, n), n = n.sibling;
+ }
+ function Tu(e, t, n) {
+ if (Xe && typeof Xe.onCommitFiberUnmount == "function") try {
+ Xe.onCommitFiberUnmount(Ye, n);
} catch {}
switch (n.tag) {
case 26:
- au || El(n, t), Cu(e, t, n), n.memoizedState ? n.memoizedState.count-- : n.stateNode && !au && (n = n.stateNode, n.parentNode.removeChild(n));
+ ou || Dl(n, t), wu(e, t, n), n.memoizedState ? n.memoizedState.count-- : n.stateNode && !ou && (n = n.stateNode, n.parentNode.removeChild(n));
break;
case 27:
- au || El(n, t), kl(n);
- var r = xu, i = Su;
- Mp(n.type) && (xu = n.stateNode, Su = !1), Cu(e, t, n), Cm(n.stateNode, n.type, n.memoizedProps), xu = r, Su = i;
+ ou || Dl(n, t), Al(n);
+ var r = Su, i = Cu;
+ Np(n.type) && (Su = n.stateNode, Cu = !1), wu(e, t, n), wm(n.stateNode, n.type, n.memoizedProps), Su = r, Cu = i;
break;
- case 5: au || El(n, t), kl(n);
+ case 5: ou || Dl(n, t), Al(n);
case 6:
- if (n.tag === 6 && kl(n), r = xu, i = Su, xu = null, Cu(e, t, n), xu = r, Su = i, xu !== null) {
- if (Su) try {
- (xu.nodeType === 9 ? xu.body : xu.nodeName === "HTML" ? xu.ownerDocument.body : xu).removeChild(n.stateNode), Ht = !0;
+ if (n.tag === 6 && Al(n), r = Su, i = Cu, Su = null, wu(e, t, n), Su = r, Cu = i, Su !== null) {
+ if (Cu) try {
+ (Su.nodeType === 9 ? Su.body : Su.nodeName === "HTML" ? Su.ownerDocument.body : Su).removeChild(n.stateNode), Ut = !0;
} catch (e) {
- bf(n, t, e);
+ xf(n, t, e);
}
else try {
- xu.removeChild(n.stateNode), Ht = !0;
+ Su.removeChild(n.stateNode), Ut = !0;
} catch (e) {
- bf(n, t, e);
+ xf(n, t, e);
}
}
break;
case 18:
- xu !== null && (Su ? (e = xu, Np(e.nodeType === 9 ? e.body : e.nodeName === "HTML" ? e.ownerDocument.body : e, n.stateNode), Y(e)) : Np(xu, n.stateNode));
+ Su !== null && (Cu ? (e = Su, Pp(e.nodeType === 9 ? e.body : e.nodeName === "HTML" ? e.ownerDocument.body : e, n.stateNode), Y(e)) : Pp(Su, n.stateNode));
break;
case 4:
- r = xu, i = Su, xu = n.stateNode.containerInfo, Su = !0, Cu(e, t, n), xu = r, Su = i;
+ r = Su, i = Cu, Su = n.stateNode.containerInfo, Cu = !0, wu(e, t, n), Su = r, Cu = i;
break;
case 0:
case 11:
case 14:
case 15:
- Sl(2, n, t), au || Sl(4, n, t), Cu(e, t, n);
+ Cl(2, n, t), ou || Cl(4, n, t), wu(e, t, n);
break;
case 1:
- au || (El(n, t), r = n.stateNode, typeof r.componentWillUnmount == "function" && wl(n, t, r)), Cu(e, t, n);
+ ou || (Dl(n, t), r = n.stateNode, typeof r.componentWillUnmount == "function" && Tl(n, t, r)), wu(e, t, n);
break;
case 21:
- Cu(e, t, n);
+ wu(e, t, n);
break;
case 22:
- au = (r = au) || n.memoizedState !== null, Cu(e, t, n), au = r;
+ ou = (r = ou) || n.memoizedState !== null, wu(e, t, n), ou = r;
break;
case 30:
- El(n, t), Cu(e, t, n);
+ Dl(n, t), wu(e, t, n);
break;
case 7:
- au || El(n, t), Cu(e, t, n);
+ ou || Dl(n, t), wu(e, t, n);
break;
- default: Cu(e, t, n);
+ default: wu(e, t, n);
}
}
- function Tu(e, t) {
+ function Eu(e, t) {
if (t.memoizedState === null && (e = t.alternate, e !== null && (e = e.memoizedState, e !== null))) {
e = e.dehydrated;
try {
Y(e);
} catch (e) {
- bf(t, t.return, e);
+ xf(t, t.return, e);
}
}
}
- function Eu(e, t) {
+ function Du(e, t) {
if (t.memoizedState === null && (e = t.alternate, e !== null && (e = e.memoizedState, e !== null && (e = e.dehydrated, e !== null)))) try {
Y(e);
} catch (e) {
- bf(t, t.return, e);
+ xf(t, t.return, e);
}
}
- function Du(e) {
+ function Ou(e) {
switch (e.tag) {
case 31:
case 13:
case 19:
var t = e.stateNode;
- return t === null && (t = e.stateNode = new cu()), t;
- case 22: return e = e.stateNode, t = e._retryCache, t === null && (t = e._retryCache = new cu()), t;
+ return t === null && (t = e.stateNode = new lu()), t;
+ case 22: return e = e.stateNode, t = e._retryCache, t === null && (t = e._retryCache = new lu()), t;
default: throw Error(i(435, e.tag));
}
}
- function Ou(e, t) {
- var n = Du(e);
+ function ku(e, t) {
+ var n = Ou(e);
t.forEach(function(t) {
if (!n.has(t)) {
n.add(t);
- var r = Tf.bind(null, e, t);
+ var r = Ef.bind(null, e, t);
t.then(r, r);
}
});
}
- function ku(e, t, n) {
+ function Au(e, t, n) {
var r = t.deletions;
if (r !== null) for (var a = 0; a < r.length; a++) {
var o = r[a], s = e, c = t, l = c;
a: for (; l !== null;) {
switch (l.tag) {
case 27:
- if (Mp(l.type)) {
- xu = l.stateNode, Su = !1;
+ if (Np(l.type)) {
+ Su = l.stateNode, Cu = !1;
break a;
}
break;
case 5:
- xu = l.stateNode, Su = !1;
+ Su = l.stateNode, Cu = !1;
break a;
case 3:
case 4:
- xu = l.stateNode.containerInfo, Su = !0;
+ Su = l.stateNode.containerInfo, Cu = !0;
break a;
}
l = l.return;
}
- if (xu === null) throw Error(i(160));
- wu(s, c, o), xu = null, Su = !1, s = o.alternate, s !== null && (s.return = null), o.return = null;
+ if (Su === null) throw Error(i(160));
+ Tu(s, c, o), Su = null, Cu = !1, s = o.alternate, s !== null && (s.return = null), o.return = null;
}
- if (t.subtreeFlags & 13886) for (t = t.child; t !== null;) ju(t, e, n), t = t.sibling;
+ if (t.subtreeFlags & 13886) for (t = t.child; t !== null;) Mu(t, e, n), t = t.sibling;
}
- var Au = null;
- function ju(e, t, n) {
+ var ju = null;
+ function Mu(e, t, n) {
var r = e.alternate, a = e.flags;
switch (e.tag) {
case 0:
@@ -15005,23 +15005,23 @@ var Tf = /* @__PURE__ */ g(((e) => {
var s = r[o];
s.ref.impl = s.nextImpl;
}
- ku(t, e, n), Mu(e), a & 4 && (Sl(3, e, e.return), xl(3, e), Sl(5, e, e.return));
+ Au(t, e, n), Nu(e), a & 4 && (Cl(3, e, e.return), Sl(3, e), Cl(5, e, e.return));
break;
case 1:
- ku(t, e, n), Mu(e), a & 512 && (au || r === null || El(r, r.return)), a & 64 && iu && (e = e.updateQueue, e !== null && (t = e.callbacks, t !== null && (n = e.shared.hiddenCallbacks, e.shared.hiddenCallbacks = n === null ? t : n.concat(t))));
+ Au(t, e, n), Nu(e), a & 512 && (ou || r === null || Dl(r, r.return)), a & 64 && au && (e = e.updateQueue, e !== null && (t = e.callbacks, t !== null && (n = e.shared.hiddenCallbacks, e.shared.hiddenCallbacks = n === null ? t : n.concat(t))));
break;
case 26:
- if (o = Au, ku(t, e, n), Mu(e), a & 512 && (au || r === null || El(r, r.return)), a & 4) {
+ if (o = ju, Au(t, e, n), Nu(e), a & 512 && (ou || r === null || Dl(r, r.return)), a & 4) {
if (a = r === null ? null : r.memoizedState, n = e.memoizedState, r === null) {
if (n === null) {
if (e.stateNode === null) {
- if (iu) e.stateNode = Sp(e.type, e.memoizedProps, t.containerInfo, e);
+ if (au) e.stateNode = Cp(e.type, e.memoizedProps, t.containerInfo, e);
else {
a: {
t = e.type, n = e.memoizedProps, a = o.ownerDocument || o;
b: switch (t) {
case "title":
- r = a.getElementsByTagName("title")[0], (!r || r[R] || r[xt] || r.namespaceURI === "http://www.w3.org/2000/svg" || r.hasAttribute("itemprop")) && (r = a.createElement(t), a.head.insertBefore(r, a.querySelector("head > title"))), fp(r, t, n), r[xt] = e, Pt(r), t = r;
+ r = a.getElementsByTagName("title")[0], (!r || r[L] || r[St] || r.namespaceURI === "http://www.w3.org/2000/svg" || r.hasAttribute("itemprop")) && (r = a.createElement(t), a.head.insertBefore(r, a.querySelector("head > title"))), pp(r, t, n), r[St] = e, Ft(r), t = r;
break a;
case "link":
if (o = q("link", "href", a).get(t + (n.href || ""))) {
@@ -15030,7 +15030,7 @@ var Tf = /* @__PURE__ */ g(((e) => {
break b;
}
}
- r = a.createElement(t), fp(r, t, n), a.head.appendChild(r);
+ r = a.createElement(t), pp(r, t, n), a.head.appendChild(r);
break;
case "meta":
if (o = q("meta", "content", a).get(t + (n.content || ""))) {
@@ -15039,86 +15039,86 @@ var Tf = /* @__PURE__ */ g(((e) => {
break b;
}
}
- r = a.createElement(t), fp(r, t, n), a.head.appendChild(r);
+ r = a.createElement(t), pp(r, t, n), a.head.appendChild(r);
break;
default: throw Error(i(468, t));
}
- r[xt] = e, Pt(r), t = r;
+ r[St] = e, Ft(r), t = r;
}
e.stateNode = t;
}
- } else iu || Qm(o, e.type, e.stateNode);
+ } else au || Qm(o, e.type, e.stateNode);
} else e.stateNode = qm(o, n, e.memoizedProps);
- } else a === n ? n === null && e.stateNode !== null && Nl(e, e.memoizedProps, r.memoizedProps) : (a === null ? (t = r.stateNode, t === null || au || t.parentNode.removeChild(t)) : a.count--, n === null ? iu || Qm(o, e.type, e.stateNode) : qm(o, n, e.memoizedProps));
+ } else a === n ? n === null && e.stateNode !== null && Pl(e, e.memoizedProps, r.memoizedProps) : (a === null ? (t = r.stateNode, t === null || ou || t.parentNode.removeChild(t)) : a.count--, n === null ? au || Qm(o, e.type, e.stateNode) : qm(o, n, e.memoizedProps));
}
break;
case 27:
- ku(t, e, n), Mu(e), a & 512 && (au || r === null || El(r, r.return)), r !== null && a & 4 && Nl(e, e.memoizedProps, r.memoizedProps);
+ Au(t, e, n), Nu(e), a & 512 && (ou || r === null || Dl(r, r.return)), r !== null && a & 4 && Pl(e, e.memoizedProps, r.memoizedProps);
break;
case 5:
- if (o = ou, ou = !1, ku(t, e, n), ou = o, Mu(e), a & 512 && (au || r === null || El(r, r.return)), e.flags & 32) {
+ if (o = su, su = !1, Au(t, e, n), su = o, Nu(e), a & 512 && (ou || r === null || Dl(r, r.return)), e.flags & 32) {
t = e.stateNode;
try {
- sn(t, ""), Ht = !0;
+ cn(t, ""), Ut = !0;
} catch (t) {
- bf(e, e.return, t);
+ xf(e, e.return, t);
}
}
- a & 4 && e.stateNode != null && (t = e.memoizedProps, Nl(e, t, r === null ? t : r.memoizedProps)), a & 1024 && (su = !0);
+ a & 4 && e.stateNode != null && (t = e.memoizedProps, Pl(e, t, r === null ? t : r.memoizedProps)), a & 1024 && (cu = !0);
break;
case 6:
- if (ku(t, e, n), Mu(e), a & 4) {
+ if (Au(t, e, n), Nu(e), a & 4) {
if (e.stateNode === null) throw Error(i(162));
t = e.memoizedProps, n = e.stateNode;
try {
- n.nodeValue = t, Ht = !0;
+ n.nodeValue = t, Ut = !0;
} catch (t) {
- bf(e, e.return, t);
+ xf(e, e.return, t);
}
}
break;
case 3:
- if (Ht = !1, Zm = null, o = Au, Au = Dm(t.containerInfo), ku(t, e, n), Au = o, Mu(e), a & 4 && r !== null && r.memoizedState.isDehydrated) try {
+ if (Ut = !1, Zm = null, o = ju, ju = Om(t.containerInfo), Au(t, e, n), ju = o, Nu(e), a & 4 && r !== null && r.memoizedState.isDehydrated) try {
Y(t.containerInfo);
} catch (t) {
- bf(e, e.return, t);
+ xf(e, e.return, t);
}
- su && (su = !1, Nu(e)), Ht = !1;
+ cu && (cu = !1, Pu(e)), Ut = !1;
break;
case 4:
- a = ou, ou = iu, r = Ut(), o = Au, Au = Dm(e.stateNode.containerInfo), ku(t, e, n), Mu(e), Au = o, Ht && du && (fu = !0), Ht = r, ou = a;
+ a = su, su = au, r = Wt(), o = ju, ju = Om(e.stateNode.containerInfo), Au(t, e, n), Nu(e), ju = o, Ut && fu && (pu = !0), Ut = r, su = a;
break;
case 12:
- ku(t, e, n), Mu(e);
+ Au(t, e, n), Nu(e);
break;
case 31:
- ku(t, e, n), Mu(e), a & 4 && (t = e.updateQueue, t !== null && (e.updateQueue = null, Ou(e, t)));
+ Au(t, e, n), Nu(e), a & 4 && (t = e.updateQueue, t !== null && (e.updateQueue = null, ku(e, t)));
break;
case 13:
- ku(t, e, n), Mu(e), e.child.flags & 8192 && e.memoizedState !== null != (r !== null && r.memoizedState !== null) && (bd = ze()), a & 4 && (t = e.updateQueue, t !== null && (e.updateQueue = null, Ou(e, t)));
+ Au(t, e, n), Nu(e), e.child.flags & 8192 && e.memoizedState !== null != (r !== null && r.memoizedState !== null) && (xd = Be()), a & 4 && (t = e.updateQueue, t !== null && (e.updateQueue = null, ku(e, t)));
break;
case 22:
o = e.memoizedState !== null, s = r !== null && r.memoizedState !== null;
- var c = iu, l = au, u = ou;
- iu = c || o, ou = u || o, au = l || s, ku(t, e, n), au = l, ou = u, iu = c, Mu(e), a & 8192 && (t = e.stateNode, t._visibility = o ? t._visibility & -2 : t._visibility | 1, !o || r === null || s || iu || au || (t = s || au, n = iu, r = au, iu = o || iu, au = t, Lu(e, 2), iu = n, au = r), !o && ou || _u(e, o)), a & 4 && (t = e.updateQueue, t !== null && (n = t.retryQueue, n !== null && (t.retryQueue = null, Ou(e, n))));
+ var c = au, l = ou, u = su;
+ au = c || o, su = u || o, ou = l || s, Au(t, e, n), ou = l, su = u, au = c, Nu(e), a & 8192 && (t = e.stateNode, t._visibility = o ? t._visibility & -2 : t._visibility | 1, !o || r === null || s || au || ou || (t = s || ou, n = au, r = ou, au = o || au, ou = t, Ru(e, 2), au = n, ou = r), !o && su || vu(e, o)), a & 4 && (t = e.updateQueue, t !== null && (n = t.retryQueue, n !== null && (t.retryQueue = null, ku(e, n))));
break;
case 19:
- ku(t, e, n), Mu(e), a & 4 && (t = e.updateQueue, t !== null && (e.updateQueue = null, Ou(e, t)));
+ Au(t, e, n), Nu(e), a & 4 && (t = e.updateQueue, t !== null && (e.updateQueue = null, ku(e, t)));
break;
case 30:
- a & 512 && (au || r === null || El(r, r.return)), a = Ut(), o = du, s = (n & 335544064) === n, c = e.memoizedProps, du = s && gi(c.default, c.update) !== "none", ku(t, e, n), Mu(e), s && r !== null && Ht && (e.flags |= 4), du = o, Ht = a;
+ a & 512 && (ou || r === null || Dl(r, r.return)), a = Wt(), o = fu, s = (n & 335544064) === n, c = e.memoizedProps, fu = s && _i(c.default, c.update) !== "none", Au(t, e, n), Nu(e), s && r !== null && Ut && (e.flags |= 4), fu = o, Ut = a;
break;
case 21: break;
- case 7: a & 512 && (au || r === null || El(r, r.return)), r && r.stateNode !== null && (r.stateNode._fragmentFiber = e);
- default: ku(t, e, n), Mu(e);
+ case 7: a & 512 && (ou || r === null || Dl(r, r.return)), r && r.stateNode !== null && (r.stateNode._fragmentFiber = e);
+ default: Au(t, e, n), Nu(e);
}
}
- function Mu(e) {
+ function Nu(e) {
var t = e.flags;
if (t & 2) {
try {
for (var n, r = e.return; r !== null;) {
- if (Pl(r)) {
+ if (Fl(r)) {
n = r;
break;
}
@@ -15126,11 +15126,11 @@ var Tf = /* @__PURE__ */ g(((e) => {
}
r = null;
for (var a = e.return; a !== null;) {
- if (jl(a)) {
+ if (Ml(a)) {
var o = a.stateNode;
r === null ? r = [o] : r.push(o);
}
- if (Al(a)) break;
+ if (jl(a)) break;
a = a.return;
}
var s = r;
@@ -15138,46 +15138,46 @@ var Tf = /* @__PURE__ */ g(((e) => {
switch (n.tag) {
case 27:
var c = n.stateNode;
- Ll(e, Fl(e), c, s);
+ Rl(e, Il(e), c, s);
break;
case 5:
var l = n.stateNode;
- n.flags & 32 && (sn(l, ""), n.flags &= -33), Ll(e, Fl(e), l, s);
+ n.flags & 32 && (cn(l, ""), n.flags &= -33), Rl(e, Il(e), l, s);
break;
case 3:
case 4:
var u = n.stateNode.containerInfo;
- Il(e, Fl(e), u, s);
+ Ll(e, Il(e), u, s);
break;
default: throw Error(i(161));
}
} catch (t) {
- bf(e, e.return, t);
+ xf(e, e.return, t);
}
e.flags &= -3;
}
t & 4096 && (e.flags &= -4097);
}
- function Nu(e) {
+ function Pu(e) {
if (e.subtreeFlags & 1024) for (e = e.child; e !== null;) {
var t = e;
- Nu(t), t.tag === 5 && t.flags & 1024 && (t = t.stateNode, xh = !0, t.reset(), xh = !1), e = e.sibling;
+ Pu(t), t.tag === 5 && t.flags & 1024 && (t = t.stateNode, xh = !0, t.reset(), xh = !1), e = e.sibling;
}
}
- function Pu(e, t) {
- if (t.subtreeFlags & 9270) for (t = t.child; t !== null;) Fu(t, e), t = t.sibling;
- else ru(t, !1);
- }
function Fu(e, t) {
+ if (t.subtreeFlags & 9270) for (t = t.child; t !== null;) Iu(t, e), t = t.sibling;
+ else iu(t, !1);
+ }
+ function Iu(e, t) {
var n = e.alternate;
- if (n === null) Yl(e, !1);
+ if (n === null) Xl(e, !1);
else switch (e.tag) {
case 3:
- if (pu = uu = !1, Ul(), Pu(t, e), !uu && !fu) {
- if (e = Hl, e !== null) for (var r = 0; r < e.length; r += 3) {
+ if (mu = du = !1, Wl(), Fu(t, e), !du && !pu) {
+ if (e = Ul, e !== null) for (var r = 0; r < e.length; r += 3) {
n = e[r];
var i = e[r + 1];
- Ip(n, e[r + 2]), n = n.ownerDocument.documentElement, n !== null && n.animate({
+ Lp(n, e[r + 2]), n = n.ownerDocument.documentElement, n !== null && n.animate({
opacity: [0, 0],
pointerEvents: ["none", "none"]
}, {
@@ -15200,33 +15200,33 @@ var Tf = /* @__PURE__ */ g(((e) => {
duration: 0,
fill: "forwards",
pseudoElement: "::view-transition"
- })), pu = !0;
+ })), mu = !0;
}
- Hl = null;
+ Ul = null;
break;
case 5:
- Pu(t, e);
+ Fu(t, e);
break;
case 4:
- r = uu, uu = !1, Pu(t, e), uu && (fu = !0), uu = r;
+ r = du, du = !1, Fu(t, e), du && (pu = !0), du = r;
break;
case 22:
- e.memoizedState === null && (n.memoizedState === null ? Pu(t, e) : Yl(e, !1));
+ e.memoizedState === null && (n.memoizedState === null ? Fu(t, e) : Xl(e, !1));
break;
case 30:
- r = uu, i = Ul(), uu = !1, Pu(t, e), uu && (e.flags |= 4);
+ r = du, i = Wl(), du = !1, Fu(t, e), du && (e.flags |= 4);
var a = e.memoizedProps, o = e.stateNode;
- t = mi(a, o), o = mi(n.memoizedProps, o);
- var s = gi(a.default, a.update);
- s === "none" ? t = !1 : (a = n.memoizedState, n.memoizedState = null, n = e.child, Wl = 0, t = nu(e, n, t, o, s, a, !0), Wl !== (a === null ? 0 : a.length) && (e.flags |= 32)), e.flags & 4 && t ? (zd(e, e.memoizedProps.onUpdate), Hl = i) : i !== null && (i.push.apply(i, Hl), Hl = i), uu = e.flags & 32 ? !0 : r;
+ t = hi(a, o), o = hi(n.memoizedProps, o);
+ var s = _i(a.default, a.update);
+ s === "none" ? t = !1 : (a = n.memoizedState, n.memoizedState = null, n = e.child, Gl = 0, t = ru(e, n, t, o, s, a, !0), Gl !== (a === null ? 0 : a.length) && (e.flags |= 32)), e.flags & 4 && t ? (Bd(e, e.memoizedProps.onUpdate), Ul = i) : i !== null && (i.push.apply(i, Ul), Ul = i), du = e.flags & 32 ? !0 : r;
break;
- default: Pu(t, e);
+ default: Fu(t, e);
}
}
- function Iu(e, t) {
- if (t.subtreeFlags & 8772) for (t = t.child; t !== null;) gu(e, t.alternate, t), t = t.sibling;
- }
function Lu(e, t) {
+ if (t.subtreeFlags & 8772) for (t = t.child; t !== null;) _u(e, t.alternate, t), t = t.sibling;
+ }
+ function Ru(e, t) {
for (e = e.child; e !== null;) {
var n = e, r = t;
switch (n.tag) {
@@ -15234,218 +15234,218 @@ var Tf = /* @__PURE__ */ g(((e) => {
case 11:
case 14:
case 15:
- Sl(4, n, n.return), Lu(n, r);
+ Cl(4, n, n.return), Ru(n, r);
break;
case 1:
- El(n, n.return);
+ Dl(n, n.return);
var i = n.stateNode;
- typeof i.componentWillUnmount == "function" && wl(n, n.return, i), Lu(n, r);
+ typeof i.componentWillUnmount == "function" && Tl(n, n.return, i), Ru(n, r);
break;
- case 27: r & 2 && Cm(n.stateNode, n.type, n.memoizedProps);
+ case 27: r & 2 && wm(n.stateNode, n.type, n.memoizedProps);
case 5:
- El(n, n.return), n.tag !== 5 && n.tag !== 27 || kl(n), Lu(n, r);
+ Dl(n, n.return), n.tag !== 5 && n.tag !== 27 || Al(n), Ru(n, r);
break;
case 6:
- kl(n);
+ Al(n);
break;
case 26:
- El(n, n.return), i = n.stateNode, n.memoizedState !== null || i === null || au || i.parentNode.removeChild(i), Lu(n, r);
+ Dl(n, n.return), i = n.stateNode, n.memoizedState !== null || i === null || ou || i.parentNode.removeChild(i), Ru(n, r);
break;
case 22:
- n.memoizedState === null && Lu(n, r);
+ n.memoizedState === null && Ru(n, r);
break;
case 30:
- El(n, n.return), Lu(n, r);
+ Dl(n, n.return), Ru(n, r);
break;
- case 7: El(n, n.return);
- default: Lu(n, r);
+ case 7: Dl(n, n.return);
+ default: Ru(n, r);
}
e = e.sibling;
}
}
- function Ru(e, t, n) {
+ function zu(e, t, n) {
for (n = t.subtreeFlags & 8772 ? n : n & -2, t = t.child; t !== null;) {
var r = t.alternate, i = e, a = t, o = a.flags, s = !!(n & 1);
switch (a.tag) {
case 0:
case 11:
case 15:
- Ru(i, a, n), xl(4, a);
+ zu(i, a, n), Sl(4, a);
break;
case 1:
- if (Ru(i, a, n), r = a, i = r.stateNode, typeof i.componentDidMount == "function") try {
+ if (zu(i, a, n), r = a, i = r.stateNode, typeof i.componentDidMount == "function") try {
i.componentDidMount();
} catch (e) {
- bf(r, r.return, e);
+ xf(r, r.return, e);
}
if (r = a, i = r.updateQueue, i !== null) {
var c = r.stateNode;
try {
var l = i.shared.hiddenCallbacks;
- if (l !== null) for (i.shared.hiddenCallbacks = null, i = 0; i < l.length; i++) xo(l[i], c);
+ if (l !== null) for (i.shared.hiddenCallbacks = null, i = 0; i < l.length; i++) So(l[i], c);
} catch (e) {
- bf(r, r.return, e);
+ xf(r, r.return, e);
}
}
- s && o & 64 && Cl(a), Tl(a, a.return);
+ s && o & 64 && wl(a), El(a, a.return);
break;
- case 27: n & 2 && Rl(a);
+ case 27: n & 2 && zl(a);
case 5:
- a.tag !== 5 && a.tag !== 27 || Ol(a), Ru(i, a, n), s && r === null && o & 4 && Ml(a), Tl(a, a.return);
+ a.tag !== 5 && a.tag !== 27 || kl(a), zu(i, a, n), s && r === null && o & 4 && Nl(a), El(a, a.return);
break;
case 6:
- Ol(a);
+ kl(a);
break;
case 26:
- c = a.stateNode, a.memoizedState !== null || c === null || iu || Qm(Dm(c.ownerDocument), a.type, c), Ru(i, a, n), s && r === null && o & 4 && Ml(a), Tl(a, a.return);
+ c = a.stateNode, a.memoizedState !== null || c === null || au || Qm(Om(c.ownerDocument), a.type, c), zu(i, a, n), s && r === null && o & 4 && Nl(a), El(a, a.return);
break;
case 12:
- Ru(i, a, n);
+ zu(i, a, n);
break;
case 31:
- Ru(i, a, n), s && o & 4 && Tu(i, a);
+ zu(i, a, n), s && o & 4 && Eu(i, a);
break;
case 13:
- Ru(i, a, n), s && o & 4 && Eu(i, a);
+ zu(i, a, n), s && o & 4 && Du(i, a);
break;
case 22:
- a.memoizedState === null && Ru(i, a, n), Tl(a, a.return);
+ a.memoizedState === null && zu(i, a, n), El(a, a.return);
break;
case 30:
- Ru(i, a, n), Tl(a, a.return);
+ zu(i, a, n), El(a, a.return);
break;
- case 7: Tl(a, a.return);
- default: Ru(i, a, n);
+ case 7: El(a, a.return);
+ default: zu(i, a, n);
}
t = t.sibling;
}
}
- function zu(e, t) {
+ function Bu(e, t) {
var n = null;
- e !== null && e.memoizedState !== null && e.memoizedState.cachePool !== null && (n = e.memoizedState.cachePool.pool), e = null, t.memoizedState !== null && t.memoizedState.cachePool !== null && (e = t.memoizedState.cachePool.pool), e !== n && (e != null && e.refCount++, n != null && Aa(n));
+ e !== null && e.memoizedState !== null && e.memoizedState.cachePool !== null && (n = e.memoizedState.cachePool.pool), e = null, t.memoizedState !== null && t.memoizedState.cachePool !== null && (e = t.memoizedState.cachePool.pool), e !== n && (e != null && e.refCount++, n != null && ja(n));
}
- function Bu(e, t) {
- e = null, t.alternate !== null && (e = t.alternate.memoizedState.cache), t = t.memoizedState.cache, t !== e && (t.refCount++, e != null && Aa(e));
+ function Vu(e, t) {
+ e = null, t.alternate !== null && (e = t.alternate.memoizedState.cache), t = t.memoizedState.cache, t !== e && (t.refCount++, e != null && ja(e));
}
- function Vu(e, t, n, r) {
+ function Hu(e, t, n, r) {
var i = (n & 335544064) === n;
- if (t.subtreeFlags & (i ? 10262 : 10256)) for (t = t.child; t !== null;) Hu(e, t, n, r), t = t.sibling;
- else i && tu(t);
+ if (t.subtreeFlags & (i ? 10262 : 10256)) for (t = t.child; t !== null;) Uu(e, t, n, r), t = t.sibling;
+ else i && nu(t);
}
- function Hu(e, t, n, r) {
+ function Uu(e, t, n, r) {
var i = (n & 335544064) === n;
- i && t.alternate === null && t.return !== null && t.return.alternate !== null && eu(t);
+ i && t.alternate === null && t.return !== null && t.return.alternate !== null && tu(t);
var a = t.flags;
switch (t.tag) {
case 0:
case 11:
case 15:
- Vu(e, t, n, r), a & 2048 && xl(9, t);
+ Hu(e, t, n, r), a & 2048 && Sl(9, t);
break;
case 1:
- Vu(e, t, n, r);
+ Hu(e, t, n, r);
break;
case 3:
- Vu(e, t, n, r), i && pu && (e = e.containerInfo, e = e.nodeType === 9 ? e.body : e.nodeName === "HTML" ? e.ownerDocument.body : e, e.style.viewTransitionName === "root" && (e.style.viewTransitionName = ""), e = e.ownerDocument.documentElement, e !== null && e.style.viewTransitionName === "none" && (e.style.viewTransitionName = "")), a & 2048 && (a = null, t.alternate !== null && (a = t.alternate.memoizedState.cache), t = t.memoizedState.cache, t !== a && (t.refCount++, a != null && Aa(a)));
+ Hu(e, t, n, r), i && mu && (e = e.containerInfo, e = e.nodeType === 9 ? e.body : e.nodeName === "HTML" ? e.ownerDocument.body : e, e.style.viewTransitionName === "root" && (e.style.viewTransitionName = ""), e = e.ownerDocument.documentElement, e !== null && e.style.viewTransitionName === "none" && (e.style.viewTransitionName = "")), a & 2048 && (a = null, t.alternate !== null && (a = t.alternate.memoizedState.cache), t = t.memoizedState.cache, t !== a && (t.refCount++, a != null && ja(a)));
break;
case 12:
if (a & 2048) {
- Vu(e, t, n, r), a = t.stateNode;
+ Hu(e, t, n, r), a = t.stateNode;
try {
var o = t.memoizedProps, s = o.id, c = o.onPostCommit;
typeof c == "function" && c(s, t.alternate === null ? "mount" : "update", a.passiveEffectDuration, -0);
} catch (e) {
- bf(t, t.return, e);
+ xf(t, t.return, e);
}
- } else Vu(e, t, n, r);
+ } else Hu(e, t, n, r);
break;
case 31:
- Vu(e, t, n, r);
+ Hu(e, t, n, r);
break;
case 13:
- Vu(e, t, n, r);
+ Hu(e, t, n, r);
break;
case 23: break;
case 22:
- o = t.stateNode, s = t.alternate, t.memoizedState === null ? (i && s !== null && s.memoizedState !== null && eu(t), o._visibility & 2 ? Vu(e, t, n, r) : (o._visibility |= 2, Uu(e, t, n, r, !!(t.subtreeFlags & 10256) || !1))) : (i && s !== null && s.memoizedState === null && eu(s), o._visibility & 2 ? Vu(e, t, n, r) : Wu(e, t)), a & 2048 && zu(s, t);
+ o = t.stateNode, s = t.alternate, t.memoizedState === null ? (i && s !== null && s.memoizedState !== null && tu(t), o._visibility & 2 ? Hu(e, t, n, r) : (o._visibility |= 2, Wu(e, t, n, r, !!(t.subtreeFlags & 10256) || !1))) : (i && s !== null && s.memoizedState === null && tu(s), o._visibility & 2 ? Hu(e, t, n, r) : Gu(e, t)), a & 2048 && Bu(s, t);
break;
case 24:
- Vu(e, t, n, r), a & 2048 && Bu(t.alternate, t);
+ Hu(e, t, n, r), a & 2048 && Vu(t.alternate, t);
break;
case 30:
- i && (a = t.alternate, a !== null && (ql(a.child, !0), ql(t.child, !0))), Vu(e, t, n, r);
+ i && (a = t.alternate, a !== null && (Jl(a.child, !0), Jl(t.child, !0))), Hu(e, t, n, r);
break;
- default: Vu(e, t, n, r);
+ default: Hu(e, t, n, r);
}
}
- function Uu(e, t, n, r, i) {
+ function Wu(e, t, n, r, i) {
for (i &&= !!(t.subtreeFlags & 10256) || !1, t = t.child; t !== null;) {
var a = e, o = t, s = n, c = r, l = o.flags;
switch (o.tag) {
case 0:
case 11:
case 15:
- Uu(a, o, s, c, i), xl(8, o);
+ Wu(a, o, s, c, i), Sl(8, o);
break;
case 23: break;
case 22:
var u = o.stateNode;
- o.memoizedState === null ? (u._visibility |= 2, Uu(a, o, s, c, i)) : u._visibility & 2 ? Uu(a, o, s, c, i) : Wu(a, o), i && l & 2048 && zu(o.alternate, o);
+ o.memoizedState === null ? (u._visibility |= 2, Wu(a, o, s, c, i)) : u._visibility & 2 ? Wu(a, o, s, c, i) : Gu(a, o), i && l & 2048 && Bu(o.alternate, o);
break;
case 24:
- Uu(a, o, s, c, i), i && l & 2048 && Bu(o.alternate, o);
+ Wu(a, o, s, c, i), i && l & 2048 && Vu(o.alternate, o);
break;
- default: Uu(a, o, s, c, i);
+ default: Wu(a, o, s, c, i);
}
t = t.sibling;
}
}
- function Wu(e, t) {
+ function Gu(e, t) {
if (t.subtreeFlags & 10256) for (t = t.child; t !== null;) {
var n = e, r = t, i = r.flags;
switch (r.tag) {
case 22:
- Wu(n, r), i & 2048 && zu(r.alternate, r);
+ Gu(n, r), i & 2048 && Bu(r.alternate, r);
break;
case 24:
- Wu(n, r), i & 2048 && Bu(r.alternate, r);
+ Gu(n, r), i & 2048 && Vu(r.alternate, r);
break;
- default: Wu(n, r);
+ default: Gu(n, r);
}
t = t.sibling;
}
}
- var Gu = 8192;
- function Ku(e, t, n) {
- if (e.subtreeFlags & Gu) for (e = e.child; e !== null;) qu(e, t, n), e = e.sibling;
- }
+ var Ku = 8192;
function qu(e, t, n) {
+ if (e.subtreeFlags & Ku) for (e = e.child; e !== null;) Ju(e, t, n), e = e.sibling;
+ }
+ function Ju(e, t, n) {
switch (e.tag) {
case 26:
- Ku(e, t, n), e.flags & Gu && (e.memoizedState === null ? (e = e.stateNode, (t & 335544128) === t && rh(n, e)) : ih(n, Au, e.memoizedState, e.memoizedProps));
+ qu(e, t, n), e.flags & Ku && (e.memoizedState === null ? (e = e.stateNode, (t & 335544128) === t && rh(n, e)) : ih(n, ju, e.memoizedState, e.memoizedProps));
break;
case 5:
- Ku(e, t, n), e.flags & Gu && (e = e.stateNode, (t & 335544128) === t && rh(n, e));
+ qu(e, t, n), e.flags & Ku && (e = e.stateNode, (t & 335544128) === t && rh(n, e));
break;
case 3:
case 4:
- var r = Au;
- Au = Dm(e.stateNode.containerInfo), Ku(e, t, n), Au = r;
+ var r = ju;
+ ju = Om(e.stateNode.containerInfo), qu(e, t, n), ju = r;
break;
case 22:
- e.memoizedState === null && (r = e.alternate, r !== null && r.memoizedState !== null ? (r = Gu, Gu = 16777216, Ku(e, t, n), Gu = r) : Ku(e, t, n));
+ e.memoizedState === null && (r = e.alternate, r !== null && r.memoizedState !== null ? (r = Ku, Ku = 16777216, qu(e, t, n), Ku = r) : qu(e, t, n));
break;
case 30:
- if ((e.flags & Gu) !== 0 && (r = e.memoizedProps.name, r != null && r !== "auto")) {
+ if ((e.flags & Ku) !== 0 && (r = e.memoizedProps.name, r != null && r !== "auto")) {
var i = e.stateNode;
- i.paired = null, Bl === null && (Bl = /* @__PURE__ */ new Map()), Bl.set(r, i);
+ i.paired = null, Vl === null && (Vl = /* @__PURE__ */ new Map()), Vl.set(r, i);
}
- Ku(e, t, n);
+ qu(e, t, n);
break;
- default: Ku(e, t, n);
+ default: qu(e, t, n);
}
}
- function Ju(e) {
+ function Yu(e) {
var t = e.alternate;
if (t !== null && (e = t.child, e !== null)) {
t.child = null;
@@ -15454,69 +15454,69 @@ var Tf = /* @__PURE__ */ g(((e) => {
while (e !== null);
}
}
- function Yu(e) {
+ function Xu(e) {
var t = e.deletions;
if (e.flags & 16) {
if (t !== null) for (var n = 0; n < t.length; n++) {
var r = t[n];
- lu = r, Qu(r, e);
+ uu = r, $u(r, e);
}
- Ju(e);
+ Yu(e);
}
- if (e.subtreeFlags & 10256) for (e = e.child; e !== null;) Xu(e), e = e.sibling;
+ if (e.subtreeFlags & 10256) for (e = e.child; e !== null;) Zu(e), e = e.sibling;
}
- function Xu(e) {
+ function Zu(e) {
switch (e.tag) {
case 0:
case 11:
case 15:
- Yu(e), e.flags & 2048 && Sl(9, e, e.return);
+ Xu(e), e.flags & 2048 && Cl(9, e, e.return);
break;
case 3:
- Yu(e);
+ Xu(e);
break;
case 12:
- Yu(e);
+ Xu(e);
break;
case 22:
var t = e.stateNode;
- e.memoizedState !== null && t._visibility & 2 && (e.return === null || e.return.tag !== 13) ? (t._visibility &= -3, Zu(e)) : Yu(e);
+ e.memoizedState !== null && t._visibility & 2 && (e.return === null || e.return.tag !== 13) ? (t._visibility &= -3, Qu(e)) : Xu(e);
break;
- default: Yu(e);
+ default: Xu(e);
}
}
- function Zu(e) {
+ function Qu(e) {
var t = e.deletions;
if (e.flags & 16) {
if (t !== null) for (var n = 0; n < t.length; n++) {
var r = t[n];
- lu = r, Qu(r, e);
+ uu = r, $u(r, e);
}
- Ju(e);
+ Yu(e);
}
for (e = e.child; e !== null;) {
switch (t = e, t.tag) {
case 0:
case 11:
case 15:
- Sl(8, t, t.return), Zu(t);
+ Cl(8, t, t.return), Qu(t);
break;
case 22:
- n = t.stateNode, n._visibility & 2 && (n._visibility &= -3, Zu(t));
+ n = t.stateNode, n._visibility & 2 && (n._visibility &= -3, Qu(t));
break;
- default: Zu(t);
+ default: Qu(t);
}
e = e.sibling;
}
}
- function Qu(e, t) {
- for (; lu !== null;) {
- var n = lu;
+ function $u(e, t) {
+ for (; uu !== null;) {
+ var n = uu;
switch (n.tag) {
case 0:
case 11:
case 15:
- Sl(8, n, t);
+ Cl(8, n, t);
break;
case 23:
case 22:
@@ -15525,64 +15525,64 @@ var Tf = /* @__PURE__ */ g(((e) => {
r != null && r.refCount++;
}
break;
- case 24: Aa(n.memoizedState.cache);
+ case 24: ja(n.memoizedState.cache);
}
- if (r = n.child, r !== null) r.return = n, lu = r;
- else a: for (n = e; lu !== null;) {
- r = lu;
+ if (r = n.child, r !== null) r.return = n, uu = r;
+ else a: for (n = e; uu !== null;) {
+ r = uu;
var i = r.sibling, a = r.return;
- if (bu(r), r === n) {
- lu = null;
+ if (xu(r), r === n) {
+ uu = null;
break a;
}
if (i !== null) {
- i.return = a, lu = i;
+ i.return = a, uu = i;
break a;
}
- lu = a;
+ uu = a;
}
}
}
- var $u = {
+ var ed = {
getCacheForType: function(e) {
- var t = Sa(Oa), n = t.data.get(e);
+ var t = Ca(ka), n = t.data.get(e);
return n === void 0 && (n = e(), t.data.set(e, n)), n;
},
cacheSignal: function() {
- return Sa(Oa).controller.signal;
+ return Ca(ka).controller.signal;
}
- }, ed = typeof WeakMap == "function" ? WeakMap : Map, td = 0, nd = null, rd = null, id = 0, ad = 0, od = null, sd = !1, cd = !1, ld = !1, ud = 0, dd = 0, fd = 0, pd = 0, md = 0, hd = 0, gd = 0, _d = null, vd = null, yd = !1, bd = 0, xd = 0, Sd = Infinity, Cd = null, wd = null, Td = 0, Ed = null, Dd = null, Od = 0, kd = 0, Ad = null, jd = null, Md = null, Nd = null, Pd = null, Fd = 0, Id = null;
- function Ld() {
- return td & 2 && id !== 0 ? id & -id : I.T === null ? vt() : Hf();
- }
+ }, td = typeof WeakMap == "function" ? WeakMap : Map, nd = 0, rd = null, id = null, ad = 0, od = 0, sd = null, cd = !1, ld = !1, ud = !1, dd = 0, fd = 0, pd = 0, md = 0, hd = 0, gd = 0, _d = 0, vd = null, yd = null, bd = !1, xd = 0, Sd = 0, Cd = Infinity, wd = null, Td = null, Ed = 0, Dd = null, Od = null, kd = 0, Ad = 0, jd = null, Md = null, Nd = null, Pd = null, Fd = null, Id = 0, Ld = null;
function Rd() {
- if (hd === 0) {
- if (!(id & 536870912) || na) {
- var e = nt;
- nt <<= 1, !(nt & 3932160) && (nt = 262144), hd = e;
- } else hd = 536870912;
+ return nd & 2 && ad !== 0 ? ad & -ad : F.T === null ? yt() : Uf();
+ }
+ function zd() {
+ if (gd === 0) {
+ if (!(ad & 536870912) || ra) {
+ var e = rt;
+ rt <<= 1, !(rt & 3932160) && (rt = 262144), gd = e;
+ } else gd = 536870912;
}
- return e = Oo.current, e !== null && (e.flags |= 32), hd;
+ return e = ko.current, e !== null && (e.flags |= 32), gd;
}
- function zd(e, t) {
+ function Bd(e, t) {
if (t != null) {
var n = e.stateNode, r = n.ref;
- r === null && (r = n.ref = Wp(mi(e.memoizedProps, n))), Nd === null && (Nd = []), Nd.push(t.bind(null, r));
+ r === null && (r = n.ref = Gp(hi(e.memoizedProps, n))), Pd === null && (Pd = []), Pd.push(t.bind(null, r));
}
}
- function Bd(e, t, n) {
- (e === nd && (ad === 2 || ad === 9) || e.cancelPendingCommit !== null) && (qd(e, 0), Wd(e, id, hd, !1)), dt(e, n), (!(td & 2) || e !== nd) && (e === nd && (!(td & 2) && (pd |= n), dd === 4 && Wd(e, id, hd, !1)), Pf(e));
- }
function Vd(e, t, n) {
- if (td & 6) throw Error(i(327));
- var r = !n && !(t & 127) && (t & e.expiredLanes) === 0 || ot(e, t), a = r ? tf(e, t) : $d(e, t, !0), o = r;
+ (e === rd && (od === 2 || od === 9) || e.cancelPendingCommit !== null) && (Jd(e, 0), Gd(e, ad, gd, !1)), ft(e, n), (!(nd & 2) || e !== rd) && (e === rd && (!(nd & 2) && (md |= n), fd === 4 && Gd(e, ad, gd, !1)), Ff(e));
+ }
+ function Hd(e, t, n) {
+ if (nd & 6) throw Error(i(327));
+ var r = !n && !(t & 127) && (t & e.expiredLanes) === 0 || st(e, t), a = r ? nf(e, t) : ef(e, t, !0), o = r;
do {
if (a === 0) {
- cd && !r && Wd(e, t, 0, !1);
+ ld && !r && Gd(e, t, 0, !1);
break;
}
- if (n = e.current.alternate, o && !Ud(n)) {
- a = $d(e, t, !1), o = !1;
+ if (n = e.current.alternate, o && !Wd(n)) {
+ a = ef(e, t, !1), o = !1;
continue;
}
if (a === 2) {
@@ -15592,14 +15592,14 @@ var Tf = /* @__PURE__ */ g(((e) => {
t = s;
a: {
var c = e;
- a = _d;
+ a = vd;
var l = c.current.memoizedState.isDehydrated;
- if (l && (qd(c, s).flags |= 256), s = $d(c, s, !1), s !== 2 && s !== 6) {
- if (ld && !l) {
- c.errorRecoveryDisabledLanes |= o, pd |= o, a = 4;
+ if (l && (Jd(c, s).flags |= 256), s = ef(c, s, !1), s !== 2 && s !== 6) {
+ if (ud && !l) {
+ c.errorRecoveryDisabledLanes |= o, md |= o, a = 4;
break a;
}
- o = vd, vd = a, o !== null && (vd === null ? vd = o : vd.push.apply(vd, o));
+ o = yd, yd = a, o !== null && (yd === null ? yd = o : yd.push.apply(yd, o));
}
a = s;
}
@@ -15607,7 +15607,7 @@ var Tf = /* @__PURE__ */ g(((e) => {
}
}
if (a === 1) {
- qd(e, 0), Wd(e, t, 0, !0);
+ Jd(e, 0), Gd(e, t, 0, !0);
break;
}
a: {
@@ -15616,27 +15616,27 @@ var Tf = /* @__PURE__ */ g(((e) => {
case 1: throw Error(i(345));
case 4: if ((t & 4194048) !== t && (t & 62914560) !== t) break;
case 6:
- Wd(r, t, hd, !sd);
+ Gd(r, t, gd, !cd);
break a;
case 2:
- vd = null;
+ yd = null;
break;
case 3:
case 5: break;
default: throw Error(i(329));
}
- if ((t & 62914560) === t && (a = bd + 300 - ze(), 10 < a)) {
- if (Wd(r, t, hd, !sd), at(r, 0, !0) !== 0) break a;
- Od = t, r.timeoutHandle = Ep(Hd.bind(null, r, n, vd, Cd, yd, t, hd, pd, gd, sd, o, "Throttled", -0, 0), a);
+ if ((t & 62914560) === t && (a = xd + 300 - Be(), 10 < a)) {
+ if (Gd(r, t, gd, !cd), ot(r, 0, !0) !== 0) break a;
+ kd = t, r.timeoutHandle = Dp(Ud.bind(null, r, n, yd, wd, bd, t, gd, md, _d, cd, o, "Throttled", -0, 0), a);
break a;
}
- Hd(r, n, vd, Cd, yd, t, hd, pd, gd, sd, o, null, -0, 0);
+ Ud(r, n, yd, wd, bd, t, gd, md, _d, cd, o, null, -0, 0);
}
break;
} while (1);
- Pf(e);
+ Ff(e);
}
- function Hd(e, t, n, r, i, a, o, s, c, l, u, d, f, p) {
+ function Ud(e, t, n, r, i, a, o, s, c, l, u, d, f, p) {
e.timeoutHandle = -1;
var m = t.subtreeFlags, h = (a & 335544064) === a;
if (d = null, (h || m & 8192 || (m & 16785408) == 16785408) && (d = {
@@ -15647,21 +15647,21 @@ var Tf = /* @__PURE__ */ g(((e) => {
suspenseyImages: [],
waitingForImages: !0,
waitingForViewTransition: !1,
- unsuspend: hn
- }, Bl = null, qu(t, a, d), h && (m = d, h = e.containerInfo, h = (h.nodeType === 9 ? h : h.ownerDocument).__reactViewTransition, h != null && (m.count++, m.waitingForViewTransition = !0, m = ch.bind(m), h.finished.then(m, m))), m = (a & 62914560) === a ? bd - ze() : (a & 4194048) === a ? xd - ze() : 0, m = oh(d, m), m !== null)) {
- Od = a, e.cancelPendingCommit = m(lf.bind(null, e, t, a, n, r, i, o, s, c, l, u, d, null, f, p)), Wd(e, a, o, !l);
+ unsuspend: gn
+ }, Vl = null, Ju(t, a, d), h && (m = d, h = e.containerInfo, h = (h.nodeType === 9 ? h : h.ownerDocument).__reactViewTransition, h != null && (m.count++, m.waitingForViewTransition = !0, m = ch.bind(m), h.finished.then(m, m))), m = (a & 62914560) === a ? xd - Be() : (a & 4194048) === a ? Sd - Be() : 0, m = oh(d, m), m !== null)) {
+ kd = a, e.cancelPendingCommit = m(uf.bind(null, e, t, a, n, r, i, o, s, c, l, u, d, null, f, p)), Gd(e, a, o, !l);
return;
}
- lf(e, t, a, n, r, i, o, s, c, l, u, d);
+ uf(e, t, a, n, r, i, o, s, c, l, u, d);
}
- function Ud(e) {
+ function Wd(e) {
for (var t = e;;) {
var n = t.tag;
if ((n === 0 || n === 11 || n === 15) && t.flags & 16384 && (n = t.updateQueue, n !== null && (n = n.stores, n !== null))) for (var r = 0; r < n.length; r++) {
var i = n[r], a = i.getSnapshot;
i = i.value;
try {
- if (!Lr(a(), i)) return !1;
+ if (!Rr(a(), i)) return !1;
} catch {
return !1;
}
@@ -15678,281 +15678,281 @@ var Tf = /* @__PURE__ */ g(((e) => {
}
return !0;
}
- function Wd(e, t, n, r) {
- t = st(e, t), t &= ~md, t &= ~pd, e.suspendedLanes |= t, e.pingedLanes &= ~t, r && (e.warmLanes |= t), r = e.expirationTimes;
+ function Gd(e, t, n, r) {
+ t = ct(e, t), t &= ~hd, t &= ~md, e.suspendedLanes |= t, e.pingedLanes &= ~t, r && (e.warmLanes |= t), r = e.expirationTimes;
for (var i = t; 0 < i;) {
- var a = 31 - Ze(i), o = 1 << a;
+ var a = 31 - Qe(i), o = 1 << a;
r[a] = -1, i &= ~o;
}
- n !== 0 && pt(e, n, t);
- }
- function Gd() {
- return td & 6 ? !0 : (Ff(0, !1), !1);
+ n !== 0 && mt(e, n, t);
}
function Kd() {
- if (rd !== null) {
- if (ad === 0) var e = rd.return;
- else e = rd, ma = pa = null, rs(e), no = null, ro = 0, e = rd;
- for (; e !== null;) bl(e.alternate, e), e = e.return;
- rd = null;
- }
+ return nd & 6 ? !0 : (If(0, !1), !1);
}
- function qd(e, t) {
- var n = e.timeoutHandle;
- return n !== -1 && (e.timeoutHandle = -1, Dp(n)), n = e.cancelPendingCommit, n !== null && (e.cancelPendingCommit = null, n()), Od = 0, Kd(), nd = e, rd = n = ji(e.current, null), id = t, ad = 0, od = null, sd = !1, cd = ot(e, t), ld = !1, gd = hd = md = pd = fd = dd = 0, vd = _d = null, yd = !1, ud = st(e, t), xi(), n;
+ function qd() {
+ if (id !== null) {
+ if (od === 0) var e = id.return;
+ else e = id, ha = ma = null, is(e), ro = null, io = 0, e = id;
+ for (; e !== null;) xl(e.alternate, e), e = e.return;
+ id = null;
+ }
}
function Jd(e, t) {
- U = null, I.H = pc, t === Ka || t === Ja ? (t = eo(), ad = 3) : t === qa ? (t = eo(), ad = 4) : ad = t === jc ? 8 : typeof t == "object" && t && typeof t.then == "function" ? 6 : 1, od = t, rd === null && (dd = 1, Tc(e, zi(t, e.current)));
+ var n = e.timeoutHandle;
+ return n !== -1 && (e.timeoutHandle = -1, Op(n)), n = e.cancelPendingCommit, n !== null && (e.cancelPendingCommit = null, n()), kd = 0, qd(), rd = e, id = n = Mi(e.current, null), ad = t, od = 0, sd = null, cd = !1, ld = st(e, t), ud = !1, _d = gd = hd = md = pd = fd = 0, yd = vd = null, bd = !1, dd = ct(e, t), Si(), n;
}
- function Yd() {
- var e = Oo.current;
- return e === null ? !0 : (id & 4194048) === id ? ko === null : (id & 62914560) === id || id & 536870912 ? e === ko : !1;
+ function Yd(e, t) {
+ H = null, F.H = mc, t === qa || t === Ya ? (t = to(), od = 3) : t === Ja ? (t = to(), od = 4) : od = t === Mc ? 8 : typeof t == "object" && t && typeof t.then == "function" ? 6 : 1, sd = t, id === null && (fd = 1, Ec(e, Bi(t, e.current)));
}
function Xd() {
- var e = I.H;
- return I.H = pc, e === null ? pc : e;
+ var e = ko.current;
+ return e === null ? !0 : (ad & 4194048) === ad ? Ao === null : (ad & 62914560) === ad || ad & 536870912 ? e === Ao : !1;
}
function Zd() {
- var e = I.A;
- return I.A = $u, e;
+ var e = F.H;
+ return F.H = mc, e === null ? mc : e;
}
function Qd() {
- dd = 4, sd || (id & 4194048) !== id && Oo.current !== null || (cd = !0), !(fd & 134217727) && !(pd & 134217727) || nd === null || Wd(nd, id, hd, !1);
- }
- function $d(e, t, n) {
- var r = td;
- td |= 2;
- var i = Xd(), a = Zd();
- (nd !== e || id !== t) && (Cd = null, qd(e, t)), t = !1;
- var o = dd;
+ var e = F.A;
+ return F.A = ed, e;
+ }
+ function $d() {
+ fd = 4, cd || (ad & 4194048) !== ad && ko.current !== null || (ld = !0), !(pd & 134217727) && !(md & 134217727) || rd === null || Gd(rd, ad, gd, !1);
+ }
+ function ef(e, t, n) {
+ var r = nd;
+ nd |= 2;
+ var i = Zd(), a = Qd();
+ (rd !== e || ad !== t) && (wd = null, Jd(e, t)), t = !1;
+ var o = fd;
a: do
try {
- if (ad !== 0 && rd !== null) {
- var s = rd, c = od;
- switch (ad) {
+ if (od !== 0 && id !== null) {
+ var s = id, c = sd;
+ switch (od) {
case 8:
- Kd(), o = 6;
+ qd(), o = 6;
break a;
case 3:
case 2:
case 9:
case 6:
- Oo.current === null && (t = !0);
- var l = ad;
- if (ad = 0, od = null, of(e, s, c, l), n && cd) {
+ ko.current === null && (t = !0);
+ var l = od;
+ if (od = 0, sd = null, sf(e, s, c, l), n && ld) {
o = 0;
break a;
}
break;
- default: l = ad, ad = 0, od = null, of(e, s, c, l);
+ default: l = od, od = 0, sd = null, sf(e, s, c, l);
}
}
- ef(), o = dd;
+ tf(), o = fd;
break;
} catch (t) {
- Jd(e, t);
+ Yd(e, t);
}
while (1);
- return t && e.shellSuspendCounter++, ma = pa = null, td = r, I.H = i, I.A = a, rd === null && (nd = null, id = 0, xi()), o;
+ return t && e.shellSuspendCounter++, ha = ma = null, nd = r, F.H = i, F.A = a, id === null && (rd = null, ad = 0, Si()), o;
}
- function ef() {
- for (; rd !== null;) rf(rd);
+ function tf() {
+ for (; id !== null;) af(id);
}
- function tf(e, t) {
- var n = td;
- td |= 2;
- var r = Xd(), a = Zd();
- nd !== e || id !== t ? (Cd = null, Sd = ze() + 500, qd(e, t)) : cd = ot(e, t);
+ function nf(e, t) {
+ var n = nd;
+ nd |= 2;
+ var r = Zd(), a = Qd();
+ rd !== e || ad !== t ? (wd = null, Cd = Be() + 500, Jd(e, t)) : ld = st(e, t);
a: do
try {
- if (ad !== 0 && rd !== null) {
- t = rd;
- var o = od;
- b: switch (ad) {
+ if (od !== 0 && id !== null) {
+ t = id;
+ var o = sd;
+ b: switch (od) {
case 1:
- ad = 0, od = null, of(e, t, o, 1);
+ od = 0, sd = null, sf(e, t, o, 1);
break;
case 2:
case 9:
- if (Xa(o)) {
- ad = 0, od = null, af(t);
+ if (Za(o)) {
+ od = 0, sd = null, of(t);
break;
}
t = function() {
- ad !== 2 && ad !== 9 || nd !== e || (ad = 7), Pf(e);
+ od !== 2 && od !== 9 || rd !== e || (od = 7), Ff(e);
}, o.then(t, t);
break a;
case 3:
- ad = 7;
+ od = 7;
break a;
case 4:
- ad = 5;
+ od = 5;
break a;
case 7:
- Xa(o) ? (ad = 0, od = null, af(t)) : (ad = 0, od = null, of(e, t, o, 7));
+ Za(o) ? (od = 0, sd = null, of(t)) : (od = 0, sd = null, sf(e, t, o, 7));
break;
case 5:
var s = null;
- switch (rd.tag) {
- case 26: s = rd.memoizedState;
+ switch (id.tag) {
+ case 26: s = id.memoizedState;
case 5:
case 27:
- var c = rd;
+ var c = id;
if (s ? th(s) : c.stateNode.complete) {
- ad = 0, od = null;
+ od = 0, sd = null;
var l = c.sibling;
- if (l !== null) rd = l;
+ if (l !== null) id = l;
else {
var u = c.return;
- u === null ? rd = null : (rd = u, sf(u));
+ u === null ? id = null : (id = u, cf(u));
}
break b;
}
}
- ad = 0, od = null, of(e, t, o, 5);
+ od = 0, sd = null, sf(e, t, o, 5);
break;
case 6:
- ad = 0, od = null, of(e, t, o, 6);
+ od = 0, sd = null, sf(e, t, o, 6);
break;
case 8:
- Kd(), dd = 6;
+ qd(), fd = 6;
break a;
default: throw Error(i(462));
}
}
- nf();
+ rf();
break;
} catch (t) {
- Jd(e, t);
+ Yd(e, t);
}
while (1);
- return ma = pa = null, I.H = r, I.A = a, td = n, rd === null ? (nd = null, id = 0, xi(), dd) : 0;
- }
- function nf() {
- for (; rd !== null && !Le();) rf(rd);
+ return ha = ma = null, F.H = r, F.A = a, nd = n, id === null ? (rd = null, ad = 0, Si(), fd) : 0;
}
- function rf(e) {
- var t = dl(e.alternate, e, ud);
- e.memoizedProps = e.pendingProps, t === null ? sf(e) : rd = t;
+ function rf() {
+ for (; id !== null && !Re();) af(id);
}
function af(e) {
+ var t = fl(e.alternate, e, dd);
+ e.memoizedProps = e.pendingProps, t === null ? cf(e) : id = t;
+ }
+ function of(e) {
var t = e, n = t.alternate;
switch (t.tag) {
case 15:
case 0:
- t = Gc(n, t, t.pendingProps, t.type, void 0, id);
+ t = Kc(n, t, t.pendingProps, t.type, void 0, ad);
break;
case 11:
- t = Gc(n, t, t.pendingProps, t.type.render, t.ref, id);
+ t = Kc(n, t, t.pendingProps, t.type.render, t.ref, ad);
break;
case 5:
- rs(t);
+ is(t);
var r = t;
- r === ea && (na ? (sa(r), r.tag === 5 && r.stateNode != null && (ta = r.stateNode)) : (sa(r), na = !0));
- default: bl(n, t), t = rd = Mi(t, ud), t = dl(n, t, ud);
+ r === ta && (ra ? (ca(r), r.tag === 5 && r.stateNode != null && (na = r.stateNode)) : (ca(r), ra = !0));
+ default: xl(n, t), t = id = Ni(t, dd), t = fl(n, t, dd);
}
- e.memoizedProps = e.pendingProps, t === null ? sf(e) : rd = t;
+ e.memoizedProps = e.pendingProps, t === null ? cf(e) : id = t;
}
- function of(e, t, n, r) {
- ma = pa = null, rs(t), no = null, ro = 0;
+ function sf(e, t, n, r) {
+ ha = ma = null, is(t), ro = null, io = 0;
var i = t.return;
try {
- if (Ac(e, i, t, n, id)) {
- dd = 1, Tc(e, zi(n, e.current)), rd = null;
+ if (jc(e, i, t, n, ad)) {
+ fd = 1, Ec(e, Bi(n, e.current)), id = null;
return;
}
} catch (t) {
- if (i !== null) throw rd = i, t;
- dd = 1, Tc(e, zi(n, e.current)), rd = null;
+ if (i !== null) throw id = i, t;
+ fd = 1, Ec(e, Bi(n, e.current)), id = null;
return;
}
- t.flags & 32768 ? (na || r === 1 ? e = !0 : cd || id & 536870912 ? e = !1 : (sd = e = !0, (r === 2 || r === 9 || r === 3 || r === 6) && (r = Oo.current, r !== null && r.tag === 13 && (r.flags |= 16384))), cf(t, e)) : sf(t);
+ t.flags & 32768 ? (ra || r === 1 ? e = !0 : ld || ad & 536870912 ? e = !1 : (cd = e = !0, (r === 2 || r === 9 || r === 3 || r === 6) && (r = ko.current, r !== null && r.tag === 13 && (r.flags |= 16384))), lf(t, e)) : cf(t);
}
- function sf(e) {
+ function cf(e) {
var t = e;
do {
if (t.flags & 32768) {
- cf(t, sd);
+ lf(t, cd);
return;
}
e = t.return;
- var n = vl(t.alternate, t, ud);
+ var n = yl(t.alternate, t, dd);
if (n !== null) {
- rd = n;
+ id = n;
return;
}
if (t = t.sibling, t !== null) {
- rd = t;
+ id = t;
return;
}
- rd = t = e;
+ id = t = e;
} while (t !== null);
- dd === 0 && (dd = 5);
+ fd === 0 && (fd = 5);
}
- function cf(e, t) {
+ function lf(e, t) {
do {
- var n = yl(e.alternate, e);
+ var n = bl(e.alternate, e);
if (n !== null) {
- n.flags &= 32767, rd = n;
+ n.flags &= 32767, id = n;
return;
}
if (n = e.return, n !== null && (n.flags |= 32768, n.subtreeFlags = 0, n.deletions = null), !t && (e = e.sibling, e !== null)) {
- rd = e;
+ id = e;
return;
}
- rd = e = n;
+ id = e = n;
} while (e !== null);
- dd = 6, rd = null;
+ fd = 6, id = null;
}
- function lf(e, t, n, r, a, o, s, c, l, u, d, f) {
+ function uf(e, t, n, r, a, o, s, c, l, u, d, f) {
e.cancelPendingCommit = null;
do
- _f();
- while (Td !== 0);
- if (td & 6) throw Error(i(327));
+ vf();
+ while (Ed !== 0);
+ if (nd & 6) throw Error(i(327));
if (t !== null) {
if (t === e.current) throw Error(i(177));
- e === nd && (rd = nd = null, id = 0), Dd = t, Ed = e, Od = n, Ad = a, jd = r, uf(e, t, n, s, c, l, f);
+ e === rd && (id = rd = null, ad = 0), Od = t, Dd = e, kd = n, jd = a, Md = r, df(e, t, n, s, c, l, f);
}
}
- function uf(e, t, n, r, i, a, o) {
+ function df(e, t, n, r, i, a, o) {
var s = t.lanes | t.childLanes;
- if (kd = s, s |= bi, ft(e, n, s, r, i, a), Nd = null, (n & 335544064) === n ? (Pd = Na(e), r = 10262) : (Pd = null, r = 10256), (t.subtreeFlags & r) !== 0 || (t.flags & r) !== 0 ? (e.callbackNode = null, e.callbackPriority = 0, Df(Ue, function() {
- return vf(), null;
- })) : (e.callbackNode = null, e.callbackPriority = 0), zl = !1, r = !!(t.flags & 13878), t.subtreeFlags & 13878 || r) {
- r = I.T, I.T = null, i = L.p, L.p = 2, a = td, td |= 4;
+ if (Ad = s, s |= xi, pt(e, n, s, r, i, a), Pd = null, (n & 335544064) === n ? (Fd = Pa(e), r = 10262) : (Fd = null, r = 10256), (t.subtreeFlags & r) !== 0 || (t.flags & r) !== 0 ? (e.callbackNode = null, e.callbackPriority = 0, Of(We, function() {
+ return yf(), null;
+ })) : (e.callbackNode = null, e.callbackPriority = 0), Bl = !1, r = !!(t.flags & 13878), t.subtreeFlags & 13878 || r) {
+ r = F.T, F.T = null, i = I.p, I.p = 2, a = nd, nd |= 4;
try {
- mu(e, t, n);
+ hu(e, t, n);
} finally {
- td = a, L.p = i, I.T = r;
+ nd = a, I.p = i, F.T = r;
}
}
- Td = 1, zl ? Md = Hp(o, e.containerInfo, Pd, pf, mf, ff, hf, vf, df, null, null) : (pf(), mf(), hf());
+ Ed = 1, Bl ? Nd = Up(o, e.containerInfo, Fd, mf, hf, pf, gf, yf, ff, null, null) : (mf(), hf(), gf());
}
- function df(e) {
- if (Td !== 0) {
- var t = Ed.onRecoverableError;
+ function ff(e) {
+ if (Ed !== 0) {
+ var t = Dd.onRecoverableError;
t(e, { componentStack: null });
}
}
- function ff() {
- Td === 3 && (Td = 0, Fu(Dd, Ed), Td = 4);
- }
function pf() {
- if (Td === 1) {
- Td = 0;
- var e = Ed, t = Dd, n = Od, r = !!(t.flags & 13878);
+ Ed === 3 && (Ed = 0, Iu(Od, Dd), Ed = 4);
+ }
+ function mf() {
+ if (Ed === 1) {
+ Ed = 0;
+ var e = Dd, t = Od, n = kd, r = !!(t.flags & 13878);
if (t.subtreeFlags & 13878 || r) {
- r = I.T, I.T = null;
- var i = L.p;
- L.p = 2;
- var a = td;
- td |= 4;
+ r = F.T, F.T = null;
+ var i = I.p;
+ I.p = 2;
+ var a = nd;
+ nd |= 4;
try {
- du = fu = !1, ju(t, e, n), n = vp;
- var o = Ur(e.containerInfo), s = n.focusedElem, c = n.selectionRange;
- if (o !== s && s && s.ownerDocument && Hr(s.ownerDocument.documentElement, s)) {
- if (c !== null && Wr(s)) {
+ fu = pu = !1, Mu(t, e, n), n = yp;
+ var o = Wr(e.containerInfo), s = n.focusedElem, c = n.selectionRange;
+ if (o !== s && s && s.ownerDocument && Ur(s.ownerDocument.documentElement, s)) {
+ if (c !== null && Gr(s)) {
var l = c.start, u = c.end;
if (u === void 0 && (u = l), "selectionStart" in s) s.selectionStart = l, s.selectionEnd = Math.min(u, s.value.length);
else {
@@ -15960,7 +15960,7 @@ var Tf = /* @__PURE__ */ g(((e) => {
if (f.getSelection) {
var p = f.getSelection(), m = s.textContent.length, h = Math.min(c.start, m), g = c.end === void 0 ? h : Math.min(c.end, m);
!p.extend && h > g && (o = g, g = h, h = o);
- var _ = Vr(s, h), v = Vr(s, g);
+ var _ = Hr(s, h), v = Hr(s, g);
if (_ && v && (p.rangeCount !== 1 || p.anchorNode !== _.node || p.anchorOffset !== _.offset || p.focusNode !== v.node || p.focusOffset !== v.offset)) {
var y = d.createRange();
y.setStart(_.node, _.offset), p.removeAllRanges(), h > g ? (p.addRange(y), p.extend(v.node, v.offset)) : (y.setEnd(v.node, v.offset), p.addRange(y));
@@ -15978,122 +15978,122 @@ var Tf = /* @__PURE__ */ g(((e) => {
b.element.scrollLeft = b.left, b.element.scrollTop = b.top;
}
}
- xh = !!_p, vp = _p = null;
+ xh = !!vp, yp = vp = null;
} finally {
- td = a, L.p = i, I.T = r;
+ nd = a, I.p = i, F.T = r;
}
}
- e.current = t, Td = 2;
+ e.current = t, Ed = 2;
}
}
- function mf() {
- if (Td === 2) {
- Td = 0;
- var e = Ed, t = Dd, n = !!(t.flags & 8772);
+ function hf() {
+ if (Ed === 2) {
+ Ed = 0;
+ var e = Dd, t = Od, n = !!(t.flags & 8772);
if (t.subtreeFlags & 8772 || n) {
- n = I.T, I.T = null;
- var r = L.p;
- L.p = 2;
- var i = td;
- td |= 4;
+ n = F.T, F.T = null;
+ var r = I.p;
+ I.p = 2;
+ var i = nd;
+ nd |= 4;
try {
- gu(e, t.alternate, t);
+ _u(e, t.alternate, t);
} finally {
- td = i, L.p = r, I.T = n;
+ nd = i, I.p = r, F.T = n;
}
}
- Td = 3;
+ Ed = 3;
}
}
- function hf() {
- if (Td === 4 || Td === 3) {
- Td = 0;
- var e = Md;
- Md = null, Re();
- var t = Ed, n = Dd, r = Od, i = jd, a = (r & 335544064) === r ? 10262 : 10256;
- if ((n.subtreeFlags & a) !== 0 || (n.flags & a) !== 0 ? Td = 5 : (Td = 0, Dd = Ed = null, gf(t, t.pendingLanes)), a = t.pendingLanes, a === 0 && (wd = null), _t(r), n = n.stateNode, Ye && typeof Ye.onCommitFiberRoot == "function") try {
- Ye.onCommitFiberRoot(Je, n, void 0, (n.current.flags & 128) == 128);
+ function gf() {
+ if (Ed === 4 || Ed === 3) {
+ Ed = 0;
+ var e = Nd;
+ Nd = null, ze();
+ var t = Dd, n = Od, r = kd, i = Md, a = (r & 335544064) === r ? 10262 : 10256;
+ if ((n.subtreeFlags & a) !== 0 || (n.flags & a) !== 0 ? Ed = 5 : (Ed = 0, Od = Dd = null, _f(t, t.pendingLanes)), a = t.pendingLanes, a === 0 && (Td = null), vt(r), n = n.stateNode, Xe && typeof Xe.onCommitFiberRoot == "function") try {
+ Xe.onCommitFiberRoot(Ye, n, void 0, (n.current.flags & 128) == 128);
} catch {}
if (i !== null) {
- n = I.T, a = L.p, L.p = 2, I.T = null;
+ n = F.T, a = I.p, I.p = 2, F.T = null;
try {
for (var o = t.onRecoverableError, s = 0; s < i.length; s++) {
var c = i[s];
o(c.value, { componentStack: c.stack });
}
} finally {
- I.T = n, L.p = a;
+ F.T = n, I.p = a;
}
}
- if (i = Nd, o = Pd, Pd = null, i !== null && (Nd = null, o === null && (o = []), e !== null)) for (c = 0; c < i.length; c++) n = (0, i[c])(o), n !== void 0 && e.finished.finally(n);
- Od & 3 && _f(), Pf(t), a = t.pendingLanes, r & 261930 && a & 42 ? t === Id ? Fd++ : (Fd = 0, Id = t) : (Fd = 0, Id = null), Ff(0, !1);
+ if (i = Pd, o = Fd, Fd = null, i !== null && (Pd = null, o === null && (o = []), e !== null)) for (c = 0; c < i.length; c++) n = (0, i[c])(o), n !== void 0 && e.finished.finally(n);
+ kd & 3 && vf(), Ff(t), a = t.pendingLanes, r & 261930 && a & 42 ? t === Ld ? Id++ : (Id = 0, Ld = t) : (Id = 0, Ld = null), If(0, !1);
}
}
- function gf(e, t) {
- (e.pooledCacheLanes &= t) === 0 && (t = e.pooledCache, t != null && (e.pooledCache = null, Aa(t)));
- }
- function _f() {
- return Md !== null && (Md.skipTransition(), Md = null), pf(), mf(), hf(), vf();
+ function _f(e, t) {
+ (e.pooledCacheLanes &= t) === 0 && (t = e.pooledCache, t != null && (e.pooledCache = null, ja(t)));
}
function vf() {
- if (Td !== 5) return !1;
- var e = Ed, t = kd;
- kd = 0;
- var n = _t(Od), r = I.T, a = L.p;
+ return Nd !== null && (Nd.skipTransition(), Nd = null), mf(), hf(), gf(), yf();
+ }
+ function yf() {
+ if (Ed !== 5) return !1;
+ var e = Dd, t = Ad;
+ Ad = 0;
+ var n = vt(kd), r = F.T, a = I.p;
try {
- L.p = 32 > n ? 32 : n, I.T = null, n = Ad, Ad = null;
- var o = Ed, s = Od;
- if (Td = 0, Dd = Ed = null, Od = 0, td & 6) throw Error(i(331));
- var c = td;
- if (td |= 4, Xu(o.current), Hu(o, o.current, s, n), td = c, Ff(0, !1), Ye && typeof Ye.onPostCommitFiberRoot == "function") try {
- Ye.onPostCommitFiberRoot(Je, o);
+ I.p = 32 > n ? 32 : n, F.T = null, n = jd, jd = null;
+ var o = Dd, s = kd;
+ if (Ed = 0, Od = Dd = null, kd = 0, nd & 6) throw Error(i(331));
+ var c = nd;
+ if (nd |= 4, Zu(o.current), Uu(o, o.current, s, n), nd = c, If(0, !1), Xe && typeof Xe.onPostCommitFiberRoot == "function") try {
+ Xe.onPostCommitFiberRoot(Ye, o);
} catch {}
return !0;
} finally {
- L.p = a, I.T = r, gf(e, t);
+ I.p = a, F.T = r, _f(e, t);
}
}
- function yf(e, t, n) {
- t = zi(n, t), t = Dc(e.stateNode, t, 2), e = ho(e, t, 2), e !== null && (dt(e, 2), Pf(e));
- }
function bf(e, t, n) {
- if (e.tag === 3) yf(e, e, n);
+ t = Bi(n, t), t = Oc(e.stateNode, t, 2), e = go(e, t, 2), e !== null && (ft(e, 2), Ff(e));
+ }
+ function xf(e, t, n) {
+ if (e.tag === 3) bf(e, e, n);
else for (; t !== null;) {
if (t.tag === 3) {
- yf(t, e, n);
+ bf(t, e, n);
break;
}
if (t.tag === 1) {
var r = t.stateNode;
- if (typeof t.type.getDerivedStateFromError == "function" || typeof r.componentDidCatch == "function" && (wd === null || !wd.has(r))) {
- e = zi(n, e), n = Oc(2), r = ho(t, n, 2), r !== null && (kc(n, r, t, e), dt(r, 2), Pf(r));
+ if (typeof t.type.getDerivedStateFromError == "function" || typeof r.componentDidCatch == "function" && (Td === null || !Td.has(r))) {
+ e = Bi(n, e), n = kc(2), r = go(t, n, 2), r !== null && (Ac(n, r, t, e), ft(r, 2), Ff(r));
break;
}
}
t = t.return;
}
}
- function xf(e, t, n) {
+ function Sf(e, t, n) {
var r = e.pingCache;
if (r === null) {
- r = e.pingCache = new ed();
+ r = e.pingCache = new td();
var i = /* @__PURE__ */ new Set();
r.set(t, i);
} else i = r.get(t), i === void 0 && (i = /* @__PURE__ */ new Set(), r.set(t, i));
- i.has(n) || (ld = !0, i.add(n), e = Sf.bind(null, e, t, n), t.then(e, e));
+ i.has(n) || (ud = !0, i.add(n), e = Cf.bind(null, e, t, n), t.then(e, e));
}
- function Sf(e, t, n) {
+ function Cf(e, t, n) {
var r = e.pingCache;
- r !== null && r.delete(t), e.pingedLanes |= e.suspendedLanes & n, e.warmLanes &= ~n, nd === e && (id & n) === n && (dd === 4 || dd === 3 && (id & 62914560) === id && 300 > ze() - bd ? td & 2 ? md |= n : qd(e, 0) : md |= n, gd === id && (gd = 0)), Pf(e);
+ r !== null && r.delete(t), e.pingedLanes |= e.suspendedLanes & n, e.warmLanes &= ~n, rd === e && (ad & n) === n && (fd === 4 || fd === 3 && (ad & 62914560) === ad && 300 > Be() - xd ? nd & 2 ? hd |= n : Jd(e, 0) : hd |= n, _d === ad && (_d = 0)), Ff(e);
}
- function Cf(e, t) {
- t === 0 && (t = lt()), e = wi(e, t), e !== null && (dt(e, t), Pf(e));
+ function wf(e, t) {
+ t === 0 && (t = ut()), e = Ti(e, t), e !== null && (ft(e, t), Ff(e));
}
- function wf(e) {
+ function Tf(e) {
var t = e.memoizedState, n = 0;
- t !== null && (n = t.retryLane), Cf(e, n);
+ t !== null && (n = t.retryLane), wf(e, n);
}
- function Tf(e, t) {
+ function Ef(e, t) {
var n = 0;
switch (e.tag) {
case 31:
@@ -16109,122 +16109,122 @@ var Tf = /* @__PURE__ */ g(((e) => {
break;
default: throw Error(i(314));
}
- r !== null && r.delete(t), Cf(e, n);
+ r !== null && r.delete(t), wf(e, n);
}
- function Df(e, t) {
- return Fe(e, t);
+ function Of(e, t) {
+ return Ie(e, t);
}
- var Of = null, kf = null, Af = !1, jf = !1, Mf = !1, Nf = 0;
- function Pf(e) {
- e !== kf && e.next === null && (kf === null ? Of = kf = e : kf = kf.next = e), jf = !0, Af || (Af = !0, Vf());
+ var kf = null, Af = null, jf = !1, Mf = !1, Nf = !1, Pf = 0;
+ function Ff(e) {
+ e !== Af && e.next === null && (Af === null ? kf = Af = e : Af = Af.next = e), Mf = !0, jf || (jf = !0, Hf());
}
- function Ff(e, t) {
- if (!Mf && jf) {
- Mf = !0;
+ function If(e, t) {
+ if (!Nf && Mf) {
+ Nf = !0;
do
- for (var n = !1, r = Of; r !== null;) {
+ for (var n = !1, r = kf; r !== null;) {
if (!t) {
if (e !== 0) {
var i = r.pendingLanes;
if (i === 0) var a = 0;
else {
var o = r.suspendedLanes, s = r.pingedLanes;
- a = (1 << 31 - Ze(42 | e) + 1) - 1, a &= i & ~(o & ~s), a = a & 201326741 ? a & 201326741 | 1 : a ? a | 2 : 0;
+ a = (1 << 31 - Qe(42 | e) + 1) - 1, a &= i & ~(o & ~s), a = a & 201326741 ? a & 201326741 | 1 : a ? a | 2 : 0;
}
- a !== 0 && (n = !0, Bf(r, a));
- } else a = id, a = at(r, r === nd ? a : 0, r.cancelPendingCommit !== null || r.timeoutHandle !== -1), !(a & 3) || ot(r, a) || (n = !0, Bf(r, a));
+ a !== 0 && (n = !0, Vf(r, a));
+ } else a = ad, a = ot(r, r === rd ? a : 0, r.cancelPendingCommit !== null || r.timeoutHandle !== -1), !(a & 3) || st(r, a) || (n = !0, Vf(r, a));
}
r = r.next;
}
while (n);
- Mf = !1;
+ Nf = !1;
}
}
- function If() {
- Lf();
- }
function Lf() {
- jf = Af = !1;
+ Rf();
+ }
+ function Rf() {
+ Mf = jf = !1;
var e = 0;
- Nf !== 0 && Tp() && (e = Nf);
- for (var t = ze(), n = null, r = Of; r !== null;) {
- var i = r.next, a = Rf(r, t);
- a === 0 ? (r.next = null, n === null ? Of = i : n.next = i, i === null && (kf = n)) : (n = r, (e !== 0 || a & 3) && (jf = !0)), r = i;
+ Pf !== 0 && Ep() && (e = Pf);
+ for (var t = Be(), n = null, r = kf; r !== null;) {
+ var i = r.next, a = zf(r, t);
+ a === 0 ? (r.next = null, n === null ? kf = i : n.next = i, i === null && (Af = n)) : (n = r, (e !== 0 || a & 3) && (Mf = !0)), r = i;
}
- Td !== 0 && Td !== 5 || Ff(e, !1), Nf !== 0 && (Nf = 0);
+ Ed !== 0 && Ed !== 5 || If(e, !1), Pf !== 0 && (Pf = 0);
}
- function Rf(e, t) {
+ function zf(e, t) {
for (var n = e.suspendedLanes, r = e.pingedLanes, i = e.expirationTimes, a = e.pendingLanes & -62914561; 0 < a;) {
- var o = 31 - Ze(a), s = 1 << o, c = i[o];
- c === -1 ? ((s & n) === 0 || (s & r) !== 0) && (i[o] = ct(s, t)) : c <= t && (e.expiredLanes |= s), a &= ~s;
+ var o = 31 - Qe(a), s = 1 << o, c = i[o];
+ c === -1 ? ((s & n) === 0 || (s & r) !== 0) && (i[o] = lt(s, t)) : c <= t && (e.expiredLanes |= s), a &= ~s;
}
- if (t = nd, n = id, n = at(e, e === t ? n : 0, e.cancelPendingCommit !== null || e.timeoutHandle !== -1), r = e.callbackNode, n === 0 || e === t && (ad === 2 || ad === 9) || e.cancelPendingCommit !== null) return r !== null && r !== null && Ie(r), e.callbackNode = null, e.callbackPriority = 0;
- if (!(n & 3) || ot(e, n)) {
+ if (t = rd, n = ad, n = ot(e, e === t ? n : 0, e.cancelPendingCommit !== null || e.timeoutHandle !== -1), r = e.callbackNode, n === 0 || e === t && (od === 2 || od === 9) || e.cancelPendingCommit !== null) return r !== null && r !== null && Le(r), e.callbackNode = null, e.callbackPriority = 0;
+ if (!(n & 3) || st(e, n)) {
if (t = n & -n, t === e.callbackPriority) return t;
- switch (r !== null && Ie(r), _t(n)) {
+ switch (r !== null && Le(r), vt(n)) {
case 2:
case 8:
- n = He;
+ n = Ue;
break;
case 32:
- n = Ue;
+ n = We;
break;
case 268435456:
- n = Ge;
+ n = Ke;
break;
- default: n = Ue;
+ default: n = We;
}
- return r = zf.bind(null, e), n = Fe(n, r), e.callbackPriority = t, e.callbackNode = n, t;
+ return r = Bf.bind(null, e), n = Ie(n, r), e.callbackPriority = t, e.callbackNode = n, t;
}
- return r !== null && r !== null && Ie(r), e.callbackPriority = 2, e.callbackNode = null, 2;
+ return r !== null && r !== null && Le(r), e.callbackPriority = 2, e.callbackNode = null, 2;
}
- function zf(e, t) {
- if (Td !== 0 && Td !== 5) return e.callbackNode = null, e.callbackPriority = 0, null;
+ function Bf(e, t) {
+ if (Ed !== 0 && Ed !== 5) return e.callbackNode = null, e.callbackPriority = 0, null;
var n = e.callbackNode;
- if (_f() && e.callbackNode !== n) return null;
- var r = id;
- return r = at(e, e === nd ? r : 0, e.cancelPendingCommit !== null || e.timeoutHandle !== -1), r === 0 ? null : (Vd(e, r, t), Rf(e, ze()), e.callbackNode != null && e.callbackNode === n ? zf.bind(null, e) : null);
+ if (vf() && e.callbackNode !== n) return null;
+ var r = ad;
+ return r = ot(e, e === rd ? r : 0, e.cancelPendingCommit !== null || e.timeoutHandle !== -1), r === 0 ? null : (Hd(e, r, t), zf(e, Be()), e.callbackNode != null && e.callbackNode === n ? Bf.bind(null, e) : null);
}
- function Bf(e, t) {
- if (_f()) return null;
- Vd(e, t, !0);
+ function Vf(e, t) {
+ if (vf()) return null;
+ Hd(e, t, !0);
}
- function Vf() {
- Ap(function() {
- td & 6 ? Fe(Ve, If) : Lf();
+ function Hf() {
+ jp(function() {
+ nd & 6 ? Ie(He, Lf) : Rf();
});
}
- function Hf() {
- if (Nf === 0) {
- var e = Ia;
- e === 0 && (e = tt, tt <<= 1, !(tt & 261888) && (tt = 256)), Nf = e;
+ function Uf() {
+ if (Pf === 0) {
+ var e = La;
+ e === 0 && (e = nt, nt <<= 1, !(nt & 261888) && (nt = 256)), Pf = e;
}
- return Nf;
+ return Pf;
}
- function Uf(e) {
- return e == null || typeof e == "symbol" || typeof e == "boolean" ? null : typeof e == "function" ? e : mn(e);
+ function Wf(e) {
+ return e == null || typeof e == "symbol" || typeof e == "boolean" ? null : typeof e == "function" ? e : hn(e);
}
- function Wf(e, t, n, r, i) {
+ function Gf(e, t, n, r, i) {
if (t === "submit" && n && n.stateNode === i) {
- var a = Uf((i[St] || null).action), o = r.submitter;
- o && (t = (t = o[St] || null) ? Uf(t.formAction) : o.getAttribute("formAction"), t !== null && (a = t, o = null));
- var s = new In("action", "action", null, r, i);
+ var a = Wf((i[Ct] || null).action), o = r.submitter;
+ o && (t = (t = o[Ct] || null) ? Wf(t.formAction) : o.getAttribute("formAction"), t !== null && (a = t, o = null));
+ var s = new Ln("action", "action", null, r, i);
e.push({
event: s,
listeners: [{
instance: null,
listener: function() {
if (r.defaultPrevented) {
- if (Nf !== 0) {
+ if (Pf !== 0) {
var e = new FormData(i, o);
- $s(n, {
+ ec(n, {
pending: !0,
data: e,
method: i.method,
action: a
}, null, e);
}
- } else typeof a == "function" && (s.preventDefault(), e = new FormData(i, o), $s(n, {
+ } else typeof a == "function" && (s.preventDefault(), e = new FormData(i, o), ec(n, {
pending: !0,
data: e,
method: i.method,
@@ -16236,18 +16236,18 @@ var Tf = /* @__PURE__ */ g(((e) => {
});
}
}
- for (var Gf = 0; Gf < di.length; Gf++) {
- var Kf = di[Gf];
- fi(Kf.toLowerCase(), "on" + (Kf[0].toUpperCase() + Kf.slice(1)));
+ for (var Kf = 0; Kf < fi.length; Kf++) {
+ var qf = fi[Kf];
+ pi(qf.toLowerCase(), "on" + (qf[0].toUpperCase() + qf.slice(1)));
}
- fi(ri, "onAnimationEnd"), fi(ii, "onAnimationIteration"), fi(ai, "onAnimationStart"), fi("dblclick", "onDoubleClick"), fi("focusin", "onFocus"), fi("focusout", "onBlur"), fi(oi, "onTransitionRun"), fi(si, "onTransitionStart"), fi(ci, "onTransitionCancel"), fi(li, "onTransitionEnd"), B("onMouseEnter", ["mouseout", "mouseover"]), B("onMouseLeave", ["mouseout", "mouseover"]), B("onPointerEnter", ["pointerout", "pointerover"]), B("onPointerLeave", ["pointerout", "pointerover"]), Lt("onChange", "change click focusin focusout input keydown keyup selectionchange".split(" ")), Lt("onSelect", "focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")), Lt("onBeforeInput", [
+ pi(ii, "onAnimationEnd"), pi(ai, "onAnimationIteration"), pi(oi, "onAnimationStart"), pi("dblclick", "onDoubleClick"), pi("focusin", "onFocus"), pi("focusout", "onBlur"), pi(si, "onTransitionRun"), pi(ci, "onTransitionStart"), pi(li, "onTransitionCancel"), pi(ui, "onTransitionEnd"), z("onMouseEnter", ["mouseout", "mouseover"]), z("onMouseLeave", ["mouseout", "mouseover"]), z("onPointerEnter", ["pointerout", "pointerover"]), z("onPointerLeave", ["pointerout", "pointerover"]), Rt("onChange", "change click focusin focusout input keydown keyup selectionchange".split(" ")), Rt("onSelect", "focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")), Rt("onBeforeInput", [
"compositionend",
"keypress",
"textInput",
"paste"
- ]), Lt("onCompositionEnd", "compositionend focusout keydown keypress keyup mousedown".split(" ")), Lt("onCompositionStart", "compositionstart focusout keydown keypress keyup mousedown".split(" ")), Lt("onCompositionUpdate", "compositionupdate focusout keydown keypress keyup mousedown".split(" "));
- var qf = "abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "), Jf = new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(qf));
- function Yf(e, t) {
+ ]), Rt("onCompositionEnd", "compositionend focusout keydown keypress keyup mousedown".split(" ")), Rt("onCompositionStart", "compositionstart focusout keydown keypress keyup mousedown".split(" ")), Rt("onCompositionUpdate", "compositionupdate focusout keydown keypress keyup mousedown".split(" "));
+ var Jf = "abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "), Yf = new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(Jf));
+ function Xf(e, t) {
t = !!(t & 4);
for (var n = 0; n < e.length; n++) {
var r = e[n], i = r.event;
@@ -16261,7 +16261,7 @@ var Tf = /* @__PURE__ */ g(((e) => {
try {
a(i);
} catch (e) {
- _i(e);
+ vi(e);
}
i.currentTarget = null, a = c;
}
@@ -16271,34 +16271,34 @@ var Tf = /* @__PURE__ */ g(((e) => {
try {
a(i);
} catch (e) {
- _i(e);
+ vi(e);
}
i.currentTarget = null, a = c;
}
}
}
}
- function Xf(e, t) {
- var n = t[wt];
- n === void 0 && (n = t[wt] = /* @__PURE__ */ new Set());
+ function Zf(e, t) {
+ var n = t[Tt];
+ n === void 0 && (n = t[Tt] = /* @__PURE__ */ new Set());
var r = e + "__bubble";
- n.has(r) || (ep(t, e, 2, !1), n.add(r));
+ n.has(r) || (tp(t, e, 2, !1), n.add(r));
}
- function Zf(e, t, n) {
+ function Qf(e, t, n) {
var r = 0;
- t && (r |= 4), ep(n, e, r, t);
+ t && (r |= 4), tp(n, e, r, t);
}
- var Qf = "_reactListening" + Math.random().toString(36).slice(2);
- function $f(e) {
- if (!e[Qf]) {
- e[Qf] = !0, It.forEach(function(t) {
- t !== "selectionchange" && (Jf.has(t) || Zf(t, !1, e), Zf(t, !0, e));
+ var $f = "_reactListening" + Math.random().toString(36).slice(2);
+ function ep(e) {
+ if (!e[$f]) {
+ e[$f] = !0, Lt.forEach(function(t) {
+ t !== "selectionchange" && (Yf.has(t) || Qf(t, !1, e), Qf(t, !0, e));
});
var t = e.nodeType === 9 ? e : e.ownerDocument;
- t === null || t[Qf] || (t[Qf] = !0, Zf("selectionchange", !1, t));
+ t === null || t[$f] || (t[$f] = !0, Qf("selectionchange", !1, t));
}
}
- function ep(e, t, n, r) {
+ function tp(e, t, n, r) {
switch (Oh(t)) {
case 2:
var i = Sh;
@@ -16308,12 +16308,12 @@ var Tf = /* @__PURE__ */ g(((e) => {
break;
default: i = wh;
}
- n = i.bind(null, t, n, e), i = void 0, !Tn || t !== "touchstart" && t !== "touchmove" && t !== "wheel" || (i = !0), r ? i === void 0 ? e.addEventListener(t, n, !0) : e.addEventListener(t, n, {
+ n = i.bind(null, t, n, e), i = void 0, !En || t !== "touchstart" && t !== "touchmove" && t !== "wheel" || (i = !0), r ? i === void 0 ? e.addEventListener(t, n, !0) : e.addEventListener(t, n, {
capture: !0,
passive: i
}) : i === void 0 ? e.addEventListener(t, n, !1) : e.addEventListener(t, n, { passive: i });
}
- function tp(e, t, n, r, i) {
+ function np(e, t, n, r, i) {
var a = r;
if (!(t & 1) && !(t & 2) && r !== null) a: for (;;) {
if (r === null) return;
@@ -16327,7 +16327,7 @@ var Tf = /* @__PURE__ */ g(((e) => {
s = s.return;
}
for (; c !== null;) {
- if (s = At(c), s === null) return;
+ if (s = jt(c), s === null) return;
if (l = s.tag, l === 5 || l === 6 || l === 26 || l === 27) {
r = a = s;
continue a;
@@ -16337,27 +16337,27 @@ var Tf = /* @__PURE__ */ g(((e) => {
}
r = r.return;
}
- Sn(function() {
- var r = a, i = _n(n), s = [];
+ Cn(function() {
+ var r = a, i = vn(n), s = [];
a: {
- var c = ui.get(e);
+ var c = di.get(e);
if (c !== void 0) {
- var l = In, u = e;
+ var l = Ln, u = e;
switch (e) {
- case "keypress": if (jn(n) === 0) break a;
+ case "keypress": if (Mn(n) === 0) break a;
case "keydown":
case "keyup":
- l = er;
+ l = tr;
break;
case "focusin":
- u = "focus", l = Gn;
+ u = "focus", l = Kn;
break;
case "focusout":
- u = "blur", l = Gn;
+ u = "blur", l = Kn;
break;
case "beforeblur":
case "afterblur":
- l = Gn;
+ l = Kn;
break;
case "click": if (n.button === 2) break a;
case "auxclick":
@@ -16368,7 +16368,7 @@ var Tf = /* @__PURE__ */ g(((e) => {
case "mouseout":
case "mouseover":
case "contextmenu":
- l = Un;
+ l = Wn;
break;
case "drag":
case "dragend":
@@ -16378,33 +16378,33 @@ var Tf = /* @__PURE__ */ g(((e) => {
case "dragover":
case "dragstart":
case "drop":
- l = Wn;
+ l = Gn;
break;
case "touchcancel":
case "touchend":
case "touchmove":
case "touchstart":
- l = rr;
+ l = ir;
break;
- case ri:
case ii:
case ai:
- l = Kn;
+ case oi:
+ l = qn;
break;
- case li:
- l = ir;
+ case ui:
+ l = ar;
break;
case "scroll":
case "scrollend":
- l = Rn;
+ l = zn;
break;
case "wheel":
- l = ar;
+ l = or;
break;
case "copy":
case "cut":
case "paste":
- l = qn;
+ l = Jn;
break;
case "gotpointercapture":
case "lostpointercapture":
@@ -16414,19 +16414,19 @@ var Tf = /* @__PURE__ */ g(((e) => {
case "pointerout":
case "pointerover":
case "pointerup":
- l = tr;
+ l = nr;
break;
case "submit":
- l = nr;
+ l = rr;
break;
case "toggle":
- case "beforetoggle": l = or;
+ case "beforetoggle": l = sr;
}
var d = !!(t & 4), f = !d && (e === "scroll" || e === "scrollend"), p = d ? c === null ? null : c + "Capture" : c;
d = [];
for (var m = r, h; m !== null;) {
var g = m;
- if (h = g.stateNode, g = g.tag, g !== 5 && g !== 26 && g !== 27 || h === null || p === null || (g = Cn(m, p), g != null && d.push(np(m, g, h))), f) break;
+ if (h = g.stateNode, g = g.tag, g !== 5 && g !== 26 && g !== 27 || h === null || p === null || (g = wn(m, p), g != null && d.push(rp(m, g, h))), f) break;
m = m.return;
}
0 < d.length && (c = new l(c, u, null, n, i), s.push({
@@ -16437,45 +16437,45 @@ var Tf = /* @__PURE__ */ g(((e) => {
}
if (!(t & 7)) {
a: {
- if (l = e === "mouseover" || e === "pointerover", c = e === "mouseout" || e === "pointerout", l && n !== gn && (u = n.relatedTarget || n.fromElement) && (At(u) || u[Ct])) break a;
- (c || l) && (u = i.window === i ? i : (l = i.ownerDocument) ? l.defaultView || l.parentWindow : window, c ? (l = n.relatedTarget || n.toElement, c = r, l = l ? At(l) : null, l !== null && (f = o(l), d = l.tag, l !== f || d !== 5 && d !== 27 && d !== 6) && (l = null)) : (c = null, l = r), c !== l && (d = Un, g = "onMouseLeave", p = "onMouseEnter", m = "mouse", (e === "pointerout" || e === "pointerover") && (d = tr, g = "onPointerLeave", p = "onPointerEnter", m = "pointer"), f = c == null ? u : Mt(c), h = l == null ? u : Mt(l), u = new d(g, m + "leave", c, n, i), u.target = f, u.relatedTarget = h, g = null, At(i) === r && (d = new d(p, m + "enter", l, n, i), d.target = h, d.relatedTarget = f, g = d), f = g, d = c && l ? w(c, l, ip) : null, c !== null && ap(s, u, c, d, !1), l !== null && f !== null && ap(s, f, l, d, !0)));
+ if (l = e === "mouseover" || e === "pointerover", c = e === "mouseout" || e === "pointerout", l && n !== _n && (u = n.relatedTarget || n.fromElement) && (jt(u) || u[wt])) break a;
+ (c || l) && (u = i.window === i ? i : (l = i.ownerDocument) ? l.defaultView || l.parentWindow : window, c ? (l = n.relatedTarget || n.toElement, c = r, l = l ? jt(l) : null, l !== null && (f = o(l), d = l.tag, l !== f || d !== 5 && d !== 27 && d !== 6) && (l = null)) : (c = null, l = r), c !== l && (d = Wn, g = "onMouseLeave", p = "onMouseEnter", m = "mouse", (e === "pointerout" || e === "pointerover") && (d = nr, g = "onPointerLeave", p = "onPointerEnter", m = "pointer"), f = c == null ? u : Nt(c), h = l == null ? u : Nt(l), u = new d(g, m + "leave", c, n, i), u.target = f, u.relatedTarget = h, g = null, jt(i) === r && (d = new d(p, m + "enter", l, n, i), d.target = h, d.relatedTarget = f, g = d), f = g, d = c && l ? w(c, l, ap) : null, c !== null && op(s, u, c, d, !1), l !== null && f !== null && op(s, f, l, d, !0)));
}
a: {
- if (c = r ? Mt(r) : window, l = c.nodeName && c.nodeName.toLowerCase(), l === "select" || l === "input" && c.type === "file") var _ = Tr;
- else if (br(c)) {
- if (Er) _ = Fr;
+ if (c = r ? Nt(r) : window, l = c.nodeName && c.nodeName.toLowerCase(), l === "select" || l === "input" && c.type === "file") var _ = Er;
+ else if (xr(c)) {
+ if (Dr) _ = Ir;
else {
- _ = Nr;
- var v = Mr;
+ _ = Pr;
+ var v = Nr;
}
- } else l = c.nodeName, !l || l.toLowerCase() !== "input" || c.type !== "checkbox" && c.type !== "radio" ? r && dn(r.elementType) && (_ = Tr) : _ = Pr;
+ } else l = c.nodeName, !l || l.toLowerCase() !== "input" || c.type !== "checkbox" && c.type !== "radio" ? r && fn(r.elementType) && (_ = Er) : _ = Fr;
if (_ &&= _(e, r)) {
- xr(s, _, n, i);
+ Sr(s, _, n, i);
break a;
}
v && v(e, c, r);
}
- switch (v = r ? Mt(r) : window, e) {
+ switch (v = r ? Nt(r) : window, e) {
case "focusin":
- (br(v) || v.contentEditable === "true") && (Kr = v, qr = r, Jr = null);
+ (xr(v) || v.contentEditable === "true") && (qr = v, Jr = r, Yr = null);
break;
case "focusout":
- Jr = qr = Kr = null;
+ Yr = Jr = qr = null;
break;
case "mousedown":
- Xr = !0;
+ Zr = !0;
break;
case "contextmenu":
case "mouseup":
case "dragend":
- Xr = !1, Zr(s, n, i);
+ Zr = !1, Qr(s, n, i);
break;
- case "selectionchange": if (Gr) break;
+ case "selectionchange": if (Kr) break;
case "keydown":
- case "keyup": Zr(s, n, i);
+ case "keyup": Qr(s, n, i);
}
var y;
- if (cr) b: {
+ if (lr) b: {
switch (e) {
case "compositionstart":
var b = "onCompositionStart";
@@ -16489,83 +16489,83 @@ var Tf = /* @__PURE__ */ g(((e) => {
}
b = void 0;
}
- else gr ? mr(e, n) && (b = "onCompositionEnd") : e === "keydown" && n.keyCode === 229 && (b = "onCompositionStart");
- b && (dr && n.locale !== "ko" && (gr || b !== "onCompositionStart" ? b === "onCompositionEnd" && gr && (y = An()) : (Dn = i, On = "value" in Dn ? Dn.value : Dn.textContent, gr = !0)), v = rp(r, b), 0 < v.length && (b = new Jn(b, e, null, n, i), s.push({
+ else _r ? hr(e, n) && (b = "onCompositionEnd") : e === "keydown" && n.keyCode === 229 && (b = "onCompositionStart");
+ b && (fr && n.locale !== "ko" && (_r || b !== "onCompositionStart" ? b === "onCompositionEnd" && _r && (y = jn()) : (On = i, kn = "value" in On ? On.value : On.textContent, _r = !0)), v = ip(r, b), 0 < v.length && (b = new Yn(b, e, null, n, i), s.push({
event: b,
listeners: v
- }), y ? b.data = y : (y = hr(n), y !== null && (b.data = y)))), (y = ur ? _r(e, n) : vr(e, n)) && (b = rp(r, "onBeforeInput"), 0 < b.length && (v = new Jn("onBeforeInput", "beforeinput", null, n, i), s.push({
+ }), y ? b.data = y : (y = gr(n), y !== null && (b.data = y)))), (y = dr ? vr(e, n) : yr(e, n)) && (b = ip(r, "onBeforeInput"), 0 < b.length && (v = new Yn("onBeforeInput", "beforeinput", null, n, i), s.push({
event: v,
listeners: b
- }), v.data = y)), Wf(s, e, r, n, i);
+ }), v.data = y)), Gf(s, e, r, n, i);
}
- Yf(s, t);
+ Xf(s, t);
});
}
- function np(e, t, n) {
+ function rp(e, t, n) {
return {
instance: e,
listener: t,
currentTarget: n
};
}
- function rp(e, t) {
+ function ip(e, t) {
for (var n = t + "Capture", r = []; e !== null;) {
var i = e, a = i.stateNode;
- if (i = i.tag, i !== 5 && i !== 26 && i !== 27 || a === null || (i = Cn(e, n), i != null && r.unshift(np(e, i, a)), i = Cn(e, t), i != null && r.push(np(e, i, a))), e.tag === 3) return r;
+ if (i = i.tag, i !== 5 && i !== 26 && i !== 27 || a === null || (i = wn(e, n), i != null && r.unshift(rp(e, i, a)), i = wn(e, t), i != null && r.push(rp(e, i, a))), e.tag === 3) return r;
e = e.return;
}
return [];
}
- function ip(e) {
+ function ap(e) {
if (e === null) return null;
do
e = e.return;
while (e && e.tag !== 5 && e.tag !== 27);
return e || null;
}
- function ap(e, t, n, r, i) {
+ function op(e, t, n, r, i) {
for (var a = t._reactName, o = []; n !== null && n !== r;) {
var s = n, c = s.alternate, l = s.stateNode;
if (s = s.tag, c !== null && c === r) break;
- s !== 5 && s !== 26 && s !== 27 || l === null || (c = l, i ? (l = Cn(n, a), l != null && o.unshift(np(n, l, c))) : i || (l = Cn(n, a), l != null && o.push(np(n, l, c)))), n = n.return;
+ s !== 5 && s !== 26 && s !== 27 || l === null || (c = l, i ? (l = wn(n, a), l != null && o.unshift(rp(n, l, c))) : i || (l = wn(n, a), l != null && o.push(rp(n, l, c)))), n = n.return;
}
o.length !== 0 && e.push({
event: t,
listeners: o
});
}
- var op = /\r\n?/g, sp = /\u0000|\uFFFD/g;
- function cp(e) {
- return (typeof e == "string" ? e : "" + e).replace(op, "\n").replace(sp, "");
+ var sp = /\r\n?/g, cp = /\u0000|\uFFFD/g;
+ function lp(e) {
+ return (typeof e == "string" ? e : "" + e).replace(sp, "\n").replace(cp, "");
}
- function lp(e, t) {
- return t = cp(t), cp(e) === t;
+ function up(e, t) {
+ return t = lp(t), lp(e) === t;
}
- function up(e, t, n, r, a, o) {
+ function dp(e, t, n, r, a, o) {
switch (n) {
case "children":
- if (typeof r == "string") t === "body" || t === "textarea" && r === "" || sn(e, r);
- else if (typeof r == "number" || typeof r == "bigint") t !== "body" && sn(e, "" + r);
+ if (typeof r == "string") t === "body" || t === "textarea" && r === "" || cn(e, r);
+ else if (typeof r == "number" || typeof r == "bigint") t !== "body" && cn(e, "" + r);
else return;
break;
case "className":
- Gt(e, "class", r);
+ Kt(e, "class", r);
break;
case "tabIndex":
- Gt(e, "tabindex", r);
+ Kt(e, "tabindex", r);
break;
case "dir":
case "role":
case "viewBox":
case "width":
case "height":
- Gt(e, n, r);
+ Kt(e, n, r);
break;
case "style":
- un(e, r, o);
+ dn(e, r, o);
return;
case "data": if (t !== "object") {
- Gt(e, "data", r);
+ Kt(e, "data", r);
break;
}
case "src":
@@ -16578,7 +16578,7 @@ var Tf = /* @__PURE__ */ g(((e) => {
e.removeAttribute(n);
break;
}
- r = mn(r), e.setAttribute(n, r);
+ r = hn(r), e.setAttribute(n, r);
break;
case "action":
case "formAction":
@@ -16586,20 +16586,20 @@ var Tf = /* @__PURE__ */ g(((e) => {
e.setAttribute(n, "javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");
break;
}
- if (typeof o == "function" && (n === "formAction" ? (t !== "input" && up(e, t, "name", a.name, a, null), up(e, t, "formEncType", a.formEncType, a, null), up(e, t, "formMethod", a.formMethod, a, null), up(e, t, "formTarget", a.formTarget, a, null)) : (up(e, t, "encType", a.encType, a, null), up(e, t, "method", a.method, a, null), up(e, t, "target", a.target, a, null))), r == null || typeof r == "symbol" || typeof r == "boolean") {
+ if (typeof o == "function" && (n === "formAction" ? (t !== "input" && dp(e, t, "name", a.name, a, null), dp(e, t, "formEncType", a.formEncType, a, null), dp(e, t, "formMethod", a.formMethod, a, null), dp(e, t, "formTarget", a.formTarget, a, null)) : (dp(e, t, "encType", a.encType, a, null), dp(e, t, "method", a.method, a, null), dp(e, t, "target", a.target, a, null))), r == null || typeof r == "symbol" || typeof r == "boolean") {
e.removeAttribute(n);
break;
}
- r = mn(r), e.setAttribute(n, r);
+ r = hn(r), e.setAttribute(n, r);
break;
case "onClick":
- r != null && (e.onclick = hn);
+ r != null && (e.onclick = gn);
return;
case "onScroll":
- r != null && Xf("scroll", e);
+ r != null && Zf("scroll", e);
return;
case "onScrollEnd":
- r != null && Xf("scrollend", e);
+ r != null && Zf("scrollend", e);
return;
case "dangerouslySetInnerHTML":
if (r != null) {
@@ -16628,7 +16628,7 @@ var Tf = /* @__PURE__ */ g(((e) => {
e.removeAttribute("xlink:href");
break;
}
- n = mn(r), e.setAttributeNS("http://www.w3.org/1999/xlink", "xlink:href", n);
+ n = hn(r), e.setAttributeNS("http://www.w3.org/1999/xlink", "xlink:href", n);
break;
case "contentEditable":
case "spellCheck":
@@ -16681,49 +16681,49 @@ var Tf = /* @__PURE__ */ g(((e) => {
r == null || typeof r == "function" || typeof r == "symbol" || isNaN(r) ? e.removeAttribute(n) : e.setAttribute(n, r);
break;
case "popover":
- Xf("beforetoggle", e), Xf("toggle", e), Wt(e, "popover", r);
+ Zf("beforetoggle", e), Zf("toggle", e), Gt(e, "popover", r);
break;
case "xlinkActuate":
- Kt(e, "http://www.w3.org/1999/xlink", "xlink:actuate", r);
+ qt(e, "http://www.w3.org/1999/xlink", "xlink:actuate", r);
break;
case "xlinkArcrole":
- Kt(e, "http://www.w3.org/1999/xlink", "xlink:arcrole", r);
+ qt(e, "http://www.w3.org/1999/xlink", "xlink:arcrole", r);
break;
case "xlinkRole":
- Kt(e, "http://www.w3.org/1999/xlink", "xlink:role", r);
+ qt(e, "http://www.w3.org/1999/xlink", "xlink:role", r);
break;
case "xlinkShow":
- Kt(e, "http://www.w3.org/1999/xlink", "xlink:show", r);
+ qt(e, "http://www.w3.org/1999/xlink", "xlink:show", r);
break;
case "xlinkTitle":
- Kt(e, "http://www.w3.org/1999/xlink", "xlink:title", r);
+ qt(e, "http://www.w3.org/1999/xlink", "xlink:title", r);
break;
case "xlinkType":
- Kt(e, "http://www.w3.org/1999/xlink", "xlink:type", r);
+ qt(e, "http://www.w3.org/1999/xlink", "xlink:type", r);
break;
case "xmlBase":
- Kt(e, "http://www.w3.org/XML/1998/namespace", "xml:base", r);
+ qt(e, "http://www.w3.org/XML/1998/namespace", "xml:base", r);
break;
case "xmlLang":
- Kt(e, "http://www.w3.org/XML/1998/namespace", "xml:lang", r);
+ qt(e, "http://www.w3.org/XML/1998/namespace", "xml:lang", r);
break;
case "xmlSpace":
- Kt(e, "http://www.w3.org/XML/1998/namespace", "xml:space", r);
+ qt(e, "http://www.w3.org/XML/1998/namespace", "xml:space", r);
break;
case "is":
- Wt(e, "is", r);
+ Gt(e, "is", r);
break;
case "innerText":
case "textContent": return;
- default: if (!(2 < n.length) || n[0] !== "o" && n[0] !== "O" || n[1] !== "n" && n[1] !== "N") n = fn.get(n) || n, Wt(e, n, r);
+ default: if (!(2 < n.length) || n[0] !== "o" && n[0] !== "O" || n[1] !== "n" && n[1] !== "N") n = pn.get(n) || n, Gt(e, n, r);
else return;
}
- Ht = !0;
+ Ut = !0;
}
- function dp(e, t, n, r, a, o) {
+ function fp(e, t, n, r, a, o) {
switch (n) {
case "style":
- un(e, r, o);
+ dn(e, r, o);
return;
case "dangerouslySetInnerHTML":
if (r != null) {
@@ -16735,18 +16735,18 @@ var Tf = /* @__PURE__ */ g(((e) => {
}
break;
case "children":
- if (typeof r == "string") sn(e, r);
- else if (typeof r == "number" || typeof r == "bigint") sn(e, "" + r);
+ if (typeof r == "string") cn(e, r);
+ else if (typeof r == "number" || typeof r == "bigint") cn(e, "" + r);
else return;
break;
case "onScroll":
- r != null && Xf("scroll", e);
+ r != null && Zf("scroll", e);
return;
case "onScrollEnd":
- r != null && Xf("scrollend", e);
+ r != null && Zf("scrollend", e);
return;
case "onClick":
- r != null && (e.onclick = hn);
+ r != null && (e.onclick = gn);
return;
case "suppressContentEditableWarning":
case "suppressHydrationWarning":
@@ -16755,18 +16755,18 @@ var Tf = /* @__PURE__ */ g(((e) => {
case "innerText":
case "textContent": return;
default:
- if (!z.hasOwnProperty(n)) a: {
- if (n[0] === "o" && n[1] === "n" && (a = n.endsWith("Capture"), o = n.slice(2, a ? n.length - 7 : void 0), t = e[St] || null, t = t == null ? null : t[n], typeof t == "function" && e.removeEventListener(o, t, a), typeof r == "function")) {
+ if (!R.hasOwnProperty(n)) a: {
+ if (n[0] === "o" && n[1] === "n" && (a = n.endsWith("Capture"), o = n.slice(2, a ? n.length - 7 : void 0), t = e[Ct] || null, t = t == null ? null : t[n], typeof t == "function" && e.removeEventListener(o, t, a), typeof r == "function")) {
typeof t != "function" && t !== null && (n in e ? e[n] = null : e.hasAttribute(n) && e.removeAttribute(n)), e.addEventListener(o, r, a);
break a;
}
- Ht = !0, n in e ? e[n] = r : !0 === r ? e.setAttribute(n, "") : Wt(e, n, r);
+ Ut = !0, n in e ? e[n] = r : !0 === r ? e.setAttribute(n, "") : Gt(e, n, r);
}
return;
}
- Ht = !0;
+ Ut = !0;
}
- function fp(e, t, n) {
+ function pp(e, t, n) {
switch (t) {
case "div":
case "span":
@@ -16777,7 +16777,7 @@ var Tf = /* @__PURE__ */ g(((e) => {
case "p":
case "li": break;
case "img":
- Xf("error", e), Xf("load", e);
+ Zf("error", e), Zf("load", e);
var r = !1, a = !1, o;
for (o in n) if (n.hasOwnProperty(o)) {
var s = n[o];
@@ -16790,13 +16790,13 @@ var Tf = /* @__PURE__ */ g(((e) => {
break;
case "children":
case "dangerouslySetInnerHTML": throw Error(i(137, t));
- default: up(e, t, o, s, n, null);
+ default: dp(e, t, o, s, n, null);
}
}
- a && up(e, t, "srcSet", n.srcSet, n, null), r && up(e, t, "src", n.src, n, null);
+ a && dp(e, t, "srcSet", n.srcSet, n, null), r && dp(e, t, "src", n.src, n, null);
return;
case "input":
- Xf("invalid", e);
+ Zf("invalid", e);
var c = o = s = a = null, l = null, u = null;
for (r in n) if (n.hasOwnProperty(r)) {
var d = n[r];
@@ -16823,13 +16823,13 @@ var Tf = /* @__PURE__ */ g(((e) => {
case "dangerouslySetInnerHTML":
if (d != null) throw Error(i(137, t));
break;
- default: up(e, t, r, d, n, null);
+ default: dp(e, t, r, d, n, null);
}
}
- tn(e, o, c, l, u, s, a, !1);
+ nn(e, o, c, l, u, s, a, !1);
return;
case "select":
- for (a in Xf("invalid", e), r = s = o = null, n) if (n.hasOwnProperty(a) && (c = n[a], c != null)) switch (a) {
+ for (a in Zf("invalid", e), r = s = o = null, n) if (n.hasOwnProperty(a) && (c = n[a], c != null)) switch (a) {
case "value":
o = c;
break;
@@ -16837,12 +16837,12 @@ var Tf = /* @__PURE__ */ g(((e) => {
s = c;
break;
case "multiple": r = c;
- default: up(e, t, a, c, n, null);
+ default: dp(e, t, a, c, n, null);
}
- t = o, n = s, e.multiple = !!r, t == null ? n != null && rn(e, !!r, n, !0) : rn(e, !!r, t, !1);
+ t = o, n = s, e.multiple = !!r, t == null ? n != null && an(e, !!r, n, !0) : an(e, !!r, t, !1);
return;
case "textarea":
- for (s in Xf("invalid", e), o = a = r = null, n) if (n.hasOwnProperty(s) && (c = n[s], c != null)) switch (s) {
+ for (s in Zf("invalid", e), o = a = r = null, n) if (n.hasOwnProperty(s) && (c = n[s], c != null)) switch (s) {
case "value":
r = c;
break;
@@ -16855,38 +16855,38 @@ var Tf = /* @__PURE__ */ g(((e) => {
case "dangerouslySetInnerHTML":
if (c != null) throw Error(i(91));
break;
- default: up(e, t, s, c, n, null);
+ default: dp(e, t, s, c, n, null);
}
- on(e, r, a, o);
+ sn(e, r, a, o);
return;
case "option":
for (l in n) if (n.hasOwnProperty(l) && (r = n[l], r != null)) switch (l) {
case "selected":
e.selected = r && typeof r != "function" && typeof r != "symbol";
break;
- default: up(e, t, l, r, n, null);
+ default: dp(e, t, l, r, n, null);
}
return;
case "dialog":
- Xf("beforetoggle", e), Xf("toggle", e), Xf("cancel", e), Xf("close", e);
+ Zf("beforetoggle", e), Zf("toggle", e), Zf("cancel", e), Zf("close", e);
break;
case "iframe":
case "object":
- Xf("load", e);
+ Zf("load", e);
break;
case "video":
case "audio":
- for (r = 0; r < qf.length; r++) Xf(qf[r], e);
+ for (r = 0; r < Jf.length; r++) Zf(Jf[r], e);
break;
case "image":
- Xf("error", e), Xf("load", e);
+ Zf("error", e), Zf("load", e);
break;
case "details":
- Xf("toggle", e);
+ Zf("toggle", e);
break;
case "embed":
case "source":
- case "link": Xf("error", e), Xf("load", e);
+ case "link": Zf("error", e), Zf("load", e);
case "area":
case "base":
case "br":
@@ -16901,18 +16901,18 @@ var Tf = /* @__PURE__ */ g(((e) => {
for (u in n) if (n.hasOwnProperty(u) && (r = n[u], r != null)) switch (u) {
case "children":
case "dangerouslySetInnerHTML": throw Error(i(137, t));
- default: up(e, t, u, r, n, null);
+ default: dp(e, t, u, r, n, null);
}
return;
- default: if (dn(t)) {
- for (d in n) n.hasOwnProperty(d) && (r = n[d], r !== void 0 && dp(e, t, d, r, n, void 0));
+ default: if (fn(t)) {
+ for (d in n) n.hasOwnProperty(d) && (r = n[d], r !== void 0 && fp(e, t, d, r, n, void 0));
return;
}
}
- for (c in n) n.hasOwnProperty(c) && (r = n[c], r != null && up(e, t, c, r, n, null));
+ for (c in n) n.hasOwnProperty(c) && (r = n[c], r != null && dp(e, t, c, r, n, null));
}
- var pp = {};
- function mp(e, t, n, r) {
+ var mp = {};
+ function hp(e, t, n, r) {
switch (t) {
case "div":
case "span":
@@ -16930,90 +16930,90 @@ var Tf = /* @__PURE__ */ g(((e) => {
case "checked": break;
case "value": break;
case "defaultValue": l = f;
- default: r.hasOwnProperty(m) || up(e, t, m, null, r, f);
+ default: r.hasOwnProperty(m) || dp(e, t, m, null, r, f);
}
}
for (var p in r) {
var m = r[p];
if (f = n[p], r.hasOwnProperty(p) && (m != null || f != null)) switch (p) {
case "type":
- m !== f && (Ht = !0), o = m;
+ m !== f && (Ut = !0), o = m;
break;
case "name":
- m !== f && (Ht = !0), a = m;
+ m !== f && (Ut = !0), a = m;
break;
case "checked":
- m !== f && (Ht = !0), u = m;
+ m !== f && (Ut = !0), u = m;
break;
case "defaultChecked":
- m !== f && (Ht = !0), d = m;
+ m !== f && (Ut = !0), d = m;
break;
case "value":
- m !== f && (Ht = !0), s = m;
+ m !== f && (Ut = !0), s = m;
break;
case "defaultValue":
- m !== f && (Ht = !0), c = m;
+ m !== f && (Ut = !0), c = m;
break;
case "children":
case "dangerouslySetInnerHTML":
if (m != null) throw Error(i(137, t));
break;
- default: m !== f && up(e, t, p, m, r, f);
+ default: m !== f && dp(e, t, p, m, r, f);
}
}
- en(e, s, c, l, u, d, o, a);
+ tn(e, s, c, l, u, d, o, a);
return;
case "select":
for (o in m = s = c = p = null, n) if (l = n[o], n.hasOwnProperty(o) && l != null) switch (o) {
case "value": break;
case "multiple": m = l;
- default: r.hasOwnProperty(o) || up(e, t, o, null, r, l);
+ default: r.hasOwnProperty(o) || dp(e, t, o, null, r, l);
}
for (a in r) if (o = r[a], l = n[a], r.hasOwnProperty(a) && (o != null || l != null)) switch (a) {
case "value":
- o !== l && (Ht = !0), p = o;
+ o !== l && (Ut = !0), p = o;
break;
case "defaultValue":
- o !== l && (Ht = !0), c = o;
+ o !== l && (Ut = !0), c = o;
break;
- case "multiple": o !== l && (Ht = !0), s = o;
- default: o !== l && up(e, t, a, o, r, l);
+ case "multiple": o !== l && (Ut = !0), s = o;
+ default: o !== l && dp(e, t, a, o, r, l);
}
- t = c, n = s, r = m, p == null ? !!r != !!n && (t == null ? rn(e, !!n, n ? [] : "", !1) : rn(e, !!n, t, !0)) : rn(e, !!n, p, !1);
+ t = c, n = s, r = m, p == null ? !!r != !!n && (t == null ? an(e, !!n, n ? [] : "", !1) : an(e, !!n, t, !0)) : an(e, !!n, p, !1);
return;
case "textarea":
for (c in m = p = null, n) if (a = n[c], n.hasOwnProperty(c) && a != null && !r.hasOwnProperty(c)) switch (c) {
case "value": break;
case "children": break;
- default: up(e, t, c, null, r, a);
+ default: dp(e, t, c, null, r, a);
}
for (s in r) if (a = r[s], o = n[s], r.hasOwnProperty(s) && (a != null || o != null)) switch (s) {
case "value":
- a !== o && (Ht = !0), p = a;
+ a !== o && (Ut = !0), p = a;
break;
case "defaultValue":
- a !== o && (Ht = !0), m = a;
+ a !== o && (Ut = !0), m = a;
break;
case "children": break;
case "dangerouslySetInnerHTML":
if (a != null) throw Error(i(91));
break;
- default: a !== o && up(e, t, s, a, r, o);
+ default: a !== o && dp(e, t, s, a, r, o);
}
- an(e, p, m);
+ on(e, p, m);
return;
case "option":
for (var h in n) if (p = n[h], n.hasOwnProperty(h) && p != null && !r.hasOwnProperty(h)) switch (h) {
case "selected":
e.selected = !1;
break;
- default: up(e, t, h, null, r, p);
+ default: dp(e, t, h, null, r, p);
}
for (l in r) if (p = r[l], m = n[l], r.hasOwnProperty(l) && p !== m && (p != null || m != null)) switch (l) {
case "selected":
- p !== m && (Ht = !0), e.selected = p && typeof p != "function" && typeof p != "symbol";
+ p !== m && (Ut = !0), e.selected = p && typeof p != "function" && typeof p != "symbol";
break;
- default: up(e, t, l, p, r, m);
+ default: dp(e, t, l, p, r, m);
}
return;
case "img":
@@ -17031,25 +17031,25 @@ var Tf = /* @__PURE__ */ g(((e) => {
case "track":
case "wbr":
case "menuitem":
- for (var g in n) p = n[g], n.hasOwnProperty(g) && p != null && !r.hasOwnProperty(g) && up(e, t, g, null, r, p);
+ for (var g in n) p = n[g], n.hasOwnProperty(g) && p != null && !r.hasOwnProperty(g) && dp(e, t, g, null, r, p);
for (u in r) if (p = r[u], m = n[u], r.hasOwnProperty(u) && p !== m && (p != null || m != null)) switch (u) {
case "children":
case "dangerouslySetInnerHTML":
if (p != null) throw Error(i(137, t));
break;
- default: up(e, t, u, p, r, m);
+ default: dp(e, t, u, p, r, m);
}
return;
- default: if (dn(t)) {
- for (var _ in n) p = n[_], n.hasOwnProperty(_) && p !== void 0 && !r.hasOwnProperty(_) && dp(e, t, _, void 0, r, p);
- for (d in r) p = r[d], m = n[d], !r.hasOwnProperty(d) || p === m || p === void 0 && m === void 0 || dp(e, t, d, p, r, m);
+ default: if (fn(t)) {
+ for (var _ in n) p = n[_], n.hasOwnProperty(_) && p !== void 0 && !r.hasOwnProperty(_) && fp(e, t, _, void 0, r, p);
+ for (d in r) p = r[d], m = n[d], !r.hasOwnProperty(d) || p === m || p === void 0 && m === void 0 || fp(e, t, d, p, r, m);
return;
}
}
- for (var v in n) p = n[v], n.hasOwnProperty(v) && p != null && !r.hasOwnProperty(v) && up(e, t, v, null, r, p);
- for (f in r) p = r[f], m = n[f], !r.hasOwnProperty(f) || p === m || p == null && m == null || up(e, t, f, p, r, m);
+ for (var v in n) p = n[v], n.hasOwnProperty(v) && p != null && !r.hasOwnProperty(v) && dp(e, t, v, null, r, p);
+ for (f in r) p = r[f], m = n[f], !r.hasOwnProperty(f) || p === m || p == null && m == null || dp(e, t, f, p, r, m);
}
- function hp(e) {
+ function gp(e) {
switch (e) {
case "css":
case "script":
@@ -17061,16 +17061,16 @@ var Tf = /* @__PURE__ */ g(((e) => {
default: return !1;
}
}
- function gp() {
+ function _p() {
if (typeof performance.getEntriesByType == "function") {
for (var e = 0, t = 0, n = performance.getEntriesByType("resource"), r = 0; r < n.length; r++) {
var i = n[r], a = i.transferSize, o = i.initiatorType, s = i.duration;
- if (a && s && hp(o)) {
+ if (a && s && gp(o)) {
for (o = 0, s = i.responseEnd, r += 1; r < n.length; r++) {
var c = n[r], l = c.startTime;
if (l > s) break;
var u = c.transferSize, d = c.initiatorType;
- u && hp(d) && (c = c.responseEnd, o += u * (c < s ? 1 : (s - l) / (c - l)));
+ u && gp(d) && (c = c.responseEnd, o += u * (c < s ? 1 : (s - l) / (c - l)));
}
if (--r, t += 8 * (a + o) / (i.duration / 1e3), e++, 10 < e) break;
}
@@ -17079,18 +17079,18 @@ var Tf = /* @__PURE__ */ g(((e) => {
}
return navigator.connection && (e = navigator.connection.downlink, typeof e == "number") ? e : 5;
}
- var _p = null, vp = null;
- function yp(e) {
+ var vp = null, yp = null;
+ function bp(e) {
return e.nodeType === 9 ? e : e.ownerDocument;
}
- function bp(e) {
+ function xp(e) {
switch (e) {
case "http://www.w3.org/2000/svg": return 1;
case "http://www.w3.org/1998/Math/MathML": return 2;
default: return 0;
}
}
- function xp(e, t) {
+ function Sp(e, t) {
if (e === 0) switch (t) {
case "svg": return 1;
case "math": return 2;
@@ -17098,29 +17098,29 @@ var Tf = /* @__PURE__ */ g(((e) => {
}
return e === 1 && t === "foreignObject" ? 0 : e;
}
- function Sp(e, t, n, r) {
- return n = yp(n).createElement(e), n[xt] = r, n[St] = t, fp(n, e, t), Pt(n), n;
+ function Cp(e, t, n, r) {
+ return n = bp(n).createElement(e), n[St] = r, n[Ct] = t, pp(n, e, t), Ft(n), n;
}
- function Cp(e, t) {
+ function wp(e, t) {
return e === "textarea" || e === "noscript" || typeof t.children == "string" || typeof t.children == "number" || typeof t.children == "bigint" || typeof t.dangerouslySetInnerHTML == "object" && t.dangerouslySetInnerHTML !== null && t.dangerouslySetInnerHTML.__html != null;
}
- var wp = null;
- function Tp() {
+ var Tp = null;
+ function Ep() {
var e = window.event;
- return e && e.type === "popstate" ? e !== wp && (wp = e, !0) : (wp = null, !1);
+ return e && e.type === "popstate" ? e !== Tp && (Tp = e, !0) : (Tp = null, !1);
}
- var Ep = typeof setTimeout == "function" ? setTimeout : void 0, Dp = typeof clearTimeout == "function" ? clearTimeout : void 0, Op = typeof Promise == "function" ? Promise : void 0, kp = typeof requestAnimationFrame == "function" ? requestAnimationFrame : Ep, Ap = typeof queueMicrotask == "function" ? queueMicrotask : Op === void 0 ? Ep : function(e) {
- return Op.resolve(null).then(e).catch(jp);
+ var Dp = typeof setTimeout == "function" ? setTimeout : void 0, Op = typeof clearTimeout == "function" ? clearTimeout : void 0, kp = typeof Promise == "function" ? Promise : void 0, Ap = typeof requestAnimationFrame == "function" ? requestAnimationFrame : Dp, jp = typeof queueMicrotask == "function" ? queueMicrotask : kp === void 0 ? Dp : function(e) {
+ return kp.resolve(null).then(e).catch(Mp);
};
- function jp(e) {
+ function Mp(e) {
setTimeout(function() {
throw e;
});
}
- function Mp(e) {
+ function Np(e) {
return e === "head";
}
- function Np(e, t) {
+ function Pp(e, t) {
var n = t, r = 0;
do {
var i = n.nextSibling;
@@ -17132,20 +17132,20 @@ var Tf = /* @__PURE__ */ g(((e) => {
}
r--;
} else if (n === "$" || n === "$?" || n === "$~" || n === "$!" || n === "&") r++;
- else if (n === "html") wm(e.ownerDocument.documentElement);
+ else if (n === "html") Tm(e.ownerDocument.documentElement);
else if (n === "head") {
- n = e.ownerDocument.head, wm(n);
+ n = e.ownerDocument.head, Tm(n);
for (var a = n.firstChild; a;) {
var o = a.nextSibling, s = a.nodeName;
- a[R] || s === "SCRIPT" || s === "STYLE" || s === "LINK" && a.rel.toLowerCase() === "stylesheet" || n.removeChild(a), a = o;
+ a[L] || s === "SCRIPT" || s === "STYLE" || s === "LINK" && a.rel.toLowerCase() === "stylesheet" || n.removeChild(a), a = o;
}
- } else n === "body" && wm(e.ownerDocument.body);
+ } else n === "body" && Tm(e.ownerDocument.body);
}
n = i;
} while (n);
Y(t);
}
- function Pp(e, t) {
+ function Fp(e, t) {
var n = e;
e = 0;
do {
@@ -17159,7 +17159,7 @@ var Tf = /* @__PURE__ */ g(((e) => {
n = r;
} while (n);
}
- function Fp(e, t, n) {
+ function Ip(e, t, n) {
if (t = CSS.escape(t) === t ? t : "r-" + btoa(t).replace(/=/g, ""), e.style.viewTransitionName = t, n != null && (e.style.viewTransitionClass = n), n = getComputedStyle(e), n.display === "inline") {
if (t = e.getClientRects(), t.length === 1) var r = 1;
else for (var i = r = 0; i < t.length; i++) {
@@ -17169,12 +17169,12 @@ var Tf = /* @__PURE__ */ g(((e) => {
r === 1 && (e = e.style, e.display = t.length === 1 ? "inline-block" : "block", e.marginTop = "-" + n.paddingTop, e.marginBottom = "-" + n.paddingBottom);
}
}
- function Ip(e, t) {
+ function Lp(e, t) {
e = e.style, t = t.style;
var n = t == null ? null : t.hasOwnProperty("viewTransitionName") ? t.viewTransitionName : t.hasOwnProperty("view-transition-name") ? t["view-transition-name"] : null;
e.viewTransitionName = n == null || typeof n == "boolean" ? "" : ("" + n).trim(), n = t == null ? null : t.hasOwnProperty("viewTransitionClass") ? t.viewTransitionClass : t.hasOwnProperty("view-transition-class") ? t["view-transition-class"] : null, e.viewTransitionClass = n == null || typeof n == "boolean" ? "" : ("" + n).trim(), e.display === "inline-block" && (t == null ? e.display = e.margin = "" : (n = t.display, e.display = n == null || typeof n == "boolean" ? "" : n, n = t.margin, n == null ? (n = t.hasOwnProperty("marginTop") ? t.marginTop : t["margin-top"], e.marginTop = n == null || typeof n == "boolean" ? "" : n, t = t.hasOwnProperty("marginBottom") ? t.marginBottom : t["margin-bottom"], e.marginBottom = t == null || typeof t == "boolean" ? "" : t) : e.margin = n));
}
- function Lp(e, t, n) {
+ function Rp(e, t, n) {
return n = n.ownerDocument.defaultView, {
rect: e,
abs: t.position === "absolute" || t.position === "fixed",
@@ -17182,22 +17182,22 @@ var Tf = /* @__PURE__ */ g(((e) => {
view: 0 <= e.bottom && 0 <= e.right && e.top <= n.innerHeight && e.left <= n.innerWidth
};
}
- function Rp(e) {
- return Lp(e.getBoundingClientRect(), getComputedStyle(e), e);
- }
function zp(e) {
+ return Rp(e.getBoundingClientRect(), getComputedStyle(e), e);
+ }
+ function Bp(e) {
var t = e.getBoundingClientRect();
t = new DOMRect(t.x + 2e4, t.y + 2e4, t.width, t.height);
var n = getComputedStyle(e);
- return Lp(t, n, e);
+ return Rp(t, n, e);
}
- function Bp(e) {
+ function Vp(e) {
return e.documentElement.clientHeight;
}
- function Vp(e) {
+ function Hp(e) {
this.addEventListener("load", e), this.addEventListener("error", e);
}
- function Hp(e, t, n, r, i, a, o, s, c) {
+ function Up(e, t, n, r, i, a, o, s, c) {
var l = t.nodeType === 9 ? t : t.ownerDocument;
try {
var u = l.startViewTransition({
@@ -17205,7 +17205,7 @@ var Tf = /* @__PURE__ */ g(((e) => {
var t = l.defaultView, n = t.navigation && t.navigation.transition, o = l.fonts.status;
r();
var s = [];
- if (o === "loaded" && (Bp(l), l.fonts.status === "loading" && s.push(l.fonts.ready)), o = s.length, e !== null) for (var c = e.suspenseyImages, u = 0, d = 0; d < c.length; d++) {
+ if (o === "loaded" && (Vp(l), l.fonts.status === "loading" && s.push(l.fonts.ready)), o = s.length, e !== null) for (var c = e.suspenseyImages, u = 0, d = 0; d < c.length; d++) {
var f = c[d];
if (!f.complete) {
var p = f.getBoundingClientRect();
@@ -17214,7 +17214,7 @@ var Tf = /* @__PURE__ */ g(((e) => {
s.length = o;
break;
}
- f = new Promise(Vp.bind(f)), s.push(f);
+ f = new Promise(Hp.bind(f)), s.push(f);
}
}
}
@@ -17269,86 +17269,86 @@ var Tf = /* @__PURE__ */ g(((e) => {
return r(), i(), o(), null;
}
}
- function Up(e, t) {
+ function Wp(e, t) {
this._scope = document.documentElement, this._selector = "::view-transition-" + e + "(" + t + ")";
}
- Up.prototype.animate = function(e, t) {
+ Wp.prototype.animate = function(e, t) {
return t = typeof t == "number" ? { duration: t } : T({}, t), t.pseudoElement = this._selector, this._scope.animate(e, t);
- }, Up.prototype.getAnimations = function() {
+ }, Wp.prototype.getAnimations = function() {
for (var e = this._scope, t = this._selector, n = e.getAnimations({ subtree: !0 }), r = [], i = 0; i < n.length; i++) {
var a = n[i].effect;
a !== null && a.target === e && a.pseudoElement === t && r.push(n[i]);
}
return r;
- }, Up.prototype.getComputedStyle = function() {
+ }, Wp.prototype.getComputedStyle = function() {
return getComputedStyle(this._scope, this._selector);
};
- function Wp(e) {
+ function Gp(e) {
return {
name: e,
- group: new Up("group", e),
- imagePair: new Up("image-pair", e),
- old: new Up("old", e),
- new: new Up("new", e)
+ group: new Wp("group", e),
+ imagePair: new Wp("image-pair", e),
+ old: new Wp("old", e),
+ new: new Wp("new", e)
};
}
- function Gp(e) {
+ function Kp(e) {
this._fragmentFiber = e, this._observers = this._eventListeners = null;
}
- Gp.prototype.addEventListener = function(e, t, n) {
+ Kp.prototype.addEventListener = function(e, t, n) {
var r = null, i = null;
if (!(n != null && typeof n != "boolean" && (r = n.signal || null, r !== null && r.aborted))) {
this._eventListeners === null && (this._eventListeners = []);
var a = this._eventListeners;
- if (Xp(a, e, t, n) === -1) {
+ if (Zp(a, e, t, n) === -1) {
var o = this, s = t;
n != null && typeof n != "boolean" && !0 === n.once && (s = function(r) {
o.removeEventListener(e, t, n), typeof t == "function" ? t.call(this, r) : t.handleEvent(r);
- }), r !== null && (i = o.removeEventListener.bind(o, e, t, n), r.addEventListener("abort", i, { once: !0 }), i = r.removeEventListener.bind(r, "abort", i)), r = Jp(n), a.push({
+ }), r !== null && (i = o.removeEventListener.bind(o, e, t, n), r.addEventListener("abort", i, { once: !0 }), i = r.removeEventListener.bind(r, "abort", i)), r = Yp(n), a.push({
type: e,
listener: t,
optionsOrUseCapture: n,
attachedListener: s,
cleanup: i
- }), f(this._fragmentFiber.child, !1, Kp, e, s, r);
+ }), f(this._fragmentFiber.child, !1, qp, e, s, r);
}
this._eventListeners = a;
}
};
- function Kp(e, t, n, r) {
+ function qp(e, t, n, r) {
return _(e).addEventListener(t, n, r), !1;
}
- Gp.prototype.removeEventListener = function(e, t, n) {
+ Kp.prototype.removeEventListener = function(e, t, n) {
var r = this._eventListeners;
- if (r !== null && (t = Xp(r, e, t, n), t !== -1)) {
+ if (r !== null && (t = Zp(r, e, t, n), t !== -1)) {
var i = r[t];
n = i.attachedListener;
var a = i.cleanup;
- i = Jp(i.optionsOrUseCapture), f(this._fragmentFiber.child, !1, qp, e, n, i), r.splice(t, 1), a !== null && a();
+ i = Yp(i.optionsOrUseCapture), f(this._fragmentFiber.child, !1, Jp, e, n, i), r.splice(t, 1), a !== null && a();
}
};
- function qp(e, t, n, r) {
+ function Jp(e, t, n, r) {
return _(e).removeEventListener(t, n, r), !1;
}
- function Jp(e) {
+ function Yp(e) {
return e != null && typeof e != "boolean" && (!0 === e.once || e.signal instanceof AbortSignal) ? {
capture: e.capture,
passive: e.passive
} : e;
}
- function Yp(e) {
+ function Xp(e) {
return e == null ? "c=0" : typeof e == "boolean" ? "c=" + (e ? "1" : "0") : "c=" + (e.capture ? "1" : "0");
}
- function Xp(e, t, n, r) {
+ function Zp(e, t, n, r) {
if (e.length === 0) return -1;
- r = Yp(r);
+ r = Xp(r);
for (var i = 0; i < e.length; i++) {
var a = e[i];
- if (a.type === t && a.listener === n && Yp(a.optionsOrUseCapture) === r) return i;
+ if (a.type === t && a.listener === n && Xp(a.optionsOrUseCapture) === r) return i;
}
return -1;
}
- Gp.prototype.dispatchEvent = function(e) {
+ Kp.prototype.dispatchEvent = function(e) {
var t = p(this._fragmentFiber);
if (t === null) return !0;
t = _(t);
@@ -17357,74 +17357,74 @@ var Tf = /* @__PURE__ */ g(((e) => {
var r = t.nodeType === 9 ? t.createComment("") : document.createTextNode("");
if (n) for (var i = 0; i < n.length; i++) {
var a = n[i];
- r.addEventListener(a.type, a.attachedListener, Jp(a.optionsOrUseCapture));
+ r.addEventListener(a.type, a.attachedListener, Yp(a.optionsOrUseCapture));
}
- if (t.appendChild(r), e = r.dispatchEvent(e), n) for (i = 0; i < n.length; i++) a = n[i], r.removeEventListener(a.type, a.attachedListener, Jp(a.optionsOrUseCapture));
+ if (t.appendChild(r), e = r.dispatchEvent(e), n) for (i = 0; i < n.length; i++) a = n[i], r.removeEventListener(a.type, a.attachedListener, Yp(a.optionsOrUseCapture));
return t.removeChild(r), e;
}
return t.dispatchEvent(e);
- }, Gp.prototype.focus = function(e) {
- f(this._fragmentFiber.child, !0, Zp, e, void 0, void 0);
+ }, Kp.prototype.focus = function(e) {
+ f(this._fragmentFiber.child, !0, Qp, e, void 0, void 0);
};
- function Zp(e, t) {
- return e.tag !== 6 && (e = _(e), bm(e, t));
+ function Qp(e, t) {
+ return e.tag !== 6 && (e = _(e), xm(e, t));
}
- Gp.prototype.focusLast = function(e) {
+ Kp.prototype.focusLast = function(e) {
var t = [];
- f(this._fragmentFiber.child, !0, Qp, t, void 0, void 0);
- for (var n = t.length - 1; 0 <= n && !Zp(t[n], e); n--);
+ f(this._fragmentFiber.child, !0, $p, t, void 0, void 0);
+ for (var n = t.length - 1; 0 <= n && !Qp(t[n], e); n--);
};
- function Qp(e, t) {
+ function $p(e, t) {
return t.push(e), !1;
}
- Gp.prototype.blur = function() {
+ Kp.prototype.blur = function() {
var e = p(this._fragmentFiber);
- e !== null && (e = _(e), e = yp(e).activeElement, e !== null && f(this._fragmentFiber.child, !1, $p, e, void 0, void 0));
+ e !== null && (e = _(e), e = bp(e).activeElement, e !== null && f(this._fragmentFiber.child, !1, em, e, void 0, void 0));
};
- function $p(e, t) {
+ function em(e, t) {
return e.tag !== 6 && (e = _(e), e === t || e.contains(t) ? (t.blur(), !0) : !1);
}
- Gp.prototype.observeUsing = function(e) {
- this._observers === null && (this._observers = /* @__PURE__ */ new Set()), this._observers.add(e), f(this._fragmentFiber.child, !1, em, e, void 0, void 0);
+ Kp.prototype.observeUsing = function(e) {
+ this._observers === null && (this._observers = /* @__PURE__ */ new Set()), this._observers.add(e), f(this._fragmentFiber.child, !1, tm, e, void 0, void 0);
};
- function em(e, t) {
+ function tm(e, t) {
return e.tag !== 6 && (e = _(e), t.observe(e), !1);
}
- Gp.prototype.unobserveUsing = function(e) {
+ Kp.prototype.unobserveUsing = function(e) {
var t = this._observers;
if (t !== null && t.has(e)) {
- t.delete(e), f(this._fragmentFiber.child, !1, tm, e, void 0, void 0);
- for (var n = t = 0; n < W.length; n++) {
- var r = W[n];
- r.fragmentInstance === this && r.observer === e ? e.unobserve(r.instance) : W[t++] = r;
+ t.delete(e), f(this._fragmentFiber.child, !1, nm, e, void 0, void 0);
+ for (var n = t = 0; n < U.length; n++) {
+ var r = U[n];
+ r.fragmentInstance === this && r.observer === e ? e.unobserve(r.instance) : U[t++] = r;
}
- W.length = t;
+ U.length = t;
}
};
- function tm(e, t) {
+ function nm(e, t) {
return e.tag !== 6 && (e = _(e), t.unobserve(e), !1);
}
- var W = [], nm = !1;
- function rm(e, t, n) {
- W.push({
+ var U = [], rm = !1;
+ function im(e, t, n) {
+ U.push({
fragmentInstance: e,
observer: t,
instance: n
- }), nm || (nm = !0, xm(function() {
- nm = !1;
- var e = W;
- W = [];
+ }), rm || (rm = !0, Sm(function() {
+ rm = !1;
+ var e = U;
+ U = [];
for (var t = 0; t < e.length; t++) {
var n = e[t];
n.observer.unobserve(n.instance);
}
}));
}
- Gp.prototype.getClientRects = function() {
+ Kp.prototype.getClientRects = function() {
var e = [];
- return f(this._fragmentFiber.child, !1, im, e, void 0, void 0), e;
+ return f(this._fragmentFiber.child, !1, am, e, void 0, void 0), e;
};
- function im(e, t) {
+ function am(e, t) {
if (e.tag === 6) {
e = e.stateNode;
var n = e.ownerDocument.createRange();
@@ -17432,14 +17432,14 @@ var Tf = /* @__PURE__ */ g(((e) => {
} else e = _(e), t.push.apply(t, e.getClientRects());
return !1;
}
- Gp.prototype.getRootNode = function(e) {
+ Kp.prototype.getRootNode = function(e) {
var t = p(this._fragmentFiber);
return t === null ? this : _(t).getRootNode(e);
- }, Gp.prototype.compareDocumentPosition = function(e) {
+ }, Kp.prototype.compareDocumentPosition = function(e) {
var t = p(this._fragmentFiber);
if (t === null) return Node.DOCUMENT_POSITION_DISCONNECTED;
var n = [];
- f(this._fragmentFiber.child, !1, Qp, n, void 0, void 0);
+ f(this._fragmentFiber.child, !1, $p, n, void 0, void 0);
var r = _(t);
if (n.length === 0) {
if (n = r, m(this._fragmentFiber)) {
@@ -17465,10 +17465,10 @@ var Tf = /* @__PURE__ */ g(((e) => {
if (a == null) return Node.DOCUMENT_POSITION_DISCONNECTED;
r = a.compareDocumentPosition(t) & Node.DOCUMENT_POSITION_CONTAINED_BY, a = a.compareDocumentPosition(i) & Node.DOCUMENT_POSITION_CONTAINED_BY;
var o = t.compareDocumentPosition(e), s = i.compareDocumentPosition(e), c = o & Node.DOCUMENT_POSITION_CONTAINED_BY || s & Node.DOCUMENT_POSITION_CONTAINED_BY;
- return s = r && a && o & Node.DOCUMENT_POSITION_FOLLOWING && s & Node.DOCUMENT_POSITION_PRECEDING, t = r && t === e || a && i === e || c || s ? Node.DOCUMENT_POSITION_CONTAINED_BY : !r && t === e || !a && i === e ? Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC : o, t & Node.DOCUMENT_POSITION_DISCONNECTED || t & Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC || am(t, this._fragmentFiber, n[0], n[n.length - 1], e) ? t : Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC;
+ return s = r && a && o & Node.DOCUMENT_POSITION_FOLLOWING && s & Node.DOCUMENT_POSITION_PRECEDING, t = r && t === e || a && i === e || c || s ? Node.DOCUMENT_POSITION_CONTAINED_BY : !r && t === e || !a && i === e ? Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC : o, t & Node.DOCUMENT_POSITION_DISCONNECTED || t & Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC || om(t, this._fragmentFiber, n[0], n[n.length - 1], e) ? t : Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC;
};
- function am(e, t, n, r, i) {
- var a = At(i);
+ function om(e, t, n, r, i) {
+ var a = jt(i);
if (e & Node.DOCUMENT_POSITION_CONTAINED_BY) {
if (n = !!a) a: {
for (; a !== null;) {
@@ -17498,20 +17498,20 @@ var Tf = /* @__PURE__ */ g(((e) => {
}
return e & Node.DOCUMENT_POSITION_PRECEDING ? ((t = !!a) && !(t = a === n) && (t = w(n, a, C), t === null ? t = !1 : (f(t, !0, x, a, n), a = v, v = null, t = a !== null)), t) : e & Node.DOCUMENT_POSITION_FOLLOWING ? ((t = !!a) && !(t = a === r) && (t = w(r, a, C), t === null ? t = !1 : (f(t, !0, S, a, r), a = v, y = v = null, t = a !== null)), t) : !1;
}
- function om(e, t) {
+ function sm(e, t) {
var n = e.ownerDocument.createRange();
n.selectNodeContents(e), e = n.getBoundingClientRect(), window.scrollTo(window.scrollX + e.left, t ? window.scrollY + e.top : window.scrollY + e.bottom - window.innerHeight);
}
- Gp.prototype.scrollIntoView = function(e) {
+ Kp.prototype.scrollIntoView = function(e) {
if (typeof e == "object") throw Error(i(566));
var t = [];
- f(this._fragmentFiber.child, !1, Qp, t, void 0, void 0);
+ f(this._fragmentFiber.child, !1, $p, t, void 0, void 0);
var n = !1 !== e;
if (t.length === 0) {
var r = h(this._fragmentFiber);
if (r = n ? r[1] || r[0] || p(this._fragmentFiber) : r[0] || r[1], r === null) return;
if (r.tag === 6) {
- e = _(r), om(e, n);
+ e = _(r), sm(e, n);
return;
}
if (r = _(r), r.nodeType !== 9) {
@@ -17524,40 +17524,40 @@ var Tf = /* @__PURE__ */ g(((e) => {
}
for (r = n ? t.length - 1 : 0; r !== (n ? -1 : t.length);) {
var a = t[r];
- a.tag === 6 ? (a = _(a), om(a, n)) : _(a).scrollIntoView(e), r += n ? -1 : 1;
+ a.tag === 6 ? (a = _(a), sm(a, n)) : _(a).scrollIntoView(e), r += n ? -1 : 1;
}
};
- function sm(e, t) {
- return e = _(e), cm(e, t), !1;
- }
function cm(e, t) {
- e.reactFragments ??= /* @__PURE__ */ new Set(), e.reactFragments.add(t);
+ return e = _(e), lm(e, t), !1;
}
function lm(e, t) {
+ e.reactFragments ??= /* @__PURE__ */ new Set(), e.reactFragments.add(t);
+ }
+ function um(e, t) {
var n = t._eventListeners;
if (n !== null) for (var r = 0; r < n.length; r++) {
var i = n[r];
- e.addEventListener(i.type, i.attachedListener, Jp(i.optionsOrUseCapture));
+ e.addEventListener(i.type, i.attachedListener, Yp(i.optionsOrUseCapture));
}
e.nodeType !== 3 && (n = t._observers, n !== null && n.forEach(function(n) {
- for (var r = 0, i = 0; i < W.length; i++) {
- var a = W[i];
- (a.fragmentInstance !== t || a.observer !== n || a.instance !== e) && (W[r++] = a);
+ for (var r = 0, i = 0; i < U.length; i++) {
+ var a = U[i];
+ (a.fragmentInstance !== t || a.observer !== n || a.instance !== e) && (U[r++] = a);
}
- W.length = r, n.observe(e);
- }), cm(e, t));
+ U.length = r, n.observe(e);
+ }), lm(e, t));
}
- function um(e, t) {
+ function dm(e, t) {
var n = t._eventListeners;
if (n !== null) for (var r = 0; r < n.length; r++) {
var i = n[r];
- e.removeEventListener(i.type, i.attachedListener, Jp(i.optionsOrUseCapture));
+ e.removeEventListener(i.type, i.attachedListener, Yp(i.optionsOrUseCapture));
}
e.nodeType !== 3 && (n = t._observers, n !== null && n.forEach(function(n) {
- typeof n.rootMargin == "string" ? rm(t, n, e) : n.unobserve(e);
+ typeof n.rootMargin == "string" ? im(t, n, e) : n.unobserve(e);
}), e.reactFragments != null && e.reactFragments.delete(t));
}
- function dm(e) {
+ function fm(e) {
var t = e.firstChild;
for (t && t.nodeType === 10 && (t = t.nextSibling); t;) {
var n = t;
@@ -17565,7 +17565,7 @@ var Tf = /* @__PURE__ */ g(((e) => {
case "HTML":
case "HEAD":
case "BODY":
- dm(n), kt(n);
+ fm(n), At(n);
continue;
case "SCRIPT":
case "STYLE": continue;
@@ -17574,7 +17574,7 @@ var Tf = /* @__PURE__ */ g(((e) => {
e.removeChild(n);
}
}
- function fm(e, t, n, r) {
+ function pm(e, t, n, r) {
for (; e.nodeType === 1;) {
var i = n;
if (e.nodeName.toLowerCase() !== t.toLowerCase()) {
@@ -17584,7 +17584,7 @@ var Tf = /* @__PURE__ */ g(((e) => {
var a = i.name == null ? null : "" + i.name;
if (i.type === "hidden" && e.getAttribute("name") === a) return e;
} else return e;
- } else if (!e[R]) switch (t) {
+ } else if (!e[L]) switch (t) {
case "meta":
if (!e.hasAttribute("itemprop")) break;
return e;
@@ -17599,26 +17599,26 @@ var Tf = /* @__PURE__ */ g(((e) => {
return e;
default: return e;
}
- if (e = _m(e.nextSibling), e === null) break;
+ if (e = vm(e.nextSibling), e === null) break;
}
return null;
}
- function G(e, t, n) {
+ function W(e, t, n) {
if (t === "") return null;
- for (; e.nodeType !== 3;) if ((e.nodeType !== 1 || e.nodeName !== "INPUT" || e.type !== "hidden") && !n || (e = _m(e.nextSibling), e === null)) return null;
+ for (; e.nodeType !== 3;) if ((e.nodeType !== 1 || e.nodeName !== "INPUT" || e.type !== "hidden") && !n || (e = vm(e.nextSibling), e === null)) return null;
return e;
}
- function pm(e, t) {
- for (; e.nodeType !== 8;) if ((e.nodeType !== 1 || e.nodeName !== "INPUT" || e.type !== "hidden") && !t || (e = _m(e.nextSibling), e === null)) return null;
+ function mm(e, t) {
+ for (; e.nodeType !== 8;) if ((e.nodeType !== 1 || e.nodeName !== "INPUT" || e.type !== "hidden") && !t || (e = vm(e.nextSibling), e === null)) return null;
return e;
}
- function mm(e) {
+ function hm(e) {
return e.data === "$?" || e.data === "$~";
}
- function hm(e) {
+ function gm(e) {
return e.data === "$!" || e.data === "$?" && e.ownerDocument.readyState !== "loading";
}
- function gm(e, t) {
+ function _m(e, t) {
var n = e.ownerDocument;
if (e.data === "$~") e._reactRetry = t;
else if (e.data !== "$?" || n.readyState !== "loading") t();
@@ -17629,7 +17629,7 @@ var Tf = /* @__PURE__ */ g(((e) => {
n.addEventListener("DOMContentLoaded", r), e._reactRetry = r;
}
}
- function _m(e) {
+ function vm(e) {
for (; e != null; e = e.nextSibling) {
var t = e.nodeType;
if (t === 1 || t === 3) break;
@@ -17640,14 +17640,14 @@ var Tf = /* @__PURE__ */ g(((e) => {
}
return e;
}
- var vm = null;
- function ym(e) {
+ var ym = null;
+ function bm(e) {
e = e.nextSibling;
for (var t = 0; e;) {
if (e.nodeType === 8) {
var n = e.data;
if (n === "/$" || n === "/&") {
- if (t === 0) return _m(e.nextSibling);
+ if (t === 0) return vm(e.nextSibling);
t--;
} else n !== "$" && n !== "$!" && n !== "$?" && n !== "$~" && n !== "&" || t++;
}
@@ -17655,7 +17655,7 @@ var Tf = /* @__PURE__ */ g(((e) => {
}
return null;
}
- function K(e) {
+ function G(e) {
e = e.previousSibling;
for (var t = 0; e;) {
if (e.nodeType === 8) {
@@ -17669,7 +17669,7 @@ var Tf = /* @__PURE__ */ g(((e) => {
}
return null;
}
- function bm(e, t) {
+ function xm(e, t) {
function n() {
r = !0;
}
@@ -17682,15 +17682,15 @@ var Tf = /* @__PURE__ */ g(((e) => {
}
return r;
}
- function xm(e) {
- kp(function() {
- kp(function(t) {
+ function Sm(e) {
+ Ap(function() {
+ Ap(function(t) {
return e(t);
});
});
}
- function Sm(e, t, n) {
- switch (t = yp(n), e) {
+ function Cm(e, t, n) {
+ switch (t = bp(n), e) {
case "html":
if (e = t.documentElement, !e) throw Error(i(452));
return e;
@@ -17703,122 +17703,122 @@ var Tf = /* @__PURE__ */ g(((e) => {
default: throw Error(i(451));
}
}
- function Cm(e, t, n) {
+ function wm(e, t, n) {
for (var r in n) {
var i = n[r];
- n.hasOwnProperty(r) && i != null && up(e, t, r, null, pp, i);
+ n.hasOwnProperty(r) && i != null && dp(e, t, r, null, mp, i);
}
- n.dangerouslySetInnerHTML != null && (e.textContent = ""), e.onclick === hn && (e.onclick = null), kt(e);
+ n.dangerouslySetInnerHTML != null && (e.textContent = ""), e.onclick === gn && (e.onclick = null), At(e);
}
- function wm(e) {
+ function Tm(e) {
for (var t = e.attributes; t.length;) e.removeAttributeNode(t[0]);
- kt(e);
+ At(e);
}
- var Tm = /* @__PURE__ */ new Map(), Em = /* @__PURE__ */ new Set();
- function Dm(e) {
+ var Em = /* @__PURE__ */ new Map(), Dm = /* @__PURE__ */ new Set();
+ function Om(e) {
if (typeof e.getRootNode == "function") {
var t = e.getRootNode();
if (t.nodeType === 9 || t.nodeType === 11) return t;
}
return e.nodeType === 9 ? e : e.ownerDocument;
}
- var Om = L.d;
- L.d = {
- f: km,
- r: Am,
- D: Nm,
- C: Pm,
- L: Fm,
- m: Im,
- X: Rm,
- S: Lm,
- M: zm
+ var km = I.d;
+ I.d = {
+ f: Am,
+ r: jm,
+ D: Pm,
+ C: Fm,
+ L: Im,
+ m: Lm,
+ X: zm,
+ S: Rm,
+ M: Bm
};
- function km() {
- var e = Om.f(), t = Gd();
+ function Am() {
+ var e = km.f(), t = Kd();
return e || t;
}
- function Am(e) {
- var t = jt(e);
- t !== null && t.tag === 5 && t.type === "form" ? tc(t) : Om.r(e);
+ function jm(e) {
+ var t = Mt(e);
+ t !== null && t.tag === 5 && t.type === "form" ? nc(t) : km.r(e);
}
- var jm = typeof document > "u" ? null : document;
- function Mm(e, t, n) {
- var r = jm;
+ var Mm = typeof document > "u" ? null : document;
+ function Nm(e, t, n) {
+ var r = Mm;
if (r && typeof t == "string" && t) {
- var i = $t(t);
- i = "link[rel=\"" + e + "\"][href=\"" + i + "\"]", typeof n == "string" && (i += "[crossorigin=\"" + n + "\"]"), Em.has(i) || (Em.add(i), e = {
+ var i = en(t);
+ i = "link[rel=\"" + e + "\"][href=\"" + i + "\"]", typeof n == "string" && (i += "[crossorigin=\"" + n + "\"]"), Dm.has(i) || (Dm.add(i), e = {
rel: e,
crossOrigin: n,
href: t
- }, r.querySelector(i) === null && (t = r.createElement("link"), fp(t, "link", e), Pt(t), r.head.appendChild(t)));
+ }, r.querySelector(i) === null && (t = r.createElement("link"), pp(t, "link", e), Ft(t), r.head.appendChild(t)));
}
}
- function Nm(e) {
- Om.D(e), Mm("dns-prefetch", e, null);
+ function Pm(e) {
+ km.D(e), Nm("dns-prefetch", e, null);
}
- function Pm(e, t) {
- Om.C(e, t), Mm("preconnect", e, t);
+ function Fm(e, t) {
+ km.C(e, t), Nm("preconnect", e, t);
}
- function Fm(e, t, n) {
- Om.L(e, t, n);
- var r = jm;
+ function Im(e, t, n) {
+ km.L(e, t, n);
+ var r = Mm;
if (r && e && t) {
- var i = "link[rel=\"preload\"][as=\"" + $t(t) + "\"]";
- t === "image" && n && n.imageSrcSet ? (i += "[imagesrcset=\"" + $t(n.imageSrcSet) + "\"]", typeof n.imageSizes == "string" && (i += "[imagesizes=\"" + $t(n.imageSizes) + "\"]")) : i += "[href=\"" + $t(e) + "\"]";
+ var i = "link[rel=\"preload\"][as=\"" + en(t) + "\"]";
+ t === "image" && n && n.imageSrcSet ? (i += "[imagesrcset=\"" + en(n.imageSrcSet) + "\"]", typeof n.imageSizes == "string" && (i += "[imagesizes=\"" + en(n.imageSizes) + "\"]")) : i += "[href=\"" + en(e) + "\"]";
var a = i;
switch (t) {
case "style":
- a = Vm(e);
+ a = Hm(e);
break;
- case "script": a = Gm(e);
+ case "script": a = Km(e);
}
- if (!(Tm.has(a) || (e = T({
+ if (!(Em.has(a) || (e = T({
rel: "preload",
href: t === "image" && n && n.imageSrcSet ? void 0 : e,
as: t
- }, n), Tm.set(a, e), r.querySelector(i) !== null || t === "style" && r.querySelector(Hm(a)) || t === "script" && r.querySelector(Km(a))))) {
+ }, n), Em.set(a, e), r.querySelector(i) !== null || t === "style" && r.querySelector(Um(a)) || t === "script" && r.querySelector(K(a))))) {
var o = r.createElement("link");
- fp(o, "link", e), t === "style" && (o[Ot] = !0, o.onload = o.onerror = function() {
- Ft(o);
- }), Pt(o), r.head.appendChild(o);
+ pp(o, "link", e), t === "style" && (o[kt] = !0, o.onload = o.onerror = function() {
+ It(o);
+ }), Ft(o), r.head.appendChild(o);
}
}
}
- function Im(e, t) {
- Om.m(e, t);
- var n = jm;
+ function Lm(e, t) {
+ km.m(e, t);
+ var n = Mm;
if (n && e) {
- var r = t && typeof t.as == "string" ? t.as : "script", i = "link[rel=\"modulepreload\"][as=\"" + $t(r) + "\"][href=\"" + $t(e) + "\"]", a = i;
+ var r = t && typeof t.as == "string" ? t.as : "script", i = "link[rel=\"modulepreload\"][as=\"" + en(r) + "\"][href=\"" + en(e) + "\"]", a = i;
switch (r) {
case "audioworklet":
case "paintworklet":
case "serviceworker":
case "sharedworker":
case "worker":
- case "script": a = Gm(e);
+ case "script": a = Km(e);
}
- if (!Tm.has(a) && (e = T({
+ if (!Em.has(a) && (e = T({
rel: "modulepreload",
href: e
- }, t), Tm.set(a, e), n.querySelector(i) === null)) {
+ }, t), Em.set(a, e), n.querySelector(i) === null)) {
switch (r) {
case "audioworklet":
case "paintworklet":
case "serviceworker":
case "sharedworker":
case "worker":
- case "script": if (n.querySelector(Km(a))) return;
+ case "script": if (n.querySelector(K(a))) return;
}
- r = n.createElement("link"), fp(r, "link", e), Pt(r), n.head.appendChild(r);
+ r = n.createElement("link"), pp(r, "link", e), Ft(r), n.head.appendChild(r);
}
}
}
- function Lm(e, t, n) {
- Om.S(e, t, n);
- var r = jm;
+ function Rm(e, t, n) {
+ km.S(e, t, n);
+ var r = Mm;
if (r && e) {
- var i = Nt(r).hoistableStyles, a = Vm(e);
+ var i = Pt(r).hoistableStyles, a = Hm(e);
t ||= "default";
var o = i.get(a);
if (!o) {
@@ -17826,15 +17826,15 @@ var Tf = /* @__PURE__ */ g(((e) => {
loading: 0,
preload: null
};
- if (o = r.querySelector(Hm(a))) s.loading = 5;
+ if (o = r.querySelector(Um(a))) s.loading = 5;
else {
e = T({
rel: "stylesheet",
href: e,
"data-precedence": t
- }, n), (n = Tm.get(a)) && Ym(e, n);
+ }, n), (n = Em.get(a)) && Ym(e, n);
var c = o = r.createElement("link");
- Pt(c), fp(c, "link", e), c._p = new Promise(function(e, t) {
+ Ft(c), pp(c, "link", e), c._p = new Promise(function(e, t) {
c.onload = e, c.onerror = t;
}), c.addEventListener("load", function() {
s.loading |= 1;
@@ -17851,15 +17851,15 @@ var Tf = /* @__PURE__ */ g(((e) => {
}
}
}
- function Rm(e, t) {
- Om.X(e, t);
- var n = jm;
+ function zm(e, t) {
+ km.X(e, t);
+ var n = Mm;
if (n && e) {
- var r = Nt(n).hoistableScripts, i = Gm(e), a = r.get(i);
- a || (a = n.querySelector(Km(i)), a || (e = T({
+ var r = Pt(n).hoistableScripts, i = Km(e), a = r.get(i);
+ a || (a = n.querySelector(K(i)), a || (e = T({
src: e,
async: !0
- }, t), (t = Tm.get(i)) && Xm(e, t), a = n.createElement("script"), Pt(a), fp(a, "link", e), n.head.appendChild(a)), a = {
+ }, t), (t = Em.get(i)) && Xm(e, t), a = n.createElement("script"), Ft(a), pp(a, "link", e), n.head.appendChild(a)), a = {
type: "script",
instance: a,
count: 1,
@@ -17867,16 +17867,16 @@ var Tf = /* @__PURE__ */ g(((e) => {
}, r.set(i, a));
}
}
- function zm(e, t) {
- Om.M(e, t);
- var n = jm;
+ function Bm(e, t) {
+ km.M(e, t);
+ var n = Mm;
if (n && e) {
- var r = Nt(n).hoistableScripts, i = Gm(e), a = r.get(i);
- a || (a = n.querySelector(Km(i)), a || (e = T({
+ var r = Pt(n).hoistableScripts, i = Km(e), a = r.get(i);
+ a || (a = n.querySelector(K(i)), a || (e = T({
src: e,
async: !0,
type: "module"
- }, t), (t = Tm.get(i)) && Xm(e, t), a = n.createElement("script"), Pt(a), fp(a, "link", e), n.head.appendChild(a)), a = {
+ }, t), (t = Em.get(i)) && Xm(e, t), a = n.createElement("script"), Ft(a), pp(a, "link", e), n.head.appendChild(a)), a = {
type: "script",
instance: a,
count: 1,
@@ -17884,13 +17884,13 @@ var Tf = /* @__PURE__ */ g(((e) => {
}, r.set(i, a));
}
}
- function Bm(e, t, n, r) {
- var a = (a = xe.current) ? Dm(a) : null;
+ function Vm(e, t, n, r) {
+ var a = (a = Se.current) ? Om(a) : null;
if (!a) throw Error(i(446));
switch (e) {
case "meta":
case "title": return null;
- case "style": return typeof n.precedence == "string" && typeof n.href == "string" ? (n = Vm(n.href), t = Nt(a).hoistableStyles, r = t.get(n), r || (r = {
+ case "style": return typeof n.precedence == "string" && typeof n.href == "string" ? (n = Hm(n.href), t = Pt(a).hoistableStyles, r = t.get(n), r || (r = {
type: "style",
instance: null,
count: 0,
@@ -17903,8 +17903,8 @@ var Tf = /* @__PURE__ */ g(((e) => {
};
case "link":
if (n.rel === "stylesheet" && typeof n.href == "string" && typeof n.precedence == "string") {
- e = Vm(n.href);
- var o = Nt(a).hoistableStyles, s = o.get(e);
+ e = Hm(n.href);
+ var o = Pt(a).hoistableStyles, s = o.get(e);
if (s || (a = a.ownerDocument || a, s = {
type: "stylesheet",
instance: null,
@@ -17913,7 +17913,7 @@ var Tf = /* @__PURE__ */ g(((e) => {
loading: 0,
preload: null
}
- }, o.set(e, s), (o = a.querySelector(Hm(e))) ? o._p || (s.instance = o, s.state.loading = 5) : (o = Tm.get(e), o || (o = {
+ }, o.set(e, s), (o = a.querySelector(Um(e))) ? o._p || (s.instance = o, s.state.loading = 5) : (o = Em.get(e), o || (o = {
rel: "preload",
as: "style",
href: n.href,
@@ -17922,12 +17922,12 @@ var Tf = /* @__PURE__ */ g(((e) => {
media: n.media,
hrefLang: n.hrefLang,
referrerPolicy: n.referrerPolicy
- }, Tm.set(e, o)), Wm(a, e, o, s.state))), t && r === null) throw Error(i(528, ""));
+ }, Em.set(e, o)), Gm(a, e, o, s.state))), t && r === null) throw Error(i(528, ""));
return s;
}
if (t && r !== null) throw Error(i(529, ""));
return null;
- case "script": return t = n.async, n = n.src, typeof n == "string" && t && typeof t != "function" && typeof t != "symbol" ? (n = Gm(n), t = Nt(a).hoistableScripts, r = t.get(n), r || (r = {
+ case "script": return t = n.async, n = n.src, typeof n == "string" && t && typeof t != "function" && typeof t != "symbol" ? (n = Km(n), t = Pt(a).hoistableScripts, r = t.get(n), r || (r = {
type: "script",
instance: null,
count: 0,
@@ -17941,59 +17941,59 @@ var Tf = /* @__PURE__ */ g(((e) => {
default: throw Error(i(444, e));
}
}
- function Vm(e) {
- return "href=\"" + $t(e) + "\"";
- }
function Hm(e) {
- return "link[rel=\"stylesheet\"][" + e + "]";
+ return "href=\"" + en(e) + "\"";
}
function Um(e) {
+ return "link[rel=\"stylesheet\"][" + e + "]";
+ }
+ function Wm(e) {
return T({}, e, {
"data-precedence": e.precedence,
precedence: null
});
}
- function Wm(e, t, n, r) {
+ function Gm(e, t, n, r) {
if (t = e.querySelector("link[rel=\"preload\"][as=\"style\"][" + t + "]")) {
- if (!0 !== t[Ot]) {
+ if (!0 !== t[kt]) {
r.loading = 1;
return;
}
- } else t = e.createElement("link"), t[Ot] = !0, t.onload = t.onerror = Ft.bind(null, t), fp(t, "link", n), Pt(t), e.head.appendChild(t);
+ } else t = e.createElement("link"), t[kt] = !0, t.onload = t.onerror = It.bind(null, t), pp(t, "link", n), Ft(t), e.head.appendChild(t);
r.preload = t, t.addEventListener("load", function() {
return r.loading |= 1;
}), t.addEventListener("error", function() {
return r.loading |= 2;
});
}
- function Gm(e) {
- return "[src=\"" + $t(e) + "\"]";
- }
function Km(e) {
+ return "[src=\"" + en(e) + "\"]";
+ }
+ function K(e) {
return "script[async]" + e;
}
function qm(e, t, n) {
if (t.count++, t.instance === null) switch (t.type) {
case "style":
- var r = e.querySelector("style[data-href~=\"" + $t(n.href) + "\"]");
- if (r) return t.instance = r, Pt(r), r;
+ var r = e.querySelector("style[data-href~=\"" + en(n.href) + "\"]");
+ if (r) return t.instance = r, Ft(r), r;
var a = T({}, n, {
"data-href": n.href,
"data-precedence": n.precedence,
href: null,
precedence: null
});
- return r = (e.ownerDocument || e).createElement("style"), Pt(r), fp(r, "style", a), Jm(r, n.precedence, e), t.instance = r;
+ return r = (e.ownerDocument || e).createElement("style"), Ft(r), pp(r, "style", a), Jm(r, n.precedence, e), t.instance = r;
case "stylesheet":
- a = Vm(n.href);
- var o = e.querySelector(Hm(a));
- if (o) return t.state.loading |= 4, t.instance = o, Pt(o), o;
- r = Um(n), (a = Tm.get(a)) && Ym(r, a), o = (e.ownerDocument || e).createElement("link"), Pt(o);
+ a = Hm(n.href);
+ var o = e.querySelector(Um(a));
+ if (o) return t.state.loading |= 4, t.instance = o, Ft(o), o;
+ r = Wm(n), (a = Em.get(a)) && Ym(r, a), o = (e.ownerDocument || e).createElement("link"), Ft(o);
var s = o;
return s._p = new Promise(function(e, t) {
s.onload = e, s.onerror = t;
- }), fp(o, "link", r), t.state.loading |= 4, Jm(o, n.precedence, e), t.instance = o;
- case "script": return o = Gm(n.src), (a = e.querySelector(Km(o))) ? (t.instance = a, Pt(a), a) : (r = n, (a = Tm.get(o)) && (r = T({}, n), Xm(r, a)), e = e.ownerDocument || e, a = e.createElement("script"), Pt(a), fp(a, "link", r), e.head.appendChild(a), t.instance = a);
+ }), pp(o, "link", r), t.state.loading |= 4, Jm(o, n.precedence, e), t.instance = o;
+ case "script": return o = Km(n.src), (a = e.querySelector(K(o))) ? (t.instance = a, Ft(a), a) : (r = n, (a = Em.get(o)) && (r = T({}, n), Xm(r, a)), e = e.ownerDocument || e, a = e.createElement("script"), Ft(a), pp(a, "link", r), e.head.appendChild(a), t.instance = a);
case "void": return null;
default: throw Error(i(443, t.type));
}
@@ -18023,7 +18023,7 @@ var Tf = /* @__PURE__ */ g(((e) => {
if (r.has(e)) return r;
for (r.set(e, null), n = n.getElementsByTagName(e), i = 0; i < n.length; i++) {
var a = n[i];
- if (!(a[R] || a[xt] || e === "link" && a.getAttribute("rel") === "stylesheet") && a.namespaceURI !== "http://www.w3.org/2000/svg") {
+ if (!(a[L] || a[St] || e === "link" && a.getAttribute("rel") === "stylesheet") && a.namespaceURI !== "http://www.w3.org/2000/svg") {
var o = a.getAttribute(t) || "";
o = e + o;
var s = r.get(o);
@@ -18068,16 +18068,16 @@ var Tf = /* @__PURE__ */ g(((e) => {
function ih(e, t, n, r) {
if (n.type === "stylesheet" && (typeof r.media != "string" || !1 !== matchMedia(r.media).matches) && !(n.state.loading & 4)) {
if (n.instance === null) {
- var i = Vm(r.href), a = t.querySelector(Hm(i));
+ var i = Hm(r.href), a = t.querySelector(Um(i));
if (a) {
- t = a._p, typeof t == "object" && t && typeof t.then == "function" && (e.count++, e = ch.bind(e), t.then(e, e)), n.state.loading |= 4, n.instance = a, Pt(a);
+ t = a._p, typeof t == "object" && t && typeof t.then == "function" && (e.count++, e = ch.bind(e), t.then(e, e)), n.state.loading |= 4, n.instance = a, Ft(a);
return;
}
- a = t.ownerDocument || t, r = Um(r), (i = Tm.get(i)) && Ym(r, i), a = a.createElement("link"), Pt(a);
+ a = t.ownerDocument || t, r = Wm(r), (i = Em.get(i)) && Ym(r, i), a = a.createElement("link"), Ft(a);
var o = a;
o._p = new Promise(function(e, t) {
o.onload = e, o.onerror = t;
- }), fp(a, "link", r), n.instance = a;
+ }), pp(a, "link", r), n.instance = a;
}
e.stylesheets === null && (e.stylesheets = /* @__PURE__ */ new Map()), e.stylesheets.set(n, t), (t = n.state.preload) && !(n.state.loading & 3) && (e.count++, n = ch.bind(e), t.addEventListener("load", n), t.addEventListener("error", n));
}
@@ -18091,7 +18091,7 @@ var Tf = /* @__PURE__ */ g(((e) => {
e.unsuspend = null, t();
}
}, 6e4 + t);
- 0 < e.imgBytes && ah === 0 && (ah = 62500 * gp());
+ 0 < e.imgBytes && ah === 0 && (ah = 62500 * _p());
var i = setTimeout(function() {
if (e.waitingForImages = !1, e.count === 0 && (e.stylesheets && J(e, e.stylesheets), e.unsuspend)) {
var t = e.unsuspend;
@@ -18141,25 +18141,25 @@ var Tf = /* @__PURE__ */ g(((e) => {
$$typeof: N,
Provider: null,
Consumer: null,
- _currentValue: pe,
- _currentValue2: pe,
+ _currentValue: me,
+ _currentValue2: me,
_threadCount: 0
};
function ph(e, t, n, r, i, a, o, s, c) {
- this.tag = 1, this.containerInfo = e, this.pingCache = this.current = this.pendingChildren = null, this.timeoutHandle = -1, this.callbackNode = this.next = this.pendingContext = this.context = this.cancelPendingCommit = null, this.callbackPriority = 0, this.expirationTimes = ut(-1), this.entangledLanes = this.shellSuspendCounter = this.errorRecoveryDisabledLanes = this.expiredLanes = this.warmLanes = this.pingedLanes = this.suspendedLanes = this.pendingLanes = 0, this.entanglements = ut(0), this.hiddenUpdates = ut(null), this.identifierPrefix = r, this.onUncaughtError = i, this.onCaughtError = a, this.onRecoverableError = o, this.pooledCache = null, this.pooledCacheLanes = 0, this.formState = c, this.transitionTypes = null, this.incompleteTransitions = /* @__PURE__ */ new Map();
+ this.tag = 1, this.containerInfo = e, this.pingCache = this.current = this.pendingChildren = null, this.timeoutHandle = -1, this.callbackNode = this.next = this.pendingContext = this.context = this.cancelPendingCommit = null, this.callbackPriority = 0, this.expirationTimes = dt(-1), this.entangledLanes = this.shellSuspendCounter = this.errorRecoveryDisabledLanes = this.expiredLanes = this.warmLanes = this.pingedLanes = this.suspendedLanes = this.pendingLanes = 0, this.entanglements = dt(0), this.hiddenUpdates = dt(null), this.identifierPrefix = r, this.onUncaughtError = i, this.onCaughtError = a, this.onRecoverableError = o, this.pooledCache = null, this.pooledCacheLanes = 0, this.formState = c, this.transitionTypes = null, this.incompleteTransitions = /* @__PURE__ */ new Map();
}
function mh(e, t, n, r, i, a, o, s, c, l, u, d) {
- return e = new ph(e, t, n, o, c, l, u, d, s), t = 1, !0 === a && (t |= 24), a = ki(3, null, null, t), e.current = a, a.stateNode = e, t = ka(), t.refCount++, e.pooledCache = t, t.refCount++, a.memoizedState = {
+ return e = new ph(e, t, n, o, c, l, u, d, s), t = 1, !0 === a && (t |= 24), a = Ai(3, null, null, t), e.current = a, a.stateNode = e, t = Aa(), t.refCount++, e.pooledCache = t, t.refCount++, a.memoizedState = {
element: r,
isDehydrated: n,
cache: t
- }, fo(a), e;
+ }, po(a), e;
}
function hh(e) {
- return e ? (e = Di, e) : Di;
+ return e ? (e = Oi, e) : Oi;
}
function gh(e, t, n, r, i, a) {
- i = hh(i), r.context === null ? r.context = i : r.pendingContext = i, r = mo(t), r.payload = { element: n }, a = a === void 0 ? null : a, a !== null && (r.callback = a), n = ho(e, r, t), n !== null && (Bd(n, e, t), go(n, e, t));
+ i = hh(i), r.context === null ? r.context = i : r.pendingContext = i, r = ho(t), r.payload = { element: n }, a = a === void 0 ? null : a, a !== null && (r.callback = a), n = go(e, r, t), n !== null && (Vd(n, e, t), _o(n, e, t));
}
function _h(e, t) {
if (e = e.memoizedState, e !== null && e.dehydrated !== null) {
@@ -18172,77 +18172,77 @@ var Tf = /* @__PURE__ */ g(((e) => {
}
function yh(e) {
if (e.tag === 13 || e.tag === 31) {
- var t = wi(e, 67108864);
- t !== null && Bd(t, e, 67108864), vh(e, 67108864);
+ var t = Ti(e, 67108864);
+ t !== null && Vd(t, e, 67108864), vh(e, 67108864);
}
}
function bh(e) {
if (e.tag === 13 || e.tag === 31) {
- var t = Ld();
- t = gt(t);
- var n = wi(e, t);
- n !== null && Bd(n, e, t), vh(e, t);
+ var t = Rd();
+ t = _t(t);
+ var n = Ti(e, t);
+ n !== null && Vd(n, e, t), vh(e, t);
}
}
var xh = !0;
function Sh(e, t, n, r) {
- var i = I.T;
- I.T = null;
- var a = L.p;
+ var i = F.T;
+ F.T = null;
+ var a = I.p;
try {
- L.p = 2, wh(e, t, n, r);
+ I.p = 2, wh(e, t, n, r);
} finally {
- L.p = a, I.T = i;
+ I.p = a, F.T = i;
}
}
function Ch(e, t, n, r) {
- var i = I.T;
- I.T = null;
- var a = L.p;
+ var i = F.T;
+ F.T = null;
+ var a = I.p;
try {
- L.p = 8, wh(e, t, n, r);
+ I.p = 8, wh(e, t, n, r);
} finally {
- L.p = a, I.T = i;
+ I.p = a, F.T = i;
}
}
function wh(e, t, n, r) {
if (xh) {
var i = Th(r);
- if (i === null) tp(e, t, r, Eh, n), Lh(e, r);
+ if (i === null) np(e, t, r, Eh, n), Lh(e, r);
else if (zh(i, e, t, n, r)) r.stopPropagation();
else if (Lh(e, r), t & 4 && -1 < Ih.indexOf(e)) {
for (; i !== null;) {
- var a = jt(i);
+ var a = Mt(i);
if (a !== null) switch (a.tag) {
case 3:
if (a = a.stateNode, a.current.memoizedState.isDehydrated) {
- var o = it(a.pendingLanes);
+ var o = at(a.pendingLanes);
if (o !== 0) {
var s = a;
for (s.pendingLanes |= 2, s.entangledLanes |= 2; o;) {
- var c = 1 << 31 - Ze(o);
+ var c = 1 << 31 - Qe(o);
s.entanglements[1] |= c, o &= ~c;
}
- Pf(a), !(td & 6) && (Sd = ze() + 500, Ff(0, !1));
+ Ff(a), !(nd & 6) && (Cd = Be() + 500, If(0, !1));
}
}
break;
case 31:
- case 13: s = wi(a, 2), s !== null && Bd(s, a, 2), Gd(), vh(a, 2);
+ case 13: s = Ti(a, 2), s !== null && Vd(s, a, 2), Kd(), vh(a, 2);
}
- if (a = Th(r), a === null && tp(e, t, r, Eh, n), a === i) break;
+ if (a = Th(r), a === null && np(e, t, r, Eh, n), a === i) break;
i = a;
}
i !== null && r.stopPropagation();
- } else tp(e, t, r, null, n);
+ } else np(e, t, r, null, n);
}
}
function Th(e) {
- return e = _n(e), Dh(e);
+ return e = vn(e), Dh(e);
}
var Eh = null;
function Dh(e) {
- if (Eh = null, e = At(e), e !== null) {
+ if (Eh = null, e = jt(e), e !== null) {
var t = o(e);
if (t === null) e = null;
else {
@@ -18335,12 +18335,12 @@ var Tf = /* @__PURE__ */ g(((e) => {
case "mouseleave":
case "pointerenter":
case "pointerleave": return 8;
- case "message": switch (Be()) {
- case Ve: return 2;
- case He: return 8;
- case Ue:
- case We: return 32;
- case Ge: return 268435456;
+ case "message": switch (Ve()) {
+ case He: return 2;
+ case Ue: return 8;
+ case We:
+ case Ge: return 32;
+ case Ke: return 268435456;
default: return 32;
}
default: return 32;
@@ -18376,7 +18376,7 @@ var Tf = /* @__PURE__ */ g(((e) => {
eventSystemFlags: r,
nativeEvent: a,
targetContainers: [i]
- }, t !== null && (t = jt(t), t !== null && yh(t)), e) : (e.eventSystemFlags |= r, t = e.targetContainers, i !== null && t.indexOf(i) === -1 && t.push(i), e);
+ }, t !== null && (t = Mt(t), t !== null && yh(t)), e) : (e.eventSystemFlags |= r, t = e.targetContainers, i !== null && t.indexOf(i) === -1 && t.push(i), e);
}
function zh(e, t, n, r, i) {
switch (t) {
@@ -18391,20 +18391,20 @@ var Tf = /* @__PURE__ */ g(((e) => {
return !1;
}
function Bh(e) {
- var t = At(e.target);
+ var t = jt(e.target);
if (t !== null) {
var n = o(t);
if (n !== null) {
if (t = n.tag, t === 13) {
if (t = s(n), t !== null) {
- e.blockedOn = t, yt(e.priority, function() {
+ e.blockedOn = t, bt(e.priority, function() {
bh(n);
});
return;
}
} else if (t === 31) {
if (t = c(n), t !== null) {
- e.blockedOn = t, yt(e.priority, function() {
+ e.blockedOn = t, bt(e.priority, function() {
bh(n);
});
return;
@@ -18424,8 +18424,8 @@ var Tf = /* @__PURE__ */ g(((e) => {
if (n === null) {
n = e.nativeEvent;
var r = new n.constructor(n.type, n);
- gn = r, n.target.dispatchEvent(r), gn = null;
- } else return t = jt(n), t !== null && yh(t), e.blockedOn = n, !1;
+ _n = r, n.target.dispatchEvent(r), _n = null;
+ } else return t = Mt(n), t !== null && yh(t), e.blockedOn = n, !1;
t.shift();
}
return !0;
@@ -18449,8 +18449,8 @@ var Tf = /* @__PURE__ */ g(((e) => {
if (Dh(r || n) === null) continue;
break;
}
- var a = jt(n);
- a !== null && (e.splice(t, 3), t -= 3, $s(a, {
+ var a = Mt(n);
+ a !== null && (e.splice(t, 3), t -= 3, ec(a, {
pending: !0,
data: i,
method: n.method,
@@ -18470,12 +18470,12 @@ var Tf = /* @__PURE__ */ g(((e) => {
}
for (; 0 < Fh.length && (n = Fh[0], n.blockedOn === null);) Bh(n), n.blockedOn === null && Fh.shift();
if (n = (e.ownerDocument || e).$$reactFormReplay, n != null) for (r = 0; r < n.length; r += 3) {
- var i = n[r], a = n[r + 1], o = i[St] || null;
+ var i = n[r], a = n[r + 1], o = i[Ct] || null;
if (typeof a == "function") o || Kh(n);
else if (o) {
var s = null;
if (a && a.hasAttribute("formAction")) {
- if (i = a, o = a[St] || null) s = o.formAction;
+ if (i = a, o = a[Ct] || null) s = o.formAction;
else if (Dh(i) !== null) continue;
} else s = o.action;
typeof s == "function" ? n[r + 1] = s : (n.splice(r, 3), r -= 3), Kh(n);
@@ -18521,13 +18521,13 @@ var Tf = /* @__PURE__ */ g(((e) => {
var t = this._internalRoot;
if (t === null) throw Error(i(409));
var n = t.current;
- gh(n, Ld(), e, t, null, null);
+ gh(n, Rd(), e, t, null, null);
}, Yh.prototype.unmount = Jh.prototype.unmount = function() {
var e = this._internalRoot;
if (e !== null) {
this._internalRoot = null;
var t = e.containerInfo;
- gh(e.current, 2, null, e, null, null), Gd(), t[Ct] = null;
+ gh(e.current, 2, null, e, null, null), Kd(), t[wt] = null;
}
};
function Yh(e) {
@@ -18535,7 +18535,7 @@ var Tf = /* @__PURE__ */ g(((e) => {
}
Yh.prototype.unstable_scheduleHydration = function(e) {
if (e) {
- var t = vt();
+ var t = yt();
e = {
blockedOn: null,
target: e,
@@ -18547,7 +18547,7 @@ var Tf = /* @__PURE__ */ g(((e) => {
};
var Xh = n.version;
if (Xh !== "19.3.0") throw Error(i(527, Xh, "19.3.0"));
- L.findDOMNode = function(e) {
+ I.findDOMNode = function(e) {
var t = e._reactInternals;
if (t === void 0) throw typeof e.render == "function" ? Error(i(188)) : (e = Object.keys(e).join(","), Error(i(268, e)));
return e = u(t), e = e === null ? null : d(e), e = e === null ? null : e.stateNode, e;
@@ -18556,21 +18556,21 @@ var Tf = /* @__PURE__ */ g(((e) => {
bundleType: 0,
version: "19.3.0",
rendererPackageName: "react-dom",
- currentDispatcherRef: I,
+ currentDispatcherRef: F,
reconcilerVersion: "19.3.0"
};
if (typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u") {
var Qh = __REACT_DEVTOOLS_GLOBAL_HOOK__;
if (!Qh.isDisabled && Qh.supportsFiber) try {
- Je = Qh.inject(Zh), Ye = Qh;
+ Ye = Qh.inject(Zh), Xe = Qh;
} catch {}
}
e.createRoot = function(e, t) {
if (!a(e)) throw Error(i(299));
- var n = !1, r = "", o = Sc, s = Cc, c = wc;
- return t != null && (!0 === t.unstable_strictMode && (n = !0), t.identifierPrefix !== void 0 && (r = t.identifierPrefix), t.onUncaughtError !== void 0 && (o = t.onUncaughtError), t.onCaughtError !== void 0 && (s = t.onCaughtError), t.onRecoverableError !== void 0 && (c = t.onRecoverableError)), t = mh(e, 1, !1, null, null, n, r, null, o, s, c, qh), e[Ct] = t.current, $f(e), new Jh(t);
+ var n = !1, r = "", o = Cc, s = wc, c = Tc;
+ return t != null && (!0 === t.unstable_strictMode && (n = !0), t.identifierPrefix !== void 0 && (r = t.identifierPrefix), t.onUncaughtError !== void 0 && (o = t.onUncaughtError), t.onCaughtError !== void 0 && (s = t.onCaughtError), t.onRecoverableError !== void 0 && (c = t.onRecoverableError)), t = mh(e, 1, !1, null, null, n, r, null, o, s, c, qh), e[wt] = t.current, ep(e), new Jh(t);
};
-})), Of = (/* @__PURE__ */ g(((e, t) => {
+})), kf = (/* @__PURE__ */ g(((e, t) => {
function n() {
if (!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ > "u" || typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE != "function")) try {
__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(n);
@@ -18578,8 +18578,8 @@ var Tf = /* @__PURE__ */ g(((e) => {
console.error(e);
}
}
- n(), t.exports = Df();
-})))(), kf = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => C.createElement("svg", {
+ n(), t.exports = Of();
+})))(), Af = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => C.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -18587,7 +18587,7 @@ var Tf = /* @__PURE__ */ g(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, C.createElement("path", { d: "M11 11V5H13V11H19V13H13V19H11V13H5V11H11Z" })), Af = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => C.createElement("svg", {
+}, C.createElement("path", { d: "M11 11V5H13V11H19V13H13V19H11V13H5V11H11Z" })), jf = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => C.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -18595,7 +18595,7 @@ var Tf = /* @__PURE__ */ g(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, C.createElement("path", { d: "M13.0001 16.1716L18.3641 10.8076L19.7783 12.2218L12.0001 20L4.22192 12.2218L5.63614 10.8076L11.0001 16.1716V4H13.0001V16.1716Z" })), jf = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => C.createElement("svg", {
+}, C.createElement("path", { d: "M13.0001 16.1716L18.3641 10.8076L19.7783 12.2218L12.0001 20L4.22192 12.2218L5.63614 10.8076L11.0001 16.1716V4H13.0001V16.1716Z" })), Mf = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => C.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -18603,7 +18603,7 @@ var Tf = /* @__PURE__ */ g(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, C.createElement("path", { d: "M11.9999 13.1714L16.9497 8.22168L18.3639 9.63589L11.9999 15.9999L5.63599 9.63589L7.0502 8.22168L11.9999 13.1714Z" })), Mf = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => C.createElement("svg", {
+}, C.createElement("path", { d: "M11.9999 13.1714L16.9497 8.22168L18.3639 9.63589L11.9999 15.9999L5.63599 9.63589L7.0502 8.22168L11.9999 13.1714Z" })), Nf = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => C.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -18611,7 +18611,7 @@ var Tf = /* @__PURE__ */ g(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, C.createElement("path", { d: "M16.1716 10.9999L10.8076 5.63589L12.2218 4.22168L20 11.9999L12.2218 19.778L10.8076 18.3638L16.1716 12.9999H4V10.9999H16.1716Z" })), Nf = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => C.createElement("svg", {
+}, C.createElement("path", { d: "M16.1716 10.9999L10.8076 5.63589L12.2218 4.22168L20 11.9999L12.2218 19.778L10.8076 18.3638L16.1716 12.9999H4V10.9999H16.1716Z" })), Pf = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => C.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -18619,7 +18619,7 @@ var Tf = /* @__PURE__ */ g(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, C.createElement("path", { d: "M13.1717 12.0007L8.22192 7.05093L9.63614 5.63672L16.0001 12.0007L9.63614 18.3646L8.22192 16.9504L13.1717 12.0007Z" })), Pf = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => C.createElement("svg", {
+}, C.createElement("path", { d: "M13.1717 12.0007L8.22192 7.05093L9.63614 5.63672L16.0001 12.0007L9.63614 18.3646L8.22192 16.9504L13.1717 12.0007Z" })), Ff = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => C.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -18627,7 +18627,7 @@ var Tf = /* @__PURE__ */ g(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, C.createElement("path", { d: "M13.0001 7.82843V20H11.0001V7.82843L5.63614 13.1924L4.22192 11.7782L12.0001 4L19.7783 11.7782L18.3641 13.1924L13.0001 7.82843Z" })), Ff = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => C.createElement("svg", {
+}, C.createElement("path", { d: "M13.0001 7.82843V20H11.0001V7.82843L5.63614 13.1924L4.22192 11.7782L12.0001 4L19.7783 11.7782L18.3641 13.1924L13.0001 7.82843Z" })), If = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => C.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -18635,7 +18635,7 @@ var Tf = /* @__PURE__ */ g(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, C.createElement("path", { d: "M11.9999 10.8284L7.0502 15.7782L5.63599 14.364L11.9999 8L18.3639 14.364L16.9497 15.7782L11.9999 10.8284Z" })), If = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => C.createElement("svg", {
+}, C.createElement("path", { d: "M11.9999 10.8284L7.0502 15.7782L5.63599 14.364L11.9999 8L18.3639 14.364L16.9497 15.7782L11.9999 10.8284Z" })), Lf = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => C.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -18643,7 +18643,7 @@ var Tf = /* @__PURE__ */ g(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, C.createElement("path", { d: "M11.602 13.7599L13.014 15.1719L21.4795 6.7063L22.8938 8.12051L13.014 18.0003L6.65 11.6363L8.06421 10.2221L10.189 12.3469L11.6025 13.7594L11.602 13.7599ZM11.6037 10.9322L16.5563 5.97949L17.9666 7.38977L13.014 12.3424L11.6037 10.9322ZM8.77698 16.5873L7.36396 18.0003L1 11.6363L2.41421 10.2221L3.82723 11.6352L3.82604 11.6363L8.77698 16.5873Z" })), Lf = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => C.createElement("svg", {
+}, C.createElement("path", { d: "M11.602 13.7599L13.014 15.1719L21.4795 6.7063L22.8938 8.12051L13.014 18.0003L6.65 11.6363L8.06421 10.2221L10.189 12.3469L11.6025 13.7594L11.602 13.7599ZM11.6037 10.9322L16.5563 5.97949L17.9666 7.38977L13.014 12.3424L11.6037 10.9322ZM8.77698 16.5873L7.36396 18.0003L1 11.6363L2.41421 10.2221L3.82723 11.6352L3.82604 11.6363L8.77698 16.5873Z" })), Rf = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => C.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -18651,7 +18651,7 @@ var Tf = /* @__PURE__ */ g(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, C.createElement("path", { d: "M4 12C4 7.58172 7.58172 4 12 4C16.4183 4 20 7.58172 20 12C20 16.4183 16.4183 20 12 20C7.58172 20 4 16.4183 4 12ZM12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2ZM17.4571 9.45711L16.0429 8.04289L11 13.0858L8.20711 10.2929L6.79289 11.7071L11 15.9142L17.4571 9.45711Z" })), Rf = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => C.createElement("svg", {
+}, C.createElement("path", { d: "M4 12C4 7.58172 7.58172 4 12 4C16.4183 4 20 7.58172 20 12C20 16.4183 16.4183 20 12 20C7.58172 20 4 16.4183 4 12ZM12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2ZM17.4571 9.45711L16.0429 8.04289L11 13.0858L8.20711 10.2929L6.79289 11.7071L11 15.9142L17.4571 9.45711Z" })), zf = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => C.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -18659,7 +18659,7 @@ var Tf = /* @__PURE__ */ g(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, C.createElement("path", { d: "M11.9997 10.5865L16.9495 5.63672L18.3637 7.05093L13.4139 12.0007L18.3637 16.9504L16.9495 18.3646L11.9997 13.4149L7.04996 18.3646L5.63574 16.9504L10.5855 12.0007L5.63574 7.05093L7.04996 5.63672L11.9997 10.5865Z" })), zf = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => C.createElement("svg", {
+}, C.createElement("path", { d: "M11.9997 10.5865L16.9495 5.63672L18.3637 7.05093L13.4139 12.0007L18.3637 16.9504L16.9495 18.3646L11.9997 13.4149L7.04996 18.3646L5.63574 16.9504L10.5855 12.0007L5.63574 7.05093L7.04996 5.63672L11.9997 10.5865Z" })), Bf = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => C.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -18667,7 +18667,7 @@ var Tf = /* @__PURE__ */ g(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, C.createElement("path", { d: "M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20ZM15.5 8.5L13.5 13.5L8.5 15.5L10.5 10.5L15.5 8.5Z" })), Bf = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => C.createElement("svg", {
+}, C.createElement("path", { d: "M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20ZM15.5 8.5L13.5 13.5L8.5 15.5L10.5 10.5L15.5 8.5Z" })), Vf = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => C.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -18675,7 +18675,7 @@ var Tf = /* @__PURE__ */ g(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, C.createElement("path", { d: "M15 17V19H6C5.44772 19 5 18.5523 5 18V7H2V5H5V2H7V17H15ZM17 22V7H9V5H18C18.5523 5 19 5.44772 19 6V17H22V19H19V22H17Z" })), Vf = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => C.createElement("svg", {
+}, C.createElement("path", { d: "M15 17V19H6C5.44772 19 5 18.5523 5 18V7H2V5H5V2H7V17H15ZM17 22V7H9V5H18C18.5523 5 19 5.44772 19 6V17H22V19H19V22H17Z" })), Hf = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => C.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -18683,7 +18683,7 @@ var Tf = /* @__PURE__ */ g(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, C.createElement("path", { d: "M5 12.5C5 12.8134 5.46101 13.3584 6.53047 13.8931C7.91405 14.5849 9.87677 15 12 15C14.1232 15 16.0859 14.5849 17.4695 13.8931C18.539 13.3584 19 12.8134 19 12.5V10.3287C17.35 11.3482 14.8273 12 12 12C9.17273 12 6.64996 11.3482 5 10.3287V12.5ZM19 15.3287C17.35 16.3482 14.8273 17 12 17C9.17273 17 6.64996 16.3482 5 15.3287V17.5C5 17.8134 5.46101 18.3584 6.53047 18.8931C7.91405 19.5849 9.87677 20 12 20C14.1232 20 16.0859 19.5849 17.4695 18.8931C18.539 18.3584 19 17.8134 19 17.5V15.3287ZM3 17.5V7.5C3 5.01472 7.02944 3 12 3C16.9706 3 21 5.01472 21 7.5V17.5C21 19.9853 16.9706 22 12 22C7.02944 22 3 19.9853 3 17.5ZM12 10C14.1232 10 16.0859 9.58492 17.4695 8.89313C18.539 8.3584 19 7.81342 19 7.5C19 7.18658 18.539 6.6416 17.4695 6.10687C16.0859 5.41508 14.1232 5 12 5C9.87677 5 7.91405 5.41508 6.53047 6.10687C5.46101 6.6416 5 7.18658 5 7.5C5 7.81342 5.46101 8.3584 6.53047 8.89313C7.91405 9.58492 9.87677 10 12 10Z" })), Hf = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => C.createElement("svg", {
+}, C.createElement("path", { d: "M5 12.5C5 12.8134 5.46101 13.3584 6.53047 13.8931C7.91405 14.5849 9.87677 15 12 15C14.1232 15 16.0859 14.5849 17.4695 13.8931C18.539 13.3584 19 12.8134 19 12.5V10.3287C17.35 11.3482 14.8273 12 12 12C9.17273 12 6.64996 11.3482 5 10.3287V12.5ZM19 15.3287C17.35 16.3482 14.8273 17 12 17C9.17273 17 6.64996 16.3482 5 15.3287V17.5C5 17.8134 5.46101 18.3584 6.53047 18.8931C7.91405 19.5849 9.87677 20 12 20C14.1232 20 16.0859 19.5849 17.4695 18.8931C18.539 18.3584 19 17.8134 19 17.5V15.3287ZM3 17.5V7.5C3 5.01472 7.02944 3 12 3C16.9706 3 21 5.01472 21 7.5V17.5C21 19.9853 16.9706 22 12 22C7.02944 22 3 19.9853 3 17.5ZM12 10C14.1232 10 16.0859 9.58492 17.4695 8.89313C18.539 8.3584 19 7.81342 19 7.5C19 7.18658 18.539 6.6416 17.4695 6.10687C16.0859 5.41508 14.1232 5 12 5C9.87677 5 7.91405 5.41508 6.53047 6.10687C5.46101 6.6416 5 7.18658 5 7.5C5 7.81342 5.46101 8.3584 6.53047 8.89313C7.91405 9.58492 9.87677 10 12 10Z" })), Uf = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => C.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -18691,7 +18691,7 @@ var Tf = /* @__PURE__ */ g(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, C.createElement("path", { d: "M17 6H22V8H20V21C20 21.5523 19.5523 22 19 22H5C4.44772 22 4 21.5523 4 21V8H2V6H7V3C7 2.44772 7.44772 2 8 2H16C16.5523 2 17 2.44772 17 3V6ZM18 8H6V20H18V8ZM9 11H11V17H9V11ZM13 11H15V17H13V11ZM9 4V6H15V4H9Z" })), Uf = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => C.createElement("svg", {
+}, C.createElement("path", { d: "M17 6H22V8H20V21C20 21.5523 19.5523 22 19 22H5C4.44772 22 4 21.5523 4 21V8H2V6H7V3C7 2.44772 7.44772 2 8 2H16C16.5523 2 17 2.44772 17 3V6ZM18 8H6V20H18V8ZM9 11H11V17H9V11ZM13 11H15V17H13V11ZM9 4V6H15V4H9Z" })), Wf = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => C.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -18699,7 +18699,7 @@ var Tf = /* @__PURE__ */ g(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, C.createElement("path", { d: "M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20ZM11 15H13V17H11V15ZM11 7H13V13H11V7Z" })), Wf = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => C.createElement("svg", {
+}, C.createElement("path", { d: "M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20ZM11 15H13V17H11V15ZM11 7H13V13H11V7Z" })), Gf = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => C.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -18707,7 +18707,7 @@ var Tf = /* @__PURE__ */ g(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, C.createElement("path", { d: "M10 6V8H5V19H16V14H18V20C18 20.5523 17.5523 21 17 21H4C3.44772 21 3 20.5523 3 20V7C3 6.44772 3.44772 6 4 6H10ZM21 3V11H19L18.9999 6.413L11.2071 14.2071L9.79289 12.7929L17.5849 5H13V3H21Z" })), Gf = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => C.createElement("svg", {
+}, C.createElement("path", { d: "M10 6V8H5V19H16V14H18V20C18 20.5523 17.5523 21 17 21H4C3.44772 21 3 20.5523 3 20V7C3 6.44772 3.44772 6 4 6H10ZM21 3V11H19L18.9999 6.413L11.2071 14.2071L9.79289 12.7929L17.5849 5H13V3H21Z" })), Kf = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => C.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -18715,7 +18715,7 @@ var Tf = /* @__PURE__ */ g(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, C.createElement("path", { d: "M12.0003 3C17.3924 3 21.8784 6.87976 22.8189 12C21.8784 17.1202 17.3924 21 12.0003 21C6.60812 21 2.12215 17.1202 1.18164 12C2.12215 6.87976 6.60812 3 12.0003 3ZM12.0003 19C16.2359 19 19.8603 16.052 20.7777 12C19.8603 7.94803 16.2359 5 12.0003 5C7.7646 5 4.14022 7.94803 3.22278 12C4.14022 16.052 7.7646 19 12.0003 19ZM12.0003 16.5C9.51498 16.5 7.50026 14.4853 7.50026 12C7.50026 9.51472 9.51498 7.5 12.0003 7.5C14.4855 7.5 16.5003 9.51472 16.5003 12C16.5003 14.4853 14.4855 16.5 12.0003 16.5ZM12.0003 14.5C13.381 14.5 14.5003 13.3807 14.5003 12C14.5003 10.6193 13.381 9.5 12.0003 9.5C10.6196 9.5 9.50026 10.6193 9.50026 12C9.50026 13.3807 10.6196 14.5 12.0003 14.5Z" })), Kf = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => C.createElement("svg", {
+}, C.createElement("path", { d: "M12.0003 3C17.3924 3 21.8784 6.87976 22.8189 12C21.8784 17.1202 17.3924 21 12.0003 21C6.60812 21 2.12215 17.1202 1.18164 12C2.12215 6.87976 6.60812 3 12.0003 3ZM12.0003 19C16.2359 19 19.8603 16.052 20.7777 12C19.8603 7.94803 16.2359 5 12.0003 5C7.7646 5 4.14022 7.94803 3.22278 12C4.14022 16.052 7.7646 19 12.0003 19ZM12.0003 16.5C9.51498 16.5 7.50026 14.4853 7.50026 12C7.50026 9.51472 9.51498 7.5 12.0003 7.5C14.4855 7.5 16.5003 9.51472 16.5003 12C16.5003 14.4853 14.4855 16.5 12.0003 16.5ZM12.0003 14.5C13.381 14.5 14.5003 13.3807 14.5003 12C14.5003 10.6193 13.381 9.5 12.0003 9.5C10.6196 9.5 9.50026 10.6193 9.50026 12C9.50026 13.3807 10.6196 14.5 12.0003 14.5Z" })), qf = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => C.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -18723,7 +18723,7 @@ var Tf = /* @__PURE__ */ g(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, C.createElement("path", { d: "M10 18H14V16H10V18ZM3 6V8H21V6H3ZM6 13H18V11H6V13Z" })), qf = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => C.createElement("svg", {
+}, C.createElement("path", { d: "M10 18H14V16H10V18ZM3 6V8H21V6H3ZM6 13H18V11H6V13Z" })), Jf = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => C.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -18731,7 +18731,7 @@ var Tf = /* @__PURE__ */ g(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, C.createElement("path", { d: "M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM9.71002 19.6674C8.74743 17.6259 8.15732 15.3742 8.02731 13H4.06189C4.458 16.1765 6.71639 18.7747 9.71002 19.6674ZM10.0307 13C10.1811 15.4388 10.8778 17.7297 12 19.752C13.1222 17.7297 13.8189 15.4388 13.9693 13H10.0307ZM19.9381 13H15.9727C15.8427 15.3742 15.2526 17.6259 14.29 19.6674C17.2836 18.7747 19.542 16.1765 19.9381 13ZM4.06189 11H8.02731C8.15732 8.62577 8.74743 6.37407 9.71002 4.33256C6.71639 5.22533 4.458 7.8235 4.06189 11ZM10.0307 11H13.9693C13.8189 8.56122 13.1222 6.27025 12 4.24799C10.8778 6.27025 10.1811 8.56122 10.0307 11ZM14.29 4.33256C15.2526 6.37407 15.8427 8.62577 15.9727 11H19.9381C19.542 7.8235 17.2836 5.22533 14.29 4.33256Z" })), Jf = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => C.createElement("svg", {
+}, C.createElement("path", { d: "M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM9.71002 19.6674C8.74743 17.6259 8.15732 15.3742 8.02731 13H4.06189C4.458 16.1765 6.71639 18.7747 9.71002 19.6674ZM10.0307 13C10.1811 15.4388 10.8778 17.7297 12 19.752C13.1222 17.7297 13.8189 15.4388 13.9693 13H10.0307ZM19.9381 13H15.9727C15.8427 15.3742 15.2526 17.6259 14.29 19.6674C17.2836 18.7747 19.542 16.1765 19.9381 13ZM4.06189 11H8.02731C8.15732 8.62577 8.74743 6.37407 9.71002 4.33256C6.71639 5.22533 4.458 7.8235 4.06189 11ZM10.0307 11H13.9693C13.8189 8.56122 13.1222 6.27025 12 4.24799C10.8778 6.27025 10.1811 8.56122 10.0307 11ZM14.29 4.33256C15.2526 6.37407 15.8427 8.62577 15.9727 11H19.9381C19.542 7.8235 17.2836 5.22533 14.29 4.33256Z" })), Yf = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => C.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -18739,7 +18739,7 @@ var Tf = /* @__PURE__ */ g(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, C.createElement("path", { d: "M5 14H19V4H5V14ZM5 16V20H19V16H5ZM4 2H20C20.5523 2 21 2.44772 21 3V21C21 21.5523 20.5523 22 20 22H4C3.44772 22 3 21.5523 3 21V3C3 2.44772 3.44772 2 4 2ZM15 17H17V19H15V17Z" })), Yf = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => C.createElement("svg", {
+}, C.createElement("path", { d: "M5 14H19V4H5V14ZM5 16V20H19V16H5ZM4 2H20C20.5523 2 21 2.44772 21 3V21C21 21.5523 20.5523 22 20 22H4C3.44772 22 3 21.5523 3 21V3C3 2.44772 3.44772 2 4 2ZM15 17H17V19H15V17Z" })), Xf = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => C.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -18747,7 +18747,7 @@ var Tf = /* @__PURE__ */ g(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, C.createElement("path", { d: "M12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22C6.47715 22 2 17.5228 2 12H4C4 16.4183 7.58172 20 12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C9.25022 4 6.82447 5.38734 5.38451 7.50024L8 7.5V9.5H2V3.5H4L3.99989 5.99918C5.82434 3.57075 8.72873 2 12 2ZM13 7L12.9998 11.585L16.2426 14.8284L14.8284 16.2426L10.9998 12.413L11 7H13Z" })), Xf = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => C.createElement("svg", {
+}, C.createElement("path", { d: "M12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22C6.47715 22 2 17.5228 2 12H4C4 16.4183 7.58172 20 12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C9.25022 4 6.82447 5.38734 5.38451 7.50024L8 7.5V9.5H2V3.5H4L3.99989 5.99918C5.82434 3.57075 8.72873 2 12 2ZM13 7L12.9998 11.585L16.2426 14.8284L14.8284 16.2426L10.9998 12.413L11 7H13Z" })), Zf = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => C.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -18755,7 +18755,7 @@ var Tf = /* @__PURE__ */ g(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, C.createElement("path", { d: "M2.9918 21C2.44405 21 2 20.5551 2 20.0066V3.9934C2 3.44476 2.45531 3 2.9918 3H21.0082C21.556 3 22 3.44495 22 3.9934V20.0066C22 20.5552 21.5447 21 21.0082 21H2.9918ZM20 15V5H4V19L14 9L20 15ZM20 17.8284L14 11.8284L6.82843 19H20V17.8284ZM8 11C6.89543 11 6 10.1046 6 9C6 7.89543 6.89543 7 8 7C9.10457 7 10 7.89543 10 9C10 10.1046 9.10457 11 8 11Z" })), Zf = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => C.createElement("svg", {
+}, C.createElement("path", { d: "M2.9918 21C2.44405 21 2 20.5551 2 20.0066V3.9934C2 3.44476 2.45531 3 2.9918 3H21.0082C21.556 3 22 3.44495 22 3.9934V20.0066C22 20.5552 21.5447 21 21.0082 21H2.9918ZM20 15V5H4V19L14 9L20 15ZM20 17.8284L14 11.8284L6.82843 19H20V17.8284ZM8 11C6.89543 11 6 10.1046 6 9C6 7.89543 6.89543 7 8 7C9.10457 7 10 7.89543 10 9C10 10.1046 9.10457 11 8 11Z" })), Qf = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => C.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -18763,7 +18763,7 @@ var Tf = /* @__PURE__ */ g(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, C.createElement("path", { d: "M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM11 11V17H13V11H11ZM11 7V9H13V7H11Z" })), Qf = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => C.createElement("svg", {
+}, C.createElement("path", { d: "M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM11 11V17H13V11H11ZM11 7V9H13V7H11Z" })), $f = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => C.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -18771,7 +18771,7 @@ var Tf = /* @__PURE__ */ g(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, C.createElement("path", { d: "M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20ZM11 7H13V9H11V7ZM11 11H13V17H11V11Z" })), $f = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => C.createElement("svg", {
+}, C.createElement("path", { d: "M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20ZM11 7H13V9H11V7ZM11 11H13V17H11V11Z" })), ep = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => C.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -18779,7 +18779,7 @@ var Tf = /* @__PURE__ */ g(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, C.createElement("path", { d: "M10.7577 11.8281L18.6066 3.97919L20.0208 5.3934L18.6066 6.80761L21.0815 9.28249L19.6673 10.6967L17.1924 8.22183L15.7782 9.63604L17.8995 11.7574L16.4853 13.1716L14.364 11.0503L12.1719 13.2423C13.4581 15.1837 13.246 17.8251 11.5355 19.5355C9.58291 21.4882 6.41709 21.4882 4.46447 19.5355C2.51184 17.5829 2.51184 14.4171 4.46447 12.4645C6.17493 10.754 8.81633 10.5419 10.7577 11.8281ZM10.1213 18.1213C11.2929 16.9497 11.2929 15.0503 10.1213 13.8787C8.94975 12.7071 7.05025 12.7071 5.87868 13.8787C4.70711 15.0503 4.70711 16.9497 5.87868 18.1213C7.05025 19.2929 8.94975 19.2929 10.1213 18.1213Z" })), ep = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => C.createElement("svg", {
+}, C.createElement("path", { d: "M10.7577 11.8281L18.6066 3.97919L20.0208 5.3934L18.6066 6.80761L21.0815 9.28249L19.6673 10.6967L17.1924 8.22183L15.7782 9.63604L17.8995 11.7574L16.4853 13.1716L14.364 11.0503L12.1719 13.2423C13.4581 15.1837 13.246 17.8251 11.5355 19.5355C9.58291 21.4882 6.41709 21.4882 4.46447 19.5355C2.51184 17.5829 2.51184 14.4171 4.46447 12.4645C6.17493 10.754 8.81633 10.5419 10.7577 11.8281ZM10.1213 18.1213C11.2929 16.9497 11.2929 15.0503 10.1213 13.8787C8.94975 12.7071 7.05025 12.7071 5.87868 13.8787C4.70711 15.0503 4.70711 16.9497 5.87868 18.1213C7.05025 19.2929 8.94975 19.2929 10.1213 18.1213Z" })), tp = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => C.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -18787,7 +18787,7 @@ var Tf = /* @__PURE__ */ g(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, C.createElement("path", { d: "M21 3C21.5523 3 22 3.44772 22 4V20C22 20.5523 21.5523 21 21 21H3C2.44772 21 2 20.5523 2 20V4C2 3.44772 2.44772 3 3 3H21ZM11 13H4V19H11V13ZM20 13H13V19H20V13ZM11 5H4V11H11V5ZM20 5H13V11H20V5Z" })), tp = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => C.createElement("svg", {
+}, C.createElement("path", { d: "M21 3C21.5523 3 22 3.44772 22 4V20C22 20.5523 21.5523 21 21 21H3C2.44772 21 2 20.5523 2 20V4C2 3.44772 2.44772 3 3 3H21ZM11 13H4V19H11V13ZM20 13H13V19H20V13ZM11 5H4V11H11V5ZM20 5H13V11H20V5Z" })), np = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => C.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -18795,7 +18795,7 @@ var Tf = /* @__PURE__ */ g(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, C.createElement("path", { d: "M16.3944 12.0001L10 7.7371V16.263L16.3944 12.0001ZM19.376 12.4161L8.77735 19.4818C8.54759 19.635 8.23715 19.5729 8.08397 19.3432C8.02922 19.261 8 19.1645 8 19.0658V4.93433C8 4.65818 8.22386 4.43433 8.5 4.43433C8.59871 4.43433 8.69522 4.46355 8.77735 4.5183L19.376 11.584C19.6057 11.7372 19.6678 12.0477 19.5146 12.2774C19.478 12.3323 19.4309 12.3795 19.376 12.4161Z" })), np = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => C.createElement("svg", {
+}, C.createElement("path", { d: "M16.3944 12.0001L10 7.7371V16.263L16.3944 12.0001ZM19.376 12.4161L8.77735 19.4818C8.54759 19.635 8.23715 19.5729 8.08397 19.3432C8.02922 19.261 8 19.1645 8 19.0658V4.93433C8 4.65818 8.22386 4.43433 8.5 4.43433C8.59871 4.43433 8.69522 4.46355 8.77735 4.5183L19.376 11.584C19.6057 11.7372 19.6678 12.0477 19.5146 12.2774C19.478 12.3323 19.4309 12.3795 19.376 12.4161Z" })), rp = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => C.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -18803,7 +18803,7 @@ var Tf = /* @__PURE__ */ g(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, C.createElement("path", { d: "M10.9042 2.10025L20.8037 3.51446L22.2179 13.414L13.0255 22.6063C12.635 22.9969 12.0019 22.9969 11.6113 22.6063L1.71184 12.7069C1.32131 12.3163 1.32131 11.6832 1.71184 11.2926L10.9042 2.10025ZM11.6113 4.22157L3.83316 11.9997L12.3184 20.485L20.0966 12.7069L19.036 5.28223L11.6113 4.22157ZM13.7327 10.5855C12.9516 9.80448 12.9516 8.53815 13.7327 7.7571C14.5137 6.97606 15.78 6.97606 16.5611 7.7571C17.3421 8.53815 17.3421 9.80448 16.5611 10.5855C15.78 11.3666 14.5137 11.3666 13.7327 10.5855Z" })), rp = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => C.createElement("svg", {
+}, C.createElement("path", { d: "M10.9042 2.10025L20.8037 3.51446L22.2179 13.414L13.0255 22.6063C12.635 22.9969 12.0019 22.9969 11.6113 22.6063L1.71184 12.7069C1.32131 12.3163 1.32131 11.6832 1.71184 11.2926L10.9042 2.10025ZM11.6113 4.22157L3.83316 11.9997L12.3184 20.485L20.0966 12.7069L19.036 5.28223L11.6113 4.22157ZM13.7327 10.5855C12.9516 9.80448 12.9516 8.53815 13.7327 7.7571C14.5137 6.97606 15.78 6.97606 16.5611 7.7571C17.3421 8.53815 17.3421 9.80448 16.5611 10.5855C15.78 11.3666 14.5137 11.3666 13.7327 10.5855Z" })), ip = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => C.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -18811,7 +18811,7 @@ var Tf = /* @__PURE__ */ g(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, C.createElement("path", { d: "M5.46257 4.43262C7.21556 2.91688 9.5007 2 12 2C17.5228 2 22 6.47715 22 12C22 14.1361 21.3302 16.1158 20.1892 17.7406L17 12H20C20 7.58172 16.4183 4 12 4C9.84982 4 7.89777 4.84827 6.46023 6.22842L5.46257 4.43262ZM18.5374 19.5674C16.7844 21.0831 14.4993 22 12 22C6.47715 22 2 17.5228 2 12C2 9.86386 2.66979 7.88416 3.8108 6.25944L7 12H4C4 16.4183 7.58172 20 12 20C14.1502 20 16.1022 19.1517 17.5398 17.7716L18.5374 19.5674Z" })), ip = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => C.createElement("svg", {
+}, C.createElement("path", { d: "M5.46257 4.43262C7.21556 2.91688 9.5007 2 12 2C17.5228 2 22 6.47715 22 12C22 14.1361 21.3302 16.1158 20.1892 17.7406L17 12H20C20 7.58172 16.4183 4 12 4C9.84982 4 7.89777 4.84827 6.46023 6.22842L5.46257 4.43262ZM18.5374 19.5674C16.7844 21.0831 14.4993 22 12 22C6.47715 22 2 17.5228 2 12C2 9.86386 2.66979 7.88416 3.8108 6.25944L7 12H4C4 16.4183 7.58172 20 12 20C14.1502 20 16.1022 19.1517 17.5398 17.7716L18.5374 19.5674Z" })), ap = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => C.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -18819,7 +18819,7 @@ var Tf = /* @__PURE__ */ g(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, C.createElement("path", { d: "M3 17C5.20914 17 7 18.7909 7 21H3V17ZM3 10C9.07513 10 14 14.9249 14 21H12C12 16.0294 7.97056 12 3 12V10ZM3 3C12.9411 3 21 11.0589 21 21H19C19 12.1634 11.8366 5 3 5V3Z" })), ap = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => C.createElement("svg", {
+}, C.createElement("path", { d: "M3 17C5.20914 17 7 18.7909 7 21H3V17ZM3 10C9.07513 10 14 14.9249 14 21H12C12 16.0294 7.97056 12 3 12V10ZM3 3C12.9411 3 21 11.0589 21 21H19C19 12.1634 11.8366 5 3 5V3Z" })), op = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => C.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -18827,7 +18827,7 @@ var Tf = /* @__PURE__ */ g(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, C.createElement("path", { d: "M18.031 16.6168L22.3137 20.8995L20.8995 22.3137L16.6168 18.031C15.0769 19.263 13.124 20 11 20C6.032 20 2 15.968 2 11C2 6.032 6.032 2 11 2C15.968 2 20 6.032 20 11C20 13.124 19.263 15.0769 18.031 16.6168ZM16.0247 15.8748C17.2475 14.6146 18 12.8956 18 11C18 7.1325 14.8675 4 11 4C7.1325 4 4 7.1325 4 11C4 14.8675 7.1325 18 11 18C12.8956 18 14.6146 17.2475 15.8748 16.0247L16.0247 15.8748Z" })), op = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => C.createElement("svg", {
+}, C.createElement("path", { d: "M18.031 16.6168L22.3137 20.8995L20.8995 22.3137L16.6168 18.031C15.0769 19.263 13.124 20 11 20C6.032 20 2 15.968 2 11C2 6.032 6.032 2 11 2C15.968 2 20 6.032 20 11C20 13.124 19.263 15.0769 18.031 16.6168ZM16.0247 15.8748C17.2475 14.6146 18 12.8956 18 11C18 7.1325 14.8675 4 11 4C7.1325 4 4 7.1325 4 11C4 14.8675 7.1325 18 11 18C12.8956 18 14.6146 17.2475 15.8748 16.0247L16.0247 15.8748Z" })), sp = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => C.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -18835,7 +18835,7 @@ var Tf = /* @__PURE__ */ g(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, C.createElement("path", { d: "M4 8H20V5H4V8ZM14 19V10H10V19H14ZM16 19H20V10H16V19ZM8 19V10H4V19H8ZM3 3H21C21.5523 3 22 3.44772 22 4V20C22 20.5523 21.5523 21 21 21H3C2.44772 21 2 20.5523 2 20V4C2 3.44772 2.44772 3 3 3Z" })), sp = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => C.createElement("svg", {
+}, C.createElement("path", { d: "M4 8H20V5H4V8ZM14 19V10H10V19H14ZM16 19H20V10H16V19ZM8 19V10H4V19H8ZM3 3H21C21.5523 3 22 3.44772 22 4V20C22 20.5523 21.5523 21 21 21H3C2.44772 21 2 20.5523 2 20V4C2 3.44772 2.44772 3 3 3Z" })), cp = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => C.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -18843,7 +18843,7 @@ var Tf = /* @__PURE__ */ g(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, C.createElement("path", { d: "M9.40017 16H3C1.89543 16 1 15.1046 1 14V11.8957C1 11.6344 1.05118 11.3757 1.15064 11.1342L4.24501 3.61925C4.3993 3.24455 4.76447 3 5.16969 3H22C22.5523 3 23 3.44772 23 4V14C23 14.5523 22.5523 15 22 15H18.5182C18.1932 15 17.8886 15.1579 17.7012 15.4233L12.2478 23.149C12.1053 23.3508 11.8367 23.4184 11.6157 23.3078L9.80163 22.4008C8.74998 21.875 8.20687 20.6874 8.49694 19.548L9.40017 16ZM17 13.4125V5H5.83939L3 11.8957V14H9.40017C10.7049 14 11.6602 15.229 11.3384 16.4934L10.4351 20.0414C10.3771 20.2693 10.4857 20.5068 10.6961 20.612L11.3572 20.9425L16.0673 14.27C16.3172 13.9159 16.6366 13.6257 17 13.4125ZM19 13H21V5H19V13Z" })), cp = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => C.createElement("svg", {
+}, C.createElement("path", { d: "M9.40017 16H3C1.89543 16 1 15.1046 1 14V11.8957C1 11.6344 1.05118 11.3757 1.15064 11.1342L4.24501 3.61925C4.3993 3.24455 4.76447 3 5.16969 3H22C22.5523 3 23 3.44772 23 4V14C23 14.5523 22.5523 15 22 15H18.5182C18.1932 15 17.8886 15.1579 17.7012 15.4233L12.2478 23.149C12.1053 23.3508 11.8367 23.4184 11.6157 23.3078L9.80163 22.4008C8.74998 21.875 8.20687 20.6874 8.49694 19.548L9.40017 16ZM17 13.4125V5H5.83939L3 11.8957V14H9.40017C10.7049 14 11.6602 15.229 11.3384 16.4934L10.4351 20.0414C10.3771 20.2693 10.4857 20.5068 10.6961 20.612L11.3572 20.9425L16.0673 14.27C16.3172 13.9159 16.6366 13.6257 17 13.4125ZM19 13H21V5H19V13Z" })), lp = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => C.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -18851,7 +18851,7 @@ var Tf = /* @__PURE__ */ g(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, C.createElement("path", { d: "M14.5998 8.00033H21C22.1046 8.00033 23 8.89576 23 10.0003V12.1047C23 12.3659 22.9488 12.6246 22.8494 12.8662L19.755 20.3811C19.6007 20.7558 19.2355 21.0003 18.8303 21.0003H2C1.44772 21.0003 1 20.5526 1 20.0003V10.0003C1 9.44804 1.44772 9.00033 2 9.00033H5.48184C5.80677 9.00033 6.11143 8.84246 6.29881 8.57701L11.7522 0.851355C11.8947 0.649486 12.1633 0.581978 12.3843 0.692483L14.1984 1.59951C15.25 2.12534 15.7931 3.31292 15.5031 4.45235L14.5998 8.00033ZM7 10.5878V19.0003H18.1606L21 12.1047V10.0003H14.5998C13.2951 10.0003 12.3398 8.77128 12.6616 7.50691L13.5649 3.95894C13.6229 3.73105 13.5143 3.49353 13.3039 3.38837L12.6428 3.0578L7.93275 9.73038C7.68285 10.0844 7.36341 10.3746 7 10.5878ZM5 11.0003H3V19.0003H5V11.0003Z" })), lp = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => C.createElement("svg", {
+}, C.createElement("path", { d: "M14.5998 8.00033H21C22.1046 8.00033 23 8.89576 23 10.0003V12.1047C23 12.3659 22.9488 12.6246 22.8494 12.8662L19.755 20.3811C19.6007 20.7558 19.2355 21.0003 18.8303 21.0003H2C1.44772 21.0003 1 20.5526 1 20.0003V10.0003C1 9.44804 1.44772 9.00033 2 9.00033H5.48184C5.80677 9.00033 6.11143 8.84246 6.29881 8.57701L11.7522 0.851355C11.8947 0.649486 12.1633 0.581978 12.3843 0.692483L14.1984 1.59951C15.25 2.12534 15.7931 3.31292 15.5031 4.45235L14.5998 8.00033ZM7 10.5878V19.0003H18.1606L21 12.1047V10.0003H14.5998C13.2951 10.0003 12.3398 8.77128 12.6616 7.50691L13.5649 3.95894C13.6229 3.73105 13.5143 3.49353 13.3039 3.38837L12.6428 3.0578L7.93275 9.73038C7.68285 10.0844 7.36341 10.3746 7 10.5878ZM5 11.0003H3V19.0003H5V11.0003Z" })), up = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => C.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -18859,7 +18859,7 @@ var Tf = /* @__PURE__ */ g(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, C.createElement("path", { d: "M3 19H21V21H3V19ZM13 5.82843V17H11V5.82843L4.92893 11.8995L3.51472 10.4853L12 2L20.4853 10.4853L19.0711 11.8995L13 5.82843Z" })), up = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => C.createElement("svg", {
+}, C.createElement("path", { d: "M3 19H21V21H3V19ZM13 5.82843V17H11V5.82843L4.92893 11.8995L3.51472 10.4853L12 2L20.4853 10.4853L19.0711 11.8995L13 5.82843Z" })), dp = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => C.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -18867,7 +18867,7 @@ var Tf = /* @__PURE__ */ g(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, C.createElement("path", { d: "M4 22C4 17.5817 7.58172 14 12 14C16.4183 14 20 17.5817 20 22H18C18 18.6863 15.3137 16 12 16C8.68629 16 6 18.6863 6 22H4ZM12 13C8.685 13 6 10.315 6 7C6 3.685 8.685 1 12 1C15.315 1 18 3.685 18 7C18 10.315 15.315 13 12 13ZM12 11C14.21 11 16 9.21 16 7C16 4.79 14.21 3 12 3C9.79 3 8 4.79 8 7C8 9.21 9.79 11 12 11Z" })), dp = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => C.createElement("svg", {
+}, C.createElement("path", { d: "M4 22C4 17.5817 7.58172 14 12 14C16.4183 14 20 17.5817 20 22H18C18 18.6863 15.3137 16 12 16C8.68629 16 6 18.6863 6 22H4ZM12 13C8.685 13 6 10.315 6 7C6 3.685 8.685 1 12 1C15.315 1 18 3.685 18 7C18 10.315 15.315 13 12 13ZM12 11C14.21 11 16 9.21 16 7C16 4.79 14.21 3 12 3C9.79 3 8 4.79 8 7C8 9.21 9.79 11 12 11Z" })), fp = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => C.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -18875,7 +18875,7 @@ var Tf = /* @__PURE__ */ g(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, C.createElement("path", { d: "M3 3.9934C3 3.44476 3.44495 3 3.9934 3H20.0066C20.5552 3 21 3.44495 21 3.9934V20.0066C21 20.5552 20.5551 21 20.0066 21H3.9934C3.44476 21 3 20.5551 3 20.0066V3.9934ZM5 5V19H19V5H5ZM10.6219 8.41459L15.5008 11.6672C15.6846 11.7897 15.7343 12.0381 15.6117 12.2219C15.5824 12.2658 15.5447 12.3035 15.5008 12.3328L10.6219 15.5854C10.4381 15.708 10.1897 15.6583 10.0672 15.4745C10.0234 15.4088 10 15.3316 10 15.2526V8.74741C10 8.52649 10.1791 8.34741 10.4 8.34741C10.479 8.34741 10.5562 8.37078 10.6219 8.41459Z" })), fp = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => C.createElement("svg", {
+}, C.createElement("path", { d: "M3 3.9934C3 3.44476 3.44495 3 3.9934 3H20.0066C20.5552 3 21 3.44495 21 3.9934V20.0066C21 20.5552 20.5551 21 20.0066 21H3.9934C3.44476 21 3 20.5551 3 20.0066V3.9934ZM5 5V19H19V5H5ZM10.6219 8.41459L15.5008 11.6672C15.6846 11.7897 15.7343 12.0381 15.6117 12.2219C15.5824 12.2658 15.5447 12.3035 15.5008 12.3328L10.6219 15.5854C10.4381 15.708 10.1897 15.6583 10.0672 15.4745C10.0234 15.4088 10 15.3316 10 15.2526V8.74741C10 8.52649 10.1791 8.34741 10.4 8.34741C10.479 8.34741 10.5562 8.37078 10.6219 8.41459Z" })), pp = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => C.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -18883,100 +18883,100 @@ var Tf = /* @__PURE__ */ g(((e) => {
fill: e,
...r,
className: "remixicon " + (n || "")
-}, C.createElement("path", { d: "M14 4.4375C15.3462 4.4375 16.4375 3.34619 16.4375 2H17.5625C17.5625 3.34619 18.6538 4.4375 20 4.4375V5.5625C18.6538 5.5625 17.5625 6.65381 17.5625 8H16.4375C16.4375 6.65381 15.3462 5.5625 14 5.5625V4.4375ZM1 11C4.31371 11 7 8.31371 7 5H9C9 8.31371 11.6863 11 15 11V13C11.6863 13 9 15.6863 9 19H7C7 15.6863 4.31371 13 1 13V11ZM4.87601 12C6.18717 12.7276 7.27243 13.8128 8 15.124 8.72757 13.8128 9.81283 12.7276 11.124 12 9.81283 11.2724 8.72757 10.1872 8 8.87601 7.27243 10.1872 6.18717 11.2724 4.87601 12ZM17.25 14C17.25 15.7949 15.7949 17.25 14 17.25V18.75C15.7949 18.75 17.25 20.2051 17.25 22H18.75C18.75 20.2051 20.2051 18.75 22 18.75V17.25C20.2051 17.25 18.75 15.7949 18.75 14H17.25Z" })), pp = (e, t) => {
+}, C.createElement("path", { d: "M14 4.4375C15.3462 4.4375 16.4375 3.34619 16.4375 2H17.5625C17.5625 3.34619 18.6538 4.4375 20 4.4375V5.5625C18.6538 5.5625 17.5625 6.65381 17.5625 8H16.4375C16.4375 6.65381 15.3462 5.5625 14 5.5625V4.4375ZM1 11C4.31371 11 7 8.31371 7 5H9C9 8.31371 11.6863 11 15 11V13C11.6863 13 9 15.6863 9 19H7C7 15.6863 4.31371 13 1 13V11ZM4.87601 12C6.18717 12.7276 7.27243 13.8128 8 15.124 8.72757 13.8128 9.81283 12.7276 11.124 12 9.81283 11.2724 8.72757 10.1872 8 8.87601 7.27243 10.1872 6.18717 11.2724 4.87601 12ZM17.25 14C17.25 15.7949 15.7949 17.25 14 17.25V18.75C15.7949 18.75 17.25 20.2051 17.25 22H18.75C18.75 20.2051 20.2051 18.75 22 18.75V17.25C20.2051 17.25 18.75 15.7949 18.75 14H17.25Z" })), mp = (e, t) => {
let n = Array(e.length + t.length);
for (let t = 0; t < e.length; t++) n[t] = e[t];
for (let r = 0; r < t.length; r++) n[e.length + r] = t[r];
return n;
-}, mp = (e, t) => ({
+}, hp = (e, t) => ({
classGroupId: e,
validator: t
-}), hp = (e = /* @__PURE__ */ new Map(), t = null, n) => ({
+}), gp = (e = /* @__PURE__ */ new Map(), t = null, n) => ({
nextPart: e,
validators: t,
classGroupId: n
-}), gp = "-", _p = [], vp = "arbitrary..", yp = (e) => {
- let t = Sp(e), { conflictingClassGroups: n, conflictingClassGroupModifiers: r } = e;
+}), _p = "-", vp = [], yp = "arbitrary..", bp = (e) => {
+ let t = Cp(e), { conflictingClassGroups: n, conflictingClassGroupModifiers: r } = e;
return {
getClassGroupId: (e) => {
- if (e.startsWith("[") && e.endsWith("]")) return xp(e);
- let n = e.split(gp);
- return bp(n, +(n[0] === "" && n.length > 1), t);
+ if (e.startsWith("[") && e.endsWith("]")) return Sp(e);
+ let n = e.split(_p);
+ return xp(n, +(n[0] === "" && n.length > 1), t);
},
getConflictingClassGroupIds: (e, t) => {
if (t) {
let t = r[e], i = n[e];
- return t ? i ? pp(i, t) : t : i || _p;
+ return t ? i ? mp(i, t) : t : i || vp;
}
- return n[e] || _p;
+ return n[e] || vp;
}
};
-}, bp = (e, t, n) => {
+}, xp = (e, t, n) => {
if (e.length - t === 0) return n.classGroupId;
let r = e[t], i = n.nextPart.get(r);
if (i) {
- let n = bp(e, t + 1, i);
+ let n = xp(e, t + 1, i);
if (n) return n;
}
let a = n.validators;
if (a === null) return;
- let o = t === 0 ? e.join(gp) : e.slice(t).join(gp), s = a.length;
+ let o = t === 0 ? e.join(_p) : e.slice(t).join(_p), s = a.length;
for (let e = 0; e < s; e++) {
let t = a[e];
if (t.validator(o)) return t.classGroupId;
}
-}, xp = (e) => e.slice(1, -1).indexOf(":") === -1 ? void 0 : (() => {
+}, Sp = (e) => e.slice(1, -1).indexOf(":") === -1 ? void 0 : (() => {
let t = e.slice(1, -1), n = t.indexOf(":"), r = t.slice(0, n);
- return r ? vp + r : void 0;
-})(), Sp = (e) => {
+ return r ? yp + r : void 0;
+})(), Cp = (e) => {
let { theme: t, classGroups: n } = e;
- return Cp(n, t);
-}, Cp = (e, t) => {
- let n = hp();
+ return wp(n, t);
+}, wp = (e, t) => {
+ let n = gp();
for (let r in e) {
let i = e[r];
- wp(i, n, r, t);
+ Tp(i, n, r, t);
}
return n;
-}, wp = (e, t, n, r) => {
+}, Tp = (e, t, n, r) => {
let i = e.length;
for (let a = 0; a < i; a++) {
let i = e[a];
- Tp(i, t, n, r);
+ Ep(i, t, n, r);
}
-}, Tp = (e, t, n, r) => {
+}, Ep = (e, t, n, r) => {
if (typeof e == "string") {
- Ep(e, t, n);
+ Dp(e, t, n);
return;
}
if (typeof e == "function") {
- Dp(e, t, n, r);
+ Op(e, t, n, r);
return;
}
- Op(e, t, n, r);
-}, Ep = (e, t, n) => {
- let r = e === "" ? t : kp(t, e);
+ kp(e, t, n, r);
+}, Dp = (e, t, n) => {
+ let r = e === "" ? t : Ap(t, e);
r.classGroupId = n;
-}, Dp = (e, t, n, r) => {
- if (Ap(e)) {
- wp(e(r), t, n, r);
+}, Op = (e, t, n, r) => {
+ if (jp(e)) {
+ Tp(e(r), t, n, r);
return;
}
- t.validators === null && (t.validators = []), t.validators.push(mp(n, e));
-}, Op = (e, t, n, r) => {
+ t.validators === null && (t.validators = []), t.validators.push(hp(n, e));
+}, kp = (e, t, n, r) => {
let i = Object.entries(e), a = i.length;
for (let e = 0; e < a; e++) {
let [a, o] = i[e];
- wp(o, kp(t, a), n, r);
+ Tp(o, Ap(t, a), n, r);
}
-}, kp = (e, t) => {
- let n = e, r = t.split(gp), i = r.length;
+}, Ap = (e, t) => {
+ let n = e, r = t.split(_p), i = r.length;
for (let e = 0; e < i; e++) {
let t = r[e], i = n.nextPart.get(t);
- i || (i = hp(), n.nextPart.set(t, i)), n = i;
+ i || (i = gp(), n.nextPart.set(t, i)), n = i;
}
return n;
-}, Ap = (e) => "isThemeGetter" in e && e.isThemeGetter === !0, jp = (e) => {
+}, jp = (e) => "isThemeGetter" in e && e.isThemeGetter === !0, Mp = (e) => {
if (e < 1) return {
get: () => void 0,
set: () => {}
@@ -18994,19 +18994,19 @@ var Tf = /* @__PURE__ */ g(((e) => {
e in n ? n[e] = t : i(e, t);
}
};
-}, Mp = "!", Np = ":", Pp = [], Fp = (e, t, n, r, i) => ({
+}, Np = "!", Pp = ":", Fp = [], Ip = (e, t, n, r, i) => ({
modifiers: e,
hasImportantModifier: t,
baseClassName: n,
maybePostfixModifierPosition: r,
isExternal: i
-}), Ip = (e) => {
+}), Lp = (e) => {
let { prefix: t, experimentalParseClassName: n } = e, r = (e) => {
let t = [], n = 0, r = 0, i = 0, a, o = e.length;
for (let s = 0; s < o; s++) {
let o = e[s];
if (n === 0 && r === 0) {
- if (o === Np) {
+ if (o === Pp) {
t.push(e.slice(i, s)), i = s + 1;
continue;
}
@@ -19018,13 +19018,13 @@ var Tf = /* @__PURE__ */ g(((e) => {
o === "[" ? n++ : o === "]" ? n-- : o === "(" ? r++ : o === ")" && r--;
}
let s = t.length === 0 ? e : e.slice(i), c = s, l = !1;
- s.endsWith(Mp) ? (c = s.slice(0, -1), l = !0) : s.startsWith(Mp) && (c = s.slice(1), l = !0);
+ s.endsWith(Np) ? (c = s.slice(0, -1), l = !0) : s.startsWith(Np) && (c = s.slice(1), l = !0);
let u = a && a > i ? a - i : void 0;
- return Fp(t, l, c, u);
+ return Ip(t, l, c, u);
};
if (t) {
- let e = t + Np, n = r;
- r = (t) => t.startsWith(e) ? n(t.slice(e.length)) : Fp(Pp, !1, t, void 0, !0);
+ let e = t + Pp, n = r;
+ r = (t) => t.startsWith(e) ? n(t.slice(e.length)) : Ip(Fp, !1, t, void 0, !0);
}
if (n) {
let e = r;
@@ -19034,7 +19034,7 @@ var Tf = /* @__PURE__ */ g(((e) => {
});
}
return r;
-}, Lp = (e) => {
+}, Rp = (e) => {
let t = /* @__PURE__ */ new Map();
return e.orderSensitiveModifiers.forEach((e, n) => {
t.set(e, 1e6 + n);
@@ -19046,18 +19046,18 @@ var Tf = /* @__PURE__ */ g(((e) => {
}
return r.length > 0 && (r.sort(), n.push(...r)), n;
};
-}, Rp = (e) => ({
- cache: jp(e.cacheSize),
- parseClassName: Ip(e),
- sortModifiers: Lp(e),
- postfixLookupClassGroupIds: zp(e),
- ...yp(e)
-}), zp = (e) => {
+}, zp = (e) => ({
+ cache: Mp(e.cacheSize),
+ parseClassName: Lp(e),
+ sortModifiers: Rp(e),
+ postfixLookupClassGroupIds: Bp(e),
+ ...bp(e)
+}), Bp = (e) => {
let t = Object.create(null), n = e.postfixLookupClassGroups;
if (n) for (let e = 0; e < n.length; e++) t[n[e]] = !0;
return t;
-}, Bp = /\s+/, Vp = (e, t) => {
- let { parseClassName: n, getClassGroupId: r, getConflictingClassGroupIds: i, sortModifiers: a, postfixLookupClassGroupIds: o } = t, s = [], c = e.trim().split(Bp), l = "";
+}, Vp = /\s+/, Hp = (e, t) => {
+ let { parseClassName: n, getClassGroupId: r, getConflictingClassGroupIds: i, sortModifiers: a, postfixLookupClassGroupIds: o } = t, s = [], c = e.trim().split(Vp), l = "";
for (let e = c.length - 1; e >= 0; --e) {
let t = c[e], { isExternal: u, modifiers: d, hasImportantModifier: f, baseClassName: p, maybePostfixModifierPosition: m } = n(t);
if (u) {
@@ -19081,7 +19081,7 @@ var Tf = /* @__PURE__ */ g(((e) => {
}
h = !1;
}
- let _ = d.length === 0 ? "" : d.length === 1 ? d[0] : a(d).join(":"), v = f ? _ + Mp : _, y = v + g;
+ let _ = d.length === 0 ? "" : d.length === 1 ? d[0] : a(d).join(":"), v = f ? _ + Np : _, y = v + g;
if (s.indexOf(y) > -1) continue;
s.push(y);
let b = i(g, h);
@@ -19092,34 +19092,34 @@ var Tf = /* @__PURE__ */ g(((e) => {
l = t + (l.length > 0 ? " " + l : l);
}
return l;
-}, Hp = (...e) => {
+}, Up = (...e) => {
let t = 0, n, r, i = "";
- for (; t < e.length;) (n = e[t++]) && (r = Up(n)) && (i && (i += " "), i += r);
+ for (; t < e.length;) (n = e[t++]) && (r = Wp(n)) && (i && (i += " "), i += r);
return i;
-}, Up = (e) => {
+}, Wp = (e) => {
if (typeof e == "string") return e;
let t, n = "";
- for (let r = 0; r < e.length; r++) e[r] && (t = Up(e[r])) && (n && (n += " "), n += t);
+ for (let r = 0; r < e.length; r++) e[r] && (t = Wp(e[r])) && (n && (n += " "), n += t);
return n;
-}, Wp = (e, ...t) => {
- let n, r, i, a, o = (o) => (n = Rp(t.reduce((e, t) => t(e), e())), r = n.cache.get, i = n.cache.set, a = s, s(o)), s = (e) => {
+}, Gp = (e, ...t) => {
+ let n, r, i, a, o = (o) => (n = zp(t.reduce((e, t) => t(e), e())), r = n.cache.get, i = n.cache.set, a = s, s(o)), s = (e) => {
let t = r(e);
if (t) return t;
- let a = Vp(e, n);
+ let a = Hp(e, n);
return i(e, a), a;
};
- return a = o, (...e) => a(Hp(...e));
-}, Gp = [], Kp = (e) => {
- let t = (t) => t[e] || Gp;
+ return a = o, (...e) => a(Up(...e));
+}, Kp = [], qp = (e) => {
+ let t = (t) => t[e] || Kp;
return t.isThemeGetter = !0, t.themeKey = e, t;
-}, qp = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, Jp = /^\((?:(\w[\w-]*):)?(.+)\)$/i, Yp = /^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/, Xp = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, Zp = /\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/, Qp = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix|color|light-dark)\(.+\)$/, $p = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, em = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, tm = (e) => Yp.test(e), W = (e) => !!e && !Number.isNaN(Number(e)), nm = (e) => !!e && Number.isInteger(Number(e)), rm = (e) => e.endsWith("%") && W(e.slice(0, -1)), im = (e) => Xp.test(e), am = () => !0, om = (e) => Zp.test(e) && !Qp.test(e), sm = () => !1, cm = (e) => $p.test(e), lm = (e) => em.test(e), um = (e) => !G(e) && !K(e), dm = (e) => e.startsWith("@container") && (e[10] === "/" && e[11] !== void 0 || e[11] === "s" && e[16] !== void 0 && e.startsWith("-size/", 10) || e[11] === "n" && e[18] !== void 0 && e.startsWith("-normal/", 10)), fm = (e) => Dm(e, jm, sm), G = (e) => qp.test(e), pm = (e) => Dm(e, Mm, om), mm = (e) => Dm(e, Nm, W), hm = (e) => Dm(e, Fm, am), gm = (e) => Dm(e, Pm, sm), _m = (e) => Dm(e, km, sm), vm = (e) => Dm(e, Am, lm), ym = (e) => Dm(e, Im, cm), K = (e) => Jp.test(e), bm = (e) => Om(e, Mm), xm = (e) => Om(e, Pm), Sm = (e) => Om(e, km), Cm = (e) => Om(e, jm), wm = (e) => Om(e, Am), Tm = (e) => Om(e, Im, !0), Em = (e) => Om(e, Fm, !0), Dm = (e, t, n) => {
- let r = qp.exec(e);
- return r ? r[1] ? t(r[1]) : n(r[2]) : !1;
-}, Om = (e, t, n = !1) => {
+}, Jp = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, Yp = /^\((?:(\w[\w-]*):)?(.+)\)$/i, Xp = /^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/, Zp = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, Qp = /\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/, $p = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix|color|light-dark)\(.+\)$/, em = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, tm = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, nm = (e) => Xp.test(e), U = (e) => !!e && !Number.isNaN(Number(e)), rm = (e) => !!e && Number.isInteger(Number(e)), im = (e) => e.endsWith("%") && U(e.slice(0, -1)), am = (e) => Zp.test(e), om = () => !0, sm = (e) => Qp.test(e) && !$p.test(e), cm = () => !1, lm = (e) => em.test(e), um = (e) => tm.test(e), dm = (e) => !W(e) && !G(e), fm = (e) => e.startsWith("@container") && (e[10] === "/" && e[11] !== void 0 || e[11] === "s" && e[16] !== void 0 && e.startsWith("-size/", 10) || e[11] === "n" && e[18] !== void 0 && e.startsWith("-normal/", 10)), pm = (e) => Om(e, Mm, cm), W = (e) => Jp.test(e), mm = (e) => Om(e, Nm, sm), hm = (e) => Om(e, Pm, U), gm = (e) => Om(e, Im, om), _m = (e) => Om(e, Fm, cm), vm = (e) => Om(e, Am, cm), ym = (e) => Om(e, jm, um), bm = (e) => Om(e, Lm, lm), G = (e) => Yp.test(e), xm = (e) => km(e, Nm), Sm = (e) => km(e, Fm), Cm = (e) => km(e, Am), wm = (e) => km(e, Mm), Tm = (e) => km(e, jm), Em = (e) => km(e, Lm, !0), Dm = (e) => km(e, Im, !0), Om = (e, t, n) => {
let r = Jp.exec(e);
+ return r ? r[1] ? t(r[1]) : n(r[2]) : !1;
+}, km = (e, t, n = !1) => {
+ let r = Yp.exec(e);
return r ? r[1] ? t(r[1]) : n : !1;
-}, km = (e) => e === "position" || e === "percentage", Am = (e) => e === "image" || e === "url", jm = (e) => e === "length" || e === "size" || e === "bg-size", Mm = (e) => e === "length", Nm = (e) => e === "number", Pm = (e) => e === "family-name", Fm = (e) => e === "number" || e === "weight", Im = (e) => e === "shadow", Lm = () => {
- let e = Kp("color"), t = Kp("font"), n = Kp("text"), r = Kp("font-weight"), i = Kp("tracking"), a = Kp("leading"), o = Kp("breakpoint"), s = Kp("container"), c = Kp("spacing"), l = Kp("radius"), u = Kp("shadow"), d = Kp("inset-shadow"), f = Kp("text-shadow"), p = Kp("drop-shadow"), m = Kp("blur"), h = Kp("perspective"), g = Kp("aspect"), _ = Kp("ease"), v = Kp("animate"), y = () => [
+}, Am = (e) => e === "position" || e === "percentage", jm = (e) => e === "image" || e === "url", Mm = (e) => e === "length" || e === "size" || e === "bg-size", Nm = (e) => e === "length", Pm = (e) => e === "number", Fm = (e) => e === "family-name", Im = (e) => e === "number" || e === "weight", Lm = (e) => e === "shadow", Rm = () => {
+ let e = qp("color"), t = qp("font"), n = qp("text"), r = qp("font-weight"), i = qp("tracking"), a = qp("leading"), o = qp("breakpoint"), s = qp("container"), c = qp("spacing"), l = qp("radius"), u = qp("shadow"), d = qp("inset-shadow"), f = qp("text-shadow"), p = qp("drop-shadow"), m = qp("blur"), h = qp("perspective"), g = qp("aspect"), _ = qp("ease"), v = qp("animate"), y = () => [
"auto",
"avoid",
"all",
@@ -19144,8 +19144,8 @@ var Tf = /* @__PURE__ */ g(((e) => {
"left-bottom"
], x = () => [
...b(),
- K,
- G
+ G,
+ W
], S = () => [
"auto",
"hidden",
@@ -19157,43 +19157,43 @@ var Tf = /* @__PURE__ */ g(((e) => {
"contain",
"none"
], w = () => [
- K,
G,
+ W,
c
], T = () => [
- tm,
+ nm,
"full",
"auto",
...w()
], E = () => [
- nm,
+ rm,
"none",
"subgrid",
- K,
- G
+ G,
+ W
], D = () => [
"auto",
{ span: [
"full",
- nm,
- K,
- G
+ rm,
+ G,
+ W
] },
- nm,
- K,
- G
+ rm,
+ G,
+ W
], O = () => [
- nm,
+ rm,
"auto",
- K,
- G
+ G,
+ W
], k = () => [
"auto",
"min",
"max",
"fr",
- K,
- G
+ G,
+ W
], A = () => [
"start",
"end",
@@ -19213,7 +19213,7 @@ var Tf = /* @__PURE__ */ g(((e) => {
"center-safe",
"end-safe"
], M = () => ["auto", ...w()], N = () => [
- tm,
+ nm,
"auto",
"full",
"dvw",
@@ -19228,7 +19228,7 @@ var Tf = /* @__PURE__ */ g(((e) => {
...w()
], ee = () => [
s,
- tm,
+ nm,
"screen",
"full",
"dvw",
@@ -19238,8 +19238,8 @@ var Tf = /* @__PURE__ */ g(((e) => {
"max",
"fit",
...w()
- ], P = () => [
- tm,
+ ], te = () => [
+ nm,
"screen",
"full",
"lh",
@@ -19250,50 +19250,50 @@ var Tf = /* @__PURE__ */ g(((e) => {
"max",
"fit",
...w()
- ], F = () => [
+ ], P = () => [
e,
- K,
- G
- ], te = () => [
+ G,
+ W
+ ], ne = () => [
...b(),
- Sm,
- _m,
- { position: [K, G] }
- ], ne = () => ["no-repeat", { repeat: [
+ Cm,
+ vm,
+ { position: [G, W] }
+ ], re = () => ["no-repeat", { repeat: [
"",
"x",
"y",
"space",
"round"
- ] }], re = () => [
+ ] }], ie = () => [
"auto",
"cover",
"contain",
- Cm,
- fm,
- { size: [K, G] }
- ], ie = () => [
- rm,
- bm,
- pm
+ wm,
+ pm,
+ { size: [G, W] }
], ae = () => [
+ im,
+ xm,
+ mm
+ ], oe = () => [
"",
"none",
"full",
l,
- K,
- G
- ], oe = () => [
- "",
- W,
- bm,
- pm
+ G,
+ W
], se = () => [
+ "",
+ U,
+ xm,
+ mm
+ ], ce = () => [
"solid",
"dashed",
"dotted",
"double"
- ], ce = () => [
+ ], le = () => [
"normal",
"multiply",
"screen",
@@ -19310,33 +19310,33 @@ var Tf = /* @__PURE__ */ g(((e) => {
"saturation",
"color",
"luminosity"
- ], le = () => [
- W,
- rm,
- Sm,
- _m
], ue = () => [
+ U,
+ im,
+ Cm,
+ vm
+ ], de = () => [
"",
"none",
m,
- K,
- G
- ], de = () => [
- "none",
- W,
- K,
- G
+ G,
+ W
], fe = () => [
"none",
- W,
- K,
- G
+ U,
+ G,
+ W
+ ], pe = () => [
+ "none",
+ U,
+ G,
+ W
+ ], F = () => [
+ U,
+ G,
+ W
], I = () => [
- W,
- K,
- G
- ], L = () => [
- tm,
+ nm,
"full",
...w()
];
@@ -19350,17 +19350,17 @@ var Tf = /* @__PURE__ */ g(((e) => {
"bounce"
],
aspect: ["video"],
- blur: [im],
- breakpoint: [im],
- color: [am],
- container: [im],
- "drop-shadow": [im],
+ blur: [am],
+ breakpoint: [am],
+ color: [om],
+ container: [am],
+ "drop-shadow": [am],
ease: [
"in",
"out",
"in-out"
],
- font: [um],
+ font: [dm],
"font-weight": [
"thin",
"extralight",
@@ -19372,7 +19372,7 @@ var Tf = /* @__PURE__ */ g(((e) => {
"extrabold",
"black"
],
- "inset-shadow": [im],
+ "inset-shadow": [am],
leading: [
"none",
"tight",
@@ -19389,11 +19389,11 @@ var Tf = /* @__PURE__ */ g(((e) => {
"distant",
"none"
],
- radius: [im],
- shadow: [im],
- spacing: ["px", W],
- text: [im],
- "text-shadow": [im],
+ radius: [am],
+ shadow: [am],
+ spacing: ["px", U],
+ text: [am],
+ "text-shadow": [am],
tracking: [
"tighter",
"tight",
@@ -19407,9 +19407,9 @@ var Tf = /* @__PURE__ */ g(((e) => {
aspect: [{ aspect: [
"auto",
"square",
- tm,
+ nm,
+ W,
G,
- K,
g
] }],
container: ["container"],
@@ -19417,15 +19417,15 @@ var Tf = /* @__PURE__ */ g(((e) => {
"",
"normal",
"size",
- K,
- G
+ G,
+ W
] }],
- "container-named": [dm],
+ "container-named": [fm],
columns: [{ columns: [
- W,
+ U,
"auto",
+ W,
G,
- K,
s
] }],
"break-after": [{ "break-after": y() }],
@@ -19522,13 +19522,13 @@ var Tf = /* @__PURE__ */ g(((e) => {
"collapse"
],
z: [{ z: [
- nm,
+ rm,
"auto",
- K,
- G
+ G,
+ W
] }],
basis: [{ basis: [
- tm,
+ nm,
"full",
"auto",
s,
@@ -19546,32 +19546,32 @@ var Tf = /* @__PURE__ */ g(((e) => {
"wrap-reverse"
] }],
flex: [{ flex: [
- W,
- tm,
+ U,
+ nm,
"auto",
"initial",
"none",
- G
+ W
] }],
grow: [{ grow: [
"",
- W,
- K,
- G
+ U,
+ G,
+ W
] }],
shrink: [{ shrink: [
"",
- W,
- K,
- G
+ U,
+ G,
+ W
] }],
order: [{ order: [
- nm,
+ rm,
"first",
"last",
"none",
- K,
- G
+ G,
+ W
] }],
"grid-cols": [{ "grid-cols": E() }],
"col-start-end": [{ col: D() }],
@@ -19636,9 +19636,9 @@ var Tf = /* @__PURE__ */ g(((e) => {
"inline-size": [{ inline: ["auto", ...ee()] }],
"min-inline-size": [{ "min-inline": ["auto", ...ee()] }],
"max-inline-size": [{ "max-inline": ["none", ...ee()] }],
- "block-size": [{ block: ["auto", ...P()] }],
- "min-block-size": [{ "min-block": ["auto", ...P()] }],
- "max-block-size": [{ "max-block": ["none", ...P()] }],
+ "block-size": [{ block: ["auto", ...te()] }],
+ "min-block-size": [{ "min-block": ["auto", ...te()] }],
+ "max-block-size": [{ "max-block": ["none", ...te()] }],
w: [{ w: [
s,
"screen",
@@ -19678,15 +19678,15 @@ var Tf = /* @__PURE__ */ g(((e) => {
"font-size": [{ text: [
"base",
n,
- bm,
- pm
+ xm,
+ mm
] }],
"font-smoothing": ["antialiased", "subpixel-antialiased"],
"font-style": ["italic", "not-italic"],
"font-weight": [{ font: [
r,
- Em,
- hm
+ Dm,
+ gm
] }],
"font-stretch": [{ "font-stretch": [
"ultra-condensed",
@@ -19698,15 +19698,15 @@ var Tf = /* @__PURE__ */ g(((e) => {
"expanded",
"extra-expanded",
"ultra-expanded",
- rm,
- G
+ im,
+ W
] }],
"font-family": [{ font: [
- xm,
- gm,
+ Sm,
+ _m,
t
] }],
- "font-features": [{ "font-features": [G] }],
+ "font-features": [{ "font-features": [W] }],
"fvn-normal": ["normal-nums"],
"fvn-ordinal": ["ordinal"],
"fvn-slashed-zero": ["slashed-zero"],
@@ -19715,14 +19715,14 @@ var Tf = /* @__PURE__ */ g(((e) => {
"fvn-fraction": ["diagonal-fractions", "stacked-fractions"],
tracking: [{ tracking: [
i,
- K,
- G
+ G,
+ W
] }],
"line-clamp": [{ "line-clamp": [
- W,
+ U,
"none",
- K,
- mm
+ G,
+ hm
] }],
leading: [{ leading: [
"none",
@@ -19731,16 +19731,16 @@ var Tf = /* @__PURE__ */ g(((e) => {
] }],
"list-image": [{ "list-image": [
"none",
- K,
- G
+ G,
+ W
] }],
"list-style-position": [{ list: ["inside", "outside"] }],
"list-style-type": [{ list: [
"disc",
"decimal",
"none",
- K,
- G
+ G,
+ W
] }],
"text-alignment": [{ text: [
"left",
@@ -19750,28 +19750,28 @@ var Tf = /* @__PURE__ */ g(((e) => {
"start",
"end"
] }],
- "placeholder-color": [{ placeholder: F() }],
- "text-color": [{ text: F() }],
+ "placeholder-color": [{ placeholder: P() }],
+ "text-color": [{ text: P() }],
"text-decoration": [
"underline",
"overline",
"line-through",
"no-underline"
],
- "text-decoration-style": [{ decoration: [...se(), "wavy"] }],
+ "text-decoration-style": [{ decoration: [...ce(), "wavy"] }],
"text-decoration-thickness": [{ decoration: [
- W,
+ U,
"from-font",
"auto",
- K,
- pm
+ G,
+ mm
] }],
- "text-decoration-color": [{ decoration: F() }],
+ "text-decoration-color": [{ decoration: P() }],
"underline-offset": [{ "underline-offset": [
- W,
+ U,
"auto",
- K,
- G
+ G,
+ W
] }],
"text-transform": [
"uppercase",
@@ -19792,9 +19792,9 @@ var Tf = /* @__PURE__ */ g(((e) => {
] }],
indent: [{ indent: w() }],
"tab-size": [{ tab: [
- nm,
- K,
- G
+ rm,
+ G,
+ W
] }],
"vertical-align": [{ align: [
"baseline",
@@ -19805,8 +19805,8 @@ var Tf = /* @__PURE__ */ g(((e) => {
"text-bottom",
"sub",
"super",
- K,
- G
+ G,
+ W
] }],
whitespace: [{ whitespace: [
"normal",
@@ -19834,8 +19834,8 @@ var Tf = /* @__PURE__ */ g(((e) => {
] }],
content: [{ content: [
"none",
- K,
- G
+ G,
+ W
] }],
"bg-attachment": [{ bg: [
"fixed",
@@ -19853,9 +19853,9 @@ var Tf = /* @__PURE__ */ g(((e) => {
"padding",
"content"
] }],
- "bg-position": [{ bg: te() }],
- "bg-repeat": [{ bg: ne() }],
- "bg-size": [{ bg: re() }],
+ "bg-position": [{ bg: ne() }],
+ "bg-repeat": [{ bg: re() }],
+ "bg-size": [{ bg: ie() }],
"bg-image": [{ bg: [
"none",
{
@@ -19870,142 +19870,142 @@ var Tf = /* @__PURE__ */ g(((e) => {
"l",
"tl"
] },
- nm,
- K,
- G
+ rm,
+ G,
+ W
],
radial: [
"",
- K,
- G
+ G,
+ W
],
conic: [
"",
- nm,
- K,
- G
+ rm,
+ G,
+ W
]
},
- wm,
- vm
+ Tm,
+ ym
] }],
- "bg-color": [{ bg: F() }],
- "gradient-from-pos": [{ from: ie() }],
- "gradient-via-pos": [{ via: ie() }],
- "gradient-to-pos": [{ to: ie() }],
- "gradient-from": [{ from: F() }],
- "gradient-via": [{ via: F() }],
- "gradient-to": [{ to: F() }],
- rounded: [{ rounded: ae() }],
- "rounded-s": [{ "rounded-s": ae() }],
- "rounded-e": [{ "rounded-e": ae() }],
- "rounded-t": [{ "rounded-t": ae() }],
- "rounded-r": [{ "rounded-r": ae() }],
- "rounded-b": [{ "rounded-b": ae() }],
- "rounded-l": [{ "rounded-l": ae() }],
- "rounded-ss": [{ "rounded-ss": ae() }],
- "rounded-se": [{ "rounded-se": ae() }],
- "rounded-ee": [{ "rounded-ee": ae() }],
- "rounded-es": [{ "rounded-es": ae() }],
- "rounded-tl": [{ "rounded-tl": ae() }],
- "rounded-tr": [{ "rounded-tr": ae() }],
- "rounded-br": [{ "rounded-br": ae() }],
- "rounded-bl": [{ "rounded-bl": ae() }],
- "border-w": [{ border: oe() }],
- "border-w-x": [{ "border-x": oe() }],
- "border-w-y": [{ "border-y": oe() }],
- "border-w-s": [{ "border-s": oe() }],
- "border-w-e": [{ "border-e": oe() }],
- "border-w-bs": [{ "border-bs": oe() }],
- "border-w-be": [{ "border-be": oe() }],
- "border-w-t": [{ "border-t": oe() }],
- "border-w-r": [{ "border-r": oe() }],
- "border-w-b": [{ "border-b": oe() }],
- "border-w-l": [{ "border-l": oe() }],
- "divide-x": [{ "divide-x": oe() }],
+ "bg-color": [{ bg: P() }],
+ "gradient-from-pos": [{ from: ae() }],
+ "gradient-via-pos": [{ via: ae() }],
+ "gradient-to-pos": [{ to: ae() }],
+ "gradient-from": [{ from: P() }],
+ "gradient-via": [{ via: P() }],
+ "gradient-to": [{ to: P() }],
+ rounded: [{ rounded: oe() }],
+ "rounded-s": [{ "rounded-s": oe() }],
+ "rounded-e": [{ "rounded-e": oe() }],
+ "rounded-t": [{ "rounded-t": oe() }],
+ "rounded-r": [{ "rounded-r": oe() }],
+ "rounded-b": [{ "rounded-b": oe() }],
+ "rounded-l": [{ "rounded-l": oe() }],
+ "rounded-ss": [{ "rounded-ss": oe() }],
+ "rounded-se": [{ "rounded-se": oe() }],
+ "rounded-ee": [{ "rounded-ee": oe() }],
+ "rounded-es": [{ "rounded-es": oe() }],
+ "rounded-tl": [{ "rounded-tl": oe() }],
+ "rounded-tr": [{ "rounded-tr": oe() }],
+ "rounded-br": [{ "rounded-br": oe() }],
+ "rounded-bl": [{ "rounded-bl": oe() }],
+ "border-w": [{ border: se() }],
+ "border-w-x": [{ "border-x": se() }],
+ "border-w-y": [{ "border-y": se() }],
+ "border-w-s": [{ "border-s": se() }],
+ "border-w-e": [{ "border-e": se() }],
+ "border-w-bs": [{ "border-bs": se() }],
+ "border-w-be": [{ "border-be": se() }],
+ "border-w-t": [{ "border-t": se() }],
+ "border-w-r": [{ "border-r": se() }],
+ "border-w-b": [{ "border-b": se() }],
+ "border-w-l": [{ "border-l": se() }],
+ "divide-x": [{ "divide-x": se() }],
"divide-x-reverse": ["divide-x-reverse"],
- "divide-y": [{ "divide-y": oe() }],
+ "divide-y": [{ "divide-y": se() }],
"divide-y-reverse": ["divide-y-reverse"],
"border-style": [{ border: [
- ...se(),
+ ...ce(),
"hidden",
"none"
] }],
"divide-style": [{ divide: [
- ...se(),
+ ...ce(),
"hidden",
"none"
] }],
- "border-color": [{ border: F() }],
- "border-color-x": [{ "border-x": F() }],
- "border-color-y": [{ "border-y": F() }],
- "border-color-s": [{ "border-s": F() }],
- "border-color-e": [{ "border-e": F() }],
- "border-color-bs": [{ "border-bs": F() }],
- "border-color-be": [{ "border-be": F() }],
- "border-color-t": [{ "border-t": F() }],
- "border-color-r": [{ "border-r": F() }],
- "border-color-b": [{ "border-b": F() }],
- "border-color-l": [{ "border-l": F() }],
- "divide-color": [{ divide: F() }],
+ "border-color": [{ border: P() }],
+ "border-color-x": [{ "border-x": P() }],
+ "border-color-y": [{ "border-y": P() }],
+ "border-color-s": [{ "border-s": P() }],
+ "border-color-e": [{ "border-e": P() }],
+ "border-color-bs": [{ "border-bs": P() }],
+ "border-color-be": [{ "border-be": P() }],
+ "border-color-t": [{ "border-t": P() }],
+ "border-color-r": [{ "border-r": P() }],
+ "border-color-b": [{ "border-b": P() }],
+ "border-color-l": [{ "border-l": P() }],
+ "divide-color": [{ divide: P() }],
"outline-style": [{ outline: [
- ...se(),
+ ...ce(),
"none",
"hidden"
] }],
"outline-offset": [{ "outline-offset": [
- W,
- K,
- G
+ U,
+ G,
+ W
] }],
"outline-w": [{ outline: [
"",
- W,
- bm,
- pm
+ U,
+ xm,
+ mm
] }],
- "outline-color": [{ outline: F() }],
+ "outline-color": [{ outline: P() }],
shadow: [{ shadow: [
"",
"inner",
"none",
u,
- Tm,
- ym
+ Em,
+ bm
] }],
- "shadow-color": [{ shadow: F() }],
+ "shadow-color": [{ shadow: P() }],
"inset-shadow": [{ "inset-shadow": [
"none",
d,
- Tm,
- ym
+ Em,
+ bm
] }],
- "inset-shadow-color": [{ "inset-shadow": F() }],
- "ring-w": [{ ring: oe() }],
+ "inset-shadow-color": [{ "inset-shadow": P() }],
+ "ring-w": [{ ring: se() }],
"ring-w-inset": ["ring-inset"],
- "ring-color": [{ ring: F() }],
- "ring-offset-w": [{ "ring-offset": [W, pm] }],
- "ring-offset-color": [{ "ring-offset": F() }],
- "inset-ring-w": [{ "inset-ring": oe() }],
- "inset-ring-color": [{ "inset-ring": F() }],
+ "ring-color": [{ ring: P() }],
+ "ring-offset-w": [{ "ring-offset": [U, mm] }],
+ "ring-offset-color": [{ "ring-offset": P() }],
+ "inset-ring-w": [{ "inset-ring": se() }],
+ "inset-ring-color": [{ "inset-ring": P() }],
"text-shadow": [{ "text-shadow": [
"none",
f,
- Tm,
- ym
+ Em,
+ bm
] }],
- "text-shadow-color": [{ "text-shadow": F() }],
+ "text-shadow-color": [{ "text-shadow": P() }],
opacity: [{ opacity: [
- W,
- K,
- G
+ U,
+ G,
+ W
] }],
"mix-blend": [{ "mix-blend": [
- ...ce(),
+ ...le(),
"plus-darker",
"plus-lighter"
] }],
- "bg-blend": [{ "bg-blend": ce() }],
+ "bg-blend": [{ "bg-blend": le() }],
"mask-clip": [{ "mask-clip": [
"border",
"padding",
@@ -20020,51 +20020,51 @@ var Tf = /* @__PURE__ */ g(((e) => {
"intersect",
"exclude"
] }],
- "mask-image-linear-pos": [{ "mask-linear": [W] }],
- "mask-image-linear-from-pos": [{ "mask-linear-from": le() }],
- "mask-image-linear-to-pos": [{ "mask-linear-to": le() }],
- "mask-image-linear-from-color": [{ "mask-linear-from": F() }],
- "mask-image-linear-to-color": [{ "mask-linear-to": F() }],
- "mask-image-t-from-pos": [{ "mask-t-from": le() }],
- "mask-image-t-to-pos": [{ "mask-t-to": le() }],
- "mask-image-t-from-color": [{ "mask-t-from": F() }],
- "mask-image-t-to-color": [{ "mask-t-to": F() }],
- "mask-image-r-from-pos": [{ "mask-r-from": le() }],
- "mask-image-r-to-pos": [{ "mask-r-to": le() }],
- "mask-image-r-from-color": [{ "mask-r-from": F() }],
- "mask-image-r-to-color": [{ "mask-r-to": F() }],
- "mask-image-b-from-pos": [{ "mask-b-from": le() }],
- "mask-image-b-to-pos": [{ "mask-b-to": le() }],
- "mask-image-b-from-color": [{ "mask-b-from": F() }],
- "mask-image-b-to-color": [{ "mask-b-to": F() }],
- "mask-image-l-from-pos": [{ "mask-l-from": le() }],
- "mask-image-l-to-pos": [{ "mask-l-to": le() }],
- "mask-image-l-from-color": [{ "mask-l-from": F() }],
- "mask-image-l-to-color": [{ "mask-l-to": F() }],
- "mask-image-x-from-pos": [{ "mask-x-from": le() }],
- "mask-image-x-to-pos": [{ "mask-x-to": le() }],
- "mask-image-x-from-color": [{ "mask-x-from": F() }],
- "mask-image-x-to-color": [{ "mask-x-to": F() }],
- "mask-image-y-from-pos": [{ "mask-y-from": le() }],
- "mask-image-y-to-pos": [{ "mask-y-to": le() }],
- "mask-image-y-from-color": [{ "mask-y-from": F() }],
- "mask-image-y-to-color": [{ "mask-y-to": F() }],
- "mask-image-radial": [{ "mask-radial": [K, G] }],
- "mask-image-radial-from-pos": [{ "mask-radial-from": le() }],
- "mask-image-radial-to-pos": [{ "mask-radial-to": le() }],
- "mask-image-radial-from-color": [{ "mask-radial-from": F() }],
- "mask-image-radial-to-color": [{ "mask-radial-to": F() }],
+ "mask-image-linear-pos": [{ "mask-linear": [U] }],
+ "mask-image-linear-from-pos": [{ "mask-linear-from": ue() }],
+ "mask-image-linear-to-pos": [{ "mask-linear-to": ue() }],
+ "mask-image-linear-from-color": [{ "mask-linear-from": P() }],
+ "mask-image-linear-to-color": [{ "mask-linear-to": P() }],
+ "mask-image-t-from-pos": [{ "mask-t-from": ue() }],
+ "mask-image-t-to-pos": [{ "mask-t-to": ue() }],
+ "mask-image-t-from-color": [{ "mask-t-from": P() }],
+ "mask-image-t-to-color": [{ "mask-t-to": P() }],
+ "mask-image-r-from-pos": [{ "mask-r-from": ue() }],
+ "mask-image-r-to-pos": [{ "mask-r-to": ue() }],
+ "mask-image-r-from-color": [{ "mask-r-from": P() }],
+ "mask-image-r-to-color": [{ "mask-r-to": P() }],
+ "mask-image-b-from-pos": [{ "mask-b-from": ue() }],
+ "mask-image-b-to-pos": [{ "mask-b-to": ue() }],
+ "mask-image-b-from-color": [{ "mask-b-from": P() }],
+ "mask-image-b-to-color": [{ "mask-b-to": P() }],
+ "mask-image-l-from-pos": [{ "mask-l-from": ue() }],
+ "mask-image-l-to-pos": [{ "mask-l-to": ue() }],
+ "mask-image-l-from-color": [{ "mask-l-from": P() }],
+ "mask-image-l-to-color": [{ "mask-l-to": P() }],
+ "mask-image-x-from-pos": [{ "mask-x-from": ue() }],
+ "mask-image-x-to-pos": [{ "mask-x-to": ue() }],
+ "mask-image-x-from-color": [{ "mask-x-from": P() }],
+ "mask-image-x-to-color": [{ "mask-x-to": P() }],
+ "mask-image-y-from-pos": [{ "mask-y-from": ue() }],
+ "mask-image-y-to-pos": [{ "mask-y-to": ue() }],
+ "mask-image-y-from-color": [{ "mask-y-from": P() }],
+ "mask-image-y-to-color": [{ "mask-y-to": P() }],
+ "mask-image-radial": [{ "mask-radial": [G, W] }],
+ "mask-image-radial-from-pos": [{ "mask-radial-from": ue() }],
+ "mask-image-radial-to-pos": [{ "mask-radial-to": ue() }],
+ "mask-image-radial-from-color": [{ "mask-radial-from": P() }],
+ "mask-image-radial-to-color": [{ "mask-radial-to": P() }],
"mask-image-radial-shape": [{ "mask-radial": ["circle", "ellipse"] }],
"mask-image-radial-size": [{ "mask-radial": [{
closest: ["side", "corner"],
farthest: ["side", "corner"]
}] }],
"mask-image-radial-pos": [{ "mask-radial-at": b() }],
- "mask-image-conic-pos": [{ "mask-conic": [W] }],
- "mask-image-conic-from-pos": [{ "mask-conic-from": le() }],
- "mask-image-conic-to-pos": [{ "mask-conic-to": le() }],
- "mask-image-conic-from-color": [{ "mask-conic-from": F() }],
- "mask-image-conic-to-color": [{ "mask-conic-to": F() }],
+ "mask-image-conic-pos": [{ "mask-conic": [U] }],
+ "mask-image-conic-from-pos": [{ "mask-conic-from": ue() }],
+ "mask-image-conic-to-pos": [{ "mask-conic-to": ue() }],
+ "mask-image-conic-from-color": [{ "mask-conic-from": P() }],
+ "mask-image-conic-to-color": [{ "mask-conic-to": P() }],
"mask-mode": [{ mask: [
"alpha",
"luminance",
@@ -20078,117 +20078,117 @@ var Tf = /* @__PURE__ */ g(((e) => {
"stroke",
"view"
] }],
- "mask-position": [{ mask: te() }],
- "mask-repeat": [{ mask: ne() }],
- "mask-size": [{ mask: re() }],
+ "mask-position": [{ mask: ne() }],
+ "mask-repeat": [{ mask: re() }],
+ "mask-size": [{ mask: ie() }],
"mask-type": [{ "mask-type": ["alpha", "luminance"] }],
"mask-image": [{ mask: [
"none",
- K,
- G
+ G,
+ W
] }],
filter: [{ filter: [
"",
"none",
- K,
- G
+ G,
+ W
] }],
- blur: [{ blur: ue() }],
+ blur: [{ blur: de() }],
brightness: [{ brightness: [
- W,
- K,
- G
+ U,
+ G,
+ W
] }],
contrast: [{ contrast: [
- W,
- K,
- G
+ U,
+ G,
+ W
] }],
"drop-shadow": [{ "drop-shadow": [
"",
"none",
p,
- Tm,
- ym
+ Em,
+ bm
] }],
- "drop-shadow-color": [{ "drop-shadow": F() }],
+ "drop-shadow-color": [{ "drop-shadow": P() }],
grayscale: [{ grayscale: [
"",
- W,
- K,
- G
+ U,
+ G,
+ W
] }],
"hue-rotate": [{ "hue-rotate": [
- W,
- K,
- G
+ U,
+ G,
+ W
] }],
invert: [{ invert: [
"",
- W,
- K,
- G
+ U,
+ G,
+ W
] }],
saturate: [{ saturate: [
- W,
- K,
- G
+ U,
+ G,
+ W
] }],
sepia: [{ sepia: [
"",
- W,
- K,
- G
+ U,
+ G,
+ W
] }],
"backdrop-filter": [{ "backdrop-filter": [
"",
"none",
- K,
- G
+ G,
+ W
] }],
- "backdrop-blur": [{ "backdrop-blur": ue() }],
+ "backdrop-blur": [{ "backdrop-blur": de() }],
"backdrop-brightness": [{ "backdrop-brightness": [
- W,
- K,
- G
+ U,
+ G,
+ W
] }],
"backdrop-contrast": [{ "backdrop-contrast": [
- W,
- K,
- G
+ U,
+ G,
+ W
] }],
"backdrop-grayscale": [{ "backdrop-grayscale": [
"",
- W,
- K,
- G
+ U,
+ G,
+ W
] }],
"backdrop-hue-rotate": [{ "backdrop-hue-rotate": [
- W,
- K,
- G
+ U,
+ G,
+ W
] }],
"backdrop-invert": [{ "backdrop-invert": [
"",
- W,
- K,
- G
+ U,
+ G,
+ W
] }],
"backdrop-opacity": [{ "backdrop-opacity": [
- W,
- K,
- G
+ U,
+ G,
+ W
] }],
"backdrop-saturate": [{ "backdrop-saturate": [
- W,
- K,
- G
+ U,
+ G,
+ W
] }],
"backdrop-sepia": [{ "backdrop-sepia": [
"",
- W,
- K,
- G
+ U,
+ G,
+ W
] }],
"border-collapse": [{ border: ["collapse", "separate"] }],
"border-spacing": [{ "border-spacing": w() }],
@@ -20204,56 +20204,56 @@ var Tf = /* @__PURE__ */ g(((e) => {
"shadow",
"transform",
"none",
- K,
- G
+ G,
+ W
] }],
"transition-behavior": [{ transition: ["normal", "discrete"] }],
duration: [{ duration: [
- W,
+ U,
"initial",
- K,
- G
+ G,
+ W
] }],
ease: [{ ease: [
"linear",
"initial",
_,
- K,
- G
+ G,
+ W
] }],
delay: [{ delay: [
- W,
- K,
- G
+ U,
+ G,
+ W
] }],
animate: [{ animate: [
"none",
v,
- K,
- G
+ G,
+ W
] }],
backface: [{ backface: ["hidden", "visible"] }],
perspective: [{ perspective: [
h,
- K,
- G
+ G,
+ W
] }],
"perspective-origin": [{ "perspective-origin": x() }],
- rotate: [{ rotate: de() }],
- "rotate-x": [{ "rotate-x": de() }],
- "rotate-y": [{ "rotate-y": de() }],
- "rotate-z": [{ "rotate-z": de() }],
- scale: [{ scale: fe() }],
- "scale-x": [{ "scale-x": fe() }],
- "scale-y": [{ "scale-y": fe() }],
- "scale-z": [{ "scale-z": fe() }],
+ rotate: [{ rotate: fe() }],
+ "rotate-x": [{ "rotate-x": fe() }],
+ "rotate-y": [{ "rotate-y": fe() }],
+ "rotate-z": [{ "rotate-z": fe() }],
+ scale: [{ scale: pe() }],
+ "scale-x": [{ "scale-x": pe() }],
+ "scale-y": [{ "scale-y": pe() }],
+ "scale-z": [{ "scale-z": pe() }],
"scale-3d": ["scale-3d"],
- skew: [{ skew: I() }],
- "skew-x": [{ "skew-x": I() }],
- "skew-y": [{ "skew-y": I() }],
+ skew: [{ skew: F() }],
+ "skew-x": [{ "skew-x": F() }],
+ "skew-y": [{ "skew-y": F() }],
transform: [{ transform: [
- K,
G,
+ W,
"",
"none",
"gpu",
@@ -20261,19 +20261,19 @@ var Tf = /* @__PURE__ */ g(((e) => {
] }],
"transform-origin": [{ origin: x() }],
"transform-style": [{ transform: ["3d", "flat"] }],
- translate: [{ translate: L() }],
- "translate-x": [{ "translate-x": L() }],
- "translate-y": [{ "translate-y": L() }],
- "translate-z": [{ "translate-z": L() }],
+ translate: [{ translate: I() }],
+ "translate-x": [{ "translate-x": I() }],
+ "translate-y": [{ "translate-y": I() }],
+ "translate-z": [{ "translate-z": I() }],
"translate-none": ["translate-none"],
zoom: [{ zoom: [
- nm,
- K,
- G
+ rm,
+ G,
+ W
] }],
- accent: [{ accent: F() }],
+ accent: [{ accent: P() }],
appearance: [{ appearance: ["none", "auto"] }],
- "caret-color": [{ caret: F() }],
+ "caret-color": [{ caret: P() }],
"color-scheme": [{ scheme: [
"normal",
"dark",
@@ -20319,8 +20319,8 @@ var Tf = /* @__PURE__ */ g(((e) => {
"nwse-resize",
"zoom-in",
"zoom-out",
- K,
- G
+ G,
+ W
] }],
"field-sizing": [{ "field-sizing": ["fixed", "content"] }],
"pointer-events": [{ "pointer-events": ["auto", "none"] }],
@@ -20331,8 +20331,8 @@ var Tf = /* @__PURE__ */ g(((e) => {
"x"
] }],
"scroll-behavior": [{ scroll: ["auto", "smooth"] }],
- "scrollbar-thumb-color": [{ "scrollbar-thumb": F() }],
- "scrollbar-track-color": [{ "scrollbar-track": F() }],
+ "scrollbar-thumb-color": [{ "scrollbar-thumb": P() }],
+ "scrollbar-track-color": [{ "scrollbar-track": P() }],
"scrollbar-gutter": [{ "scrollbar-gutter": [
"auto",
"stable",
@@ -20406,17 +20406,17 @@ var Tf = /* @__PURE__ */ g(((e) => {
"scroll",
"contents",
"transform",
- K,
- G
+ G,
+ W
] }],
- fill: [{ fill: ["none", ...F()] }],
+ fill: [{ fill: ["none", ...P()] }],
"stroke-w": [{ stroke: [
- W,
- bm,
- pm,
- mm
+ U,
+ xm,
+ mm,
+ hm
] }],
- stroke: [{ stroke: ["none", ...F()] }],
+ stroke: [{ stroke: ["none", ...P()] }],
"forced-color-adjust": [{ "forced-color-adjust": ["auto", "none"] }]
},
conflictingClassGroups: {
@@ -20672,16 +20672,16 @@ var Tf = /* @__PURE__ */ g(((e) => {
"selection"
]
};
-}, Rm = (e, { cacheSize: t, prefix: n, experimentalParseClassName: r, extend: i = {}, override: a = {} }) => (zm(e, "cacheSize", t), zm(e, "prefix", n), zm(e, "experimentalParseClassName", r), Bm(e.theme, a.theme), Bm(e.classGroups, a.classGroups), Bm(e.conflictingClassGroups, a.conflictingClassGroups), Bm(e.conflictingClassGroupModifiers, a.conflictingClassGroupModifiers), zm(e, "postfixLookupClassGroups", a.postfixLookupClassGroups), zm(e, "orderSensitiveModifiers", a.orderSensitiveModifiers), Vm(e.theme, i.theme), Vm(e.classGroups, i.classGroups), Vm(e.conflictingClassGroups, i.conflictingClassGroups), Vm(e.conflictingClassGroupModifiers, i.conflictingClassGroupModifiers), Hm(e, i, "postfixLookupClassGroups"), Hm(e, i, "orderSensitiveModifiers"), e), zm = (e, t, n) => {
+}, zm = (e, { cacheSize: t, prefix: n, experimentalParseClassName: r, extend: i = {}, override: a = {} }) => (Bm(e, "cacheSize", t), Bm(e, "prefix", n), Bm(e, "experimentalParseClassName", r), Vm(e.theme, a.theme), Vm(e.classGroups, a.classGroups), Vm(e.conflictingClassGroups, a.conflictingClassGroups), Vm(e.conflictingClassGroupModifiers, a.conflictingClassGroupModifiers), Bm(e, "postfixLookupClassGroups", a.postfixLookupClassGroups), Bm(e, "orderSensitiveModifiers", a.orderSensitiveModifiers), Hm(e.theme, i.theme), Hm(e.classGroups, i.classGroups), Hm(e.conflictingClassGroups, i.conflictingClassGroups), Hm(e.conflictingClassGroupModifiers, i.conflictingClassGroupModifiers), Um(e, i, "postfixLookupClassGroups"), Um(e, i, "orderSensitiveModifiers"), e), Bm = (e, t, n) => {
n !== void 0 && (e[t] = n);
-}, Bm = (e, t) => {
- if (t) for (let n in t) zm(e, n, t[n]);
}, Vm = (e, t) => {
- if (t) for (let n in t) Hm(e, t, n);
-}, Hm = (e, t, n) => {
+ if (t) for (let n in t) Bm(e, n, t[n]);
+}, Hm = (e, t) => {
+ if (t) for (let n in t) Um(e, t, n);
+}, Um = (e, t, n) => {
let r = t[n];
r !== void 0 && (e[n] = e[n] ? e[n].concat(r) : r);
-}, Um = (e, ...t) => typeof e == "function" ? Wp(Lm, e, ...t) : Wp(() => Rm(Lm(), e), ...t), Wm = [
+}, Wm = (e, ...t) => typeof e == "function" ? Gp(Rm, e, ...t) : Gp(() => zm(Rm(), e), ...t), Gm = [
"large-title",
"display-1",
"display-2",
@@ -20695,12 +20695,12 @@ var Tf = /* @__PURE__ */ g(((e) => {
"body-2",
"caption-1",
"caption-2"
-], Gm = [
+], Km = [
"regular",
"medium",
"semibold",
"bold"
-], Km = Um({ extend: { classGroups: { "font-size": [{ text: Wm.flatMap((e) => Gm.map((t) => `${e}-${t}`)) }] } } });
+], K = Wm({ extend: { classGroups: { "font-size": [{ text: Gm.flatMap((e) => Km.map((t) => `${e}-${t}`)) }] } } });
function qm(e) {
return e;
}
@@ -20728,7 +20728,7 @@ var Jm = qm({
function Ym({ variant: e = "bold", color: t = "neutral", className: n, ref: r, ...i }) {
return /* @__PURE__ */ (0, w.jsx)("span", {
ref: r,
- className: Km(Jm.base, Jm.variant[e], Jm.color[t], n),
+ className: K(Jm.base, Jm.variant[e], Jm.color[t], n),
...i
});
}
@@ -20946,7 +20946,7 @@ function fh({ label: e, value: t, max: n = 100, stops: r = [] }) {
}
//#endregion
//#region src/react/query.ts
-var ph = new Ze({ defaultOptions: { queries: {
+var ph = new Qe({ defaultOptions: { queries: {
networkMode: "always",
retry: 0,
refetchOnWindowFocus: !1,
@@ -21168,7 +21168,7 @@ function Ih({ live: e = !1, children: t }) {
});
}
function Lh(e) {
- let t = ut({
+ let t = dt({
queryKey: hh,
queryFn: ({ signal: e }) => yh(e),
refetchInterval: (e) => vh(e.state.data)
@@ -21193,7 +21193,7 @@ function Lh(e) {
}) : null,
d ? /* @__PURE__ */ (0, w.jsx)(lh, {
shell: "plain",
- icon: Yf,
+ icon: Xf,
title: "还没有任务记录",
children: "扫描、追更检查、批量操作和命令行批处理跑起来之后,这里会显示它们的进度与结果。"
}) : /* @__PURE__ */ (0, w.jsxs)(w.Fragment, { children: [
@@ -21282,7 +21282,7 @@ function Vh(e, t) {
return n;
}
function Hh(e, t, n) {
- let { ref: r, ...i } = Vh(n, e.slot) || {}, a = zr((0, C.useMemo)(() => br(t, r), [t, r])), o = V(i, e);
+ let { ref: r, ...i } = Vh(n, e.slot) || {}, a = Br((0, C.useMemo)(() => xr(t, r), [t, r])), o = B(i, e);
return "style" in i && i.style && "style" in e && e.style && (o.style = typeof i.style == "function" || typeof e.style == "function" ? (t) => {
let n = typeof i.style == "function" ? i.style(t) : i.style, r = {
...t.defaultStyle,
@@ -21304,7 +21304,7 @@ function Uh(e = !0) {
let [t, n] = (0, C.useState)(e), r = (0, C.useRef)(!1), i = (0, C.useCallback)((e) => {
r.current = !0, n(!!e);
}, []);
- return Xt(() => {
+ return Zt(() => {
r.current || n(!1);
}, []), [i, t];
}
@@ -21314,8 +21314,8 @@ function Wh(e) {
return n;
}
function Gh(e, t, n) {
- let { render: r, ...i } = t, a = (0, C.useRef)(null), o = (0, C.useMemo)(() => br(n, a), [n, a]);
- Xt(() => {}, [e, r]);
+ let { render: r, ...i } = t, a = (0, C.useRef)(null), o = (0, C.useMemo)(() => xr(n, a), [n, a]);
+ Zt(() => {}, [e, r]);
let s = {
...i,
ref: o
@@ -21335,7 +21335,7 @@ var Kh = {}, Y = new Proxy({}, { get(e, t) {
}
};
function Zh(e, t, n) {
- return xt({
+ return St({
items: t ? e.getChildren(t.key) : e,
dependencies: [n],
children(t) {
@@ -21374,7 +21374,7 @@ function eg(e) {
}
//#endregion
//#region node_modules/react-aria-components/dist/private/Label.mjs
-var tg = /*#__PURE__*/ (0, C.createContext)({}), ng = /*#__PURE__*/ Kr(function(e, t) {
+var tg = /*#__PURE__*/ (0, C.createContext)({}), ng = /*#__PURE__*/ qr(function(e, t) {
[e, t] = Hh(e, t, tg);
let { elementType: n = "label", ...r } = e, i = Y[n];
return /*#__PURE__*/ C.createElement(i, {
@@ -21382,11 +21382,11 @@ var tg = /*#__PURE__*/ (0, C.createContext)({}), ng = /*#__PURE__*/ Kr(function(
...r,
ref: t
});
-}), rg = /*#__PURE__*/ (0, C.createContext)(null), ig = /*#__PURE__*/ (0, C.createContext)({}), ag = /*#__PURE__*/ Kr(function(e, t) {
+}), rg = /*#__PURE__*/ (0, C.createContext)(null), ig = /*#__PURE__*/ (0, C.createContext)({}), ag = /*#__PURE__*/ qr(function(e, t) {
[e, t] = Hh(e, t, ig);
- let n = e, { isPending: r } = n, { buttonProps: i, isPressed: a } = ka(e, t);
+ let n = e, { isPending: r } = n, { buttonProps: i, isPressed: a } = Aa(e, t);
i = sg(i, r);
- let { focusProps: o, isFocused: s, isFocusVisible: c } = Ec(e), { hoverProps: l, isHovered: u } = Nc({
+ let { focusProps: o, isFocused: s, isFocusVisible: c } = Dc(e), { hoverProps: l, isHovered: u } = Pc({
...e,
isDisabled: e.isDisabled || r
}), d = {
@@ -21400,21 +21400,21 @@ var tg = /*#__PURE__*/ (0, C.createContext)({}), ng = /*#__PURE__*/ Kr(function(
...e,
values: d,
defaultClassName: "react-aria-Button"
- }), p = _r(i.id), m = _r(), h = i["aria-labelledby"];
+ }), p = vr(i.id), m = vr(), h = i["aria-labelledby"];
r && (h ? h = `${h} ${m}` : i["aria-label"] && (h = `${p} ${m}`));
let g = (0, C.useRef)(r);
(0, C.useEffect)(() => {
let e = { "aria-labelledby": h || p };
- (!g.current && s && r || g.current && s && !r) && so(e, "assertive"), g.current = r;
+ (!g.current && s && r || g.current && s && !r) && co(e, "assertive"), g.current = r;
}, [
r,
s,
h,
p
]);
- let _ = H(e, { global: !0 });
+ let _ = V(e, { global: !0 });
return delete _.onClick, /*#__PURE__*/ C.createElement(Y.button, {
- ...V(_, f, i, o, l),
+ ...B(_, f, i, o, l),
type: i.type === "submit" && r ? "button" : i.type,
id: p,
ref: t,
@@ -21446,7 +21446,7 @@ var cg = /*#__PURE__*/ (0, C.createContext)({}), lg = /*#__PURE__*/ (0, C.forwar
ref: t,
className: i ?? "react-aria-Heading"
}, n);
-}), ug = /*#__PURE__*/ (0, C.createContext)({}), dg = /*#__PURE__*/ Kr(function(e, t) {
+}), ug = /*#__PURE__*/ (0, C.createContext)({}), dg = /*#__PURE__*/ qr(function(e, t) {
[e, t] = Hh(e, t, ug);
let { elementType: n = "span", ...r } = e, i = Y[n];
return /*#__PURE__*/ C.createElement(i, {
@@ -21456,13 +21456,13 @@ var cg = /*#__PURE__*/ (0, C.createContext)({}), lg = /*#__PURE__*/ (0, C.forwar
});
}), fg = /*#__PURE__*/ (0, C.createContext)(null), pg = /*#__PURE__*/ (0, C.createContext)(null), mg = /*#__PURE__*/ (0, C.createContext)(null), hg = /*#__PURE__*/ (0, C.createContext)(null), gg = /*#__PURE__*/ (0, C.createContext)(null), _g = /*#__PURE__*/ (0, C.createContext)(null);
function vg(e, t) {
- let { validationBehavior: n } = Vh(pg) || {}, r = e.validationBehavior ?? n ?? "native", i = (0, C.useContext)(gg), a = zr((0, C.useMemo)(() => br(t, e.inputRef === void 0 ? null : e.inputRef), [t, e.inputRef])), o = {
+ let { validationBehavior: n } = Vh(pg) || {}, r = e.validationBehavior ?? n ?? "native", i = (0, C.useContext)(gg), a = Br((0, C.useMemo)(() => xr(t, e.inputRef === void 0 ? null : e.inputRef), [t, e.inputRef])), o = {
...Wh(e),
children: typeof e.children == "function" || e.children,
value: e.value,
validationBehavior: r
};
- return [i ? Ko(o, i, a) : zo(o, Go(e), a), a];
+ return [i ? qo(o, i, a) : Bo(o, Ko(e), a), a];
}
var yg = /*#__PURE__*/ (0, C.forwardRef)(function(e, t) {
let { inputRef: n = null, ...r } = e;
@@ -21479,7 +21479,7 @@ var yg = /*#__PURE__*/ (0, C.forwardRef)(function(e, t) {
ref: t
}));
}), bg = /*#__PURE__*/ (0, C.forwardRef)(function(e, t) {
- let { labelProps: n, inputProps: r, isSelected: i, isDisabled: a, isReadOnly: o, isPressed: s, isInvalid: c, inputRef: l, defaultClassName: u, isIndeterminate: d, isRequired: f } = (0, C.useContext)(_g), { isFocused: p, isFocusVisible: m, focusProps: h } = Ec(), g = a || o, { hoverProps: _, isHovered: v } = Nc({
+ let { labelProps: n, inputProps: r, isSelected: i, isDisabled: a, isReadOnly: o, isPressed: s, isInvalid: c, inputRef: l, defaultClassName: u, isIndeterminate: d, isRequired: f } = (0, C.useContext)(_g), { isFocused: p, isFocusVisible: m, focusProps: h } = Dc(), g = a || o, { hoverProps: _, isHovered: v } = Pc({
...e,
isDisabled: g
}), y = Bh({
@@ -21497,9 +21497,9 @@ var yg = /*#__PURE__*/ (0, C.forwardRef)(function(e, t) {
isInvalid: c,
isRequired: f || !1
}
- }), b = H(e, { global: !0 });
+ }), b = V(e, { global: !0 });
return delete b.id, delete b.onClick, /*#__PURE__*/ C.createElement(Y.label, {
- ...V(b, n, _, y),
+ ...B(b, n, _, y),
ref: t,
slot: e.slot || void 0,
"data-selected": i || void 0,
@@ -21512,20 +21512,20 @@ var yg = /*#__PURE__*/ (0, C.forwardRef)(function(e, t) {
"data-readonly": o || void 0,
"data-invalid": c || void 0,
"data-required": f || void 0
- }, /*#__PURE__*/ C.createElement(Xo, { elementType: "span" }, /*#__PURE__*/ C.createElement("input", {
- ...V(r, h),
+ }, /*#__PURE__*/ C.createElement(Zo, { elementType: "span" }, /*#__PURE__*/ C.createElement("input", {
+ ...B(r, h),
ref: l
})), y.children);
}), xg = /*#__PURE__*/ (0, C.createContext)({}), Sg = /*#__PURE__*/ (0, C.forwardRef)(function(e, t) {
[e, t] = Hh(e, t, xg);
let { isDisabled: n, isInvalid: r, isReadOnly: i, onHoverStart: a, onHoverChange: o, onHoverEnd: s, ...c } = e;
n ??= !!e["aria-disabled"] && e["aria-disabled"] !== "false", r ??= !!e["aria-invalid"] && e["aria-invalid"] !== "false";
- let { hoverProps: l, isHovered: u } = Nc({
+ let { hoverProps: l, isHovered: u } = Pc({
onHoverStart: a,
onHoverChange: o,
onHoverEnd: s,
isDisabled: n
- }), { isFocused: d, isFocusVisible: f, focusProps: p } = Ec({ within: !0 }), m = Bh({
+ }), { isFocused: d, isFocusVisible: f, focusProps: p } = Dc({ within: !0 }), m = Bh({
...e,
values: {
isHovered: u,
@@ -21537,7 +21537,7 @@ var yg = /*#__PURE__*/ (0, C.forwardRef)(function(e, t) {
defaultClassName: "react-aria-Group"
});
return /*#__PURE__*/ C.createElement(Y.div, {
- ...V(c, p, l),
+ ...B(c, p, l),
...m,
ref: t,
role: e.role ?? "group",
@@ -21552,12 +21552,12 @@ var yg = /*#__PURE__*/ (0, C.forwardRef)(function(e, t) {
}), Cg = /*#__PURE__*/ (0, C.createContext)({}), wg = (e) => {
let { onHoverStart: t, onHoverChange: n, onHoverEnd: r, ...i } = e;
return i;
-}, Tg = /*#__PURE__*/ Kr(function(e, t) {
+}, Tg = /*#__PURE__*/ qr(function(e, t) {
[e, t] = Hh(e, t, Cg);
- let { hoverProps: n, isHovered: r } = Nc({
+ let { hoverProps: n, isHovered: r } = Pc({
...e,
isDisabled: e.disabled
- }), { isFocused: i, isFocusVisible: a, focusProps: o } = Ec({
+ }), { isFocused: i, isFocusVisible: a, focusProps: o } = Dc({
isTextInput: !0,
autoFocus: e.autoFocus
}), s = !!e["aria-invalid"] && e["aria-invalid"] !== "false", c = Bh({
@@ -21572,7 +21572,7 @@ var yg = /*#__PURE__*/ (0, C.forwardRef)(function(e, t) {
defaultClassName: "react-aria-Input"
});
return /*#__PURE__*/ C.createElement(Y.input, {
- ...V(wg(e), o, n),
+ ...B(wg(e), o, n),
...c,
ref: t,
"data-focused": i || void 0,
@@ -21971,7 +21971,7 @@ function m_(e) {
//#endregion
//#region node_modules/react-aria-components/dist/private/SelectionIndicator.mjs
var h_ = /*#__PURE__*/ (0, C.createContext)({ isSelected: !1 }), g_ = /*#__PURE__*/ (0, C.createContext)({});
-(class extends ft {
+(class extends pt {
static {
this.type = "separator";
}
@@ -22049,7 +22049,7 @@ function b_(e, t) {
return !0;
}
function x_(e) {
- let { selectionMode: t = "none", disallowEmptySelection: n = !1, allowDuplicateSelectionEvents: r, selectionBehavior: i = "toggle", disabledBehavior: a = "all" } = e, o = (0, C.useRef)(!1), [, s] = (0, C.useState)(!1), c = (0, C.useRef)(null), l = (0, C.useRef)(null), [, u] = (0, C.useState)(null), [d, f] = Wo((0, C.useMemo)(() => S_(e.selectedKeys), [e.selectedKeys]), (0, C.useMemo)(() => S_(e.defaultSelectedKeys, new y_()), [e.defaultSelectedKeys]), e.onSelectionChange), p = (0, C.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), [m, h] = (0, C.useState)(i);
+ let { selectionMode: t = "none", disallowEmptySelection: n = !1, allowDuplicateSelectionEvents: r, selectionBehavior: i = "toggle", disabledBehavior: a = "all" } = e, o = (0, C.useRef)(!1), [, s] = (0, C.useState)(!1), c = (0, C.useRef)(null), l = (0, C.useRef)(null), [, u] = (0, C.useState)(null), [d, f] = Go((0, C.useMemo)(() => S_(e.selectedKeys), [e.selectedKeys]), (0, C.useMemo)(() => S_(e.defaultSelectedKeys, new y_()), [e.defaultSelectedKeys]), e.onSelectionChange), p = (0, C.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), [m, h] = (0, C.useState)(i);
i === "replace" && m === "toggle" && typeof d == "object" && d.size === 0 && h("replace");
let g = (0, C.useRef)(i);
return (0, C.useEffect)(() => {
@@ -22143,7 +22143,7 @@ var C_ = class e {
let e = null;
for (let t of this.state.selectedKeys) {
let n = this.collection.getItem(t);
- (!e || n && fc(this.collection, n, e) < 0) && (e = n);
+ (!e || n && pc(this.collection, n, e) < 0) && (e = n);
}
return e?.key ?? null;
}
@@ -22151,7 +22151,7 @@ var C_ = class e {
let e = null;
for (let t of this.state.selectedKeys) {
let n = this.collection.getItem(t);
- (!e || n && fc(this.collection, n, e) > 0) && (e = n);
+ (!e || n && pc(this.collection, n, e) > 0) && (e = n);
}
return e?.key ?? null;
}
@@ -22181,7 +22181,7 @@ var C_ = class e {
}
getKeyRange(e, t) {
let n = this.collection.getItem(e), r = this.collection.getItem(t);
- return n && r ? fc(this.collection, n, r) <= 0 ? this.getKeyRangeInternal(e, t) : this.getKeyRangeInternal(t, e) : [];
+ return n && r ? pc(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);
@@ -22231,7 +22231,7 @@ var C_ = 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(lc(cc(i, e))?.key ?? null);
+ i?.type === "item" && t.push(r), i?.hasChildNodes && (this.allowsCellSelection || i.type !== "item") && n(uc(lc(i, e))?.key ?? null);
}
r = e.getKeyAfter(r);
}
@@ -22494,14 +22494,14 @@ function j_(e, t) {
//#endregion
//#region node_modules/react-aria/dist/private/utils/useLoadMoreSentinel.mjs
function M_(e, t) {
- let { collection: n, onLoadMore: r, scrollOffset: i = 1, direction: a = "end" } = e, o = (0, C.useRef)(null), s = Ei((e) => {
+ let { collection: n, onLoadMore: r, scrollOffset: i = 1, direction: a = "end" } = e, o = (0, C.useRef)(null), s = Di((e) => {
for (let t of e) t.isIntersecting && r && r();
});
- Xt(() => {
+ Zt(() => {
if (t.current) {
let e = 100 * i, n = a === "start" ? `${e}% 0px 0px 0px` : `0px ${e}% ${e}% ${e}%`;
o.current = new IntersectionObserver(s, {
- root: fo(t?.current),
+ root: po(t?.current),
rootMargin: n
}), o.current.observe(t.current);
}
@@ -22524,7 +22524,7 @@ var N_ = /*#__PURE__*/ (0, C.createContext)(null), P_ = /*#__PURE__*/ (0, C.crea
state: n,
props: e,
listBoxRef: t
- }) : /*#__PURE__*/ C.createElement(ni, { content: /*#__PURE__*/ C.createElement(mi, e) }, (n) => /*#__PURE__*/ C.createElement(I_, {
+ }) : /*#__PURE__*/ C.createElement(ri, { content: /*#__PURE__*/ C.createElement(hi, e) }, (n) => /*#__PURE__*/ C.createElement(I_, {
props: e,
listBoxRef: t,
collection: n
@@ -22549,10 +22549,10 @@ function I_({ props: e, listBoxRef: t, collection: n }) {
}
function L_({ state: e, props: t, listBoxRef: n }) {
[t, n] = Hh(t, n, qh);
- let { dragAndDropHooks: r, layout: i = "stack", orientation: a = "vertical", filter: o } = t, s = A_(e, o), { collection: c, selectionManager: l } = s, u = !!r?.useDraggableCollectionState, d = !!r?.useDroppableCollectionState, { direction: f } = zi(), { disabledBehavior: p, disabledKeys: m } = l, h = _c({
+ let { dragAndDropHooks: r, layout: i = "stack", orientation: a = "vertical", filter: o } = t, s = A_(e, o), { collection: c, selectionManager: l } = s, u = !!r?.useDraggableCollectionState, d = !!r?.useDroppableCollectionState, { direction: f } = Bi(), { disabledBehavior: p, disabledKeys: m } = l, h = vc({
usage: "search",
sensitivity: "base"
- }), { isVirtualized: g, layoutDelegate: _, dropTargetDelegate: v, CollectionRoot: y } = (0, C.useContext)($h), b = (0, C.useMemo)(() => t.keyboardDelegate || new ps({
+ }), { isVirtualized: g, layoutDelegate: _, dropTargetDelegate: v, CollectionRoot: y } = (0, C.useContext)($h), b = (0, C.useMemo)(() => t.keyboardDelegate || new ms({
collection: c,
collator: h,
ref: n,
@@ -22573,7 +22573,7 @@ function L_({ state: e, props: t, listBoxRef: n }) {
t.keyboardDelegate,
i,
_
- ]), { listBoxProps: x } = kl({
+ ]), { listBoxProps: x } = Al({
...t,
shouldSelectOnPressUp: u || t.shouldSelectOnPressUp,
keyboardDelegate: b,
@@ -22605,7 +22605,7 @@ function L_({ state: e, props: t, listBoxRef: n }) {
dropTargetDelegate: e
}, w, n), E = w.isDropTarget({ type: "root" });
}
- let { focusProps: k, isFocused: A, isFocusVisible: j } = Ec(), M = s.collection.size === 0, N = {
+ let { focusProps: k, isFocused: A, isFocusVisible: j } = Dc(), M = s.collection.size === 0, N = {
isDropTarget: E,
isEmpty: M,
isFocused: A,
@@ -22618,14 +22618,14 @@ function L_({ state: e, props: t, listBoxRef: n }) {
children: void 0,
defaultClassName: "react-aria-ListBox",
values: N
- }), P = null;
- M && t.renderEmptyState && (P = /*#__PURE__*/ C.createElement("div", {
+ }), te = null;
+ M && t.renderEmptyState && (te = /*#__PURE__*/ C.createElement("div", {
role: "option",
style: { display: "contents" }
}, t.renderEmptyState(N)));
- let F = H(t, { global: !0 });
- return /*#__PURE__*/ C.createElement(Fa, null, /*#__PURE__*/ C.createElement(Y.div, {
- ...V(F, ee, x, k, T?.collectionProps),
+ let P = V(t, { global: !0 });
+ return /*#__PURE__*/ C.createElement(Ia, null, /*#__PURE__*/ C.createElement(Y.div, {
+ ...B(P, ee, x, k, T?.collectionProps),
ref: n,
slot: t.slot || void 0,
onScroll: t.onScroll,
@@ -22654,10 +22654,10 @@ function L_({ state: e, props: t, listBoxRef: n }) {
scrollRef: n,
persistedKeys: d_(l, r, w),
renderDropIndicator: u_(r, w)
- }))), P, D));
+ }))), te, D));
}
function R_(e, t, n, r = "react-aria-ListBoxSection") {
- let i = (0, C.useContext)(P_), { dragAndDropHooks: a, dropState: o } = (0, C.useContext)(s_), { CollectionBranch: s } = (0, C.useContext)($h), [c, l] = Uh(), { headingProps: u, groupProps: d } = Al({
+ let i = (0, C.useContext)(P_), { dragAndDropHooks: a, dropState: o } = (0, C.useContext)(s_), { CollectionBranch: s } = (0, C.useContext)($h), [c, l] = Uh(), { headingProps: u, groupProps: d } = jl({
heading: l,
"aria-label": e["aria-label"] ?? void 0
}), f = Bh({
@@ -22666,9 +22666,9 @@ function R_(e, t, n, r = "react-aria-ListBoxSection") {
children: void 0,
defaultClassName: r,
values: void 0
- }), p = H(e, { global: !0 });
+ }), p = V(e, { global: !0 });
return delete p.id, /*#__PURE__*/ C.createElement(Y.section, {
- ...V(p, f, d),
+ ...B(p, f, d),
ref: t
}, /*#__PURE__*/ C.createElement(f_.Provider, { value: {
...u,
@@ -22679,16 +22679,16 @@ function R_(e, t, n, r = "react-aria-ListBoxSection") {
renderDropIndicator: u_(a, o)
})));
}
-var z_ = /*#__PURE__*/ ui(ht, function(e, t, n) {
- let r = zr(t), i = (0, C.useContext)(P_), { dragAndDropHooks: a, dragState: o, dropState: s } = (0, C.useContext)(s_), c = o && !(o.isDisabled || o.selectionManager.isDisabled(n.key)), { optionProps: l, labelProps: u, descriptionProps: d, ...f } = jl({
+var z_ = /*#__PURE__*/ di(gt, function(e, t, n) {
+ let r = Br(t), i = (0, C.useContext)(P_), { dragAndDropHooks: a, dragState: o, dropState: s } = (0, C.useContext)(s_), c = o && !(o.isDisabled || o.selectionManager.isDisabled(n.key)), { optionProps: l, labelProps: u, descriptionProps: d, ...f } = Ml({
key: n.key,
"aria-label": e?.["aria-label"]
- }, i, r), { hoverProps: p, isHovered: m } = Nc({
+ }, i, r), { hoverProps: p, isHovered: m } = Pc({
isDisabled: !f.allowsSelection && !f.hasAction && !c,
onHoverStart: n.props.onHoverStart,
onHoverChange: n.props.onHoverChange,
onHoverEnd: n.props.onHoverEnd
- }), { keyboardProps: h } = Rr(e), { focusProps: g } = wr(e), _ = null;
+ }), { keyboardProps: h } = zr(e), { focusProps: g } = Tr(e), _ = null;
o && a && (_ = a.useDraggableItem({
key: n.key,
hasAction: f.hasAction
@@ -22717,9 +22717,9 @@ var z_ = /*#__PURE__*/ ui(ht, function(e, t, n) {
(0, C.useEffect)(() => {
n.textValue;
}, [n.textValue]);
- let x = e.href ? Y.a : Y.div, S = H(e, { global: !0 });
+ let x = e.href ? Y.a : Y.div, S = V(e, { global: !0 });
return delete S.id, delete S.onClick, e.href && l.tabIndex == null && (l.tabIndex = -1), /*#__PURE__*/ C.createElement(x, {
- ...V(S, b, l, p, h, g, _?.dragProps, v?.dropProps),
+ ...B(S, b, l, p, h, g, _?.dragProps, v?.dropProps),
ref: r,
"data-allows-dragging": !!o || void 0,
"data-selected": f.isSelected || void 0,
@@ -22738,7 +22738,7 @@ var z_ = /*#__PURE__*/ ui(ht, function(e, t, n) {
} }], [h_, { isSelected: f.isSelected }]] }, b.children));
});
function B_(e, t) {
- t = zr(t);
+ t = Br(t);
let { dragAndDropHooks: n, dropState: r } = (0, C.useContext)(s_), { dropIndicatorProps: i, isHidden: a, isDropTarget: o } = n.useDropIndicator(e, r, t);
return a ? null : /*#__PURE__*/ C.createElement(H_, {
...e,
@@ -22762,7 +22762,7 @@ function V_(e, t) {
}));
}
var H_ = /*#__PURE__*/ (0, C.forwardRef)(V_);
-ui(mt, function(e, t, n) {
+di(ht, function(e, t, n) {
let r = (0, C.useContext)(P_), { isLoading: i, onLoadMore: a, scrollOffset: o, ...s } = e, c = (0, C.useRef)(null);
M_((0, C.useMemo)(() => ({
onLoadMore: a,
@@ -22797,7 +22797,7 @@ ui(mt, function(e, t, n) {
width: 1
}
})), i && l.children && /*#__PURE__*/ C.createElement(C.Fragment, null, /*#__PURE__*/ C.createElement(Y.div, {
- ...V(H(e, { global: !0 }), { tabIndex: -1 }),
+ ...B(V(e, { global: !0 }), { tabIndex: -1 }),
...l,
role: "option",
ref: t
@@ -22809,7 +22809,7 @@ var U_ = /*#__PURE__*/ (0, C.createContext)({ placement: "bottom" });
//#endregion
//#region node_modules/react-stately/dist/private/overlays/useOverlayTriggerState.mjs
function W_(e) {
- let [t, n] = Wo(e.isOpen, e.defaultOpen || !1, e.onOpenChange), [r, i] = (0, C.useState)(null);
+ let [t, n] = Go(e.isOpen, e.defaultOpen || !1, e.onOpenChange), [r, i] = (0, C.useState)(null);
return {
isOpen: t,
setOpen: n,
@@ -22830,7 +22830,7 @@ function W_(e) {
//#region node_modules/react-aria/dist/private/utils/animation.mjs
function G_(e, t = !0) {
let [n, r] = (0, C.useState)(!0), i = n && t;
- return Xt(() => {
+ return Zt(() => {
if (i && e.current && "getAnimations" in e.current) for (let t of e.current.getAnimations()) t instanceof CSSTransition && t.cancel();
}, [e, i]), q_(e, i, (0, C.useCallback)(() => r(!1), [])), i;
}
@@ -22849,7 +22849,7 @@ function K_(e, t) {
}, [])), i;
}
function q_(e, t, n) {
- Xt(() => {
+ Zt(() => {
if (t && e.current) {
if (!("getAnimations" in e.current)) {
n();
@@ -22862,7 +22862,7 @@ function q_(e, t, n) {
}
let r = !1;
return Promise.allSettled(t.map((e) => e.finished)).then(() => {
- r || (0, Qr.flushSync)(() => {
+ r || (0, $r.flushSync)(() => {
n();
});
}), () => {
@@ -22879,7 +22879,7 @@ function q_(e, t, n) {
//#region node_modules/react-aria-components/dist/private/Popover.mjs
var J_ = /*#__PURE__*/ (0, C.createContext)(null), Y_ = /*#__PURE__*/ (0, C.createContext)(null), X_ = /*#__PURE__*/ (0, C.forwardRef)(function(e, t) {
[e, t] = Hh(e, t, J_);
- let n = (0, C.useContext)($_), r = W_(e), i = e.isOpen != null || e.defaultOpen != null || !n ? r : n, a = K_(t, i.isOpen), o = e.isExiting || !e.shouldSkipAnimation && a || !1, s = qr(), { direction: c } = zi();
+ let n = (0, C.useContext)($_), r = W_(e), i = e.isOpen != null || e.defaultOpen != null || !n ? r : n, a = K_(t, i.isOpen), o = e.isExiting || !e.shouldSkipAnimation && a || !1, s = Jr(), { direction: c } = Bi();
if (s) {
let t = e.children;
return typeof t == "function" && (t = t({
@@ -22900,7 +22900,7 @@ var J_ = /*#__PURE__*/ (0, C.createContext)(null), Y_ = /*#__PURE__*/ (0, C.crea
});
});
function Z_({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContexts: r, ...i }) {
- let a = (0, C.useRef)(null), o = (0, C.useRef)(null), s = (0, C.useContext)(Y_), c = s && i.trigger === "SubmenuTrigger", { popoverProps: l, underlayProps: u, arrowProps: d, placement: f, triggerAnchorPoint: p } = ed({
+ let a = (0, C.useRef)(null), o = (0, C.useRef)(null), s = (0, C.useContext)(Y_), c = s && i.trigger === "SubmenuTrigger", { popoverProps: l, underlayProps: u, arrowProps: d, placement: f, triggerAnchorPoint: p } = td({
...i,
offset: i.offset ?? 8,
arrowRef: a,
@@ -22915,10 +22915,10 @@ function Z_({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContexts
isExiting: t
}
}), v = !i.isNonModal || i.trigger === "SubmenuTrigger" || i.trigger === "PreviewTrigger", [y, b] = (0, C.useState)(i.trigger === "PreviewTrigger");
- Xt(() => {
+ Zt(() => {
m.current && b(v && !m.current.querySelector("[role=dialog]"));
}, [m, v]), (0, C.useEffect)(() => {
- y && i.trigger !== "PreviewTrigger" && (i.trigger !== "SubmenuTrigger" || $n() !== "pointer") && m.current && !zt(m.current) && ur(m.current);
+ y && i.trigger !== "PreviewTrigger" && (i.trigger !== "SubmenuTrigger" || er() !== "pointer") && m.current && !Bt(m.current) && dr(m.current);
}, [
y,
m,
@@ -22931,7 +22931,7 @@ function Z_({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContexts
}, [_.children, r]), [S, w] = (0, C.useState)(null), T = (0, C.useCallback)(() => {
i.triggerRef.current && w(i.triggerRef.current.getBoundingClientRect().width + "px");
}, [i.triggerRef]);
- Xt(T, [T]), Nl({
+ Zt(T, [T]), Pl({
ref: _.style?.["--trigger-width"] ? void 0 : i.triggerRef,
onResize: T
});
@@ -22941,7 +22941,7 @@ function Z_({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContexts
..._.style,
"--trigger-width": _.style?.["--trigger-width"] || S
}, D = /*#__PURE__*/ C.createElement(Y.div, {
- ...V(H(i, { global: !0 }), l),
+ ...B(V(i, { global: !0 }), l),
..._,
id: y ? i.id : void 0,
role: y ? "dialog" : void 0,
@@ -22956,17 +22956,17 @@ function Z_({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContexts
"data-placement": f,
"data-entering": g || void 0,
"data-exiting": t || void 0
- }, !i.isNonModal && /*#__PURE__*/ C.createElement(gu, { onDismiss: e.close }), /*#__PURE__*/ C.createElement(U_.Provider, { value: {
+ }, !i.isNonModal && /*#__PURE__*/ C.createElement(_u, { onDismiss: e.close }), /*#__PURE__*/ C.createElement(U_.Provider, { value: {
...d,
placement: f,
ref: a
- } }, x), /*#__PURE__*/ C.createElement(gu, { onDismiss: e.close }));
- return c ? /*#__PURE__*/ C.createElement(Cc, {
+ } }, x), /*#__PURE__*/ C.createElement(_u, { onDismiss: e.close }));
+ return c ? /*#__PURE__*/ C.createElement(wc, {
...i,
shouldContainFocus: y && i.trigger !== "PreviewTrigger",
isExiting: t,
portalContainer: n ?? s?.current ?? void 0
- }, D) : /*#__PURE__*/ C.createElement(Cc, {
+ }, D) : /*#__PURE__*/ C.createElement(wc, {
...i,
shouldContainFocus: y && i.trigger !== "PreviewTrigger",
isExiting: t,
@@ -22988,7 +22988,7 @@ function Z_({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContexts
var Q_ = /*#__PURE__*/ (0, C.createContext)(null), $_ = /*#__PURE__*/ (0, C.createContext)(null), ev = /*#__PURE__*/ (0, C.forwardRef)(function(e, t) {
let n = e["aria-labelledby"];
[e, t] = Hh(e, t, Q_);
- let { dialogProps: r, titleProps: i, contentProps: a } = Tc({
+ let { dialogProps: r, titleProps: i, contentProps: a } = Ec({
...e,
"aria-labelledby": n
}, t), o = (0, C.useContext)($_);
@@ -22999,9 +22999,9 @@ var Q_ = /*#__PURE__*/ (0, C.createContext)(null), $_ = /*#__PURE__*/ (0, C.crea
style: e.style,
children: e.children,
values: { close: o?.close || (() => {}) }
- }), c = H(e, { global: !0 });
+ }), c = V(e, { global: !0 });
return /*#__PURE__*/ C.createElement(Y.section, {
- ...V(c, s, r),
+ ...B(c, s, r),
render: e.render,
ref: t,
slot: e.slot || void 0
@@ -23024,7 +23024,7 @@ var Q_ = /*#__PURE__*/ (0, C.createContext)(null), $_ = /*#__PURE__*/ (0, C.crea
] }, s.children));
}), tv = typeof document < "u" && window.visualViewport;
function nv() {
- let e = Fn(), [t, n] = (0, C.useState)(() => e ? {
+ let e = In(), [t, n] = (0, C.useState)(() => e ? {
width: 0,
height: 0
} : rv());
@@ -23034,16 +23034,16 @@ function nv() {
}, t = () => {
tv && tv.scale > 1 || e(rv());
}, r, i = (t) => {
- tv && tv.scale > 1 || wi(B(t)) && (r = requestAnimationFrame(() => {
- let t = Lt();
- (!t || !wi(t)) && e({
+ tv && tv.scale > 1 || Ti(z(t)) && (r = requestAnimationFrame(() => {
+ let t = Rt();
+ (!t || !Ti(t)) && e({
width: document.documentElement.clientWidth,
height: document.documentElement.clientHeight
});
}));
};
- return e(rv()), ln() && dn() && window.addEventListener("blur", i, !0), tv ? tv.addEventListener("resize", t) : window.addEventListener("resize", t), () => {
- cancelAnimationFrame(r), ln() && dn() && window.removeEventListener("blur", i, !0), tv ? tv.removeEventListener("resize", t) : window.removeEventListener("resize", t);
+ return e(rv()), un() && fn() && window.addEventListener("blur", i, !0), tv ? tv.addEventListener("resize", t) : window.addEventListener("resize", t), () => {
+ cancelAnimationFrame(r), un() && fn() && window.removeEventListener("blur", i, !0), tv ? tv.removeEventListener("resize", t) : window.removeEventListener("resize", t);
};
}, []), t;
}
@@ -23078,7 +23078,7 @@ var iv = /*#__PURE__*/ (0, C.createContext)(null), av = /*#__PURE__*/ (0, C.crea
});
function sv(e, t) {
[e, t] = Hh(e, t, iv);
- let n = (0, C.useContext)($_), r = W_(e), i = e.isOpen != null || e.defaultOpen != null || !n ? r : n, a = zr(t), o = (0, C.useRef)(null), s = K_(a, i.isOpen), c = K_(o, i.isOpen), l = s || c || e.isExiting || !1, u = Fn();
+ let n = (0, C.useContext)($_), r = W_(e), i = e.isOpen != null || e.defaultOpen != null || !n ? r : n, a = Br(t), o = (0, C.useRef)(null), s = K_(a, i.isOpen), c = K_(o, i.isOpen), l = s || c || e.isExiting || !1, u = In();
return !i.isOpen && !l || u ? null : /*#__PURE__*/ C.createElement(lv, {
...e,
state: i,
@@ -23089,7 +23089,7 @@ function sv(e, t) {
}
var cv = /*#__PURE__*/ (0, C.forwardRef)(sv);
function lv({ UNSTABLE_portalContainer: e, ...t }) {
- let n = t.modalRef, { state: r } = t, { modalProps: i, underlayProps: a } = Du(t, r, n), o = G_(t.overlayRef) || t.isEntering || !1, s = Bh({
+ let n = t.modalRef, { state: r } = t, { modalProps: i, underlayProps: a } = Ou(t, r, n), o = G_(t.overlayRef) || t.isEntering || !1, s = Bh({
...t,
defaultClassName: "react-aria-ModalOverlay",
values: {
@@ -23099,7 +23099,7 @@ function lv({ UNSTABLE_portalContainer: e, ...t }) {
}
}), c = nv(), l, u;
if (typeof document < "u") {
- let e = uo(document.body) ? document.body : document.scrollingElement || document.documentElement, t = e.getBoundingClientRect().width % 1, n = e.getBoundingClientRect().height % 1;
+ let e = fo(document.body) ? document.body : document.scrollingElement || document.documentElement, t = e.getBoundingClientRect().width % 1, n = e.getBoundingClientRect().height % 1;
l = e.scrollWidth - t, u = e.scrollHeight - n;
}
let d = {
@@ -23109,11 +23109,11 @@ function lv({ UNSTABLE_portalContainer: e, ...t }) {
"--page-width": l === void 0 ? void 0 : l + "px",
"--page-height": u === void 0 ? void 0 : u + "px"
};
- return /*#__PURE__*/ C.createElement(Cc, {
+ return /*#__PURE__*/ C.createElement(wc, {
isExiting: t.isExiting,
portalContainer: e
}, /*#__PURE__*/ C.createElement(Y.div, {
- ...V(H(t, { global: !0 }), a),
+ ...B(V(t, { global: !0 }), a),
...s,
style: d,
ref: t.overlayRef,
@@ -23127,7 +23127,7 @@ function lv({ UNSTABLE_portalContainer: e, ...t }) {
}], [$_, r]] }, s.children)));
}
function uv(e) {
- let { modalProps: t, modalRef: n, isExiting: r, isDismissable: i } = (0, C.useContext)(av), a = (0, C.useContext)($_), o = zr((0, C.useMemo)(() => br(e.modalRef, n), [e.modalRef, n])), s = G_(o), c = Bh({
+ let { modalProps: t, modalRef: n, isExiting: r, isDismissable: i } = (0, C.useContext)(av), a = (0, C.useContext)($_), o = Br((0, C.useMemo)(() => xr(e.modalRef, n), [e.modalRef, n])), s = G_(o), c = Bh({
...e,
defaultClassName: "react-aria-Modal",
values: {
@@ -23137,18 +23137,18 @@ function uv(e) {
}
});
return /*#__PURE__*/ C.createElement(Y.div, {
- ...V(H(e, { global: !0 }), t),
+ ...B(V(e, { global: !0 }), t),
...c,
ref: o,
"data-entering": s || void 0,
"data-exiting": r || void 0
- }, i && /*#__PURE__*/ C.createElement(gu, { onDismiss: a.close }), c.children);
+ }, i && /*#__PURE__*/ C.createElement(_u, { onDismiss: a.close }), c.children);
}
//#endregion
//#region node_modules/react-stately/dist/private/radio/useRadioGroupState.mjs
var dv = Math.round(Math.random() * 1e10), fv = 0;
function pv(e) {
- let t = (0, C.useMemo)(() => e.name || `radio-group-${dv}-${++fv}`, [e.name]), [n, r] = Wo(e.value, e.defaultValue ?? null, e.onChange), [i] = (0, C.useState)(n), [a, o] = (0, C.useState)(null), s = Mo({
+ let t = (0, C.useMemo)(() => e.name || `radio-group-${dv}-${++fv}`, [e.name]), [n, r] = Go(e.value, e.defaultValue ?? null, e.onChange), [i] = (0, C.useState)(n), [a, o] = (0, C.useState)(null), s = No({
...e,
value: n
}), c = (t) => {
@@ -23176,7 +23176,7 @@ var mv = /*#__PURE__*/ (0, C.createContext)(null), hv = /*#__PURE__*/ (0, C.crea
let { validationBehavior: n } = Vh(pg) || {}, r = e.validationBehavior ?? n ?? "native", i = pv({
...e,
validationBehavior: r
- }), [a, o] = Uh(!e["aria-label"] && !e["aria-labelledby"]), { radioGroupProps: s, labelProps: c, descriptionProps: l, errorMessageProps: u, ...d } = rd({
+ }), [a, o] = Uh(!e["aria-label"] && !e["aria-labelledby"]), { radioGroupProps: s, labelProps: c, descriptionProps: l, errorMessageProps: u, ...d } = id({
...e,
label: o,
validationBehavior: r
@@ -23191,9 +23191,9 @@ var mv = /*#__PURE__*/ (0, C.createContext)(null), hv = /*#__PURE__*/ (0, C.crea
state: i
},
defaultClassName: "react-aria-RadioGroup"
- }), p = H(e, { global: !0 });
+ }), p = V(e, { global: !0 });
return /*#__PURE__*/ C.createElement(Y.div, {
- ...V(p, f, s),
+ ...B(p, f, s),
ref: t,
slot: e.slot || void 0,
"data-orientation": e.orientation || "vertical",
@@ -23217,7 +23217,7 @@ var mv = /*#__PURE__*/ (0, C.createContext)(null), hv = /*#__PURE__*/ (0, C.crea
}), vv = /*#__PURE__*/ (0, C.forwardRef)(function(e, t) {
let { inputRef: n = null, ...r } = e;
[e, t] = Hh(r, t, hv);
- let i = C.useContext(gv), a = zr((0, C.useMemo)(() => br(n, e.inputRef === void 0 ? null : e.inputRef), [n, e.inputRef])), o = nd({
+ let i = C.useContext(gv), a = Br((0, C.useMemo)(() => xr(n, e.inputRef === void 0 ? null : e.inputRef), [n, e.inputRef])), o = rd({
...Wh(e),
children: typeof e.children == "function" || e.children
}, i, a);
@@ -23230,7 +23230,7 @@ var mv = /*#__PURE__*/ (0, C.createContext)(null), hv = /*#__PURE__*/ (0, C.crea
ref: t
}));
}), yv = /*#__PURE__*/ (0, C.createContext)(null), bv = /*#__PURE__*/ (0, C.forwardRef)(function(e, t) {
- let { labelProps: n, inputProps: r, isSelected: i, isDisabled: a, isPressed: o, defaultClassName: s, inputRef: c } = (0, C.useContext)(yv), l = C.useContext(gv), { isFocused: u, isFocusVisible: d, focusProps: f } = Ec(), p = a || l.isReadOnly, { hoverProps: m, isHovered: h } = Nc({
+ let { labelProps: n, inputProps: r, isSelected: i, isDisabled: a, isPressed: o, defaultClassName: s, inputRef: c } = (0, C.useContext)(yv), l = C.useContext(gv), { isFocused: u, isFocusVisible: d, focusProps: f } = Dc(), p = a || l.isReadOnly, { hoverProps: m, isHovered: h } = Pc({
...e,
isDisabled: p
}), g = Bh({
@@ -23247,9 +23247,9 @@ var mv = /*#__PURE__*/ (0, C.createContext)(null), hv = /*#__PURE__*/ (0, C.crea
isInvalid: l.isInvalid,
isRequired: l.isRequired
}
- }), _ = H(e, { global: !0 });
+ }), _ = V(e, { global: !0 });
return delete _.id, delete _.onClick, /*#__PURE__*/ C.createElement(Y.label, {
- ...V(_, n, m, g),
+ ...B(_, n, m, g),
ref: t,
"data-selected": i || void 0,
"data-pressed": o || void 0,
@@ -23260,8 +23260,8 @@ var mv = /*#__PURE__*/ (0, C.createContext)(null), hv = /*#__PURE__*/ (0, C.crea
"data-readonly": l.isReadOnly || void 0,
"data-invalid": l.isInvalid || void 0,
"data-required": l.isRequired || void 0
- }, /*#__PURE__*/ C.createElement(Xo, { elementType: "span" }, /*#__PURE__*/ C.createElement("input", {
- ...V(r, f),
+ }, /*#__PURE__*/ C.createElement(Zo, { elementType: "span" }, /*#__PURE__*/ C.createElement("input", {
+ ...B(r, f),
ref: c
})), g.children);
});
@@ -23272,7 +23272,7 @@ function xv(e) {
e.defaultValue,
e.defaultSelectedKey,
t
- ]), [s, c] = Wo((0, C.useMemo)(() => e.value === void 0 ? t === "single" ? e.selectedKey : void 0 : e.value, [
+ ]), [s, c] = Go((0, C.useMemo)(() => e.value === void 0 ? t === "single" ? e.selectedKey : void 0 : e.value, [
e.value,
e.selectedKey,
t
@@ -23299,7 +23299,7 @@ function xv(e) {
n && r.close(), m.commitValidation();
}
}
- }), f = d.selectionManager.firstSelectedKey, p = (0, C.useMemo)(() => [...d.selectionManager.selectedKeys].map((e) => d.collection.getItem(e)).filter((e) => e != null), [d.selectionManager.selectedKeys, d.collection]), m = Mo({
+ }), f = d.selectionManager.firstSelectedKey, p = (0, C.useMemo)(() => [...d.selectionManager.selectedKeys].map((e) => d.collection.getItem(e)).filter((e) => e != null), [d.selectionManager.selectedKeys, d.collection]), m = No({
...e,
value: Array.isArray(l) && l.length === 0 ? null : l
}), [h, g] = (0, C.useState)(!1), [_] = (0, C.useState)(l);
@@ -23334,7 +23334,7 @@ function Sv(e) {
function Cv(e) {
return e && e.__esModule ? e.default : e;
}
-var wv = /*#__PURE__*/ (0, C.createContext)(null), Tv = /*#__PURE__*/ (0, C.createContext)(null), Ev = /*#__PURE__*/ Kr(function(e, t) {
+var wv = /*#__PURE__*/ (0, C.createContext)(null), Tv = /*#__PURE__*/ (0, C.createContext)(null), Ev = /*#__PURE__*/ qr(function(e, t) {
[e, t] = Hh(e, t, wv);
let { children: n, isDisabled: r = !1, isInvalid: i = !1, isRequired: a = !1 } = e, o = (0, C.useMemo)(() => typeof n == "function" ? n({
isOpen: !1,
@@ -23350,7 +23350,7 @@ var wv = /*#__PURE__*/ (0, C.createContext)(null), Tv = /*#__PURE__*/ (0, C.crea
i,
a
]);
- return /*#__PURE__*/ C.createElement(ni, { content: o }, (n) => /*#__PURE__*/ C.createElement(Ov, {
+ return /*#__PURE__*/ C.createElement(ri, { content: o }, (n) => /*#__PURE__*/ C.createElement(Ov, {
props: e,
collection: n,
selectRef: t
@@ -23366,7 +23366,7 @@ function Ov({ props: e, selectRef: t, collection: n }) {
collection: n,
children: void 0,
validationBehavior: i
- }), { isFocusVisible: o, focusProps: s } = Ec({ within: !0 }), c = (0, C.useRef)(null), [l, u] = Uh(!e["aria-label"] && !e["aria-labelledby"]), { labelProps: d, triggerProps: f, valueProps: p, menuProps: m, descriptionProps: h, errorMessageProps: g, hiddenSelectProps: _, ...v } = ad({
+ }), { isFocusVisible: o, focusProps: s } = Dc({ within: !0 }), c = (0, C.useRef)(null), [l, u] = Uh(!e["aria-label"] && !e["aria-labelledby"]), { labelProps: d, triggerProps: f, valueProps: p, menuProps: m, descriptionProps: h, errorMessageProps: g, hiddenSelectProps: _, ...v } = od({
...Wh(e),
label: u,
validationBehavior: i
@@ -23388,7 +23388,7 @@ function Ov({ props: e, selectRef: t, collection: n }) {
...e,
values: y,
defaultClassName: "react-aria-Select"
- }), x = H(e, { global: !0 });
+ }), x = V(e, { global: !0 });
delete x.id;
let S = (0, C.useRef)(null);
return /*#__PURE__*/ C.createElement(zh, { values: [
@@ -23426,7 +23426,7 @@ function Ov({ props: e, selectRef: t, collection: n }) {
} }],
[fg, v]
] }, /*#__PURE__*/ C.createElement(Y.div, {
- ...V(x, b, s),
+ ...B(x, b, s),
ref: t,
slot: e.slot || void 0,
"data-focused": a.isFocused || void 0,
@@ -23435,12 +23435,12 @@ function Ov({ 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__*/ C.createElement(sd, {
+ }, b.children, /*#__PURE__*/ C.createElement(cd, {
..._,
autoComplete: e.autoComplete
})));
}
-for (var kv = /*#__PURE__*/ (0, C.createContext)(null), Av = /*#__PURE__*/ Kr(function(e, t) {
+for (var kv = /*#__PURE__*/ (0, C.createContext)(null), Av = /*#__PURE__*/ qr(function(e, t) {
[e, t] = Hh(e, t, kv);
let n = (0, C.useContext)(Tv), { placeholder: r } = Vh(wv), i = n.selectedItems.map((e) => {
let t = e.props?.children;
@@ -23454,7 +23454,7 @@ for (var kv = /*#__PURE__*/ (0, C.createContext)(null), Av = /*#__PURE__*/ Kr(fu
selectionMode: "single",
selectionBehavior: "toggle"
})), t;
- }), a = Dc(), o = (0, C.useMemo)(() => n.selectedItems.map((e) => e?.textValue), [n.selectedItems]), s = n.selectionManager.selectionMode, c = (0, C.useMemo)(() => s === "single" ? o[0] ?? "" : a.format(o), [
+ }), a = Oc(), o = (0, C.useMemo)(() => n.selectedItems.map((e) => e?.textValue), [n.selectedItems]), s = n.selectionManager.selectionMode, c = (0, C.useMemo)(() => s === "single" ? o[0] ?? "" : a.format(o), [
s,
a,
o
@@ -23469,7 +23469,7 @@ for (var kv = /*#__PURE__*/ (0, C.createContext)(null), Av = /*#__PURE__*/ Kr(fu
a,
o,
i
- ]), u = $i(Cv(o_), "react-aria-components"), d = Bh({
+ ]), u = ea(Cv(o_), "react-aria-components"), d = Bh({
...e,
defaultChildren: l ?? r ?? u.format("selectPlaceholder"),
defaultClassName: "react-aria-SelectValue",
@@ -23480,7 +23480,7 @@ for (var kv = /*#__PURE__*/ (0, C.createContext)(null), Av = /*#__PURE__*/ Kr(fu
isPlaceholder: n.selectedItems.length === 0,
state: n
}
- }), f = H(e, { global: !0 });
+ }), f = V(e, { global: !0 });
return /*#__PURE__*/ C.createElement(Y.span, {
ref: t,
...f,
@@ -23490,7 +23490,7 @@ for (var kv = /*#__PURE__*/ (0, C.createContext)(null), Av = /*#__PURE__*/ Kr(fu
}), jv = /*#__PURE__*/ (0, C.createContext)(null), Mv = /*#__PURE__*/ (0, C.createContext)(null), Nv = /*#__PURE__*/ (0, C.forwardRef)(function(e, t) {
let { inputRef: n = null, ...r } = e;
[e, t] = Hh(r, t, jv);
- let i = zr((0, C.useMemo)(() => br(n, e.inputRef === void 0 ? null : e.inputRef), [n, e.inputRef])), a = Go(e), o = cd({
+ let i = Br((0, C.useMemo)(() => xr(n, e.inputRef === void 0 ? null : e.inputRef), [n, e.inputRef])), a = Ko(e), o = ld({
...Wh(e),
children: typeof e.children == "function" || e.children
}, a, i);
@@ -23503,7 +23503,7 @@ for (var kv = /*#__PURE__*/ (0, C.createContext)(null), Av = /*#__PURE__*/ Kr(fu
ref: t
}));
}), Pv = /*#__PURE__*/ (0, C.createContext)(null), Fv = /*#__PURE__*/ (0, C.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, C.useContext)(Pv), { isFocused: f, isFocusVisible: p, focusProps: m } = Ec(), h = a || o, g = (0, C.useContext)(Mv), { hoverProps: _, isHovered: v } = Nc({
+ let { labelProps: n, inputProps: r, isSelected: i, isDisabled: a, isReadOnly: o, isPressed: s, isInvalid: c, inputRef: l, defaultClassName: u, isRequired: d } = (0, C.useContext)(Pv), { isFocused: f, isFocusVisible: p, focusProps: m } = Dc(), h = a || o, g = (0, C.useContext)(Mv), { hoverProps: _, isHovered: v } = Pc({
...e,
isDisabled: h
}), y = Bh({
@@ -23521,9 +23521,9 @@ for (var kv = /*#__PURE__*/ (0, C.createContext)(null), Av = /*#__PURE__*/ Kr(fu
isRequired: d || !1,
state: g
}
- }), b = H(e, { global: !0 });
+ }), b = V(e, { global: !0 });
return delete b.id, delete b.onClick, /*#__PURE__*/ C.createElement(Y.label, {
- ...V(b, n, _, y),
+ ...B(b, n, _, y),
ref: t,
slot: e.slot || void 0,
"data-selected": i || void 0,
@@ -23535,8 +23535,8 @@ for (var kv = /*#__PURE__*/ (0, C.createContext)(null), Av = /*#__PURE__*/ Kr(fu
"data-readonly": o || void 0,
"data-invalid": c || void 0,
"data-required": d || void 0
- }, /*#__PURE__*/ C.createElement(Xo, { elementType: "span" }, /*#__PURE__*/ C.createElement("input", {
- ...V(r, m),
+ }, /*#__PURE__*/ C.createElement(Zo, { elementType: "span" }, /*#__PURE__*/ C.createElement("input", {
+ ...B(r, m),
ref: l
})), y.children);
}), Iv = 10, Lv = 5, Rv = class {
@@ -23876,10 +23876,10 @@ var Uv = class extends zv {
return this.keyMap.get(e)?.nextKey ?? null;
}
getFirstKey() {
- return lc(this.body.childNodes)?.key ?? null;
+ return uc(this.body.childNodes)?.key ?? null;
}
getLastKey() {
- return dc(this.body.childNodes)?.key ?? null;
+ return fc(this.body.childNodes)?.key ?? null;
}
getItem(e) {
return e === this.body.key ? this.body : this.keyMap.get(e) ?? null;
@@ -23917,8 +23917,8 @@ function Wv(e) {
if (n === "cell" && e != null) {
let n = t.getItem(e);
if (n?.type === "item") {
- let i = cc(n, t);
- e = r === "last" ? dc(i)?.key ?? null : lc(i)?.key ?? null;
+ let i = lc(n, t);
+ e = r === "last" ? fc(i)?.key ?? null : uc(i)?.key ?? null;
}
}
a(e, r);
@@ -23943,7 +23943,7 @@ function Wv(e) {
}
}
if (u) {
- let i = u.hasChildNodes ? [...cc(u, t)] : [], a = u.hasChildNodes && n !== e && e && e.index < i.length ? i[e.index].key : u.key;
+ let i = u.hasChildNodes ? [...lc(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);
}
@@ -23981,7 +23981,7 @@ function Kv(e) {
...e,
collection: c,
disabledBehavior: e.disabledBehavior || "selection"
- }), [d, f] = Wo(e.expandedKeys ? new Set(e.expandedKeys) : void 0, e.defaultExpandedKeys ? new Set(e.defaultExpandedKeys) : /* @__PURE__ */ new Set(), e.onExpandedChange);
+ }), [d, f] = Go(e.expandedKeys ? new Set(e.expandedKeys) : void 0, e.defaultExpandedKeys ? new Set(e.defaultExpandedKeys) : /* @__PURE__ */ new Set(), e.onExpandedChange);
return {
collection: c,
disabledKeys: l,
@@ -24016,7 +24016,7 @@ function qv(e, t) {
}
//#endregion
//#region node_modules/react-aria-components/dist/private/Table.mjs
-var Jv = class extends gt {
+var Jv = class extends _t {
withExpandedKeys(e) {
let t = this.clone();
return t.expandedKeys = e, t.frozen = this.frozen, t.rows = Array.from(t.getRows()), t;
@@ -24152,8 +24152,8 @@ var Jv = class extends gt {
i,
a,
o
- ]), c = /*#__PURE__*/ C.createElement(ry.Provider, { value: s }, /*#__PURE__*/ C.createElement(mi, e));
- return /*#__PURE__*/ C.createElement(ni, {
+ ]), c = /*#__PURE__*/ C.createElement(ry.Provider, { value: s }, /*#__PURE__*/ C.createElement(hi, e));
+ return /*#__PURE__*/ C.createElement(ri, {
content: c,
createCollection: () => new Jv()
}, (r) => /*#__PURE__*/ C.createElement(ny, {
@@ -24184,8 +24184,8 @@ var Jv = class extends gt {
function ny({ props: e, forwardedRef: t, selectionState: n, collection: r }) {
[e, t] = Hh(e, t, qh);
let { shouldUseVirtualFocus: i, disallowTypeAhead: a, filter: o, ...s } = e, c = (0, C.useContext)(Yv);
- t = zr((0, C.useMemo)(() => br(t, c?.tableRef), [t, c?.tableRef]));
- let [l, u] = Wo(e.expandedKeys ? new Set(e.expandedKeys) : void 0, e.defaultExpandedKeys ? new Set(e.defaultExpandedKeys) : /* @__PURE__ */ new Set(), e.onExpandedChange);
+ t = Br((0, C.useMemo)(() => xr(t, c?.tableRef), [t, c?.tableRef]));
+ let [l, u] = Go(e.expandedKeys ? new Set(e.expandedKeys) : void 0, e.defaultExpandedKeys ? new Set(e.defaultExpandedKeys) : /* @__PURE__ */ new Set(), e.onExpandedChange);
r = (0, C.useMemo)(() => r.withExpandedKeys(l), [r, l]);
let d = Kv({
...s,
@@ -24194,13 +24194,13 @@ function ny({ props: e, forwardedRef: t, selectionState: n, collection: r }) {
UNSAFE_selectionState: n,
expandedKeys: l,
onExpandedChange: u
- }), f = qv(d, o), { isVirtualized: p, layoutDelegate: m, dropTargetDelegate: h, CollectionRoot: g } = (0, C.useContext)($h), { dragAndDropHooks: _ } = e, { gridProps: v } = tf({
+ }), f = qv(d, o), { isVirtualized: p, layoutDelegate: m, dropTargetDelegate: h, CollectionRoot: g } = (0, C.useContext)($h), { dragAndDropHooks: _ } = e, { gridProps: v } = nf({
...s,
layoutDelegate: m,
isVirtualized: p
}, f, t), y = f.selectionManager, b = !!_?.useDraggableCollectionState, x = !!_?.useDroppableCollectionState;
(0, C.useRef)(b), (0, C.useRef)(x), (0, C.useEffect)(() => {}, [b, x]);
- let S, w, T, E = !1, D = null, O = (0, C.useRef)(null), { direction: k } = zi(), [A] = (0, C.useState)(() => new Rv());
+ let S, w, T, E = !1, D = null, O = (0, C.useRef)(null), { direction: k } = Bi(), [A] = (0, C.useState)(() => new Rv());
if (b && _) {
S = _.useDraggableCollectionState({
collection: f.collection,
@@ -24215,7 +24215,7 @@ function ny({ props: e, forwardedRef: t, selectionState: n, collection: r }) {
collection: f.collection,
selectionManager: y
});
- let e = new ps({
+ let e = new ms({
collection: f.collection,
disabledKeys: y.disabledKeys,
disabledBehavior: y.disabledBehavior,
@@ -24240,7 +24240,7 @@ function ny({ props: e, forwardedRef: t, selectionState: n, collection: r }) {
}
}, w, t), E = w.isDropTarget({ type: "root" });
}
- let { focusProps: j, isFocused: M, isFocusVisible: N } = Ec(), ee = Bh({
+ let { focusProps: j, isFocused: M, isFocusVisible: N } = Dc(), ee = Bh({
...e,
children: void 0,
defaultClassName: "react-aria-Table",
@@ -24250,16 +24250,16 @@ function ny({ props: e, forwardedRef: t, selectionState: n, collection: r }) {
isFocusVisible: N,
state: f
}
- }), P = !!(b && !S?.isDisabled), F = ee.style, te = null;
- c && (te = c.useTableColumnResizeState({ tableWidth: c.tableWidth }, f), p || (F = {
- ...F,
+ }), te = !!(b && !S?.isDisabled), P = ee.style, ne = null;
+ c && (ne = c.useTableColumnResizeState({ tableWidth: c.tableWidth }, f), p || (P = {
+ ...P,
tableLayout: "fixed",
width: "min-content"
}));
- let ne = H(e, { global: !0 });
+ let re = V(e, { global: !0 });
return /*#__PURE__*/ C.createElement(zh, { values: [
[Zv, f],
- [Qv, te],
+ [Qv, ne],
[s_, {
dragAndDropHooks: _,
dragState: S,
@@ -24268,13 +24268,13 @@ function ny({ props: e, forwardedRef: t, selectionState: n, collection: r }) {
[c_, { render: Cy }],
[qh, null],
[Jh, null]
- ] }, /*#__PURE__*/ C.createElement(Fa, null, /*#__PURE__*/ C.createElement(ey, {
- ...V(ne, ee, v, j, T?.collectionProps),
- style: F,
+ ] }, /*#__PURE__*/ C.createElement(Ia, null, /*#__PURE__*/ C.createElement(ey, {
+ ...B(re, ee, v, j, T?.collectionProps),
+ style: P,
ref: t,
slot: e.slot || void 0,
onScroll: e.onScroll,
- "data-allows-dragging": P || void 0,
+ "data-allows-dragging": te || void 0,
"data-drop-target": E || void 0,
"data-focused": M || void 0,
"data-focus-visible": N || void 0
@@ -24284,7 +24284,7 @@ function ny({ props: e, forwardedRef: t, selectionState: n, collection: r }) {
persistedKeys: d_(y, _, w)
})))), D);
}
-var ry = /*#__PURE__*/ (0, C.createContext)(null), iy = class extends ft {
+var ry = /*#__PURE__*/ (0, C.createContext)(null), iy = class extends pt {
static {
this.type = "tableheader";
}
@@ -24297,8 +24297,8 @@ var ry = /*#__PURE__*/ (0, C.createContext)(null), iy = class extends ft {
...e,
ref: t
});
-}), oy = /*#__PURE__*/ di(iy, (e, t) => {
- let n = (0, C.useContext)(Zv).collection, r = xt({
+}), oy = /*#__PURE__*/ fi(iy, (e, t) => {
+ let n = (0, C.useContext)(Zv).collection, r = St({
items: n.headerRows,
children: (0, C.useCallback)((e) => {
switch (e.type) {
@@ -24306,7 +24306,7 @@ var ry = /*#__PURE__*/ (0, C.createContext)(null), iy = class extends ft {
default: throw Error("Unsupported node type in TableHeader: " + e.type);
}
}, [])
- }), { rowGroupProps: i } = hf(), { hoverProps: a, isHovered: o } = Nc({
+ }), { rowGroupProps: i } = gf(), { hoverProps: a, isHovered: o } = Pc({
onHoverStart: e.onHoverStart,
onHoverChange: e.onHoverChange,
onHoverEnd: e.onHoverEnd
@@ -24317,12 +24317,12 @@ var ry = /*#__PURE__*/ (0, C.createContext)(null), iy = class extends ft {
values: { isHovered: o }
});
return /*#__PURE__*/ C.createElement(ay, {
- ...V(H(e, { global: !0 }), i, a),
+ ...B(V(e, { global: !0 }), i, a),
...s,
ref: t,
"data-hovered": o || void 0
}, r);
-}, (e) => /*#__PURE__*/ C.createElement(mi, {
+}, (e) => /*#__PURE__*/ C.createElement(hi, {
dependencies: e.dependencies,
items: e.columns
}, e.children)), sy = /*#__PURE__*/ (0, C.forwardRef)(function(e, t) {
@@ -24336,10 +24336,10 @@ var ry = /*#__PURE__*/ (0, C.createContext)(null), iy = class extends ft {
});
});
function cy({ item: e }) {
- let t = (0, C.useRef)(null), n = (0, C.useContext)(Zv), { isVirtualized: r, CollectionBranch: i } = (0, C.useContext)($h), { rowProps: a } = cf({
+ let t = (0, C.useRef)(null), n = (0, C.useContext)(Zv), { isVirtualized: r, CollectionBranch: i } = (0, C.useContext)($h), { rowProps: a } = lf({
node: e,
isVirtualized: r
- }, n, t), { checkboxProps: o } = vf(n);
+ }, n, t), { checkboxProps: o } = yf(n);
return /*#__PURE__*/ C.createElement(sy, {
...a,
ref: t
@@ -24348,7 +24348,7 @@ function cy({ item: e }) {
parent: e
})));
}
-var ly = class extends ft {
+var ly = class extends pt {
static {
this.type = "column";
}
@@ -24361,15 +24361,15 @@ var ly = class extends ft {
...e,
ref: t
});
-}), dy = /*#__PURE__*/ ui(ly, (e, t, n) => {
- let r = zr(t), i = (0, C.useContext)(Zv), { isVirtualized: a } = (0, C.useContext)($h), { columnHeaderProps: o, isPressed: s } = sf({
+}), dy = /*#__PURE__*/ di(ly, (e, t, n) => {
+ let r = Br(t), i = (0, C.useContext)(Zv), { isVirtualized: a } = (0, C.useContext)($h), { columnHeaderProps: o, isPressed: s } = cf({
node: n,
isVirtualized: a,
focusMode: e.focusMode,
allowsArrowNavigation: e.allowsArrowNavigation
- }, i, r), { isFocused: c, isFocusVisible: l, focusProps: u } = Ec(), d = (0, C.useContext)(Qv), f = !1;
+ }, i, r), { isFocused: c, isFocusVisible: l, focusProps: u } = Dc(), d = (0, C.useContext)(Qv), f = !1;
d && (f = d.resizingColumn === n.key);
- let { hoverProps: p, isHovered: m } = Nc({ isDisabled: !e.allowsSorting }), h = Bh({
+ let { hoverProps: p, isHovered: m } = Pc({ isDisabled: !e.allowsSorting }), h = Bh({
...e,
id: void 0,
children: n.rendered,
@@ -24395,9 +24395,9 @@ var ly = class extends ft {
...g,
width: d.getColumnWidth(n.key)
});
- let _ = H(e, { global: !0 });
+ let _ = V(e, { global: !0 });
return delete _.id, /*#__PURE__*/ C.createElement(uy, {
- ...V(_, o, u, p),
+ ...B(_, o, u, p),
...h,
style: g,
ref: r,
@@ -24412,7 +24412,7 @@ var ly = class extends ft {
column: n,
triggerRef: r
}], [$h, Xh]] }, h.children));
-}), fy = /*#__PURE__*/ (0, C.createContext)(null), py = class extends pt {
+}), fy = /*#__PURE__*/ (0, C.createContext)(null), py = class extends mt {
static {
this.type = "tablebody";
}
@@ -24425,7 +24425,7 @@ var ly = class extends ft {
...e,
ref: t
});
-}), hy = /*#__PURE__*/ di(py, (e, t, n) => {
+}), hy = /*#__PURE__*/ fi(py, (e, t, n) => {
let r = (0, C.useContext)(Zv), { isVirtualized: i } = (0, C.useContext)($h), a = r.collection, { CollectionBranch: o } = (0, C.useContext)($h), { dragAndDropHooks: s, dropState: c } = (0, C.useContext)(s_), l = !!s?.useDroppableCollectionState && !c?.isDisabled, u = l && !!c && (c.isDropTarget({ type: "root" }) ?? !1), d = a.size === 0, f = {
isDropTarget: u,
isEmpty: d
@@ -24448,9 +24448,9 @@ var ly = class extends ft {
style: r
}, e.renderEmptyState(f)));
}
- let { rowGroupProps: g } = hf(), _ = H(e, { global: !0 });
+ let { rowGroupProps: g } = gf(), _ = V(e, { global: !0 });
return /*#__PURE__*/ C.createElement(my, {
- ...V(_, p, g),
+ ...B(_, p, g),
ref: t,
"data-empty": d || void 0
}, l && /*#__PURE__*/ C.createElement(Oy, null), /*#__PURE__*/ C.createElement(o, {
@@ -24459,12 +24459,12 @@ var ly = class extends ft {
renderDropIndicator: u_(s, c)
}), m);
});
-(class extends pt {
+(class extends mt {
static {
this.type = "tablefooter";
}
});
-var gy = /*#__PURE__*/ (0, C.createContext)({ isFocusVisibleWithinRow: !1 }), _y = class extends ft {
+var gy = /*#__PURE__*/ (0, C.createContext)({ isFocusVisibleWithinRow: !1 }), _y = class extends pt {
static {
this.type = "item";
}
@@ -24485,22 +24485,22 @@ var gy = /*#__PURE__*/ (0, C.createContext)({ isFocusVisibleWithinRow: !1 }), _y
...e,
ref: t
});
-}), yy = /*#__PURE__*/ di(_y, (e, t, n) => {
- let r = zr(t), i = (0, C.useContext)(Zv), { dragAndDropHooks: a, dragState: o, dropState: s } = (0, C.useContext)(s_), { isVirtualized: c, CollectionBranch: l } = (0, C.useContext)($h), u = o && !(o.isDisabled || o.selectionManager.isDisabled(n.key)), { rowProps: d, expandButtonProps: f, ...p } = ff({
+}), yy = /*#__PURE__*/ fi(_y, (e, t, n) => {
+ let r = Br(t), i = (0, C.useContext)(Zv), { dragAndDropHooks: a, dragState: o, dropState: s } = (0, C.useContext)(s_), { isVirtualized: c, CollectionBranch: l } = (0, C.useContext)($h), u = o && !(o.isDisabled || o.selectionManager.isDisabled(n.key)), { rowProps: d, expandButtonProps: f, ...p } = pf({
node: n,
shouldSelectOnPressUp: !!o,
isVirtualized: c
- }, i, r), { isFocused: m, isFocusVisible: h, focusProps: g } = Ec(), { isFocusVisible: _, focusProps: v } = Ec({ within: !0 }), { hoverProps: y, isHovered: b } = Nc({
+ }, i, r), { isFocused: m, isFocusVisible: h, focusProps: g } = Dc(), { isFocusVisible: _, focusProps: v } = Dc({ within: !0 }), { hoverProps: y, isHovered: b } = Pc({
isDisabled: !p.allowsSelection && !p.hasAction && !u,
onHoverStart: e.onHoverStart,
onHoverChange: e.onHoverChange,
onHoverEnd: e.onHoverEnd
- }), { checkboxProps: x } = _f({ key: n.key }, i), S;
+ }), { checkboxProps: x } = vf({ key: n.key }, i), S;
o && a && (S = a.useDraggableItem({
key: n.key,
hasDragButton: !0
}, o));
- let w, T = (0, C.useRef)(null), { visuallyHiddenProps: E } = Yo();
+ let w, T = (0, C.useRef)(null), { visuallyHiddenProps: E } = Xo();
s && a && (w = a.useDropIndicator({ target: {
type: "item",
key: n.key,
@@ -24531,7 +24531,7 @@ var gy = /*#__PURE__*/ (0, C.createContext)({ isFocusVisibleWithinRow: !1 }), _y
isExpanded: M,
level: n.level + 1
}
- }), ee = H(e, { global: !0 });
+ }), ee = V(e, { global: !0 });
return delete ee.id, delete ee.onClick, /*#__PURE__*/ C.createElement(C.Fragment, null, w && !w.isHidden && /*#__PURE__*/ C.createElement(vy, {
role: "row",
style: { height: 0 }
@@ -24545,7 +24545,7 @@ var gy = /*#__PURE__*/ (0, C.createContext)({ isFocusVisibleWithinRow: !1 }), _y
...w.dropIndicatorProps,
ref: T
}))), /*#__PURE__*/ C.createElement(vy, {
- ...V(ee, N, d, g, y, S?.dragProps, v),
+ ...B(ee, N, d, g, y, S?.dragProps, v),
ref: r,
"data-disabled": p.isDisabled || void 0,
"data-selected": p.isSelected || void 0,
@@ -24587,12 +24587,12 @@ var gy = /*#__PURE__*/ (0, C.createContext)({ isFocusVisibleWithinRow: !1 }), _y
}, (e) => {
if (e.id == null && typeof e.children == "function") throw Error("No id detected for the Row element. The Row element requires a id to be provided to it when the cells are rendered dynamically.");
let t = [e.value].concat(e.dependencies);
- return /*#__PURE__*/ C.createElement(mi, {
+ return /*#__PURE__*/ C.createElement(hi, {
dependencies: t,
items: e.columns,
idScope: e.id
}, e.children);
-}), by = class extends ft {
+}), by = class extends pt {
static {
this.type = "cell";
}
@@ -24605,16 +24605,16 @@ var gy = /*#__PURE__*/ (0, C.createContext)({ isFocusVisibleWithinRow: !1 }), _y
...e,
ref: t
});
-}), Sy = /*#__PURE__*/ ui(by, (e, t, n) => {
- let r = zr(t), i = (0, C.useContext)(Zv), { dragState: a } = (0, C.useContext)(s_), { isVirtualized: o } = (0, C.useContext)($h);
+}), Sy = /*#__PURE__*/ di(by, (e, t, n) => {
+ let r = Br(t), i = (0, C.useContext)(Zv), { dragState: a } = (0, C.useContext)(s_), { isVirtualized: o } = (0, C.useContext)($h);
n.column = i.collection.columns[n.index];
- let { gridCellProps: s, isPressed: c } = af({
+ let { gridCellProps: s, isPressed: c } = of({
node: n,
shouldSelectOnPressUp: !!a,
isVirtualized: o,
focusMode: e.focusMode,
allowsArrowNavigation: e.allowsArrowNavigation
- }, i, r), { isFocused: l, isFocusVisible: u, focusProps: d } = Ec(), { hoverProps: f, isHovered: p } = Nc({}), { isFocusVisibleWithinRow: m } = (0, C.useContext)(gy), 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 = Bh({
+ }, i, r), { isFocused: l, isFocusVisible: u, focusProps: d } = Dc(), { hoverProps: f, isHovered: p } = Pc({}), { isFocusVisibleWithinRow: m } = (0, C.useContext)(gy), 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 = Bh({
...e,
id: void 0,
defaultClassName: "react-aria-Cell",
@@ -24633,9 +24633,9 @@ var gy = /*#__PURE__*/ (0, C.createContext)({ isFocusVisibleWithinRow: !1 }), _y
level: _.level + 1,
isTreeColumn: n.column.key === i.treeColumn
}
- }), S = H(e, { global: !0 });
+ }), S = V(e, { global: !0 });
return delete S.id, /*#__PURE__*/ C.createElement(xy, {
- ...V(S, x, s, d, f),
+ ...B(S, x, s, d, f),
ref: r,
"data-focused": l || void 0,
"data-focus-visible": u || void 0,
@@ -24651,7 +24651,7 @@ var gy = /*#__PURE__*/ (0, C.createContext)({ isFocusVisibleWithinRow: !1 }), _y
}, /*#__PURE__*/ C.createElement($h.Provider, { value: Xh }, x.children));
});
function Cy(e, t) {
- t = zr(t);
+ t = Br(t);
let { dragAndDropHooks: n, dropState: r } = (0, C.useContext)(s_), i = (0, C.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;
@@ -24684,14 +24684,14 @@ var wy = /*#__PURE__*/ (0, C.forwardRef)(function(e, t) {
});
});
function Ey(e, t) {
- let { dropIndicatorProps: n, isDropTarget: r, buttonRef: i, level: a, ...o } = e, s = (0, C.useContext)(Zv), { visuallyHiddenProps: c } = Yo(), l = Bh({
+ let { dropIndicatorProps: n, isDropTarget: r, buttonRef: i, level: a, ...o } = e, s = (0, C.useContext)(Zv), { visuallyHiddenProps: c } = Xo(), l = Bh({
...o,
defaultClassName: "react-aria-DropIndicator",
defaultStyle: { "--table-row-level": a + 1 },
values: { isDropTarget: r }
});
return /*#__PURE__*/ C.createElement(wy, {
- ...H(e, { global: !0 }),
+ ...V(e, { global: !0 }),
...l,
role: "row",
ref: t,
@@ -24710,7 +24710,7 @@ function Ey(e, t) {
}
var Dy = /*#__PURE__*/ (0, C.forwardRef)(Ey);
function Oy() {
- let e = (0, C.useContext)(Zv), { dragAndDropHooks: t, dropState: n } = (0, C.useContext)(s_), r = (0, C.useRef)(null), { dropIndicatorProps: i } = t.useDropIndicator({ target: { type: "root" } }, n, r), a = n.isDropTarget({ type: "root" }), { visuallyHiddenProps: o } = Yo();
+ let e = (0, C.useContext)(Zv), { dragAndDropHooks: t, dropState: n } = (0, C.useContext)(s_), r = (0, C.useRef)(null), { dropIndicatorProps: i } = t.useDropIndicator({ target: { type: "root" } }, n, r), a = n.isDropTarget({ type: "root" }), { visuallyHiddenProps: o } = Xo();
return !a && i["aria-hidden"] ? null : /*#__PURE__*/ C.createElement(vy, {
role: "row",
"aria-hidden": i["aria-hidden"],
@@ -24726,7 +24726,7 @@ function Oy() {
ref: r
})));
}
-ui(mt, function(e, t, n) {
+di(ht, function(e, t, n) {
let r = (0, C.useContext)(Zv), { isVirtualized: i } = (0, C.useContext)($h), { isLoading: a, onLoadMore: o, scrollOffset: s, ...c } = e, l = r.collection.columns.length, u = (0, C.useRef)(null);
M_((0, C.useMemo)(() => ({
onLoadMore: o,
@@ -24761,7 +24761,7 @@ ui(mt, function(e, t, n) {
width: 1
}
}))), a && d.children && /*#__PURE__*/ C.createElement(vy, {
- ...V(H(e, { global: !0 }), f),
+ ...B(V(e, { global: !0 }), f),
...d,
role: "row",
ref: t,
@@ -24776,7 +24776,7 @@ ui(mt, function(e, t, n) {
//#endregion
//#region node_modules/react-stately/dist/private/list/useSingleSelectListState.mjs
function ky(e) {
- let [t, n] = Wo(e.selectedKey, e.defaultSelectedKey ?? null, e.onSelectionChange), r = (0, C.useMemo)(() => t == null ? [] : [t], [t]), { collection: i, disabledKeys: a, selectionManager: o } = k_({
+ let [t, n] = Go(e.selectedKey, e.defaultSelectedKey ?? null, e.onSelectionChange), r = (0, C.useMemo)(() => t == null ? [] : [t], [t]), { collection: i, disabledKeys: a, selectionManager: o } = k_({
...e,
selectionMode: "single",
disallowEmptySelection: !0,
@@ -24832,7 +24832,7 @@ var My = /*#__PURE__*/ (0, C.createContext)(null), Ny = /*#__PURE__*/ (0, C.crea
return n = (0, C.useMemo)(() => typeof n == "function" ? n({
orientation: r,
defaultChildren: null
- }) : n, [n, r]), /*#__PURE__*/ C.createElement(ni, { content: n }, (n) => /*#__PURE__*/ C.createElement(Fy, {
+ }) : n, [n, r]), /*#__PURE__*/ C.createElement(ri, { content: n }, (n) => /*#__PURE__*/ C.createElement(Fy, {
props: e,
collection: n,
tabsRef: t
@@ -24843,7 +24843,7 @@ function Fy({ props: e, tabsRef: t, collection: n }) {
...e,
collection: n,
children: void 0
- }), { focusProps: a, isFocused: o, isFocusVisible: s } = Ec({ within: !0 }), c = (0, C.useMemo)(() => ({
+ }), { focusProps: a, isFocused: o, isFocusVisible: s } = Dc({ within: !0 }), c = (0, C.useMemo)(() => ({
orientation: r,
isFocusWithin: o,
isFocusVisible: s
@@ -24855,9 +24855,9 @@ function Fy({ props: e, tabsRef: t, collection: n }) {
...e,
defaultClassName: "react-aria-Tabs",
values: c
- }), u = H(e, { global: !0 });
+ }), u = V(e, { global: !0 });
return /*#__PURE__*/ C.createElement(Y.div, {
- ...V(u, l, a),
+ ...B(u, l, a),
ref: t,
slot: e.slot || void 0,
"data-focused": o || void 0,
@@ -24870,10 +24870,10 @@ var Iy = /*#__PURE__*/ (0, C.forwardRef)(function(e, t) {
return (0, C.useContext)(Ny) ? /*#__PURE__*/ C.createElement(Ly, {
props: e,
forwardedRef: t
- }) : /*#__PURE__*/ C.createElement(mi, e);
+ }) : /*#__PURE__*/ C.createElement(hi, e);
});
function Ly({ props: e, forwardedRef: t }) {
- let n = (0, C.useContext)(Ny), { CollectionRoot: r } = (0, C.useContext)($h), { orientation: i = "horizontal", keyboardActivation: a = "automatic" } = Vh(My), o = zr(t), { tabListProps: s } = Cf({
+ let n = (0, C.useContext)(Ny), { CollectionRoot: r } = (0, C.useContext)($h), { orientation: i = "horizontal", keyboardActivation: a = "automatic" } = Vh(My), o = Br(t), { tabListProps: s } = wf({
...e,
orientation: i,
keyboardActivation: a
@@ -24885,9 +24885,9 @@ function Ly({ props: e, forwardedRef: t }) {
orientation: i,
state: n
}
- }), l = H(e, { global: !0 });
+ }), l = V(e, { global: !0 });
return delete l.id, /*#__PURE__*/ C.createElement(Y.div, {
- ...V(l, c, s),
+ ...B(l, c, s),
ref: o,
"data-orientation": i || void 0
}, /*#__PURE__*/ C.createElement(m_, null, /*#__PURE__*/ C.createElement(r, {
@@ -24895,15 +24895,15 @@ function Ly({ props: e, forwardedRef: t }) {
persistedKeys: eg(n.selectionManager.focusedKey)
})));
}
-var Ry = /*#__PURE__*/ ui(class extends ft {
+var Ry = /*#__PURE__*/ di(class extends pt {
static {
this.type = "item";
}
}, (e, t, n) => {
- let r = (0, C.useContext)(Ny), i = zr(t), { tabProps: a, isSelected: o, isDisabled: s, isPressed: c } = xf({
+ let r = (0, C.useContext)(Ny), i = Br(t), { tabProps: a, isSelected: o, isDisabled: s, isPressed: c } = Sf({
key: n.key,
...e
- }, r, i), { focusProps: l, isFocused: u, isFocusVisible: d } = Ec(), { hoverProps: f, isHovered: p } = Nc({
+ }, r, i), { focusProps: l, isFocused: u, isFocusVisible: d } = Dc(), { hoverProps: f, isHovered: p } = Pc({
isDisabled: s,
onHoverStart: e.onHoverStart,
onHoverEnd: e.onHoverEnd,
@@ -24921,9 +24921,9 @@ var Ry = /*#__PURE__*/ ui(class extends ft {
isPressed: c,
isHovered: p
}
- }), h = n.props.href ? Y.a : Y.div, g = H(e, { global: !0 });
+ }), h = n.props.href ? Y.a : Y.div, g = V(e, { global: !0 });
return delete g.id, delete g.onClick, /*#__PURE__*/ C.createElement(h, {
- ...V(g, m, a, l, f),
+ ...B(g, m, a, l, f),
ref: i,
"data-selected": o || void 0,
"data-disabled": s || void 0,
@@ -24932,8 +24932,8 @@ var Ry = /*#__PURE__*/ ui(class extends ft {
"data-pressed": c || void 0,
"data-hovered": p || void 0
}, /*#__PURE__*/ C.createElement(h_.Provider, { value: { isSelected: o } }, m.children));
-}), zy = /*#__PURE__*/ Kr(function(e, t) {
- let n = (0, C.useContext)(Ny), r = zr(t), i = n.selectedKey === e.id, [a, o] = (0, C.useState)(n.selectedKey == null ? null : i);
+}), zy = /*#__PURE__*/ qr(function(e, t) {
+ let n = (0, C.useContext)(Ny), r = Br(t), i = n.selectedKey === e.id, [a, o] = (0, C.useState)(n.selectedKey == null ? null : i);
a == null && n.selectedKey != null ? o(i) : !i && a && o(!1);
let s = K_(r, i);
return !i && !e.shouldForceMount && !s ? null : /*#__PURE__*/ C.createElement(By, {
@@ -24944,7 +24944,7 @@ var Ry = /*#__PURE__*/ ui(class extends ft {
});
});
function By(e) {
- let t = (0, C.useContext)(Ny), { id: n, tabPanelRef: r, isInitiallySelected: i, isExiting: a, ...o } = e, { tabPanelProps: s } = wf(e, t, r), { focusProps: c, isFocused: l, isFocusVisible: u } = Ec(), d = t.selectedKey === e.id, f = G_(r) && !i, p = Bh({
+ let t = (0, C.useContext)(Ny), { id: n, tabPanelRef: r, isInitiallySelected: i, isExiting: a, ...o } = e, { tabPanelProps: s } = Tf(e, t, r), { focusProps: c, isFocused: l, isFocusVisible: u } = Dc(), d = t.selectedKey === e.id, f = G_(r) && !i, p = Bh({
...e,
defaultClassName: "react-aria-TabPanel",
values: {
@@ -24955,9 +24955,9 @@ function By(e) {
isExiting: a,
state: t
}
- }), m = H(o, { global: !0 });
+ }), m = V(o, { global: !0 });
delete m.id;
- let h = d ? V(m, s, c, p) : V(m, p);
+ let h = d ? B(m, s, c, p) : B(m, p);
return /*#__PURE__*/ C.createElement(Y.div, {
...h,
ref: r,
@@ -24971,11 +24971,11 @@ function By(e) {
}
//#endregion
//#region node_modules/react-aria-components/dist/private/TextArea.mjs
-var Vy = /*#__PURE__*/ (0, C.createContext)({}), Hy = /*#__PURE__*/ (0, C.createContext)(null), Uy = /*#__PURE__*/ Kr(function(e, t) {
+var Vy = /*#__PURE__*/ (0, C.createContext)({}), Hy = /*#__PURE__*/ (0, C.createContext)(null), Uy = /*#__PURE__*/ qr(function(e, t) {
[e, t] = Hh(e, t, Hy);
let { validationBehavior: n } = Vh(pg) || {}, r = e.validationBehavior ?? n ?? "native", i = (0, C.useRef)(null);
[e, i] = Hh(e, i, Jh);
- let [a, o] = Uh(!e["aria-label"] && !e["aria-labelledby"]), [s, c] = (0, C.useState)("input"), { labelProps: l, inputProps: u, descriptionProps: d, errorMessageProps: f, ...p } = Zo({
+ let [a, o] = Uh(!e["aria-label"] && !e["aria-labelledby"]), [s, c] = (0, C.useState)("input"), { labelProps: l, inputProps: u, descriptionProps: d, errorMessageProps: f, ...p } = Qo({
...Wh(e),
inputElementType: s,
label: o,
@@ -24991,7 +24991,7 @@ var Vy = /*#__PURE__*/ (0, C.createContext)({}), Hy = /*#__PURE__*/ (0, C.create
isRequired: e.isRequired || !1
},
defaultClassName: "react-aria-TextField"
- }), g = H(e, { global: !0 });
+ }), g = V(e, { global: !0 });
return delete g.id, /*#__PURE__*/ C.createElement(Y.div, {
...g,
...h,
@@ -25084,7 +25084,7 @@ function X({ variant: e = "primary", size: t = "medium", iconOnly: n = !1, leadi
return /* @__PURE__ */ (0, w.jsxs)("button", {
ref: c,
type: s,
- className: Km(Wy.base, Wy.size[t], Wy.variant[e], n && Wy.iconOnlySize[t], o),
+ className: K(Wy.base, Wy.size[t], Wy.variant[e], n && Wy.iconOnlySize[t], o),
...l,
children: [
r ? /* @__PURE__ */ (0, w.jsx)(r, {
@@ -25105,7 +25105,7 @@ function X({ variant: e = "primary", size: t = "medium", iconOnly: n = !1, leadi
function Gy({ variant: e = "primary", size: t = "medium", iconOnly: n = !1, leadingIcon: r, trailingIcon: i, children: a, className: o, ref: s, ...c }) {
return /* @__PURE__ */ (0, w.jsxs)("a", {
ref: s,
- className: Km(Wy.base, Wy.size[t], Wy.variant[e], n && Wy.iconOnlySize[t], o),
+ className: K(Wy.base, Wy.size[t], Wy.variant[e], n && Wy.iconOnlySize[t], o),
...c,
children: [
r ? /* @__PURE__ */ (0, w.jsx)(r, {
@@ -25150,7 +25150,7 @@ function qy({ icon: e, size: t = "medium", className: n, type: r = "button", ref
return /* @__PURE__ */ (0, w.jsx)("button", {
ref: i,
type: r,
- className: Km(Ky.base, Ky.size[t], n),
+ className: K(Ky.base, Ky.size[t], n),
...a,
children: /* @__PURE__ */ (0, w.jsx)(e, {
className: Ky.icon[t],
@@ -25164,7 +25164,7 @@ function Jy({ isRequired: e = !1, isInvalid: t, tooltip: n, className: r, childr
return /* @__PURE__ */ (0, w.jsxs)(ng, {
"data-label": "true",
...a,
- className: Km("flex cursor-default items-center gap-0.5", "text-body-medium text-text-primary", r),
+ className: K("flex cursor-default items-center gap-0.5", "text-body-medium text-text-primary", r),
children: [
i,
e && /* @__PURE__ */ (0, w.jsx)("span", {
@@ -25172,7 +25172,7 @@ function Jy({ isRequired: e = !1, isInvalid: t, tooltip: n, className: r, childr
className: "text-body-medium text-text-error-primary",
children: "*"
}),
- n && /* @__PURE__ */ (0, w.jsx)(Zf, {
+ n && /* @__PURE__ */ (0, w.jsx)(Qf, {
className: "size-4 shrink-0 text-foreground-icon-quaternary",
"aria-hidden": !0
})
@@ -25185,7 +25185,7 @@ function Yy({ isInvalid: e = !1, className: t, ...n }) {
return /* @__PURE__ */ (0, w.jsx)(dg, {
slot: e ? "errorMessage" : "description",
...n,
- className: Km("pt-px text-caption-1-medium text-text-secondary", e && "text-text-error-primary", t)
+ className: K("pt-px text-caption-1-medium text-text-secondary", e && "text-text-error-primary", t)
});
}
//#endregion
@@ -25201,7 +25201,7 @@ function Zy({ size: e = "medium", fieldClassName: t, inputClassName: n, classNam
children: /* @__PURE__ */ (0, w.jsx)(Uy, {
...a,
"data-input-size": e,
- className: Km("group flex h-max w-full flex-col items-start gap-1", r),
+ className: K("group flex h-max w-full flex-col items-start gap-1", r),
children: i
})
});
@@ -25240,7 +25240,7 @@ function $y({ size: e, leadingIcon: t, trailingIcon: n, leadingAddon: r, fieldCl
let l = (0, C.useContext)(Xy), u = e ?? l.size ?? "medium", d = r != null;
return /* @__PURE__ */ (0, w.jsx)(Sg, {
ref: s,
- className: ({ isFocusWithin: e, isHovered: t, isDisabled: n, isInvalid: r }) => Km(Qy.field, d ? Qy.fieldWithAddonSize[u] : Qy.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 }) => K(Qy.field, d ? Qy.fieldWithAddonSize[u] : Qy.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, w.jsxs)("div", {
className: Qy.content,
children: [/* @__PURE__ */ (0, w.jsxs)("div", {
@@ -25251,7 +25251,7 @@ function $y({ size: e, leadingIcon: t, trailingIcon: n, leadingAddon: r, fieldCl
}) : null, /* @__PURE__ */ (0, w.jsx)(Tg, {
ref: o,
...c,
- className: Km(Qy.input, l.inputClassName, a)
+ className: K(Qy.input, l.inputClassName, a)
})]
}), n ? /* @__PURE__ */ (0, w.jsx)(n, {
className: Qy.icon,
@@ -25636,7 +25636,7 @@ function jb({ kind: e, entityId: t, name: n, onPicked: r }) {
"aria-label": `更换${n}的头像`,
onClick: () => a(!0),
className: "flex size-7 cursor-pointer items-center justify-center rounded-full border border-border-button-default bg-background-primary-default text-foreground-icon-primary shadow-xs outline-none ring-2 ring-background-full transition-colors hover:border-border-button-hover hover:bg-background-primary-hover/60 dark:hover:bg-background-primary-hover focus-visible:ring-border-focus-ring active:bg-background-primary-active",
- children: /* @__PURE__ */ (0, w.jsx)(kf, {
+ children: /* @__PURE__ */ (0, w.jsx)(Af, {
"aria-hidden": !0,
className: "size-4"
})
@@ -25663,7 +25663,7 @@ function jb({ kind: e, entityId: t, name: n, onPicked: r }) {
})] });
}
function Mb({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
- let a = (0, C.useRef)(null), o = pb(), [s, c] = (0, C.useState)(""), [l, u] = (0, C.useState)(""), [d, f] = (0, C.useState)(null), p = xb(e, t), m = (0, C.useRef)(!1), h = ut({
+ let a = (0, C.useRef)(null), o = pb(), [s, c] = (0, C.useState)(""), [l, u] = (0, C.useState)(""), [d, f] = (0, C.useState)(null), p = xb(e, t), m = (0, C.useRef)(!1), h = dt({
queryKey: p,
queryFn: ({ signal: n }) => wb(e, t, n),
retryOnMount: !0
@@ -25671,7 +25671,7 @@ function Mb({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
(0, C.useEffect)(() => () => {
m.current && ph.removeQueries({ queryKey: xb(e, t) });
}, [e, t]);
- let g = dt({
+ let g = ft({
mutationFn: (n) => Tb(e, t, n),
onSuccess: () => {
m.current = !0, i(), r();
@@ -25688,7 +25688,7 @@ function Mb({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
/* @__PURE__ */ (0, w.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",
- children: /* @__PURE__ */ (0, w.jsx)(up, { className: "size-6" })
+ children: /* @__PURE__ */ (0, w.jsx)(dp, { className: "size-6" })
}),
/* @__PURE__ */ (0, w.jsxs)("div", {
className: "flex min-w-0 flex-1 flex-col gap-2",
@@ -25719,7 +25719,7 @@ function Mb({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
]
}),
/* @__PURE__ */ (0, w.jsx)(qy, {
- icon: Rf,
+ icon: zf,
size: "small",
"aria-label": "关闭",
onClick: i
@@ -25951,10 +25951,10 @@ function Fb({ state: e, size: t = "md", shape: n = "pill" }) {
let r = Pb[t];
return /* @__PURE__ */ (0, w.jsx)("span", {
"aria-hidden": !0,
- className: Km("relative shrink-0 transition-colors duration-200 ease", r.track, r.trackRadius[n], e.isSelected ? Km("bg-linear-to-b from-accent-500 to-accent-600", r.onShadow) : "bg-background-tertiary-default", e.isDisabled && "opacity-50", e.isFocusVisible && "ring-2 ring-border-focus-ring ring-offset-2"),
+ className: K("relative shrink-0 transition-colors duration-200 ease", r.track, r.trackRadius[n], e.isSelected ? K("bg-linear-to-b from-accent-500 to-accent-600", r.onShadow) : "bg-background-tertiary-default", e.isDisabled && "opacity-50", e.isFocusVisible && "ring-2 ring-border-focus-ring ring-offset-2"),
children: /* @__PURE__ */ (0, w.jsx)("span", {
- className: Km("absolute flex items-center justify-center", "bg-linear-to-b from-control-indicator-background from-[43.837%] to-control-indicator-background-subtle", "shadow-[0_3px_3px_0_rgb(0_0_0/0.03),0_0.75px_0_0_rgb(0_0_0/0.05)]", "transition-transform duration-200 ease", r.thumb, r.thumbRadius[n], r.offset, e.isSelected && r.travel),
- children: /* @__PURE__ */ (0, w.jsx)("span", { className: Km("border-solid bg-linear-to-t from-[43.837%]", r.chip, r.chipRadius[n], e.isSelected ? "border-accent-600 from-switch-on-chip-start to-switch-on-chip-end" : "border-border-button-default/50 from-switch-off-chip-start to-switch-off-chip-end") })
+ className: K("absolute flex items-center justify-center", "bg-linear-to-b from-control-indicator-background from-[43.837%] to-control-indicator-background-subtle", "shadow-[0_3px_3px_0_rgb(0_0_0/0.03),0_0.75px_0_0_rgb(0_0_0/0.05)]", "transition-transform duration-200 ease", r.thumb, r.thumbRadius[n], r.offset, e.isSelected && r.travel),
+ children: /* @__PURE__ */ (0, w.jsx)("span", { className: K("border-solid bg-linear-to-t from-[43.837%]", r.chip, r.chipRadius[n], e.isSelected ? "border-accent-600 from-switch-on-chip-start to-switch-on-chip-end" : "border-border-button-default/50 from-switch-off-chip-start to-switch-off-chip-end") })
})
});
}
@@ -25962,7 +25962,7 @@ function Ib({ className: e, children: t, size: n = "md", shape: r = "pill", ref:
return /* @__PURE__ */ (0, w.jsx)(Nv, {
ref: i,
...a,
- className: (t) => Km("group inline-flex items-center gap-2 select-none", t.isDisabled ? "cursor-not-allowed" : "cursor-pointer", typeof e == "function" ? e(t) : e),
+ className: (t) => K("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, w.jsxs)(w.Fragment, { children: [/* @__PURE__ */ (0, w.jsx)(Fb, {
state: e,
size: n,
@@ -26002,11 +26002,11 @@ function Hb({ code: e, coverUrl: t, box: n, onSaved: r }) {
title: "裁剪封面:框出正封那一块",
onClick: () => a(!0),
className: "flex size-7 cursor-pointer items-center justify-center rounded-lg text-foreground-icon-secondary outline-none transition-colors hover:bg-background-primary-hover hover:text-foreground-icon-primary focus-visible:ring-2 focus-visible:ring-border-focus-ring",
- children: /* @__PURE__ */ (0, w.jsx)(Bf, {
+ children: /* @__PURE__ */ (0, w.jsx)(Vf, {
"aria-hidden": !0,
className: "size-4"
})
- }), /* @__PURE__ */ (0, w.jsx)(bc, {
+ }), /* @__PURE__ */ (0, w.jsx)(xc, {
getContainer: () => Rb(o.current),
children: /* @__PURE__ */ (0, w.jsx)(cv, {
isOpen: i,
@@ -26031,7 +26031,7 @@ function Hb({ code: e, coverUrl: t, box: n, onSaved: r }) {
})] });
}
function Ub({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {
- let [a, o] = (0, C.useState)(null), [s, c] = (0, C.useState)(null), [l, u] = (0, C.useState)(!0), d = pb(), f = dt({
+ let [a, o] = (0, C.useState)(null), [s, c] = (0, C.useState)(null), [l, u] = (0, C.useState)(!0), d = pb(), f = ft({
mutationFn: (t) => Bb(e, t),
onSuccess: () => {
i(), r();
@@ -26055,7 +26055,7 @@ function Ub({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {
/* @__PURE__ */ (0, w.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",
- children: /* @__PURE__ */ (0, w.jsx)(Bf, { className: "size-6" })
+ children: /* @__PURE__ */ (0, w.jsx)(Vf, { className: "size-6" })
}),
/* @__PURE__ */ (0, w.jsxs)("div", {
className: "flex min-w-0 flex-1 flex-col gap-2",
@@ -26076,7 +26076,7 @@ function Ub({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {
]
}),
/* @__PURE__ */ (0, w.jsx)(qy, {
- icon: Rf,
+ icon: zf,
size: "small",
"aria-label": "关闭",
onClick: i
@@ -26452,7 +26452,7 @@ function bS({ state: e, size: t = "md" }) {
let { isSelected: n, isIndeterminate: r, isFocusVisible: i, isDisabled: a, isHovered: o } = e, s = yS[t], c = n || r, l = o && !a;
return /* @__PURE__ */ (0, w.jsx)("span", {
"aria-hidden": !0,
- className: Km("flex shrink-0 items-center justify-center rounded-sm", "transition-[background-color,border-color,box-shadow] duration-150 ease", s.box, c ? Km("bg-linear-to-b shadow-checkbox-selected", l ? "from-accent-400 to-accent-500" : "from-accent-500 to-accent-600") : Km("border bg-background-primary-default shadow-xs", l ? "border-border-checkbox-hover" : "border-border-checkbox-default"), a && "opacity-50", i && "ring-2 ring-border-focus-ring ring-offset-2"),
+ className: K("flex shrink-0 items-center justify-center rounded-sm", "transition-[background-color,border-color,box-shadow] duration-150 ease", s.box, c ? K("bg-linear-to-b shadow-checkbox-selected", l ? "from-accent-400 to-accent-500" : "from-accent-500 to-accent-600") : K("border bg-background-primary-default shadow-xs", l ? "border-border-checkbox-hover" : "border-border-checkbox-default"), a && "opacity-50", i && "ring-2 ring-border-focus-ring ring-offset-2"),
children: /* @__PURE__ */ (0, w.jsx)("svg", {
viewBox: "0 0 16 16",
fill: "none",
@@ -26481,12 +26481,12 @@ function xS({ className: e, children: t, size: n = "md", ref: r, ...i }) {
return /* @__PURE__ */ (0, w.jsx)(yg, {
ref: r,
...i,
- className: (t) => Km("group inline-flex items-center select-none", a.gap, t.isDisabled ? "cursor-not-allowed" : "cursor-pointer", typeof e == "function" ? e(t) : e),
+ className: (t) => K("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, w.jsxs)(w.Fragment, { children: [/* @__PURE__ */ (0, w.jsx)(bS, {
state: e,
size: n
}), t != null && /* @__PURE__ */ (0, w.jsx)("span", {
- className: Km(a.label, "text-text-primary"),
+ className: K(a.label, "text-text-primary"),
children: t
})] })
});
@@ -26506,19 +26506,19 @@ var SS = [
//#region src/react/boardui/components/application/settings/settings-rows.tsx
function DS({ className: e, children: t }) {
return /* @__PURE__ */ (0, w.jsx)("div", {
- className: Km("flex w-full flex-col rounded-2xl bg-background-secondary-default pl-3", e),
+ className: K("flex w-full flex-col rounded-2xl bg-background-secondary-default pl-3", e),
children: t
});
}
function OS({ className: e, children: t }) {
return /* @__PURE__ */ (0, w.jsx)("p", {
- className: Km("w-full px-3 text-body-2-medium text-text-secondary", e),
+ className: K("w-full px-3 text-body-2-medium text-text-secondary", e),
children: t
});
}
function kS({ label: e, description: t, children: n }) {
return /* @__PURE__ */ (0, w.jsxs)("div", {
- className: Km("flex min-h-[52px] w-full items-center justify-between gap-4 py-2.5 pr-2.5", "border-b border-separator-border last:border-b-0"),
+ className: K("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, w.jsxs)("div", {
className: "flex min-w-0 flex-col",
children: [/* @__PURE__ */ (0, w.jsx)("p", {
@@ -26558,7 +26558,7 @@ var AS = qm({
}
});
function jS({ variant: e = "primary", size: t = "medium", leadingIcon: n, trailingIcon: r, children: i, className: a, disabled: o = !1, ...s }) {
- let c = Km(AS.base, AS.size[t], AS.variant[e], a), l = /* @__PURE__ */ (0, w.jsxs)(w.Fragment, { children: [
+ let c = K(AS.base, AS.size[t], AS.variant[e], a), l = /* @__PURE__ */ (0, w.jsxs)(w.Fragment, { children: [
n ? /* @__PURE__ */ (0, w.jsx)(n, {
className: AS.icon[t],
"aria-hidden": !0
@@ -26664,7 +26664,7 @@ function zS({ href: e, children: t }) {
target: "_blank",
rel: "noopener noreferrer",
size: "small",
- trailingIcon: Wf,
+ trailingIcon: Gf,
children: t
});
}
@@ -26699,7 +26699,7 @@ function HS({ summary: e, defaultOpen: t = !1, children: n }) {
e.preventDefault(), !(!i.current || !a.current) && (l(i.current, a.current, !s), c(!s));
},
className: "flex w-fit cursor-pointer list-none items-center gap-1 rounded-sm text-body-2-medium text-text-secondary outline-none select-none hover:text-text-primary focus-visible:ring-2 focus-visible:ring-border-focus-ring",
- children: [/* @__PURE__ */ (0, w.jsx)(Nf, {
+ children: [/* @__PURE__ */ (0, w.jsx)(Pf, {
"aria-hidden": !0,
className: s ? "size-4 shrink-0 rotate-90 transition-transform" : "size-4 shrink-0 transition-transform"
}), e]
@@ -26744,7 +26744,7 @@ function GS({ provider: e, label: t }) {
loading: "lazy",
onError: () => i(!0),
className: "size-3.5 shrink-0 rounded-sm object-contain"
- }), t ? /* @__PURE__ */ (0, w.jsx)(Xo, { children: t }) : null] });
+ }), t ? /* @__PURE__ */ (0, w.jsx)(Zo, { children: t }) : null] });
}
function KS({ group: e, name: t }) {
let { src: n, fallback: r } = kx(e), [i, a] = (0, C.useState)(0), o = [n, r].filter(Boolean)[i];
@@ -26783,18 +26783,18 @@ function JS({ source: e }) {
}
//#endregion
//#region src/react/follow-manage/add-source.tsx
-var YS = Km(TS, ES, "text-body-2-medium"), XS = "粘贴来源链接,或输入创作者名、id…", ZS = "查找中…(首次按名字查要下载创作者索引,可能几十秒)", QS = "识别中…", $S = "站内没有查到来源", eC = (e, t) => `${e}:${t.url}`;
+var YS = K(TS, ES, "text-body-2-medium"), XS = "粘贴来源链接,或输入创作者名、id…", ZS = "查找中…(首次按名字查要下载创作者索引,可能几十秒)", QS = "识别中…", $S = "站内没有查到来源", eC = (e, t) => `${e}:${t.url}`;
function tC({ options: e, active: t, busy: n, onPick: r }) {
return /* @__PURE__ */ (0, w.jsxs)("div", {
"aria-label": "来源建议",
- className: Km(SS, "absolute top-full z-10 mt-1 flex w-full flex-col gap-1"),
+ className: K(SS, "absolute top-full z-10 mt-1 flex w-full flex-col gap-1"),
children: [n && !e.length ? /* @__PURE__ */ (0, w.jsx)("div", {
className: "px-2 py-1.5",
children: /* @__PURE__ */ (0, w.jsx)(uh, { label: "正在查找建议" })
}) : null, e.map((e, n) => /* @__PURE__ */ (0, w.jsxs)("button", {
type: "button",
"aria-current": n === t ? "true" : void 0,
- className: n === t ? Km(YS, "bg-background-secondary-default") : YS,
+ className: n === t ? K(YS, "bg-background-secondary-default") : YS,
onMouseDown: (e) => e.preventDefault(),
onClick: () => r(e.value),
children: [/* @__PURE__ */ (0, w.jsx)("span", {
@@ -26815,7 +26815,7 @@ function nC({ credentials: e, hidden: t, onHidden: n, openCredentials: r }) {
return /* @__PURE__ */ (0, w.jsxs)(w.Fragment, { children: [/* @__PURE__ */ (0, w.jsx)(X, {
ref: i,
variant: "secondary",
- leadingIcon: Kf,
+ leadingIcon: qf,
"aria-haspopup": "dialog",
"aria-expanded": a,
"aria-label": l,
@@ -26927,76 +26927,76 @@ function rC({ row: e, at: t, hidden: n, unpicked: r, onPick: i }) {
});
}
function iC({ data: e, credentials: t, readOnly: n, toast: r, openCredentials: i }) {
- let [a, o] = (0, C.useState)(""), [s, c] = (0, C.useState)(""), [l, u] = (0, C.useState)(!1), [d, f] = (0, C.useState)(-1), [p, m] = (0, C.useState)(/* @__PURE__ */ new Set()), [h, g] = (0, C.useState)(/* @__PURE__ */ new Set()), [_, v] = (0, C.useState)(""), [y, b] = (0, C.useState)(!1), [x, S] = (0, C.useState)(null), [T, E] = (0, C.useState)(0);
+ let [a, o] = (0, C.useState)(""), [s, c] = (0, C.useState)(""), [l, u] = (0, C.useState)(""), [d, f] = (0, C.useState)(!1), [p, m] = (0, C.useState)(-1), [h, g] = (0, C.useState)(/* @__PURE__ */ new Set()), [_, v] = (0, C.useState)(/* @__PURE__ */ new Set()), [y, b] = (0, C.useState)(""), [x, S] = (0, C.useState)(!1), [T, E] = (0, C.useState)(null), [D, O] = (0, C.useState)(0);
(0, C.useEffect)(() => {
let e = a.trim();
if (!e || e.includes("/")) {
- c("");
+ u("");
return;
}
- let t = setTimeout(() => c(e), 250);
+ let t = setTimeout(() => u(e), 250);
return () => clearTimeout(t);
}, [a]);
- let D = ut({
- queryKey: sx(s),
- queryFn: ({ signal: e }) => Vx(s, e),
- enabled: s.length > 0 && l
- }), O = (0, C.useMemo)(() => (D.data?.groups || []).flatMap((e) => e.items.map((t) => ({
+ let k = dt({
+ queryKey: sx(l),
+ queryFn: ({ signal: e }) => Vx(l, e),
+ enabled: l.length > 0 && d
+ }), A = (0, C.useMemo)(() => (k.data?.groups || []).flatMap((e) => e.items.map((t) => ({
value: t.value,
label: t.matched || t.value,
group: e.label
- }))), [D.data]), k = ut({
+ }))), [k.data]), j = dt({
queryKey: ox,
queryFn: ({ signal: e }) => Bx(e),
refetchInterval: (e) => rS(e.state.data)
- }), A = k.data?.status === "running", j = dt({
+ }), M = j.data?.status === "running", N = ft({
mutationFn: (e) => Ux([e]),
- onSuccess: () => {
- b(!0), S(null), g(/* @__PURE__ */ new Set()), ph.invalidateQueries({
+ onSuccess: (e) => {
+ S(!0), E(null), v(/* @__PURE__ */ new Set()), ph.setQueryData(ox, e), ph.invalidateQueries({
queryKey: ox,
exact: !0
});
},
- onError: (e) => v(q(e))
+ onError: (e) => b(q(e))
});
(0, C.useEffect)(() => {
- let e = k.data;
+ let e = j.data;
if (e) {
if (e.status === "running") {
- y || b(!0);
+ x || S(!0);
return;
}
- y && (b(!1), S(e), e.status === "failed" && v(e.error || "查找失败"));
+ x && (S(!1), E(e), e.status === "failed" && b(e.error || "查找失败"));
}
- }, [k.data, y]);
- let M = (e) => {
+ }, [j.data, x]);
+ let ee = (e) => {
let t = e.trim();
- !t || A || j.isPending || (v(""), f(-1), o(""), c(""), j.mutate(t));
- }, N = (e) => {
+ !t || M || N.isPending || (b(""), m(-1), c(t), o(""), u(""), N.mutate(t));
+ }, te = (e) => {
if (!e.nativeEvent.isComposing) {
- if (e.key === "Escape" && O.length) {
- f(-1), u(!1);
+ if (e.key === "Escape" && A.length) {
+ m(-1), f(!1);
return;
}
if (e.key === "ArrowDown" || e.key === "ArrowUp") {
- if (!O.length) return;
+ if (!A.length) return;
e.preventDefault();
let t = e.key === "ArrowDown" ? 1 : -1;
- f((e) => {
+ m((e) => {
let n = e + t;
- return n < 0 ? O.length - 1 : n >= O.length ? 0 : n;
+ return n < 0 ? A.length - 1 : n >= A.length ? 0 : n;
});
return;
}
- e.key === "Enter" && (e.preventDefault(), M(O[d]?.value || a));
+ e.key === "Enter" && (e.preventDefault(), ee(A[p]?.value || a));
}
- }, ee = x?.results || [], P = ee.flatMap((e, t) => (e.candidates || []).filter((e) => !e.known && !p.has(e.provider_label || "")).map((e) => ({
+ }, P = T?.results || [], ne = P.flatMap((e, t) => (e.candidates || []).filter((e) => !e.known && !h.has(e.provider_label || "")).map((e) => ({
candidate: e,
key: eC(t, e)
- })).filter((e) => !h.has(e.key))), F = dt({
+ })).filter((e) => !_.has(e.key))), re = ft({
mutationFn: async (e) => {
let t = [], n = [];
- E(0);
+ O(0);
for (let r of e) {
try {
let e = await Kx(r.candidate);
@@ -27004,7 +27004,7 @@ function iC({ data: e, credentials: t, readOnly: n, toast: r, openCredentials: i
} catch (e) {
t.push(`${r.candidate.label}:${q(e)}`);
}
- E((e) => e + 1);
+ O((e) => e + 1);
}
if (n.length) try {
await Hx(n);
@@ -27018,13 +27018,13 @@ function iC({ data: e, credentials: t, readOnly: n, toast: r, openCredentials: i
},
onSuccess: (e) => {
if (tS(), e.failures.length) {
- v(e.failures.join(";"));
+ b(e.failures.join(";"));
return;
}
- v(""), S(null), r(`已添加 ${e.sources.length} 个关注来源`);
+ b(""), E(null), r(`已添加 ${e.sources.length} 个关注来源`);
},
- onError: (e) => v(q(e))
- }), te = e.suggestions || [], ne = !a.includes("/"), re = D.isFetching, ie = l && (O.length > 0 || re);
+ onError: (e) => b(q(e))
+ }), ie = e.suggestions || [], ae = !s.includes("/"), oe = k.isFetching, se = d && (A.length > 0 || oe);
return /* @__PURE__ */ (0, w.jsxs)("div", {
className: sh({
padding: "none",
@@ -27040,36 +27040,36 @@ function iC({ data: e, credentials: t, readOnly: n, toast: r, openCredentials: i
children: [
/* @__PURE__ */ (0, w.jsxs)("div", {
className: "relative min-w-64 grow",
- onFocus: () => u(!0),
+ onFocus: () => f(!0),
onBlur: (e) => {
- e.currentTarget.contains(e.relatedTarget) || u(!1);
+ e.currentTarget.contains(e.relatedTarget) || f(!1);
},
children: [/* @__PURE__ */ (0, w.jsx)(eb, {
"aria-label": "来源链接、名字或 id",
placeholder: XS,
value: a,
- leadingIcon: ap,
+ leadingIcon: op,
isDisabled: n,
onChange: o,
- onKeyDown: N
- }), ie ? /* @__PURE__ */ (0, w.jsx)(tC, {
- options: O,
- active: d,
- busy: re,
- onPick: M
+ onKeyDown: te
+ }), se ? /* @__PURE__ */ (0, w.jsx)(tC, {
+ options: A,
+ active: p,
+ busy: oe,
+ onPick: ee
}) : null]
}),
/* @__PURE__ */ (0, w.jsx)(nC, {
credentials: t,
- hidden: p,
- onHidden: m,
+ hidden: h,
+ onHidden: g,
openCredentials: i
}),
/* @__PURE__ */ (0, w.jsx)(X, {
variant: "primary",
disabled: n || !a.trim(),
- ...Z(A || j.isPending),
- onClick: () => M(a),
+ ...Z(M || N.isPending),
+ onClick: () => ee(a),
children: "查找"
})
]
@@ -27077,28 +27077,28 @@ function iC({ data: e, credentials: t, readOnly: n, toast: r, openCredentials: i
/* @__PURE__ */ (0, w.jsxs)("div", {
"aria-live": "polite",
className: "flex flex-col gap-3 empty:hidden",
- children: [A || j.isPending ? k.data?.total ? /* @__PURE__ */ (0, w.jsx)(fh, {
- label: k.data.message || `查找中:${k.data.checked || 0}/${k.data.total}`,
- value: k.data.checked || 0,
- max: k.data.total
- }) : /* @__PURE__ */ (0, w.jsx)(uh, { label: ne ? ZS : QS }) : null, _ ? /* @__PURE__ */ (0, w.jsx)(J, {
+ children: [M || N.isPending ? j.data?.total ? /* @__PURE__ */ (0, w.jsx)(fh, {
+ label: j.data.message || `查找中:${j.data.checked || 0}/${j.data.total}`,
+ value: j.data.checked || 0,
+ max: j.data.total
+ }) : /* @__PURE__ */ (0, w.jsx)(uh, { label: ae ? ZS : QS }) : null, y ? /* @__PURE__ */ (0, w.jsx)(J, {
tone: "error",
title: "这一次没有完成",
- children: _
+ children: y
}) : null]
}),
- ee.length ? /* @__PURE__ */ (0, w.jsxs)("div", {
+ P.length ? /* @__PURE__ */ (0, w.jsxs)("div", {
className: "flex flex-col gap-3",
children: [
/* @__PURE__ */ (0, w.jsx)(RS, { children: "查找结果" }),
- ee.map((e, t) => /* @__PURE__ */ (0, w.jsx)(rC, {
+ P.map((e, t) => /* @__PURE__ */ (0, w.jsx)(rC, {
row: e,
at: t,
- hidden: p,
- unpicked: h,
+ hidden: h,
+ unpicked: _,
onPick: (e, t) => {
- let n = new Set(h);
- t ? n.delete(e) : n.add(e), g(n);
+ let n = new Set(_);
+ t ? n.delete(e) : n.add(e), v(n);
}
}, `${e.line}-${t}`)),
/* @__PURE__ */ (0, w.jsxs)("div", {
@@ -27107,37 +27107,37 @@ function iC({ data: e, credentials: t, readOnly: n, toast: r, openCredentials: i
/* @__PURE__ */ (0, w.jsx)(X, {
variant: "primary",
size: "small",
- disabled: n || !P.length,
- ...Z(F.isPending),
- onClick: () => F.mutate(P),
- children: `添加选中(${P.length})`
+ disabled: n || !ne.length,
+ ...Z(re.isPending),
+ onClick: () => re.mutate(ne),
+ children: `添加选中(${ne.length})`
}),
/* @__PURE__ */ (0, w.jsx)(X, {
variant: "secondary",
size: "small",
- onClick: () => S(null),
+ onClick: () => E(null),
children: "关闭"
}),
- F.isPending ? /* @__PURE__ */ (0, w.jsx)("span", {
+ re.isPending ? /* @__PURE__ */ (0, w.jsx)("span", {
role: "status",
className: "text-body-2-regular text-text-secondary",
- children: `添加中… ${T}/${P.length}`
+ children: `添加中… ${D}/${ne.length}`
}) : null
]
})
]
}) : null,
- te.length ? /* @__PURE__ */ (0, w.jsxs)("div", {
+ ie.length ? /* @__PURE__ */ (0, w.jsxs)("div", {
className: "flex flex-wrap items-center gap-2",
children: [/* @__PURE__ */ (0, w.jsx)("span", {
className: "text-body-2-regular text-text-secondary",
children: "猜你喜欢"
- }), te.map((e) => /* @__PURE__ */ (0, w.jsx)(X, {
+ }), ie.map((e) => /* @__PURE__ */ (0, w.jsx)(X, {
variant: "secondary",
size: "small",
disabled: n,
title: `浏览历史里出现 ${e.visits} 次${e.origin ? ` · ${e.origin}` : ""}`,
- onClick: () => M(e.name),
+ onClick: () => ee(e.name),
children: e.name
}, e.name))]
}) : null
@@ -27148,11 +27148,11 @@ function iC({ data: e, credentials: t, readOnly: n, toast: r, openCredentials: i
//#region src/react/boardui/components/base/table/table.tsx
function aC({ size: e = "md", className: t, containerClassName: n, ref: r, ...i }) {
return /* @__PURE__ */ (0, w.jsx)("div", {
- className: Km("w-full overflow-x-auto", n),
+ className: K("w-full overflow-x-auto", n),
children: /* @__PURE__ */ (0, w.jsx)($v, {
ref: r,
...i,
- className: Km("bui-table", e === "sm" && "bui-table-sm", t)
+ className: K("bui-table", e === "sm" && "bui-table-sm", t)
})
});
}
@@ -27185,7 +27185,7 @@ function uC({ sources: e, name: t, canonicalKey: n }) {
});
}
function dC({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i }) {
- let [a, o] = (0, C.useState)(/* @__PURE__ */ new Set()), [s, l] = (0, C.useState)(""), [u, d] = (0, C.useState)(""), [f, p] = (0, C.useState)(""), m = dt({
+ let [a, o] = (0, C.useState)(/* @__PURE__ */ new Set()), [s, l] = (0, C.useState)(""), [u, d] = (0, C.useState)(""), [f, p] = (0, C.useState)(""), m = ft({
mutationFn: async (e) => {
let t = 0;
for (let n of e) {
@@ -27205,13 +27205,13 @@ function dC({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i
l(""), o(/* @__PURE__ */ new Set()), tS(), i(`已合并 ${e.done} 组创作者别名`);
},
onError: (e) => l(q(e))
- }), h = dt({
+ }), h = ft({
mutationFn: (e) => qx(e.canonical, e.alias),
onSuccess: () => {
l(""), d(""), p(""), tS(), i("已保存创作者别名");
},
onError: (e) => l(q(e))
- }), g = dt({
+ }), g = ft({
mutationFn: (e) => Jx(e),
onSuccess: () => {
l(""), tS(), i("已移除创作者别名");
@@ -27397,7 +27397,7 @@ function dC({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i
variant: "ghost",
size: "xs",
iconOnly: !0,
- leadingIcon: Rf,
+ leadingIcon: zf,
"aria-label": `移除别名 ${e.name}`,
disabled: r,
...Z(g.isPending),
@@ -27413,7 +27413,7 @@ function dC({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i
}, e.canonical_key)) })]
}) }) : /* @__PURE__ */ (0, w.jsx)(lh, {
shell: "plain",
- icon: up,
+ icon: dp,
title: "还没有保存创作者别名",
children: "填写规范创作者名和平台别名以添加。"
})]
@@ -27459,7 +27459,7 @@ function mC({ path: e, prefix: t, className: n, onRevealed: r }) {
children: [/* @__PURE__ */ (0, w.jsxs)("div", {
className: "flex items-center justify-between gap-2",
children: [/* @__PURE__ */ (0, w.jsxs)("p", {
- className: Km("min-w-0 break-all", n),
+ className: K("min-w-0 break-all", n),
children: [t, e]
}), /* @__PURE__ */ (0, w.jsx)(qy, {
icon: fC,
@@ -27495,7 +27495,7 @@ function bC({ row: e }) {
});
}
function xC({ row: e, readOnly: t, toast: n }) {
- let [r, i] = (0, C.useState)({}), [a, o] = (0, C.useState)(""), s = dS(e), l = dt({
+ let [r, i] = (0, C.useState)({}), [a, o] = (0, C.useState)(""), s = dS(e), l = ft({
mutationFn: (t) => Yx(e.provider, t),
onSuccess: (e, t) => {
if (e.note) {
@@ -27667,7 +27667,7 @@ function CC({ data: e, readOnly: t, toast: n }) {
]
}) : /* @__PURE__ */ (0, w.jsx)(lh, {
shell: "plain",
- icon: $f,
+ icon: ep,
title: "没有可配置的来源",
children: "已接入的站点及其凭据状态会显示在这里。"
});
@@ -29146,22 +29146,22 @@ function Qw({ className: e, triggerClassName: t, popoverClassName: n, size: r =
...c,
isOpen: d,
onOpenChange: (e) => p(e) && f(e),
- className: Km("group flex flex-col", e),
+ className: K("group flex flex-col", e),
children: ({ isOpen: e }) => /* @__PURE__ */ (0, w.jsxs)(w.Fragment, { children: [/* @__PURE__ */ (0, w.jsxs)(ag, {
ref: l,
- className: Km("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),
+ className: K("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, w.jsx)(Av, {
- className: Km("flex min-w-0 items-center truncate", r === "sm" ? "gap-1" : "gap-[5px]"),
+ className: K("flex min-w-0 items-center truncate", r === "sm" ? "gap-1" : "gap-[5px]"),
children: o
- }), /* @__PURE__ */ (0, w.jsx)(qw, { className: Km("shrink-0 text-text-secondary transition-transform duration-200 ease", r === "sm" ? "size-3.5" : "size-4", e && "rotate-180") })]
+ }), /* @__PURE__ */ (0, w.jsx)(qw, { className: K("shrink-0 text-text-secondary transition-transform duration-200 ease", r === "sm" ? "size-3.5" : "size-4", e && "rotate-180") })]
}), /* @__PURE__ */ (0, w.jsx)(X_, {
ref: u,
isNonModal: !0,
offset: 4,
- className: Km(CS, SS, "p-2", n),
+ className: K(CS, SS, "p-2", n),
children: /* @__PURE__ */ (0, w.jsx)(F_, {
items: a,
- className: Km(wS, "max-h-[240px] overflow-auto"),
+ className: K(wS, "max-h-[240px] overflow-auto"),
children: /* @__PURE__ */ (0, w.jsx)(Zw.Provider, {
value: r,
children: i
@@ -29174,7 +29174,7 @@ function $w({ className: e, children: t, ...n }) {
let r = (0, C.useContext)(Zw);
return /* @__PURE__ */ (0, w.jsx)(z_, {
...n,
- className: (t) => Km(TS, 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) => K(TS, 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
});
}
@@ -29289,7 +29289,7 @@ function oT({ source: e, selected: t, onToggle: n, handlers: r }) {
variant: "secondary",
size: "small",
iconOnly: !0,
- leadingIcon: rp,
+ leadingIcon: ip,
"aria-label": `检查 ${e.label} 的更新`,
disabled: !e.enabled || r.readOnly,
...Z(r.busy),
@@ -29298,7 +29298,7 @@ function oT({ source: e, selected: t, onToggle: n, handlers: r }) {
variant: "secondary",
size: "small",
iconOnly: !0,
- leadingIcon: Hf,
+ leadingIcon: Uf,
"aria-label": `移除 ${e.label}`,
disabled: r.readOnly,
onClick: () => r.remove(e)
@@ -29333,7 +29333,7 @@ function sT({ group: e, name: t, open: n, selected: r, handlers: i, onOpen: a, o
variant: "secondary",
size: "small",
iconOnly: !0,
- leadingIcon: rp,
+ leadingIcon: ip,
"aria-label": `检查 ${t} 的全部来源`,
disabled: !l.length || i.readOnly,
...Z(i.busy),
@@ -29342,7 +29342,7 @@ function sT({ group: e, name: t, open: n, selected: r, handlers: i, onOpen: a, o
/* @__PURE__ */ (0, w.jsxs)("span", {
className: "flex shrink-0 items-center gap-1",
title: d,
- children: [e.map((e) => /* @__PURE__ */ (0, w.jsx)(GS, { provider: e.provider }, e.id)), /* @__PURE__ */ (0, w.jsx)(Xo, { children: `来源:${d}` })]
+ children: [e.map((e) => /* @__PURE__ */ (0, w.jsx)(GS, { provider: e.provider }, e.id)), /* @__PURE__ */ (0, w.jsx)(Zo, { children: `来源:${d}` })]
}),
u ? /* @__PURE__ */ (0, w.jsx)("span", {
className: "shrink-0 text-body-2-regular text-text-error-primary",
@@ -29351,7 +29351,7 @@ function sT({ group: e, name: t, open: n, selected: r, handlers: i, onOpen: a, o
/* @__PURE__ */ (0, w.jsx)(X, {
variant: "secondary",
size: "small",
- leadingIcon: If,
+ leadingIcon: Lf,
"aria-pressed": p.all ? "true" : p.some ? "mixed" : "false",
"aria-label": `${p.all ? "取消全选" : "全选"} ${t} 的来源`,
onClick: () => o(!p.all),
@@ -29362,7 +29362,7 @@ function sT({ group: e, name: t, open: n, selected: r, handlers: i, onOpen: a, o
size: "small",
"aria-expanded": n,
"aria-controls": f,
- leadingIcon: n ? Ff : jf,
+ leadingIcon: n ? If : Mf,
"aria-label": `${n ? "收起" : "展开"} ${t} 的来源`,
onClick: () => a(!n),
children: n ? "收起" : "展开"
@@ -29392,14 +29392,14 @@ function cT(e) {
n,
i,
y
- ]), P = ut({
+ ]), te = dt({
queryKey: ax,
queryFn: ({ signal: e }) => zx(e),
refetchInterval: (e) => rS(e.state.data)
- }), F = P.data?.status === "running", te = dt({
+ }), P = te.data?.status === "running", ne = ft({
mutationFn: (e) => Hx(e),
- onSuccess: () => {
- O(!0), A(null), ph.invalidateQueries({
+ onSuccess: (e) => {
+ O(!0), A(null), ph.setQueryData(ax, e), ph.invalidateQueries({
queryKey: ax,
exact: !0
});
@@ -29407,7 +29407,7 @@ function cT(e) {
onError: (e) => M(q(e))
});
(0, C.useEffect)(() => {
- let e = P.data;
+ let e = te.data;
if (e) {
if (e.status === "running") {
D || O(!0);
@@ -29416,25 +29416,25 @@ function cT(e) {
D && (O(!1), A(e), tS(), g(e.status === "failed" ? e.error || "检查失败" : iS(e)));
}
}, [
- P.data,
+ te.data,
D,
g
]);
- let ne = (e) => {
- F || te.isPending || (M(""), te.mutate(e));
- }, re = (e, t) => h(Ix(l, [e], t)), ie = (e, t) => h(Ix(l, e, t)), ae = dt({
+ let re = (e) => {
+ P || ne.isPending || (M(""), ne.mutate(e));
+ }, ie = (e, t) => h(Ix(l, [e], t)), ae = (e, t) => h(Ix(l, e, t)), oe = ft({
mutationFn: (e) => Gx(e),
onSuccess: (e, t) => {
eS([t]), h(Ix(l, [t], !1)), g("已取消关注来源");
},
onError: (e) => M(q(e))
- }), oe = (e) => void c({
+ }), se = (e) => void c({
title: "取消关注来源",
body: "将移除这个来源及已抓取的条目,媒体文件保留。",
confirmLabel: "取消关注来源",
danger: !0,
- onConfirm: () => ae.mutateAsync(e.id)
- }), se = dt({
+ onConfirm: () => oe.mutateAsync(e.id)
+ }), ce = ft({
mutationFn: async (e) => {
let t = await r(e.ids, 4, async (t) => {
e.action === "remove" ? await Gx(t) : await Wx(t, e.action === "enabled");
@@ -29459,7 +29459,7 @@ function cT(e) {
g(`已${n} ${e.done.length} 个关注来源`);
},
onError: (e) => M(q(e))
- }), ce = dt({
+ }), le = ft({
mutationFn: async (e) => {
let t = ((await Zx()).groups || []).flatMap((e) => [
e.primary,
@@ -29479,19 +29479,19 @@ function cT(e) {
M(""), g(`已批量标记 ${e.ids.length} 项`);
},
onError: (e) => M(q(e))
- }), le = (0, C.useRef)({
- check: ne,
- remove: oe,
+ }), ue = (0, C.useRef)({
+ check: re,
+ remove: se,
busy: !1,
readOnly: u
});
- le.current = {
- check: ne,
- remove: oe,
- busy: F || te.isPending,
+ ue.current = {
+ check: re,
+ remove: se,
+ busy: P || ne.isPending,
readOnly: u
};
- let ue = le.current, de = (0, C.useMemo)(() => {
+ let de = ue.current, fe = (0, C.useMemo)(() => {
let e = wC(), t = (e) => () => iT[e] || e;
return [
e.display({
@@ -29556,63 +29556,63 @@ function cT(e) {
variant: "secondary",
size: "small",
iconOnly: !0,
- leadingIcon: rp,
+ leadingIcon: ip,
"aria-label": `检查 ${e.row.original.source.label} 的更新`,
- disabled: !e.row.original.source.enabled || ue.readOnly,
- ...Z(ue.busy),
- onClick: () => le.current.check([e.row.original.source.id])
+ disabled: !e.row.original.source.enabled || de.readOnly,
+ ...Z(de.busy),
+ onClick: () => ue.current.check([e.row.original.source.id])
}), /* @__PURE__ */ (0, w.jsx)(X, {
variant: "secondary",
size: "small",
iconOnly: !0,
- leadingIcon: Hf,
+ leadingIcon: Uf,
"aria-label": `移除 ${e.row.original.source.label}`,
- disabled: ue.readOnly,
- onClick: () => le.current.remove(e.row.original.source)
+ disabled: de.readOnly,
+ onClick: () => ue.current.remove(e.row.original.source)
})]
})
})
];
- }, [ue]), fe = (0, C.useMemo)(() => {
+ }, [de]), pe = (0, C.useMemo)(() => {
let e = tT[n];
return e ? [{
id: e,
desc: i === "desc"
}] : [];
- }, [n, i]), I = (0, C.useMemo)(() => Object.fromEntries([...l].map((e) => [String(e), !0])), [l]), L = o === "table", pe = Nx(L ? ee.length : N.length, s, a), me = Kw({
+ }, [n, i]), F = (0, C.useMemo)(() => Object.fromEntries([...l].map((e) => [String(e), !0])), [l]), I = o === "table", me = Nx(I ? ee.length : N.length, s, a), he = Kw({
data: ee,
- columns: de,
+ columns: fe,
getRowId: (e) => String(e.source.id),
state: {
- sorting: fe,
- rowSelection: I,
+ sorting: pe,
+ rowSelection: F,
pagination: {
- pageIndex: pe.page - 1,
+ pageIndex: me.page - 1,
pageSize: s
}
},
manualSorting: !0,
enableRowSelection: !0,
onSortingChange: (e) => {
- let t = (typeof e == "function" ? e(fe) : e)[0];
+ let t = (typeof e == "function" ? e(pe) : e)[0];
if (!t) return;
let n = mx[t.id];
n && d(n, t.desc ? "desc" : "asc");
},
onRowSelectionChange: (e) => {
- let t = typeof e == "function" ? e(I) : e;
+ let t = typeof e == "function" ? e(F) : e;
h(new Set(Object.entries(t).filter(([, e]) => e).map(([e]) => Number(e))));
},
onPaginationChange: (e) => {
let t = {
- pageIndex: pe.page - 1,
+ pageIndex: me.page - 1,
pageSize: s
}, n = typeof e == "function" ? e(t) : e;
n.pageSize === s ? n.pageIndex !== t.pageIndex && f(n.pageIndex + 1) : m(n.pageSize);
},
getCoreRowModel: zw(),
getPaginationRowModel: Vw()
- }), he = me.getRowModel().rows, ge = L ? he.map((e) => e.original.source.id) : N.slice(pe.start, pe.end).flatMap((e) => e.map((e) => e.id)), _e = Fx(l, ge), ve = [...l], ye = aS(k), be = oS(k), xe = N.length > 0 && x.size >= N.length;
+ }), ge = he.getRowModel().rows, _e = I ? ge.map((e) => e.original.source.id) : N.slice(me.start, me.end).flatMap((e) => e.map((e) => e.id)), ve = Fx(l, _e), ye = [...l], be = aS(k), xe = oS(k), Se = N.length > 0 && x.size >= N.length;
return v.length ? /* @__PURE__ */ (0, w.jsxs)("div", {
className: sh({
padding: "none",
@@ -29633,12 +29633,12 @@ function cT(e) {
}),
/* @__PURE__ */ (0, w.jsx)(X, {
variant: "primary",
- leadingIcon: rp,
+ leadingIcon: ip,
disabled: u,
"aria-label": "检查全部",
iconOnly: E,
- ...Z(ue.busy),
- onClick: () => ne([]),
+ ...Z(de.busy),
+ onClick: () => re([]),
children: "检查全部"
}),
/* @__PURE__ */ (0, w.jsxs)("span", {
@@ -29648,16 +29648,16 @@ function cT(e) {
children: [/* @__PURE__ */ (0, w.jsx)(X, {
variant: "ghost",
iconOnly: !0,
- leadingIcon: ep,
+ leadingIcon: tp,
"aria-label": cx[0][1],
- "aria-pressed": !L,
+ "aria-pressed": !I,
onClick: () => p("default")
}), /* @__PURE__ */ (0, w.jsx)(X, {
variant: "ghost",
iconOnly: !0,
- leadingIcon: op,
+ leadingIcon: sp,
"aria-label": cx[1][1],
- "aria-pressed": L,
+ "aria-pressed": I,
onClick: () => p("table")
})]
}),
@@ -29677,17 +29677,17 @@ function cT(e) {
/* @__PURE__ */ (0, w.jsx)(X, {
variant: "secondary",
iconOnly: !0,
- leadingIcon: i === "asc" ? Pf : Af,
+ leadingIcon: i === "asc" ? Ff : jf,
"aria-label": yx(n, i),
onClick: () => d(n, i === "asc" ? "desc" : "asc")
}),
- L ? null : /* @__PURE__ */ (0, w.jsx)(X, {
+ I ? null : /* @__PURE__ */ (0, w.jsx)(X, {
variant: "secondary",
iconOnly: E,
- leadingIcon: xe ? jf : Ff,
- "aria-label": xe ? "全部展开" : "全部收起",
- onClick: () => S(xe ? /* @__PURE__ */ new Set() : new Set(N.map((e) => String(e[0].author_key || e[0].id)))),
- children: xe ? "全部展开" : "全部收起"
+ leadingIcon: Se ? Mf : If,
+ "aria-label": Se ? "全部展开" : "全部收起",
+ onClick: () => S(Se ? /* @__PURE__ */ new Set() : new Set(N.map((e) => String(e[0].author_key || e[0].id)))),
+ children: Se ? "全部展开" : "全部收起"
})
]
}),
@@ -29695,50 +29695,50 @@ function cT(e) {
"aria-live": "polite",
className: "flex flex-col gap-3 empty:hidden",
children: [
- F ? P.data?.total ? /* @__PURE__ */ (0, w.jsx)(fh, {
- label: P.data.message || `${P.data.older ? "抓取历史" : "检查更新"}:已完成 ${P.data.checked || 0}/${P.data.total} 个来源`,
- value: P.data.checked || 0,
- max: P.data.total
- }) : /* @__PURE__ */ (0, w.jsx)(uh, { label: P.data?.message || "正在准备检查任务" }) : null,
+ P ? te.data?.total ? /* @__PURE__ */ (0, w.jsx)(fh, {
+ label: te.data.message || `${te.data.older ? "抓取历史" : "检查更新"}:已完成 ${te.data.checked || 0}/${te.data.total} 个来源`,
+ value: te.data.checked || 0,
+ max: te.data.total
+ }) : /* @__PURE__ */ (0, w.jsx)(uh, { label: te.data?.message || "正在准备检查任务" }) : null,
j ? /* @__PURE__ */ (0, w.jsx)(J, {
tone: "error",
title: "操作未完成",
children: j
}) : null,
- ye.length ? /* @__PURE__ */ (0, w.jsx)(J, {
+ be.length ? /* @__PURE__ */ (0, w.jsx)(J, {
tone: "error",
- title: `${ye.length} 个来源检查失败`,
+ title: `${be.length} 个来源检查失败`,
extra: /* @__PURE__ */ (0, w.jsx)("ul", {
className: "flex flex-col gap-0.5 text-body-2-regular",
- children: ye.map((e, t) => /* @__PURE__ */ (0, w.jsx)("li", { children: `${e.provider_label || e.provider || ""} ${e.author || e.label || e.ref || ""}:${e.error || "未说明原因"}` }, `${e.provider || ""}-${e.ref || t}`))
+ children: be.map((e, t) => /* @__PURE__ */ (0, w.jsx)("li", { children: `${e.provider_label || e.provider || ""} ${e.author || e.label || e.ref || ""}:${e.error || "未说明原因"}` }, `${e.provider || ""}-${e.ref || t}`))
}),
children: "这些来源这一轮没有取到更新。"
}) : null,
- be ? /* @__PURE__ */ (0, w.jsx)(J, {
+ xe ? /* @__PURE__ */ (0, w.jsx)(J, {
tone: "warning",
- children: `候选已入库,但这一次的原始响应没有留档:${be}`
+ children: `候选已入库,但这一次的原始响应没有留档:${xe}`
}) : null
]
}),
- ve.length ? /* @__PURE__ */ (0, w.jsxs)(eT, {
+ ye.length ? /* @__PURE__ */ (0, w.jsxs)(eT, {
label: "关注来源批量操作",
- count: `已选 ${ve.length} 个来源`,
+ count: `已选 ${ye.length} 个来源`,
children: [
/* @__PURE__ */ (0, w.jsx)(X, {
variant: "secondary",
size: "small",
disabled: u,
- ...Z(ue.busy),
- onClick: () => ne(ve),
+ ...Z(de.busy),
+ onClick: () => re(ye),
children: "检查所选"
}),
/* @__PURE__ */ (0, w.jsx)(X, {
variant: "secondary",
size: "small",
disabled: u,
- ...Z(se.isPending),
- onClick: () => se.mutate({
- ids: ve,
+ ...Z(ce.isPending),
+ onClick: () => ce.mutate({
+ ids: ye,
action: "enabled"
}),
children: "启用"
@@ -29747,9 +29747,9 @@ function cT(e) {
variant: "secondary",
size: "small",
disabled: u,
- ...Z(se.isPending),
- onClick: () => se.mutate({
- ids: ve,
+ ...Z(ce.isPending),
+ onClick: () => ce.mutate({
+ ids: ye,
action: "paused"
}),
children: "暂停"
@@ -29758,14 +29758,14 @@ function cT(e) {
variant: "danger",
size: "small",
disabled: u,
- ...Z(se.isPending),
+ ...Z(ce.isPending),
onClick: () => void c({
- title: `删除 ${ve.length} 个关注来源`,
+ title: `删除 ${ye.length} 个关注来源`,
body: "将移除所选关注来源及其已抓取条目,媒体文件保留。",
confirmLabel: "删除所选来源",
danger: !0,
- onConfirm: () => se.mutateAsync({
- ids: ve,
+ onConfirm: () => ce.mutateAsync({
+ ids: ye,
action: "remove"
})
}),
@@ -29779,20 +29779,20 @@ function cT(e) {
})
]
}) : null,
- L ? /* @__PURE__ */ (0, w.jsx)(oC, {
+ I ? /* @__PURE__ */ (0, w.jsx)(oC, {
follow: !0,
children: /* @__PURE__ */ (0, w.jsxs)(aC, {
"aria-label": "关注来源",
size: "sm",
- sortDescriptor: fe[0] ? {
- column: fe[0].id,
- direction: fe[0].desc ? "descending" : "ascending"
+ sortDescriptor: pe[0] ? {
+ column: pe[0].id,
+ direction: pe[0].desc ? "descending" : "ascending"
} : void 0,
- onSortChange: (e) => me.setSorting([{
+ onSortChange: (e) => he.setSorting([{
id: String(e.column),
desc: e.direction === "descending"
}]),
- children: [/* @__PURE__ */ (0, w.jsx)(oy, { children: me.getHeaderGroups()[0].headers.map((e) => {
+ children: [/* @__PURE__ */ (0, w.jsx)(oy, { children: he.getHeaderGroups()[0].headers.map((e) => {
let t = e.column.id in mx, n = Hw(e.column.columnDef.header, e.getContext());
return /* @__PURE__ */ (0, w.jsx)(dy, {
id: e.id,
@@ -29805,11 +29805,11 @@ function cT(e) {
"data-direction": e || void 0,
children: /* @__PURE__ */ (0, w.jsx)(Jw, {})
})]
- }) : /* @__PURE__ */ (0, w.jsx)(Xo, { children: n })
+ }) : /* @__PURE__ */ (0, w.jsx)(Zo, { children: n })
}, e.id);
}) }), /* @__PURE__ */ (0, w.jsx)(hy, {
renderEmptyState: () => "这一页没有来源",
- children: he.map((e) => /* @__PURE__ */ (0, w.jsx)(yy, {
+ children: ge.map((e) => /* @__PURE__ */ (0, w.jsx)(yy, {
id: e.id,
"data-follow-selected": e.getIsSelected() || void 0,
children: e.getVisibleCells().map((e) => /* @__PURE__ */ (0, w.jsx)(Sy, { children: Hw(e.column.columnDef.cell, e.getContext()) }, e.id))
@@ -29817,27 +29817,27 @@ function cT(e) {
})]
})
}) : /* @__PURE__ */ (0, w.jsxs)(w.Fragment, { children: [/* @__PURE__ */ (0, w.jsx)(xS, {
- isSelected: _e.all,
- isIndeterminate: _e.some,
- onChange: (e) => ie(ge, e),
+ isSelected: ve.all,
+ isIndeterminate: ve.some,
+ onChange: (e) => ae(_e, e),
"aria-label": "全选本页来源",
children: "全选本页"
}), /* @__PURE__ */ (0, w.jsx)("div", {
className: "flex flex-col gap-3",
- children: N.slice(pe.start, pe.end).map((e) => {
+ children: N.slice(me.start, me.end).map((e) => {
let t = String(e[0].author_key || e[0].id);
return /* @__PURE__ */ (0, w.jsx)(sT, {
group: e,
name: Dx(e, y),
- handlers: ue,
+ handlers: de,
selected: l,
open: !x.has(t),
onOpen: (e) => {
let n = new Set(x);
e ? n.delete(t) : n.add(t), S(n);
},
- onToggleGroup: (t) => ie(e.map((e) => e.id), t),
- onToggle: re
+ onToggleGroup: (t) => ae(e.map((e) => e.id), t),
+ onToggle: ie
}, t);
})
})] }),
@@ -29846,24 +29846,24 @@ function cT(e) {
children: [
/* @__PURE__ */ (0, w.jsx)("span", {
className: "text-body-2-regular text-text-secondary",
- children: `${pe.start + 1}–${pe.end} / ${pe.total} ${L ? "个来源" : "位创作者"}`
+ children: `${me.start + 1}–${me.end} / ${me.total} ${I ? "个来源" : "位创作者"}`
}),
/* @__PURE__ */ (0, w.jsx)(Qw, {
"aria-label": "每页显示数量",
size: "sm",
selectedKey: String(s),
onSelectionChange: (e) => {
- e !== null && me.setPageSize(Number(e));
+ e !== null && he.setPageSize(Number(e));
},
children: lx.map((e) => /* @__PURE__ */ (0, w.jsx)($w, {
id: String(e),
- children: `每页 ${e} ${L ? "条" : "位"}`
+ children: `每页 ${e} ${I ? "条" : "位"}`
}, e))
}),
/* @__PURE__ */ (0, w.jsx)(aT, {
- page: pe.page,
- pages: pe.pages,
- onPage: (e) => me.setPageIndex(e - 1)
+ page: me.page,
+ pages: me.pages,
+ onPage: (e) => he.setPageIndex(e - 1)
})
]
}),
@@ -29884,12 +29884,12 @@ function cT(e) {
variant: "secondary",
size: "small",
disabled: u,
- ...Z(ce.isPending),
+ ...Z(le.isPending),
onClick: () => void c({
title: "标记已看",
body: "将把当前未看作品标记为已看。",
confirmLabel: "标记已看",
- onConfirm: () => ce.mutateAsync("seen")
+ onConfirm: () => le.mutateAsync("seen")
}),
children: "全部标记已看"
}),
@@ -29897,12 +29897,12 @@ function cT(e) {
variant: "secondary",
size: "small",
disabled: u,
- ...Z(ce.isPending),
+ ...Z(le.isPending),
onClick: () => void c({
title: "标记已忽略",
body: "将把当前未看作品标记为已忽略。",
confirmLabel: "标记已忽略",
- onConfirm: () => ce.mutateAsync("ignored")
+ onConfirm: () => le.mutateAsync("ignored")
}),
children: "全部忽略"
})
@@ -29911,7 +29911,7 @@ function cT(e) {
]
}) : /* @__PURE__ */ (0, w.jsx)(lh, {
shell: "plain",
- icon: ip,
+ icon: ap,
title: "还没有关注来源",
children: "关注来源及其检查状态会显示在这里。"
});
@@ -29942,10 +29942,10 @@ function dT({ term: e, figure: t, unit: n }) {
});
}
function fT(e) {
- let { route: t, savePreference: n, toast: r, openFollow: i, readOnly: a, readOnlyMessage: o, writerUrl: s } = e, [c, l] = (0, C.useState)(uT(e.tab) ? e.tab : "list"), [u, d] = (0, C.useState)(Math.max(1, Math.floor(e.page) || 1)), [f, p] = (0, C.useState)(hx(e.sort) ? e.sort : dx), [m, h] = (0, C.useState)(e.dir === "asc" || e.dir === "desc" ? e.dir : fx[hx(e.sort) ? e.sort : dx]), [g, _] = (0, C.useState)(gx(e.layout) ? e.layout : "default"), [v, y] = (0, C.useState)(_x(e.pageSize)), [b, x] = (0, C.useState)(/* @__PURE__ */ new Set()), S = ut({
+ let { route: t, savePreference: n, toast: r, openFollow: i, readOnly: a, readOnlyMessage: o, writerUrl: s } = e, [c, l] = (0, C.useState)(uT(e.tab) ? e.tab : "list"), [u, d] = (0, C.useState)(Math.max(1, Math.floor(e.page) || 1)), [f, p] = (0, C.useState)(hx(e.sort) ? e.sort : dx), [m, h] = (0, C.useState)(e.dir === "asc" || e.dir === "desc" ? e.dir : fx[hx(e.sort) ? e.sort : dx]), [g, _] = (0, C.useState)(gx(e.layout) ? e.layout : "default"), [v, y] = (0, C.useState)(_x(e.pageSize)), [b, x] = (0, C.useState)(/* @__PURE__ */ new Set()), S = dt({
queryKey: rx,
queryFn: ({ signal: e }) => Lx(e)
- }), T = ut({
+ }), T = dt({
queryKey: ix,
queryFn: ({ signal: e }) => Rx(e)
}), E = S.data || { sources: [] }, D = T.data || {
@@ -30148,7 +30148,7 @@ function OT(e, t, n) {
//#endregion
//#region src/react/library-processing/use-library-processing.ts
function kT({ toast: e, mode: t, monitor: n }) {
- let r = t === "notice" || !!n, i = ut({
+ let r = t === "notice" || !!n, i = dt({
queryKey: mT,
queryFn: ({ signal: e }) => hT(e),
refetchInterval: (e) => bT(e.state.data, r)
@@ -30174,20 +30174,20 @@ function kT({ toast: e, mode: t, monitor: n }) {
var AT = [
{
label: "扫描并补全资料",
- icon: Vf,
+ icon: Hf,
command: {}
},
{
label: "只扫描",
- icon: Jf,
+ icon: Yf,
command: { stage: "scan" }
},
{
label: "只采集",
- icon: qf,
+ icon: Jf,
command: { stage: "collect" }
}
-], jT = Km(TS, ES, "text-body-2-medium"), MT = "扫描媒体文件夹,导入已有资料,采集缺失信息。两段也可以分开跑:新盘刚接上时先只扫描,几万个文件登记完就能用;采集被网络拖住时只重跑采集,不必再扫一遍磁盘。", NT = "这一项耗时较长,暂时没有新进展。任务结束后可以重试未完成的部分。", PT = (e) => {
+], jT = K(TS, ES, "text-body-2-medium"), MT = "扫描媒体文件夹,导入已有资料,采集缺失信息。两段也可以分开跑:新盘刚接上时先只扫描,几万个文件登记完就能用;采集被网络拖住时只重跑采集,不必再扫一遍磁盘。", NT = "这一项耗时较长,暂时没有新进展。任务结束后可以重试未完成的部分。", PT = (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} 张`];
@@ -30202,14 +30202,14 @@ function IT({ busy: e, onRun: t }) {
"data-split-button": !0,
"data-variant": "primary",
children: [/* @__PURE__ */ (0, w.jsx)(X, {
- leadingIcon: Vf,
+ leadingIcon: Hf,
onClick: () => a({}),
...Z(e),
children: "扫描并补全资料"
}), /* @__PURE__ */ (0, w.jsx)(X, {
ref: n,
iconOnly: !0,
- leadingIcon: jf,
+ leadingIcon: Mf,
"aria-label": "更多扫描与采集方式",
"aria-haspopup": "dialog",
"aria-expanded": r,
@@ -30325,7 +30325,7 @@ function LT({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {
});
}
function RT(e) {
- let { toast: t, onComplete: n } = e, { job: r, settled: i, forget: a } = kT(e), o = dt({
+ let { toast: t, onComplete: n } = e, { job: r, settled: i, forget: a } = kT(e), o = ft({
mutationFn: (e) => $m(pT, e),
onSuccess: (e) => {
a(), ph.setQueryData(mT, e), ph.invalidateQueries({ queryKey: mT });
@@ -30380,13 +30380,13 @@ function RT(e) {
/* @__PURE__ */ (0, w.jsx)(jS, {
href: "/scraping",
size: "small",
- trailingIcon: Mf,
+ trailingIcon: Nf,
children: "来源和凭证"
}),
s.candidates ? /* @__PURE__ */ (0, w.jsx)(jS, {
href: "/review",
size: "small",
- trailingIcon: Mf,
+ trailingIcon: Nf,
children: "复核资料"
}) : null,
/* @__PURE__ */ (0, w.jsx)(IT, {
@@ -30447,7 +30447,7 @@ function VT({ value: e, max: t }) {
function HT(e) {
let { job: t } = kT(e), n = t.data, r = t.isError ? n ? yT : q(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 ? "扫描与资料采集未完成" : wT(n) + (l ? ` · ${c} / ${l}` : "")), d = s === "gray" ? Qf : Uf;
+ let s = a ? "error" : r || n?.stalled ? "warning" : "gray", c = n?.checked || 0, l = n?.total || 0, u = r || (a ? "扫描与资料采集未完成" : wT(n) + (l ? ` · ${c} / ${l}` : "")), d = s === "gray" ? $f : Wf;
return /* @__PURE__ */ (0, w.jsxs)("aside", {
role: a ? "alert" : "status",
className: BT[s],
@@ -30466,7 +30466,7 @@ function HT(e) {
}), /* @__PURE__ */ (0, w.jsx)(jS, {
href: "/data-cleanup#libraryProcessing",
size: "small",
- trailingIcon: Mf,
+ trailingIcon: Nf,
children: r || a ? "查看并处理" : "查看进度"
})]
});
@@ -30552,7 +30552,7 @@ function JT({ item: r, openItem: i, javTitleHtml: a, javDisplayName: o, srcBadge
});
}
function YT(e) {
- let t = ut({
+ let t = dt({
queryKey: WT,
queryFn: ({ signal: e }) => GT(e)
}), n = t.data;
@@ -30582,7 +30582,7 @@ function YT(e) {
}, t.id))
})] }) : /* @__PURE__ */ (0, w.jsx)(dh, { children: /* @__PURE__ */ (0, w.jsx)(lh, {
shell: "plain",
- icon: fp,
+ icon: pp,
title: "没有标记中的高清版目标",
children: "现有版本都已满足条件,或还没有加入追踪。"
}) });
@@ -30759,7 +30759,7 @@ function kE(e) {
/* @__PURE__ */ (0, w.jsx)(X, {
variant: "secondary",
size: "small",
- leadingIcon: If,
+ leadingIcon: Lf,
"aria-pressed": v,
disabled: p || !s.length,
onClick: () => {
@@ -30912,7 +30912,7 @@ function PE({ row: e, fieldName: t, value: n, onChange: r, locked: i }) {
}) : null;
}
function FE({ genre: e, tags: t, locked: n, toast: r }) {
- let [i, a] = (0, C.useState)(""), [o, s] = (0, C.useState)(""), c = dt({
+ let [i, a] = (0, C.useState)(""), [o, s] = (0, C.useState)(""), c = ft({
mutationFn: (t) => wE(e, t),
onSuccess: async (t, n) => {
if (!t.ok) {
@@ -31031,7 +31031,7 @@ function BE({ asset: e, openItem: t }) {
}) : /* @__PURE__ */ (0, w.jsx)("span", {
className: "text-caption-1-regular text-text-secondary",
children: "无封面"
- }), /* @__PURE__ */ (0, w.jsx)(Xo, { children: `打开原视频 ${n}` })]
+ }), /* @__PURE__ */ (0, w.jsx)(Zo, { children: `打开原视频 ${n}` })]
}), /* @__PURE__ */ (0, w.jsxs)("div", {
className: "flex min-w-0 flex-col items-start gap-1",
children: [/* @__PURE__ */ (0, w.jsx)("b", {
@@ -31041,7 +31041,7 @@ function BE({ asset: e, openItem: t }) {
}), /* @__PURE__ */ (0, w.jsx)(X, {
variant: "secondary",
size: "small",
- leadingIcon: tp,
+ leadingIcon: np,
onClick: () => t(e.id),
children: "打开原视频"
})]
@@ -31085,7 +31085,7 @@ function HE({ row: e, openItem: t, openEntity: n, onReveal: r, revealing: i, not
children: [o ? /* @__PURE__ */ (0, w.jsx)(Gy, {
variant: "secondary",
size: "small",
- trailingIcon: Wf,
+ trailingIcon: Gf,
href: o,
target: "_blank",
rel: "noopener noreferrer",
@@ -31207,7 +31207,7 @@ function UE({ assets: e, picked: t, onPicked: n, locked: r }) {
}
})
}),
- /* @__PURE__ */ (0, w.jsx)(Xo, { children: `${n ? "已选" : "未选"} ${e.name || e.id}` })
+ /* @__PURE__ */ (0, w.jsx)(Zo, { children: `${n ? "已选" : "未选"} ${e.name || e.id}` })
]
}, e.id);
})
@@ -31264,7 +31264,7 @@ function qE(e) {
})
}) : /* @__PURE__ */ (0, w.jsx)(lh, {
shell: "inset",
- icon: Xf,
+ icon: Zf,
title: "这批作品尚未抽帧",
children: `${n.video_count || ""} 条作品还没有可用预览;批准后仍会按候选写入标签。`
}) : t === "fc2_similarity" ? null : t === "western_identity" ? /* @__PURE__ */ (0, w.jsx)(HE, {
@@ -31458,38 +31458,38 @@ function XE(e) {
(0, C.useEffect)(() => () => {
N.current = !1;
}, []);
- let ee = ut({
+ let ee = dt({
queryKey: eE,
queryFn: ({ signal: e }) => SE(e)
}).data || {
sections: {},
counts: {}
- }, P = ee.sections[u] || [], F = u === "metadata_fields", te = s, ne = oE(P, F), re = ne.some(([e]) => e === f) ? f : "candidates", ie = sE(P, re), ae = ie.some((e) => e.key === m) ? m : "", oe = lE(cE(P, re, ae), g), se = oe.rows.map((e) => e.item_key), ce = new Set(se), le = ie.map((e) => ({
+ }, te = ee.sections[u] || [], P = u === "metadata_fields", ne = s, re = oE(te, P), ie = re.some(([e]) => e === f) ? f : "candidates", ae = sE(te, ie), oe = ae.some((e) => e.key === m) ? m : "", se = lE(cE(te, ie, oe), g), ce = se.rows.map((e) => e.item_key), le = new Set(ce), ue = ae.map((e) => ({
...e,
- rows: e.rows.filter((e) => ce.has(e.item_key))
- })).filter((e) => e.rows.length), ue = (e) => b.get(e.item_key) || yE(e), de = P.filter((e) => v.has(e.item_key)), fe = (e) => {
+ rows: e.rows.filter((e) => le.has(e.item_key))
+ })).filter((e) => e.rows.length), de = (e) => b.get(e.item_key) || yE(e), fe = te.filter((e) => v.has(e.item_key)), pe = (e) => {
let t = new Set(e);
y((e) => new Set([...e].filter((e) => !t.has(e)))), x((e) => new Map([...e].filter(([e]) => !t.has(e)))), T((e) => new Map([...e].filter(([e]) => !t.has(e))));
- }, I = (e, t) => T((n) => new Map(n).set(e, t)), L = (e) => {
+ }, F = (e, t) => T((n) => new Map(n).set(e, t)), I = (e) => {
d(e), p("candidates"), h(""), _(1), y(/* @__PURE__ */ new Set()), x(/* @__PURE__ */ new Map()), T(/* @__PURE__ */ new Map()), D(""), O.current = null, t({ category: e === "metadata_fields" ? "" : e });
- }, pe = dt({
- mutationFn: ({ row: e, status: t }) => CE(bE(u, e, t, ue(e))),
+ }, me = ft({
+ mutationFn: ({ row: e, status: t }) => CE(bE(u, e, t, de(e))),
onSuccess: (e, { row: t, status: n }) => {
if (!e.ok) {
- I(t.item_key, e.error || "服务端拒绝了这次判定");
+ F(t.item_key, e.error || "服务端拒绝了这次判定");
return;
}
- EE(u, [t.item_key]), fe([t.item_key]), o(xE(n));
+ EE(u, [t.item_key]), pe([t.item_key]), o(xE(n));
},
- onError: (e, { row: t }) => I(t.item_key, q(e))
- }), me = dt({
+ onError: (e, { row: t }) => F(t.item_key, q(e))
+ }), he = ft({
mutationFn: async (e) => {
- let t = de, n = [], r = [];
+ let t = fe, n = [], r = [];
for (let [i, a] of t.entries()) {
if (!N.current) break;
D(`正在处理 ${i} / ${t.length}`);
try {
- let t = await CE(bE(u, a, e, ue(a)));
+ let t = await CE(bE(u, a, e, de(a)));
if (!t.ok) throw Error(t.error || "服务端未采用该项");
n.push(a.item_key);
} catch (e) {
@@ -31503,40 +31503,40 @@ function XE(e) {
};
},
onSuccess: ({ status: e, done: t, failures: n }) => {
- EE(u, t), fe(t), n.forEach(([e, t]) => I(e, t)), D(""), o(`已${e === "approved" ? "通过" : "拒绝"} ${t.length} 项` + (n.length ? `,${n.length} 项未完成` : ""));
+ EE(u, t), pe(t), n.forEach(([e, t]) => F(e, t)), D(""), o(`已${e === "approved" ? "通过" : "拒绝"} ${t.length} 项` + (n.length ? `,${n.length} 项未完成` : ""));
},
onError: (e) => {
D(q(e));
}
- }), he = (e) => {
- if (!(me.isPending || !de.length)) {
- if (e === "approved" && F && de.some((e) => !ue(e).candidateKey)) {
+ }), ge = (e) => {
+ if (!(he.isPending || !fe.length)) {
+ if (e === "approved" && P && fe.some((e) => !de(e).candidateKey)) {
D("先为所选的多来源候选选择来源。");
return;
}
- D(""), me.mutate(e);
+ D(""), he.mutate(e);
}
- }, ge = (e) => {
+ }, _e = (e) => {
x((t) => {
let n = new Map(t);
- for (let t of de) {
+ for (let t of fe) {
let r = t.candidates?.find((t) => t.source === e);
r && n.set(t.item_key, {
- ...ue(t),
+ ...de(t),
candidateKey: r.candidate_key
});
}
return n;
}), D(`已选择 ${e},点击通过所选采用。`);
- }, _e = async (e) => {
+ }, ve = async (e) => {
if (k) return;
A(e), M("");
let t = await i(e);
N.current && (A(0), M(t));
- }, ve = OE(ee.mirror, c), ye = ee.genre_tags || [], be = {
+ }, ye = OE(ee.mirror, c), be = ee.genre_tags || [], xe = {
openItem: n,
openEntity: r,
- onReveal: _e,
+ onReveal: ve,
revealing: k,
revealNote: j,
avatarInner: a,
@@ -31545,7 +31545,7 @@ function XE(e) {
return /* @__PURE__ */ (0, w.jsx)(dh, { children: /* @__PURE__ */ (0, w.jsxs)("div", {
className: "flex flex-col gap-5 pb-10",
children: [
- te ? /* @__PURE__ */ (0, w.jsx)(J, {
+ ne ? /* @__PURE__ */ (0, w.jsx)(J, {
tone: "warning",
title: "本机只能浏览",
extra: l ? /* @__PURE__ */ (0, w.jsx)("p", {
@@ -31556,14 +31556,14 @@ function XE(e) {
children: "前往写入端复核"
})
}) : void 0,
- children: ve
+ children: ye
}) : null,
- /* @__PURE__ */ (0, w.jsx)(ME, { tags: ye }),
+ /* @__PURE__ */ (0, w.jsx)(ME, { tags: be }),
/* @__PURE__ */ (0, w.jsxs)(Py, {
selectedKey: u,
onSelectionChange: (e) => {
let t = String(e);
- iE(t) && L(t);
+ iE(t) && I(t);
},
className: "flex flex-col gap-5 review-split:flex-row-reverse review-split:items-start review-split:gap-6",
children: [/* @__PURE__ */ (0, w.jsxs)("div", {
@@ -31591,36 +31591,36 @@ function XE(e) {
id: u,
className: "flex min-w-0 flex-1 flex-col gap-5",
children: [
- P.length && !te ? /* @__PURE__ */ (0, w.jsx)(kE, {
- groupOptions: ne,
- groupBy: re,
+ te.length && !ne ? /* @__PURE__ */ (0, w.jsx)(kE, {
+ groupOptions: re,
+ groupBy: ie,
onGroupBy: (e) => {
p(e), h(""), _(1);
},
- groups: ie,
- filter: ae,
+ groups: ae,
+ filter: oe,
onFilter: (e) => {
h(e), _(1);
},
- pageKeys: se,
+ pageKeys: ce,
selected: v,
onSelected: y,
- selectedRows: de,
- metadata: F,
- approvable: de.every((e) => fE(u, e)),
- busy: me.isPending,
+ selectedRows: fe,
+ metadata: P,
+ approvable: fe.every((e) => fE(u, e)),
+ busy: he.isPending,
feedback: E,
- onUnifySource: ge,
- onRun: he
+ onUnifySource: _e,
+ onRun: ge
}) : null,
- oe.rows.length ? le.map((e) => /* @__PURE__ */ (0, w.jsxs)("section", {
+ se.rows.length ? ue.map((e) => /* @__PURE__ */ (0, w.jsxs)("section", {
className: "flex flex-col gap-3",
- children: [le.length > 1 || re !== "candidates" ? /* @__PURE__ */ (0, w.jsxs)("div", {
+ children: [ue.length > 1 || ie !== "candidates" ? /* @__PURE__ */ (0, w.jsxs)("div", {
className: "flex flex-wrap items-center gap-2",
children: [/* @__PURE__ */ (0, w.jsx)("h3", {
className: "text-body-medium text-text-primary",
children: `${e.title} · ${e.rows.length}`
- }), te ? null : /* @__PURE__ */ (0, w.jsx)(X, {
+ }), ne ? null : /* @__PURE__ */ (0, w.jsx)(X, {
variant: "ghost",
size: "small",
onClick: () => {
@@ -31635,34 +31635,34 @@ function XE(e) {
children: e.rows.map((e) => /* @__PURE__ */ (0, w.jsx)(qE, {
category: u,
row: e,
- choice: ue(e),
+ choice: de(e),
onChoice: (t) => x((n) => new Map(n).set(e.item_key, t)),
selected: v.has(e.item_key),
onSelect: (t, n) => y((r) => {
let i = new Set(r);
- return O.current = dE(i, se, O.current, e.item_key, t, n), i;
+ return O.current = dE(i, ce, O.current, e.item_key, t, n), i;
}),
- locked: te,
- busy: pe.isPending && pe.variables?.row.item_key === e.item_key,
+ locked: ne,
+ busy: me.isPending && me.variables?.row.item_key === e.item_key,
problem: S.get(e.item_key) || "",
- genreTags: ye,
+ genreTags: be,
onDecide: (t) => {
- pe.isPending || me.isPending || (T((t) => new Map([...t].filter(([t]) => t !== e.item_key))), pe.mutate({
+ me.isPending || he.isPending || (T((t) => new Map([...t].filter(([t]) => t !== e.item_key))), me.mutate({
row: e,
status: t
}));
},
- handlers: be
+ handlers: xe
}, e.item_key))
})]
}, e.key)) : /* @__PURE__ */ (0, w.jsx)(lh, {
- icon: Lf,
+ icon: Rf,
title: "暂无候选",
children: "该分类当前没有待人工复核的项目。"
}),
/* @__PURE__ */ (0, w.jsx)(YE, {
- page: oe.page,
- pages: oe.pages,
+ page: se.page,
+ pages: se.pages,
onPage: _
})
]
@@ -31712,7 +31712,7 @@ function gD({ source: e, toast: t }) {
function h() {
a(""), s(""), d(""), p(""), m.current && (m.current.value = "");
}
- let g = dt({
+ let g = ft({
mutationFn: (t) => $m(QE, {
source: e.source,
network: n,
@@ -31726,7 +31726,7 @@ function gD({ source: e, toast: t }) {
sources: t.sources.map((t) => t.source === e.saved.source ? e.saved : t)
}), h(), t(n ? "Cookie 已撤销" : "来源设置已保存");
}
- }), _ = dt({ mutationFn: () => $m($E, { source: e.source }) }), v = g.isPending || _.isPending, y = (e) => {
+ }), _ = ft({ mutationFn: () => $m($E, { source: e.source }) }), v = g.isPending || _.isPending, y = (e) => {
e.preventDefault(), !v && (_.reset(), g.mutate(!1));
}, b = () => {
v || (_.reset(), g.mutate(!0));
@@ -31784,7 +31784,7 @@ function gD({ source: e, toast: t }) {
children: /* @__PURE__ */ (0, w.jsx)(jS, {
href: "/configuration#peachProxy",
size: "small",
- trailingIcon: Mf,
+ trailingIcon: Nf,
children: "配置 Peach 代理"
})
}) : null,
@@ -31871,11 +31871,11 @@ function gD({ source: e, toast: t }) {
});
}
function _D({ toast: e }) {
- let [t, n] = (0, C.useState)(""), [r, i] = (0, C.useState)(!1), [a, o] = (0, C.useState)(null), s = ut({
+ let [t, n] = (0, C.useState)(""), [r, i] = (0, C.useState)(!1), [a, o] = (0, C.useState)(null), s = dt({
queryKey: aD,
queryFn: ({ signal: e }) => lD(e),
refetchInterval: (e) => e.state.data?.status === "running" && sD
- }), c = dt({
+ }), c = ft({
mutationFn: () => $m(eD, { code: t }),
onSuccess: () => {
i(!0), o(null), ph.invalidateQueries({ queryKey: aD });
@@ -31934,11 +31934,11 @@ function _D({ toast: e }) {
});
}
function vD({ toast: e }) {
- let [t, n] = (0, C.useState)(!1), [r, i] = (0, C.useState)(null), a = ut({
+ let [t, n] = (0, C.useState)(!1), [r, i] = (0, C.useState)(null), a = dt({
queryKey: oD,
queryFn: ({ signal: e }) => uD(e),
refetchInterval: (e) => e.state.data?.job.status === "running" && sD
- }), o = dt({ mutationFn: () => $m(nD, {}) }), s = dt({
+ }), o = ft({ mutationFn: () => $m(nD, {}) }), s = ft({
mutationFn: () => $m(rD, {}),
onSuccess: () => {
n(!0), i(null), ph.invalidateQueries({ queryKey: oD });
@@ -32026,7 +32026,7 @@ function vD({ toast: e }) {
});
}
function yD({ toast: e }) {
- let t = ut({
+ let t = dt({
queryKey: iD,
queryFn: ({ signal: e }) => cD(e)
}), n = t.data;
@@ -32113,7 +32113,7 @@ function ED() {
isSelected: e.enabled,
onChange: (t) => g(e, t)
}), /* @__PURE__ */ (0, w.jsx)(qy, {
- icon: Rf,
+ icon: zf,
"aria-label": `移除 ${e.name || e.url}`,
onClick: () => _(e),
...Z(m.busy === `remove-${e.id}`)
@@ -33007,7 +33007,7 @@ function $D({ initial: e, receipt: t }) {
}, e))
}),
/* @__PURE__ */ (0, w.jsx)(qy, {
- icon: Rf,
+ icon: zf,
"aria-label": "移除这一条",
onClick: () => a((e) => e.filter((e, n) => n !== t))
})
@@ -33207,7 +33207,7 @@ function lO({ data: e, receipt: t }) {
...Z(v === r)
}),
n.length > 1 ? /* @__PURE__ */ (0, w.jsx)(qy, {
- icon: Rf,
+ icon: zf,
"aria-label": "移除这个文件夹",
onClick: () => k(r)
}) : null
@@ -33648,7 +33648,7 @@ function bO({ initial: e, receipt: t }) {
//#endregion
//#region src/react/settings/configuration-page.tsx
function xO({ receipt: e, reopenTutorial: t }) {
- let n = ut({
+ let n = dt({
queryKey: SD,
queryFn: ({ signal: e }) => CD(e)
}), r = n.data;
@@ -33757,7 +33757,7 @@ function NO({ children: e, className: t = "", previewCount: n = 10 }) {
onClick: () => {
c(!0), o((e) => !e);
},
- children: /* @__PURE__ */ (0, w.jsx)(jf, { "aria-hidden": !0 })
+ children: /* @__PURE__ */ (0, w.jsx)(Mf, { "aria-hidden": !0 })
}) : null]
});
}
@@ -33957,7 +33957,7 @@ function YO({ data: t, configurable: r, openMediaSettings: i }) {
})]
}) : /* @__PURE__ */ (0, w.jsx)(lh, {
shell: "plain",
- icon: dp,
+ icon: fp,
title: "还没有视频",
actions: /* @__PURE__ */ (0, w.jsxs)(w.Fragment, { children: [r ? /* @__PURE__ */ (0, w.jsx)(X, {
size: "small",
@@ -34046,7 +34046,7 @@ function QO({ volumes: e, configurable: t, openMediaSettings: n }) {
children: e.map((e) => /* @__PURE__ */ (0, w.jsx)(ZO, { volume: e }, `${e.kind}:${e.label}`))
}) : /* @__PURE__ */ (0, w.jsx)(lh, {
shell: "plain",
- icon: Jf,
+ icon: Yf,
title: "还没有存储来源",
actions: t ? /* @__PURE__ */ (0, w.jsx)(X, {
size: "small",
@@ -34084,7 +34084,7 @@ function $O({ tags: e, tagLabel: t, onTag: n }) {
}, e.k))
}) : /* @__PURE__ */ (0, w.jsx)(lh, {
shell: "plain",
- icon: np,
+ icon: rp,
title: "还没有内容标签",
actions: /* @__PURE__ */ (0, w.jsx)(jS, {
href: "/data-cleanup",
@@ -34129,7 +34129,7 @@ function ek({ rows: e }) {
})
}) : /* @__PURE__ */ (0, w.jsx)(lh, {
shell: "plain",
- icon: Yf,
+ icon: Xf,
title: "还没有观看记录",
actions: /* @__PURE__ */ (0, w.jsx)(jS, {
href: "/",
@@ -34171,7 +34171,7 @@ function tk({ sources: e, videos: t }) {
}, e.k))
}) : /* @__PURE__ */ (0, w.jsx)(lh, {
shell: "plain",
- icon: np,
+ icon: rp,
title: "还没有标签来源",
actions: /* @__PURE__ */ (0, w.jsx)(jS, {
href: "/data-cleanup",
@@ -34198,7 +34198,7 @@ function nk({ id: e, label: t, figure: n, detail: r, icon: i, accent: a }) {
});
}
function rk(e) {
- let t = ut({
+ let t = dt({
queryKey: CO,
queryFn: ({ signal: e }) => wO(e)
}), r = t.data;
@@ -34223,7 +34223,7 @@ function rk(e) {
/* @__PURE__ */ (0, w.jsx)(nk, {
id: "inventory",
label: "馆藏视频",
- icon: Vf,
+ icon: Hf,
accent: 0,
figure: o.toLocaleString(),
detail: n(s)
@@ -34231,7 +34231,7 @@ function rk(e) {
/* @__PURE__ */ (0, w.jsx)(nk, {
id: "viewing",
label: "看过",
- icon: Gf,
+ icon: Kf,
accent: 1,
figure: i.played.toLocaleString(),
detail: DO(i.play_seconds)
@@ -34239,7 +34239,7 @@ function rk(e) {
/* @__PURE__ */ (0, w.jsx)(nk, {
id: "coverage",
label: "内容标签",
- icon: np,
+ icon: rp,
accent: 2,
figure: `${c}%`,
detail: `${r.tag_cov.toLocaleString()} / ${r.attribution.videos.toLocaleString()}`
@@ -34247,7 +34247,7 @@ function rk(e) {
/* @__PURE__ */ (0, w.jsx)(nk, {
id: "storage",
label: "使用空间",
- icon: Jf,
+ icon: Yf,
accent: 3,
figure: `${a.online} 个卷`,
detail: a.measured ? `已用 ${n(a.used)}` : "容量未取得"
@@ -35234,7 +35234,7 @@ function DA({ flows: e }) {
}
//#endregion
//#region src/react/taste/taste-page.tsx
-var OA = 10, kA = Km(TS, ES, "text-body-2-medium"), AA = `${sh()} flex flex-col gap-4`, jA = "rounded-xl bg-background-primary-default p-3", MA = "读取运行 Peach 的这台电脑上的浏览记录", NA = "导入或读取浏览记录后,这里会列出已采集设备。", PA = "馆藏里暂时没有对得上浏览信号的标签。", FA = "采集浏览记录后,这里会显示聚合后的口味证据。", IA = "这些词在浏览记录中出现,但 Peach 观看记录还没有对应证据", LA = "在运行 Peach 的电脑上使用浏览器:点上面的「读取浏览器历史」。", RA = "记录在其他设备上:导出文件后,点上面的「导入历史文件」。多台设备的文件分别导入。", zA = "需要刷新时再次读取或导入;数据源可在页面底部移除。", BA = "这个数据源将不再用于口味分析。原始导出文件保留。", VA = "peach-taste-guide-dismissed";
+var OA = 10, kA = K(TS, ES, "text-body-2-medium"), AA = `${sh()} flex flex-col gap-4`, jA = "rounded-xl bg-background-primary-default p-3", MA = "读取运行 Peach 的这台电脑上的浏览记录", NA = "导入或读取浏览记录后,这里会列出已采集设备。", PA = "馆藏里暂时没有对得上浏览信号的标签。", FA = "采集浏览记录后,这里会显示聚合后的口味证据。", IA = "这些词在浏览记录中出现,但 Peach 观看记录还没有对应证据", LA = "在运行 Peach 的电脑上使用浏览器:点上面的「读取浏览器历史」。", RA = "记录在其他设备上:导出文件后,点上面的「导入历史文件」。多台设备的文件分别导入。", zA = "需要刷新时再次读取或导入;数据源可在页面底部移除。", BA = "这个数据源将不再用于口味分析。原始导出文件保留。", VA = "peach-taste-guide-dismissed";
function HA({ icon: e, term: t, figure: n, detail: r, accent: i }) {
return /* @__PURE__ */ (0, w.jsx)("div", {
className: gS(),
@@ -35270,7 +35270,7 @@ function WA({ html: e }) {
function GA({ rows: e, kind: t, visual: n, empty: r, onSignal: i, avatarInner: a }) {
if (!e.length) return /* @__PURE__ */ (0, w.jsx)(lh, {
shell: "plain",
- icon: ap,
+ icon: op,
title: "暂无足够证据",
children: r
});
@@ -35318,7 +35318,7 @@ function GA({ rows: e, kind: t, visual: n, empty: r, onSignal: i, avatarInner: a
children: nA(e)
})]
}),
- s ? /* @__PURE__ */ (0, w.jsx)(Nf, {
+ s ? /* @__PURE__ */ (0, w.jsx)(Pf, {
"aria-hidden": !0,
className: "size-4 shrink-0 text-text-tertiary"
}) : null
@@ -35429,14 +35429,14 @@ function qA({ data: e, onSignal: t, navigate: n }) {
className: "text-caption-1-regular text-text-secondary",
children: e.detail
})]
- }), /* @__PURE__ */ (0, w.jsx)(Nf, {
+ }), /* @__PURE__ */ (0, w.jsx)(Pf, {
"aria-hidden": !0,
className: "size-4 shrink-0 text-text-tertiary"
})]
}, e.key))
}) : /* @__PURE__ */ (0, w.jsx)(lh, {
shell: "plain",
- icon: ap,
+ icon: op,
title: "还没有可探索的入口",
children: PA
})
@@ -35525,7 +35525,7 @@ function YA({ busy: e, onRefresh: t, onImport: n }) {
"data-split-button": !0,
"data-variant": "primary",
children: [/* @__PURE__ */ (0, w.jsx)(X, {
- leadingIcon: zf,
+ leadingIcon: Bf,
title: MA,
onClick: t,
...Z(e),
@@ -35533,7 +35533,7 @@ function YA({ busy: e, onRefresh: t, onImport: n }) {
}), /* @__PURE__ */ (0, w.jsx)(X, {
ref: r,
iconOnly: !0,
- leadingIcon: jf,
+ leadingIcon: Mf,
"aria-label": "更多取得浏览记录的方式",
"aria-haspopup": "dialog",
"aria-expanded": i,
@@ -35553,7 +35553,7 @@ function YA({ busy: e, onRefresh: t, onImport: n }) {
type: "button",
className: kA,
onClick: () => o(t),
- children: [/* @__PURE__ */ (0, w.jsx)(zf, {
+ children: [/* @__PURE__ */ (0, w.jsx)(Bf, {
"aria-hidden": !0,
className: "size-4 shrink-0"
}), "读取浏览器历史"]
@@ -35561,7 +35561,7 @@ function YA({ busy: e, onRefresh: t, onImport: n }) {
type: "button",
className: kA,
onClick: () => o(n),
- children: [/* @__PURE__ */ (0, w.jsx)(lp, {
+ children: [/* @__PURE__ */ (0, w.jsx)(up, {
"aria-hidden": !0,
className: "size-4 shrink-0"
}), "导入历史文件"]
@@ -35570,7 +35570,7 @@ function YA({ busy: e, onRefresh: t, onImport: n }) {
})] });
}
function XA({ sources: e, window: t, toast: n }) {
- let r = dt({
+ let r = ft({
mutationFn: (e) => Jk(e, t),
onSuccess: (e) => {
ph.setQueryData(Vk(t), e.dashboard), n("已移除口味数据源");
@@ -35595,10 +35595,10 @@ function XA({ sources: e, window: t, toast: n }) {
children: [
/* @__PURE__ */ (0, w.jsx)("span", {
className: "inline-grid size-8 shrink-0 place-items-center rounded-lg text-text-secondary",
- children: e.browser === "browserexport" ? /* @__PURE__ */ (0, w.jsx)(lp, {
+ children: e.browser === "browserexport" ? /* @__PURE__ */ (0, w.jsx)(up, {
"aria-hidden": !0,
className: "size-4"
- }) : /* @__PURE__ */ (0, w.jsx)(Vf, {
+ }) : /* @__PURE__ */ (0, w.jsx)(Hf, {
"aria-hidden": !0,
className: "size-4"
})
@@ -35618,7 +35618,7 @@ function XA({ sources: e, window: t, toast: n }) {
size: "small",
"aria-label": `移除 ${e.profile}`,
iconOnly: !0,
- leadingIcon: Hf,
+ leadingIcon: Uf,
...Z(r.isPending),
onClick: () => {
r.isPending || c({
@@ -35633,7 +35633,7 @@ function XA({ sources: e, window: t, toast: n }) {
}, e.source_key))
}) : /* @__PURE__ */ (0, w.jsx)(lh, {
shell: "plain",
- icon: Vf,
+ icon: Hf,
title: "还没有数据源",
children: NA
})
@@ -35641,20 +35641,20 @@ function XA({ sources: e, window: t, toast: n }) {
});
}
function ZA(e) {
- let { onSignal: t, navigate: r, toast: i, avatarInner: a, onboarding: o } = e, [s, c] = (0, C.useState)("all"), [l, u] = (0, C.useState)("browser"), [d, f] = (0, C.useState)(!1), [p, m] = (0, C.useState)(null), h = (0, C.useRef)(null), g = ut({
+ let { onSignal: t, navigate: r, toast: i, avatarInner: a, onboarding: o } = e, [s, c] = (0, C.useState)("all"), [l, u] = (0, C.useState)("browser"), [d, f] = (0, C.useState)(!1), [p, m] = (0, C.useState)(null), h = (0, C.useRef)(null), g = dt({
queryKey: Vk(s),
queryFn: ({ signal: e }) => Wk(s, e),
- placeholderData: L
- }), _ = ut({
+ placeholderData: I
+ }), _ = dt({
queryKey: Hk,
queryFn: ({ signal: e }) => Gk(e),
refetchInterval: (e) => Qk(e.state.data)
- }), v = dt({
+ }), v = ft({
mutationFn: () => qk(s),
onSuccess: () => {
f(!0), m(null), ph.invalidateQueries({ queryKey: Hk });
}
- }), y = dt({
+ }), y = ft({
mutationFn: (e) => Yk(e),
onSuccess: (e) => {
ph.setQueryData(Vk("all"), e.dashboard), c("all"), i("已导入口味数据");
@@ -35771,27 +35771,27 @@ function ZA(e) {
children: [
/* @__PURE__ */ (0, w.jsx)(HA, {
accent: 0,
- icon: Yf,
+ icon: Xf,
term: "浏览记录",
figure: Number(E.history_visits || 0).toLocaleString(),
detail: `${E.history_sources || 0} 个数据源 · ${$k(E.range_start)}—${$k(E.range_end)}`
}),
/* @__PURE__ */ (0, w.jsx)(HA, {
accent: 1,
- icon: np,
+ icon: rp,
term: "口味维度",
figure: A.length.toLocaleString(),
detail: A[0]?.name || "尚无主维度"
}),
/* @__PURE__ */ (0, w.jsx)(HA, {
accent: 2,
- icon: ap,
+ icon: op,
term: "浏览候选",
figure: j.length.toLocaleString()
}),
/* @__PURE__ */ (0, w.jsx)(HA, {
accent: 3,
- icon: Vf,
+ icon: Hf,
term: "私有导出",
figure: Number(k.exports || 0).toLocaleString(),
detail: n(k.bytes || 0)
@@ -35824,7 +35824,7 @@ function ZA(e) {
label: "口味维度排名"
}) : /* @__PURE__ */ (0, w.jsx)(lh, {
shell: "plain",
- icon: ap,
+ icon: op,
title: "暂无口味维度",
children: FA
})
@@ -35890,26 +35890,26 @@ function ZA(e) {
children: [
/* @__PURE__ */ (0, w.jsx)(HA, {
accent: 0,
- icon: Gf,
+ icon: Kf,
term: "Peach 看过",
figure: Number(E.peach_items || 0).toLocaleString(),
detail: eA(E.peach_seconds || 0)
}),
/* @__PURE__ */ (0, w.jsx)(HA, {
accent: 1,
- icon: cp,
+ icon: lp,
term: "喜欢",
figure: Number(E.liked || 0).toLocaleString()
}),
/* @__PURE__ */ (0, w.jsx)(HA, {
accent: 2,
- icon: sp,
+ icon: cp,
term: "不合口味",
figure: Number(E.disliked || 0).toLocaleString()
}),
/* @__PURE__ */ (0, w.jsx)(HA, {
accent: 3,
- icon: np,
+ icon: rp,
term: "有标签",
figure: M.toLocaleString()
})
@@ -36028,14 +36028,14 @@ function ej() {
}
function tj(e) {
return (t, n) => {
- let r = (0, Of.createRoot)(t), i = (t) => r.render(/* @__PURE__ */ (0, w.jsx)(D, {
+ let r = (0, kf.createRoot)(t), i = (t) => r.render(/* @__PURE__ */ (0, w.jsx)(D, {
client: ph,
- children: /* @__PURE__ */ (0, w.jsx)(bc, {
+ children: /* @__PURE__ */ (0, w.jsx)(xc, {
getContainer: ej,
children: /* @__PURE__ */ (0, w.jsx)(e, { ...t })
})
}));
- return (0, Qr.flushSync)(() => i(n)), {
+ return (0, $r.flushSync)(() => i(n)), {
update: i,
unmount: () => r.unmount()
};